Use -std=c11 for C11 conform/ tests.
[glibc.git] / ChangeLog
blob832eed1f148f350ec9a46aa41e583980efc941d2
1 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4         of -std=c1x -D_ISOC11_SOURCE.
6         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7         * configure: Regenerated.
8         * manual/install.texi (Tools for Compilation): Document
9         requirement for GCC 4.7 or later.
10         * INSTALL: Regenerated.
12 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
14         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
15         on CNT to a conditional jump to 'puntdata'.
17 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19         * configure.ac (libc_cv_gcc___thread): Remove configure test.
20         (libc_cv_gcc_tls_model_attr): Likewise.
21         * configure: Regenerated.
23         * configure.ac (libc_cv_need_minus_P): Remove configure test.
24         * configure: Regenerated.
25         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
29         * configure.ac (old_glibc_headers): Remove configure test.
30         * configure: Regenerated.
31         * config.make.in (old-glibc-headers): Remove variable.
32         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
33         (install): Remove dependency on remove-old-headers.
34         (headers2_0): Remove variable.
35         (remove-old-headers): Remove rule.
37         * configure.ac (libc_cv_dot_text): Remove configure test.
38         (libc_cv_asm_set_directive): Use .text instead of
39         ${libc_cv_dot_text} in configure test.
40         * configure: Regenerated.
42 2015-10-26  Florian Weimer  <fweimer@redhat.com>
44         [BZ #19168]
45         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
47 2015-10-26  Florian Weimer  <fweimer@redhat.com>
49         * configure.ac (CXX): Clear the variable if the C++ toolchain does
50         not support static linking.
51         * configure: Regenerate.
53 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
55         * math/libm-test.inc (check_float_internal): Do not special-case
56         errors up to 0.5 ulp.
58         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
59         log2.
60         * math/auto-libm-test-out: Regenerated.
61         * math/libm-test.inc (MAX_EXP): New macro.
62         (ilogb_test_data): Add more tests.
63         (isfinite_test_data): Likewise.
64         (isgreater_test_data): Likewise.
65         (isgreaterequal_test_data): Likewise.
66         (isinf_test_data): Likewise.
67         (isless_test_data): Likewise.
68         (islessequal_test_data): Likewise.
69         (islessgreater_test_data): Likewise.
70         (isnan_test_data): Likewise.
71         (isnormal_test_data): Likewise.
72         (issignaling_test_data): Likewise.
73         (isunordered_test_data): Likewise.
74         (j0_test_data): Likewise.
75         (j1_test_data): Likewise.
76         (jn_test_data): Likewise.
77         (lgamma_test_data): Likewise.
78         (log_test_data): Likewise.
79         (log10_test_data): Likewise.
80         (log1p_test_data): Likewise.
81         (log2_test_data): Likewise.
82         (logb_test_data): Likewise.
83         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85         [BZ #18611]
86         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
87         avoid excess range and precision on underflow.
88         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
89         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
90         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
91         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
92         underflow.
93         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
94         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
95         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
96         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
97         * math/auto-libm-test-in: Do not allow missing errno setting for
98         tests of j1 and jn.
99         * math/auto-libm-test-out: Regenerated.
101 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
103         [BZ #15491]
104         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
105         floating-point environment instead of clearing all exceptions.
106         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
107         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
108         merging in "invalid" exceptions from frndint.
109         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
110         * math/test-nearbyint-except.c: New file.
111         * math/Makefile (tests): Add test-nearbyint-except.
113 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
115         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
117         * sysdeps/tile/libm-test-ulps: Regenerated.
119 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
122         (__NR_sync_file_range2): Assume it is always defined.
123         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
124         (__NR_sync_file_range): Assume it is always defined.
126 2015-10-22  Andreas Schwab  <schwab@suse.de>
128         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
129         INTERNAL_SYSCALL_ERRNO.
130         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
131         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
132         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
133         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
134         Likewise.
135         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
137 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
139         * io/tst-fcntl.c (fd): New static variable.
140         (do_prepare): Open temporary file here....
141         (do_test): ...not here.
143         * io/ftwtest-sh: Also trap on exit to remove temporary files.
145 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
147         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
148         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
149         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
150         Moved before "#ifdef __ASSEMBLER__".
152 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
154         [BZ #19156]
155         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
156         arguments very close to 0.
158 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
160         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
161         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
163 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
165         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
166         New.  Defined for GCC 5 and above when not compiling for
167         profiling.
168         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
170         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
171         Renamed to ...
172         (CFLAGS-epoll_pwait.o): This.
173         (CFLAGS-mmap.c): Renamed to ...
174         (CFLAGS-mmap.o): This.
175         (CFLAGS-mmap64.c): Renamed to ...
176         (CFLAGS-mmap64.o): This.
177         (CFLAGS-epoll_pwait.os): New.
178         (CFLAGS-mmap.os): Likewise.
179         (CFLAGS-mmap64.os): Likewise.
180         (CFLAGS-semtimedop.os): Likewise.
181         (CFLAGS-semtimedop.c): Renamed to ...
182         (CFLAGS-semtimedop.o): This.
184 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
186         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
187         warning message.
189 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
191         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
192         * Makefile ($(objpfx)c++-types-check.out): Filter out
193         $(+gccwarn-c) instead of -Wstrict-prototypes.
195         * io/fts.c (fts_open): Convert to prototype-style function
196         definition.
197         * malloc/mcheck.c (mcheck): Likewise.
198         (mcheck_pedantic): Likewise.
199         * posix/regexec.c (re_search_2_stub): Likewise.  Use
200         internal_function.
201         (re_search_internal): Likewise.
202         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
203         prototype-style function definition.
204         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
205         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
206         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
207         (xdr_utmpptr): Likewise.
208         (xdr_utmparr): Likewise.
209         (xdr_utmpidle): Likewise.
210         (xdr_utmpidleptr): Likewise.
211         (xdr_utmpidlearr): Likewise.
213         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
214         log, log10 and log2.
215         * math/auto-libm-test-out: Regenerated.
216         * math/libm-test.inc (fmod_test_data): Add more tests.
217         (fpclassify_test_data): Likewise.
218         (frexp_test_data): Likewise.
219         (hypot_test_data): Likewise.
220         (ilogb_test_data): Likewise.
222 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
224         * debug/fortify_fail.c (__fortify_fail): Convert to
225         prototype-style function definition.  Use internal_function.
226         * libio/genops.c (save_for_backup): Convert to prototype-style
227         function definition.
228         * libio/wgenops.c (save_for_wbackup): Likewise.
229         * login/grantpt.c (grantpt): Likewise.
230         * login/ptsname.c (ptsname): Likewise.
231         (__ptsname_r): Likewise.
232         * login/unlockpt.c (unlockpt): Likewise.
233         * mach/msgserver.c (__mach_msg_server): Likewise.
234         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
235         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
236         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
237         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
238         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
239         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
240         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
241         Likewise.
242         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
243         internal_function.
244         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
245         prototype-style function definition.
246         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
247         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
248         (__pthread_create_2_0): Likewise.
249         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
250         * nptl/register-atfork.c (__register_atfork): Likewise.
251         * posix/glob.c (glob): Likewise.
252         * posix/regcomp.c (re_comp): Likewise.
253         * posix/regexec.c (re_exec): Likewise.
254         * stdlib/add_n.c [__STDC__]: Make code unconditional.
255         [!__STDC__]: Remove conditional code.
256         * stdlib/cmp.c [__STDC__]: Make code unconditional.
257         [!__STDC__]: Remove conditional code.
258         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
259         [!__STDC__]: Remove conditional code.
260         * stdlib/divrem.c [__STDC__]: Make code unconditional.
261         [!__STDC__]: Remove conditional code.
262         * stdlib/lshift.c [__STDC__]: Make code unconditional.
263         [!__STDC__]: Remove conditional code.
264         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
265         [!__STDC__]: Remove conditional code.
266         * stdlib/mul.c [__STDC__]: Make code unconditional.
267         [!__STDC__]: Remove conditional code.
268         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
269         [!__STDC__]: Remove conditional code.
270         * stdlib/rshift.c [__STDC__]: Make code unconditional.
271         [!__STDC__]: Remove conditional code.
272         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
273         function definition.
274         (STRTOF): Likewise.
275         * stdlib/strtod_l.c (__STRTOF): Likewise.
276         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
277         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
278         (__strtol_l): Likewise.
279         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
280         [!__STDC__]: Remove conditional code.
281         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
282         definition.
283         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
284         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
285         type.
286         (__strcasecmp): Convert to prototype-style function definition.
287         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
288         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
289         type.
290         (__strncasecmp): Convert to prototype-style function definition.
291         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
292         * sunrpc/xdr.c (xdr_union): Likewise.
293         * sunrpc/xdr_array.c (xdr_array): Likewise.
294         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
295         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
296         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
297         Likewise.
298         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
299         Likewise.
300         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
301         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
302         Likewise.
303         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
304         (LOCALE_PARAM_PROTO): Likewise.
305         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
306         argument type.
307         (ut_argument_spec): Remove macro.
308         (ut_argument_spec_iso): Rename to ut_argument_spec.
309         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
310         prototype-style function definition.
311         (memcpy_uppcase): Likewise.
312         (__strftime_internal): Likewise.
313         (my_strftime): Likewise.
314         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
315         (LOCALE_PARAM_DECL): Likewise.
316         [_LIBC] (LOCALE_PARAM): Include argument type.
317         (__strptime_internal): Convert to prototype-style function
318         definition.
319         (strptime): Likewise.
320         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
321         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
322         type.
323         (__wcscasecmp): Convert to prototype-style function definition.
324         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
325         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
326         type.
327         (__wcsncasecmp): Convert to prototype-style function definition.
329         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
330         function definition.
331         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
332         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
333         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
334         * elf/dl-minimal.c (_itoa): Likewise.
335         * hurd/hurdmalloc.c (malloc): Likewise.
336         (free): Likewise.
337         (realloc): Likewise.
338         * inet/inet6_option.c (inet6_option_space): Likewise.
339         (inet6_option_init): Likewise.
340         (inet6_option_append): Likewise.
341         (inet6_option_alloc): Likewise.
342         (inet6_option_next): Likewise.
343         (inet6_option_find): Likewise.
344         * io/ftw.c (FTW_NAME): Likewise.
345         (NFTW_NAME): Likewise.
346         (NFTW_NEW_NAME): Likewise.
347         (NFTW_OLD_NAME): Likewise.
348         * libio/iofwide.c (_IO_fwide): Likewise.
349         * libio/strops.c (_IO_str_init_static_internal): Likewise.
350         (_IO_str_init_static): Likewise.
351         (_IO_str_init_readonly): Likewise.
352         (_IO_str_overflow): Likewise.
353         (_IO_str_underflow): Likewise.
354         (_IO_str_count): Likewise.
355         (_IO_str_seekoff): Likewise.
356         (_IO_str_pbackfail): Likewise.
357         (_IO_str_finish): Likewise.
358         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
359         (_IO_wstr_overflow): Likewise.
360         (_IO_wstr_underflow): Likewise.
361         (_IO_wstr_count): Likewise.
362         (_IO_wstr_seekoff): Likewise.
363         (_IO_wstr_pbackfail): Likewise.
364         (_IO_wstr_finish): Likewise.
365         * locale/programs/localedef.c (normalize_codeset): Likewise.
366         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
367         (add_locales_to_archive): Likewise.
368         (delete_locales_from_archive): Likewise.
369         * malloc/malloc.c (__libc_mallinfo): Likewise.
370         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
371         * misc/tsearch.c (__tfind): Likewise.
372         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
373         * nptl/pthread_attr_getdetachstate.c
374         (__pthread_attr_getdetachstate): Likewise.
375         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
376         Likewise.
377         * nptl/pthread_attr_getinheritsched.c
378         (__pthread_attr_getinheritsched): Likewise.
379         * nptl/pthread_attr_getschedparam.c
380         (__pthread_attr_getschedparam): Likewise.
381         * nptl/pthread_attr_getschedpolicy.c
382         (__pthread_attr_getschedpolicy): Likewise.
383         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
384         Likewise.
385         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
386         Likewise.
387         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
388         Likewise.
389         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
390         Likewise.
391         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
392         (__pthread_attr_init_2_0): Likewise.
393         * nptl/pthread_attr_setdetachstate.c
394         (__pthread_attr_setdetachstate): Likewise.
395         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
396         Likewise.
397         * nptl/pthread_attr_setinheritsched.c
398         (__pthread_attr_setinheritsched): Likewise.
399         * nptl/pthread_attr_setschedparam.c
400         (__pthread_attr_setschedparam): Likewise.
401         * nptl/pthread_attr_setschedpolicy.c
402         (__pthread_attr_setschedpolicy): Likewise.
403         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
404         Likewise.
405         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
406         Likewise.
407         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
408         Likewise.
409         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
410         Likewise.
411         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
412         Likewise.
413         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
414         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
415         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
416         use internal_function.
417         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
418         prototype-style function definition.
419         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
420         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
421         internal_function.
422         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
423         Convert to prototype-style function definition.
424         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
425         Likewise.
426         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
427         Likewise.
428         (__pthread_mutex_unlock): Likewise.
429         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
430         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
431         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
432         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
433         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
434         * nss/makedb.c (process_input): Likewise.
435         * posix/fnmatch.c (__strchrnul): Likewise.
436         (__wcschrnul): Likewise.
437         (fnmatch): Likewise.
438         * posix/fnmatch_loop.c (FCT): Likewise.
439         * posix/glob.c (globfree): Likewise.
440         (__glob_pattern_type): Likewise.
441         (__glob_pattern_p): Likewise.
442         * posix/regcomp.c (re_compile_pattern): Likewise.
443         (re_set_syntax): Likewise.
444         (re_compile_fastmap): Likewise.
445         (regcomp): Likewise.
446         (regerror): Likewise.
447         (regfree): Likewise.
448         * posix/regexec.c (regexec): Likewise.
449         (re_match): Likewise.
450         (re_search): Likewise.
451         (re_match_2): Likewise.
452         (re_search_2): Likewise.
453         (re_search_stub): Likewise.  Use internal_function
454         (re_copy_regs): Likewise.
455         (re_set_registers): Convert to prototype-style function
456         definition.
457         (prune_impossible_nodes): Likewise.  Use internal_function.
458         * resolv/inet_net_pton.c (inet_net_pton): Convert to
459         prototype-style function definition.
460         (inet_net_pton_ipv4): Likewise.
461         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
462         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
463         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
464         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
465         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
466         Make variadic.
467         * time/strptime_l.c (localtime_r): Convert to prototype-style
468         function definition.
469         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
470         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
471         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
472         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
474         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
475         definition.
476         (_ufc_doit_r): Likewise.
477         * crypt/crypt_util.c (_ufc_copymem): Likewise.
478         (_ufc_output_conversion_r): Likewise.
479         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
480         * inet/rcmd.c (rcmd_af): Likewise.
481         (rcmd): Likewise.
482         (ruserok_af): Likewise.
483         (ruserok): Likewise.
484         (ruserok2_sa): Likewise.
485         (ruserok_sa): Likewise.
486         (iruserok_af): Likewise.
487         (iruserok): Likewise.
488         (__ivaliduser): Likewise.
489         (__validuser2_sa): Likewise.
490         * inet/rexec.c (rexec_af): Likewise.
491         (rexec): Likewise.
492         * inet/ruserpass.c (ruserpass): Likewise.
493         * locale/programs/xmalloc.c (xcalloc): Likewise.
494         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
495         * math/w_drem.c (__drem): Likewise.
496         * math/w_dremf.c (__dremf): Likewise.
497         * math/w_dreml.c (__dreml): Likewise.
498         * misc/daemon.c (daemon): Likewise.
499         * resolv/res_debug.c (p_fqnname): Likewise.
500         * stdlib/div.c (div): Likewise.
501         * string/memcmp.c (memcmp_bytes): Likewise.
502         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
503         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
505         * crypt/cert.c (main): Convert to prototype-style function
506         definition.
507         * io/pipe.c (__pipe): Likewise.
508         * io/pipe2.c (__pipe2): Likewise.
509         * misc/futimesat.c (futimesat): Likewise.
510         * misc/utimes.c (__utimes): Likewise.
511         * posix/execve.c (__execve): Likewise.
512         * posix/execvp.c (execvp): Likewise.
513         * posix/execvpe.c (__execvpe): Likewise.
514         * posix/fexecve.c (fexecve): Likewise.
515         * socket/socketpair.c (socketpair): Likewise.
516         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
517         * stdlib/erand48.c (erand48): Likewise.
518         * stdlib/erand48_r.c (__erand48_r): Likewise.
519         * stdlib/jrand48.c (jrand48): Likewise.
520         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
521         * stdlib/lcong48.c (lcong48): Likewise.
522         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
523         * stdlib/nrand48.c (nrand48): Likewise.
524         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
525         * stdlib/seed48.c (seed48): Likewise.
526         * stdlib/seed48_r.c (__seed48_r): Likewise.
527         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
528         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
529         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
531 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
533         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
534         * configure: Regenerated.
535         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
536         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
537         unconditional.
538         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
539         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
540         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
541         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
542         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
543         unconditional.
544         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
546         * posix/Makefile (CFLAGS-regex.c): Remove variable.
547         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
549         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
550         function definition.
551         * crypt/crypt_util.c (__encrypt_r): Likewise.
552         * libio/genops.c (_IO_no_init): Likewise.
553         * libio/iofopncook.c (_IO_fopencookie): Likewise.
554         (_IO_old_fopencookie): Likewise.
555         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
556         * libio/iogetline.c (_IO_getline): Likewise.
557         (_IO_getline_info): Likewise.
558         * libio/iogetwline.c (_IO_getwline): Likewise.
559         (_IO_getwline_info): Likewise.
560         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
561         * libio/vswprintf.c (_IO_vswprintf): Likewise.
562         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
563         (find_entry): Likewise.
564         (iterate_table): Likewise.
565         (lookup): Likewise.
566         * login/forkpty.c (forkpty): Likewise.
567         * misc/hsearch_r.c (__hsearch_r): Likewise.
568         * misc/select.c (__select): Likewise.
569         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
570         Likewise.
571         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
572         Likewise.
573         * nptl/old_pthread_cond_timedwait.c
574         (__pthread_cond_timedwait_2_0): Likewise.
575         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
576         * nptl/pthread_barrierattr_getpshared.c
577         (pthread_barrierattr_getpshared): Likewise.
578         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
579         Likewise.
580         * nptl/pthread_mutex_setprioceiling.c
581         (pthread_mutex_setprioceiling): Likewise.
582         * nptl/pthread_mutexattr_getprioceiling.c
583         (pthread_mutexattr_getprioceiling): Likewise.
584         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
585         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
586         Likewise.
587         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
588         Likewise.
589         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
590         Likewise.
591         * socket/recvfrom.c (__recvfrom): Likewise.
592         * socket/sendto.c (__sendto): Likewise.
593         * socket/setsockopt.c (__setsockopt): Likewise.
594         * stdio-common/_itoa.c (_itoa): Likewise.
595         * stdio-common/_itowa.c (_itowa): Likewise.
596         * stdio-common/reg-printf.c (__register_printf_specifier):
597         Likewise.
598         (__register_printf_function): Likewise.
599         * stdio-common/tempname.c (__path_search): Likewise.
600         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
601         * stdlib/mul_1.c (mpn_mul_1): Likewise.
602         * stdlib/random_r.c (__initstate_r): Likewise.
603         * stdlib/setenv.c (__add_to_environ): Likewise.
604         * stdlib/submul_1.c (mpn_submul_1): Likewise.
605         * streams/getpmsg.c (getpmsg): Likewise.
606         * streams/putmsg.c (putmsg): Likewise.
607         * streams/putpmsg.c (putpmsg): Likewise.
608         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
609         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
610         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
611         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
612         * sunrpc/pm_getport.c (pmap_getport): Likewise.
613         * sunrpc/svc_udp.c (cache_get): Likewise.
614         * sunrpc/xdr_array.c (xdr_vector): Likewise.
615         * sysdeps/mach/hurd/getcwd.c
616         (__canonicalize_directory_name_internal): Likewise.
617         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
618         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
619         * sysdeps/mach/hurd/select.c (__select): Likewise.
620         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
621         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
622         * sysdeps/sparc/nptl/pthread_barrier_init.c
623         (__pthread_barrier_init): Likewise.
624         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
625         (__pthread_cond_timedwait): Likewise.
626         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
627         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
628         Likewise.
629         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
630         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
631         Likewise.
632         * sysvipc/semtimedop.c (semtimedop): Likewise.
633         * time/setitimer.c (__setitimer): Likewise.
634         * time/strftime_l.c (emacs_strftime): Likewise.
636 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
638         * config.make.in (have-ssp): Delete.
639         (stack-protector): New variable.
640         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
641         cache test for -fstack-protector-strong.  Export stack_protector to
642         the best ssp flag.
643         * configure: Regenerated.
644         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
645         * nscd/Makefile (CFLAGS-nscd): Likewise.
646         * resolv/Makefile (CFLAGS-libresolv): Likewise.
648 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
650         [BZ #19122]
651         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
652         attribute_hidden.
654 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
656         [BZ #18743]
657         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
658         code to...
659         (ELIDE_LOCK): ...here.
660         (__get_new_count): New function with part of the code from
661         __elide_lock that updates the value of adapt_count after a
662         transaction abort.
663         (__elided_trylock): Moved this code to...
664         (ELIDE_TRYLOCK): ...here.
666 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
668         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
669         * configure: Regenerate.
670         * INSTALL: Regenerate.
671         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
672         and tweak grammar.
674 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
676         * login/programs/pt_chown.c: Include signal.h
677         (main): Clear any signal mask from the parent process.
679 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
681         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
682         * configure: Regenerated.
683         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
684         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
685         $(gnu89-inline-CFLAGS).
687         * configure.ac (libc_cv_asm_weak_directive): Remove configure
688         test.
689         (libc_cv_asm_weakext_directive): Likewise.
690         * configure: Regenerated.
691         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
692         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
693         * include/libc-symbols.h
694         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
695         #error.
696         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
697         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
699         * sysdeps/arm/backtrace.c (__backtrace): Convert to
700         prototype-style function definition.
701         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
702         * sysdeps/i386/ffs.c (__ffs): Likewise.
703         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
704         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
705         Likewise.
706         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
707         Likewise.
708         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
709         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
710         Likewise.
711         * sysdeps/m68k/ffs.c (__ffs): Likewise.
712         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
713         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
714         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
715         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
716         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
717         * sysdeps/mach/hurd/access.c (__access): Likewise.
718         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
719         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
720         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
721         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
722         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
723         (cthread_getspecific): Likewise.
724         (cthread_setspecific): Likewise.
725         (__libc_getspecific): Likewise.
726         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
727         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
728         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
729         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
730         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
731         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
732         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
733         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
734         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
735         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
736         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
737         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
738         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
739         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
740         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
741         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
742         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
743         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
744         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
745         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
746         * sysdeps/mach/hurd/link.c (__link): Likewise.
747         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
748         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
749         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
750         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
751         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
752         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
753         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
754         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
755         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
756         * sysdeps/mach/hurd/rename.c (rename): Likewise.
757         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
758         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
759         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
760         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
761         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
762         * sysdeps/mach/hurd/send.c (__send): Likewise.
763         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
764         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
765         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
766         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
767         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
768         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
769         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
770         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
771         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
772         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
773         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
774         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
775         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
776         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
777         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
778         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
779         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
780         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
781         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
782         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
783         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
784         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
785         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
786         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
787         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
788         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
789         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
790         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
791         * sysdeps/posix/alarm.c (alarm): Likewise.
792         * sysdeps/posix/cuserid.c (cuserid): Likewise.
793         * sysdeps/posix/dirfd.c (dirfd): Likewise.
794         * sysdeps/posix/dup.c (__dup): Likewise.
795         * sysdeps/posix/dup2.c (__dup2): Likewise.
796         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
797         (main): Likewise.
798         * sysdeps/posix/flock.c (__flock): Likewise.
799         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
800         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
801         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
802         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
803         * sysdeps/posix/isatty.c (__isatty): Likewise.
804         * sysdeps/posix/killpg.c (killpg): Likewise.
805         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
806         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
807         * sysdeps/posix/raise.c (raise): Likewise.
808         * sysdeps/posix/remove.c (remove): Likewise.
809         * sysdeps/posix/rename.c (rename): Likewise.
810         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
811         * sysdeps/posix/seekdir.c (seekdir): Likewise.
812         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
813         * sysdeps/posix/sigignore.c (sigignore): Likewise.
814         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
815         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
816         * sysdeps/posix/sigset.c (sigset): Likewise.
817         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
818         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
819         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
820         * sysdeps/posix/time.c (time): Likewise.
821         * sysdeps/posix/ttyname.c (getttyname): Likewise.
822         (ttyname): Likewise.
823         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
824         * sysdeps/posix/utime.c (utime): Likewise.
825         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
826         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
827         Likewise.
828         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
829         (pthread_spin_trylock): Likewise.
830         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
831         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
832         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
833         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
834         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
835         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
836         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
837         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
838         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
839         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
840         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
841         * sysdeps/s390/ffs.c (__ffs): Likewise.
842         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
843         Likewise.
844         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
845         Likewise.
846         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
847         Likewise.
848         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
849         (pthread_barrier_destroy): Likewise.
850         * sysdeps/sparc/nptl/pthread_barrier_wait.c
851         (__pthread_barrier_wait): Likewise.
852         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
853         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
854         (__pthread_barrier_wait): Likewise.
855         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
856         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
857         (memcmp_not_common_alignment): Likewise.
858         (MEMCMP): Likewise.
859         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
860         (_wordcopy_fwd_dest_aligned): Likewise.
861         (_wordcopy_bwd_aligned): Likewise.
862         (_wordcopy_bwd_dest_aligned): Likewise.
863         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
864         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
865         * sysdeps/unix/bsd/stty.c (stty): Likewise.
866         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
867         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
868         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
869         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
870         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
871         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
872         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
873         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
874         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
875         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
876         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
877         * sysdeps/unix/stime.c (stime): Likewise.
878         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
879         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
880         Likewise.  Use internal_function.
881         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
882         Convert to prototype-style function definition.
883         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
884         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
885         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
886         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
887         Likewise.  Use internal_function.
888         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
889         prototype-style function definition
890         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
891         Likewise.
892         (__getlogin_r): Likewise.
893         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
894         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
895         (__pthread_cond_broadcast): Likewise.
896         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
897         (__pthread_cond_destroy): Likewise.
898         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
899         (__pthread_cond_init): Likewise.
900         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
901         (__pthread_cond_signal): Likewise.
902         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
903         (__pthread_cond_wait): Likewise.
904         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
905         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
906         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
907         Likewise.
908         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
909         Likewise.
910         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
911         Likewise.
912         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
913         Likewise.
914         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
916         (__ftruncate64): Likewise.
917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
918         (truncate64): Likewise.
919         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
920         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
921         (pthread_getcpuclockid): Likewise.
922         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
923         Likewise.
924         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
925         Likewise.
926         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
927         Likewise.
928         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
929         Likewise.
930         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
931         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
932         (__libc_sigaction): Likewise.
933         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
934         Likewise.
935         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
936         (__sigprocmask): Likewise.
937         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
938         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
939         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
940         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
941         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
942         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
943         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
944         Likewise.
945         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
946         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
947         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
948         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
949         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
950         Likewise.
951         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
952         (__sigprocmask): Likewise.
953         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
954         (cfgetispeed): Likewise.
955         (cfsetospeed): Likewise.
956         (cfsetispeed): Likewise.
957         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
958         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
959         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
960         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
961         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
962         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
963         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
964         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
965         Likewise.
966         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
967         Likewise.
968         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
969         Likewise.
970         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
971         Likewise.
972         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
974 2015-10-17  Florian Weimer  <fweimer@redhat.com>
976         sunrpc: Rewrite with explicit TLS access using __thread.
977         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
978         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
979         directly.
980         (__rpc_thread_variables): Access thread_rpc_vars directly.
981         Eliminate redundant assignment of the tvp variable.
983 2015-10-17  Florian Weimer  <fweimer@redhat.com>
985         malloc: Rewrite with explicit TLS access using __thread.
986         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
987         (tsd_setspecific, tsd_getspecific): Remove.
988         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
989         (tsd_setspecific, tsd_getspecific): Likewise.
990         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
991         (tsd_setspecific, tsd_getspecific): Likewise.
992         * malloc/arena.c (thread_arena): New TLS variable.
993         (arena_key): Remove variable.
994         (arena_get): Use thread_arena.
995         (arena_lookup): Remove macro.
996         (malloc_atfork, free_atfork, ptmalloc_lock_all)
997         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
998         (_int_new_arena, get_free_list, reused_arena)
999         (arena_thread_freeres): Use thread_arena.
1000         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
1001         tsd_getspecific, tsd_setspecific from safety annotations.
1002         (Allocating Cleared Space): Remove arena_lookup from safety
1003         annotations.
1005 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1007         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
1008         struct scratch_buffer instead of extend_alloca.
1010 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1012         * sysdeps/unix/sysv/linux/kernel-features.h
1013         (__ASSUME_SOCK_CLOEXEC): Remove.
1014         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
1015         (__have_paccept): Remove unused macro.
1016         * include/unistd.h (__have_sock_cloexec): Remove declaration.
1017         * misc/syslog.c (openlog_internal): Remove fallback code for
1018         !__ASSUME_SOCK_CLOEXEC.
1019         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
1020         missing SOCK_CLOEXEC.
1021         * nscd/connections.c (have_sock_cloexec): Remove definition.
1022         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1023         * nscd/nscd_helper.c (open_socket): Remove fallback code for
1024         !__ASSUME_SOCK_CLOEXEC.
1025         * resolv/res_send.c (__have_o_nonblock): Remove definition.
1026         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1027         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
1028         definition.
1029         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
1030         code for !__ASSUME_SOCK_CLOEXEC.
1032 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1034         [BZ #18982]
1035         * manual/stdio.texi (Variable Arguments Output): Add portability
1036         note, explaining that vfprintf clobbers the va_list pointer.
1038 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1040         * math/libm-test.inc (fabs_test_data): Add more tests.
1041         (fdim_test_data): Likewise.
1042         (fma_test_data): Likewise.
1043         (fmax_test_data): Likewise.
1044         (fmin_test_data): Likewise.
1045         (fmod_test_data): Likewise.
1047 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
1049         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
1050         data.
1052 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1054         * math/libm-test.inc (ceil_test_data): Add more tests and more
1055         expectations for "inexact".
1056         (floor_test_data): Add more tests.
1057         (round_test_data): Likewise.
1058         (trunc_test_data): Likewise.
1060         * crypt/cert.c (good_bye): Convert to prototype-style function
1061         definition.
1062         (get8): Likewise.
1063         (put8): Likewise.
1064         * crypt/crypt-entry.c (crypt): Likewise.
1065         (__fcrypt): Likewise.
1066         * crypt/crypt_util.c (_ufc_prbits): Likewise.
1067         (_ufc_set_bits): Likewise.
1068         (_ufc_clearmem): Likewise.
1069         (__init_des_r): Likewise.
1070         (shuffle_sb): Likewise.
1071         (shuffle_sb): Likewise.
1072         (_ufc_setup_salt_r): Likewise.
1073         (_ufc_mk_keytab_r): Likewise.
1074         (_ufc_dofinalperm_r): Likewise.
1075         (encrypt): Likewise.
1076         (__setkey_r): Likewise.
1077         (setkey): Likewise.
1078         * crypt/md5.c (md5_init_ctx): Likewise.
1079         (md5_read_ctx): Likewise.
1080         (md5_finish_ctx): Likewise.
1081         (md5_stream): Likewise.
1082         (md5_buffer): Likewise.
1083         (md5_process_bytes): Likewise.
1084         * crypt/sha256.c (__sha256_init_ctx): Likewise.
1085         (__sha256_finish_ctx): Likewise.
1086         (__sha256_process_bytes): Likewise.
1087         * crypt/sha512.c (__sha512_init_ctx): Likewise.
1088         (__sha512_finish_ctx): Likewise.
1089         (__sha512_process_bytes): Likewise.
1090         * ctype/isctype.c (__isctype): Likewise.
1091         * debug/backtrace.c (__backtrace): Likewise.
1092         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
1093         * debug/fgets_chk.c (__fgets_chk): Likewise.
1094         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
1095         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
1096         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1097         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1098         * debug/memset_chk.c (__memset_chk): Likewise.
1099         * debug/strcat_chk.c (__strcat_chk): Likewise.
1100         * debug/strncat_chk.c (__strncat_chk): Likewise.
1101         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
1102         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
1103         * dirent/dirfd.c (dirfd): Likewise.
1104         * dirent/getdents.c (__getdirentries): Likewise.
1105         * dirent/getdents64.c (getdirentries64): Likewise.
1106         * dirent/rewinddir.c (__rewinddir): Likewise.
1107         * dirent/seekdir.c (seekdir): Likewise.
1108         * dirent/telldir.c (telldir): Likewise.
1109         * elf/sln.c (makesymlinks): Likewise.
1110         (makesymlink): Likewise.
1111         * gmon/gmon.c (__moncontrol): Likewise.
1112         (__monstartup): Likewise.
1113         (write_hist): Likewise.
1114         (write_call_graph): Likewise.
1115         (write_bb_counts): Likewise.
1116         * grp/setgroups.c (setgroups): Likewise.
1117         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1118         * inet/inet_net.c (inet_network): Likewise.
1119         * inet/inet_netof.c (inet_netof): Likewise.
1120         * inet/rcmd.c (rresvport_af): Likewise.
1121         (rresvport): Likewise.
1122         * io/access.c (__access): Likewise.
1123         * io/chdir.c (__chdir): Likewise.
1124         * io/chmod.c (__chmod): Likewise.
1125         * io/chown.c (__chown): Likewise.
1126         * io/close.c (__close): Likewise.
1127         * io/creat.c (creat): Likewise.
1128         * io/creat64.c (creat64): Likewise.
1129         * io/dup.c (__dup): Likewise.
1130         * io/dup2.c (__dup2): Likewise.
1131         * io/dup3.c (__dup3): Likewise.
1132         * io/euidaccess.c (__euidaccess): Likewise.
1133         * io/faccessat.c (faccessat): Likewise.
1134         * io/fchmod.c (__fchmod): Likewise.
1135         * io/fchmodat.c (fchmodat): Likewise.
1136         * io/fchown.c (__fchown): Likewise.
1137         * io/fchownat.c (fchownat): Likewise.
1138         * io/fcntl.c (__fcntl): Likewise.
1139         * io/flock.c (__flock): Likewise.
1140         * io/fts.c (fts_load): Likewise.
1141         (fts_close): Likewise.
1142         (fts_read): Likewise.
1143         (fts_set): Likewise.
1144         (fts_children): Likewise.
1145         (fts_build): Likewise.
1146         (fts_stat): Likewise.
1147         (fts_sort): Likewise.
1148         (fts_alloc): Likewise.
1149         (fts_lfree): Likewise.
1150         (fts_palloc): Likewise.
1151         (fts_padjust): Likewise.
1152         (fts_maxarglen): Likewise.
1153         (fts_safe_changedir): Likewise.
1154         * io/getwd.c (getwd): Likewise.
1155         * io/isatty.c (__isatty): Likewise.
1156         * io/lchown.c (__lchown): Likewise.
1157         * io/link.c (__link): Likewise.
1158         * io/linkat.c (linkat): Likewise.
1159         * io/lseek.c (__libc_lseek): Likewise.
1160         * io/mkdir.c (__mkdir): Likewise.
1161         * io/mkdirat.c (mkdirat): Likewise.
1162         * io/mkfifo.c (mkfifo): Likewise.
1163         * io/mkfifoat.c (mkfifoat): Likewise.
1164         * io/open.c (__libc_open): Likewise.
1165         * io/open64.c (__libc_open64): Likewise.
1166         * io/readlink.c (__readlink): Likewise.
1167         * io/readlinkat.c (readlinkat): Likewise.
1168         * io/rmdir.c (__rmdir): Likewise.
1169         * io/symlink.c (__symlink): Likewise.
1170         * io/symlinkat.c (symlinkat): Likewise.
1171         * io/ttyname.c (ttyname): Likewise.
1172         * io/ttyname_r.c (__ttyname_r): Likewise.
1173         * io/umask.c (__umask): Likewise.
1174         * io/unlink.c (__unlink): Likewise.
1175         * io/unlinkat.c (unlinkat): Likewise.
1176         * io/utime.c (utime): Likewise.
1177         * libio/clearerr.c (clearerr): Likewise.
1178         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
1179         * libio/feof.c (_IO_feof): Likewise.
1180         * libio/feof_u.c (feof_unlocked): Likewise.
1181         * libio/ferror.c (_IO_ferror): Likewise.
1182         * libio/ferror_u.c (ferror_unlocked): Likewise.
1183         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1184         * libio/fileno.c (__fileno): Likewise.
1185         * libio/fputc.c (fputc): Likewise.
1186         * libio/fputc_u.c (fputc_unlocked): Likewise.
1187         * libio/fputwc.c (fputwc): Likewise.
1188         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
1189         * libio/freopen.c (freopen): Likewise.
1190         * libio/freopen64.c (freopen64): Likewise.
1191         * libio/fseek.c (fseek): Likewise.
1192         * libio/fseeko.c (fseeko): Likewise.
1193         * libio/fseeko64.c (fseeko64): Likewise.
1194         * libio/ftello.c (__ftello): Likewise.
1195         * libio/ftello64.c (ftello64): Likewise.
1196         * libio/fwide.c (fwide): Likewise.
1197         * libio/genops.c (_IO_un_link): Likewise.
1198         (_IO_link_in): Likewise.
1199         (_IO_least_marker): Likewise.
1200         (_IO_switch_to_main_get_area): Likewise.
1201         (_IO_switch_to_backup_area): Likewise.
1202         (_IO_switch_to_get_mode): Likewise.
1203         (_IO_free_backup_area): Likewise.
1204         (_IO_switch_to_put_mode): Likewise.
1205         (__overflow): Likewise.
1206         (__underflow): Likewise.
1207         (__uflow): Likewise.
1208         (_IO_setb): Likewise.
1209         (_IO_doallocbuf): Likewise.
1210         (_IO_default_underflow): Likewise.
1211         (_IO_default_uflow): Likewise.
1212         (_IO_default_xsputn): Likewise.
1213         (_IO_sgetn): Likewise.
1214         (_IO_default_xsgetn): Likewise.
1215         (_IO_sync): Likewise.
1216         (_IO_default_setbuf): Likewise.
1217         (_IO_default_seekpos): Likewise.
1218         (_IO_default_doallocate): Likewise.
1219         (_IO_init): Likewise.
1220         (_IO_old_init): Likewise.
1221         (_IO_default_sync): Likewise.
1222         (_IO_default_finish): Likewise.
1223         (_IO_default_seekoff): Likewise.
1224         (_IO_sputbackc): Likewise.
1225         (_IO_sungetc): Likewise.
1226         (_IO_set_column): Likewise.
1227         (_IO_set_column): Likewise.
1228         (_IO_adjust_column): Likewise.
1229         (_IO_get_column): Likewise.
1230         (_IO_init_marker): Likewise.
1231         (_IO_remove_marker): Likewise.
1232         (_IO_marker_difference): Likewise.
1233         (_IO_marker_delta): Likewise.
1234         (_IO_seekmark): Likewise.
1235         (_IO_unsave_markers): Likewise.
1236         (_IO_nobackup_pbackfail): Likewise.
1237         (_IO_default_pbackfail): Likewise.
1238         (_IO_default_seek): Likewise.
1239         (_IO_default_stat): Likewise.
1240         (_IO_default_read): Likewise.
1241         (_IO_default_write): Likewise.
1242         (_IO_default_showmanyc): Likewise.
1243         (_IO_default_imbue): Likewise.
1244         (_IO_iter_next): Likewise.
1245         (_IO_iter_file): Likewise.
1246         * libio/getc.c (_IO_getc): Likewise.
1247         * libio/getwc.c (_IO_getwc): Likewise.
1248         * libio/iofclose.c (_IO_new_fclose): Likewise.
1249         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1250         * libio/iofflush.c (_IO_fflush): Likewise.
1251         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
1252         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
1253         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
1254         * libio/iofgets.c (_IO_fgets): Likewise.
1255         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
1256         * libio/iofgetws.c (fgetws): Likewise.
1257         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1258         * libio/iofopen64.c (_IO_fopen64): Likewise.
1259         * libio/iofopncook.c (_IO_cookie_read): Likewise.
1260         (_IO_cookie_write): Likewise.
1261         (_IO_cookie_seek): Likewise.
1262         (_IO_cookie_close): Likewise.
1263         (_IO_cookie_seekoff): Likewise.
1264         (_IO_old_cookie_seek): Likewise.
1265         * libio/iofputs.c (_IO_fputs): Likewise.
1266         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
1267         * libio/iofputws.c (fputws): Likewise.
1268         * libio/iofputws_u.c (fputws_unlocked): Likewise.
1269         * libio/iofread.c (_IO_fread): Likewise.
1270         * libio/iofread_u.c (__fread_unlocked): Likewise.
1271         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1272         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
1273         * libio/ioftell.c (_IO_ftell): Likewise.
1274         * libio/iofwrite.c (_IO_fwrite): Likewise.
1275         * libio/iogetdelim.c (_IO_getdelim): Likewise.
1276         * libio/iogets.c (_IO_gets): Likewise.
1277         * libio/iopadn.c (_IO_padn): Likewise.
1278         * libio/iopopen.c (_IO_new_proc_open): Likewise.
1279         (_IO_new_popen): Likewise.
1280         (_IO_new_proc_close): Likewise.
1281         * libio/ioputs.c (_IO_puts): Likewise.
1282         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
1283         (_IO_seekoff): Likewise.
1284         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
1285         (_IO_seekpos): Likewise.
1286         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
1287         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
1288         * libio/ioungetc.c (_IO_ungetc): Likewise.
1289         * libio/ioungetwc.c (ungetwc): Likewise.
1290         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1291         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1292         * libio/iowpadn.c (_IO_wpadn): Likewise.
1293         * libio/libc_fatal.c (__libc_fatal): Likewise.
1294         * libio/memstream.c (__open_memstream): Likewise.
1295         (_IO_mem_sync): Likewise.
1296         (_IO_mem_finish): Likewise.
1297         * libio/oldfileops.c (_IO_old_file_init): Likewise.
1298         (_IO_old_file_close_it): Likewise.
1299         (_IO_old_file_finish): Likewise.
1300         (_IO_old_file_fopen): Likewise.
1301         (_IO_old_file_attach): Likewise.
1302         (_IO_old_file_setbuf): Likewise.
1303         (_IO_old_do_write): Likewise.
1304         (old_do_write): Likewise.
1305         (_IO_old_file_underflow): Likewise.
1306         (_IO_old_file_overflow): Likewise.
1307         (_IO_old_file_sync): Likewise.
1308         (_IO_old_file_seekoff): Likewise.
1309         (_IO_old_file_write): Likewise.
1310         (_IO_old_file_xsputn): Likewise.
1311         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1312         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1313         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
1314         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
1315         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1316         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
1317         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
1318         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
1319         (_IO_old_popen): Likewise.
1320         (_IO_old_proc_close): Likewise.
1321         * libio/oldpclose.c (__old_pclose): Likewise.
1322         * libio/pclose.c (__new_pclose): Likewise.
1323         * libio/peekc.c (_IO_peekc_locked): Likewise.
1324         * libio/putc.c (_IO_putc): Likewise.
1325         * libio/putc_u.c (putc_unlocked): Likewise.
1326         * libio/putchar.c (putchar): Likewise.
1327         * libio/putchar_u.c (putchar_unlocked): Likewise.
1328         * libio/putwc.c (putwc): Likewise.
1329         * libio/putwc_u.c (putwc_unlocked): Likewise.
1330         * libio/putwchar.c (putwchar): Likewise.
1331         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1332         * libio/rewind.c (rewind): Likewise.
1333         * libio/setbuf.c (setbuf): Likewise.
1334         * libio/setlinebuf.c (setlinebuf): Likewise.
1335         * libio/vasprintf.c (_IO_vasprintf): Likewise.
1336         * libio/vscanf.c (_IO_vscanf): Likewise.
1337         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
1338         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
1339         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1340         * libio/wgenops.c (_IO_least_wmarker): Likewise.
1341         (_IO_switch_to_main_wget_area): Likewise.
1342         (_IO_switch_to_wbackup_area): Likewise.
1343         (_IO_wsetb): Likewise.
1344         (_IO_wdefault_pbackfail): Likewise.
1345         (_IO_wdefault_finish): Likewise.
1346         (_IO_wdefault_uflow): Likewise.
1347         (__woverflow): Likewise.
1348         (__wuflow): Likewise.
1349         (__wunderflow): Likewise.
1350         (_IO_wdefault_xsputn): Likewise.
1351         (_IO_wdefault_xsgetn): Likewise.
1352         (_IO_wdoallocbuf): Likewise.
1353         (_IO_wdefault_doallocate): Likewise.
1354         (_IO_switch_to_wget_mode): Likewise.
1355         (_IO_free_wbackup_area): Likewise.
1356         (_IO_switch_to_wput_mode): Likewise.
1357         (_IO_sputbackwc): Likewise.
1358         (_IO_sungetwc): Likewise.
1359         (_IO_adjust_wcolumn): Likewise.
1360         (_IO_init_wmarker): Likewise.
1361         (_IO_wmarker_delta): Likewise.
1362         (_IO_seekwmark): Likewise.
1363         (_IO_unsave_wmarkers): Likewise.
1364         * libio/wmemstream.c (open_wmemstream): Likewise.
1365         (_IO_wmem_sync): Likewise.
1366         (_IO_wmem_finish): Likewise.
1367         * locale/nl_langinfo.c (nl_langinfo): Likewise.
1368         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
1369         * locale/programs/simple-hash.c (init_hash): Likewise.
1370         (delete_hash): Likewise.
1371         (insert_entry): Likewise.
1372         (set_entry): Likewise.
1373         (next_prime): Likewise.
1374         (is_prime): Likewise.
1375         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
1376         (xmalloc): Likewise.
1377         (xrealloc): Likewise.
1378         * locale/programs/xstrdup.c (xstrdup): Likewise.
1379         * localedata/collate-test.c (xstrcoll): Likewise.
1380         * localedata/xfrm-test.c (xstrcmp): Likewise.
1381         * login/getlogin_r.c (__getlogin_r): Likewise.
1382         * login/getpt.c (__posix_openpt): Likewise.
1383         * login/login_tty.c (login_tty): Likewise.
1384         * login/setlogin.c (setlogin): Likewise.
1385         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
1386         (mach_msg_destroy_port): Likewise.
1387         (mach_msg_destroy_memory): Likewise.
1388         * malloc/mcheck.c (flood): Likewise.
1389         * misc/acct.c (acct): Likewise.
1390         * misc/brk.c (__brk): Likewise.
1391         * misc/chflags.c (chflags): Likewise.
1392         * misc/chroot.c (chroot): Likewise.
1393         * misc/fchflags.c (fchflags): Likewise.
1394         * misc/fstab.c (getfsspec): Likewise.
1395         (getfsfile): Likewise.
1396         * misc/fsync.c (fsync): Likewise.
1397         * misc/ftruncate.c (__ftruncate): Likewise.
1398         * misc/ftruncate64.c (__ftruncate64): Likewise.
1399         * misc/getdomain.c (getdomainname): Likewise.
1400         (getdomainname): Likewise.
1401         * misc/gethostname.c (__gethostname): Likewise.
1402         * misc/getpass.c (getpass): Likewise.
1403         * misc/getttyent.c (skip): Likewise.
1404         (value): Likewise.
1405         * misc/gtty.c (gtty): Likewise.
1406         * misc/hsearch.c (hsearch): Likewise.
1407         (hcreate): Likewise.
1408         * misc/hsearch_r.c (__hcreate_r): Likewise.
1409         (__hdestroy_r): Likewise.
1410         * misc/ioctl.c (__ioctl): Likewise.
1411         * misc/mkdtemp.c (mkdtemp): Likewise.
1412         * misc/mkostemp.c (mkostemp): Likewise.
1413         * misc/mkostemp64.c (mkostemp64): Likewise.
1414         * misc/mkostemps.c (mkostemps): Likewise.
1415         * misc/mkostemps64.c (mkostemps64): Likewise.
1416         * misc/mkstemp.c (mkstemp): Likewise.
1417         * misc/mkstemp64.c (mkstemp64): Likewise.
1418         * misc/mkstemps.c (mkstemps): Likewise.
1419         * misc/mkstemps64.c (mkstemps64): Likewise.
1420         * misc/mktemp.c (__mktemp): Likewise.
1421         * misc/preadv.c (preadv): Likewise.
1422         * misc/preadv64.c (preadv64): Likewise.
1423         * misc/pwritev.c (pwritev): Likewise.
1424         * misc/pwritev64.c (pwritev64): Likewise.
1425         * misc/readv.c (__readv): Likewise.
1426         * misc/revoke.c (revoke): Likewise.
1427         * misc/setdomain.c (setdomainname): Likewise.
1428         * misc/setegid.c (setegid): Likewise.
1429         * misc/seteuid.c (seteuid): Likewise.
1430         * misc/sethostid.c (sethostid): Likewise.
1431         * misc/sethostname.c (sethostname): Likewise.
1432         * misc/setregid.c (__setregid): Likewise.
1433         * misc/setreuid.c (__setreuid): Likewise.
1434         * misc/sstk.c (sstk): Likewise.
1435         * misc/stty.c (stty): Likewise.
1436         * misc/syscall.c (syscall): Likewise.
1437         * misc/syslog.c (setlogmask): Likewise.
1438         * misc/truncate.c (__truncate): Likewise.
1439         * misc/truncate64.c (truncate64): Likewise.
1440         * misc/ualarm.c (ualarm): Likewise.
1441         * misc/usleep.c (usleep): Likewise.
1442         * misc/ustat.c (ustat): Likewise.
1443         * misc/writev.c (__writev): Likewise.
1444         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
1445         * nptl/old_pthread_cond_broadcast.c
1446         (__pthread_cond_broadcast_2_0): Likewise.
1447         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
1448         Likewise.
1449         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
1450         Likewise.
1451         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
1452         Likewise.
1453         * nptl/pt-raise.c (raise): Likewise.
1454         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
1455         Likewise.
1456         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
1457         * nptl/pthread_barrierattr_destroy.c
1458         (pthread_barrierattr_destroy): Likewise.
1459         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
1460         Likewise.
1461         * nptl/pthread_barrierattr_setpshared.c
1462         (pthread_barrierattr_setpshared): Likewise.
1463         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1464         Likewise.
1465         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1466         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1467         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1468         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
1469         Likewise.
1470         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
1471         Likewise.
1472         * nptl/pthread_condattr_getpshared.c
1473         (pthread_condattr_getpshared): Likewise.
1474         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
1475         Likewise.
1476         * nptl/pthread_condattr_setpshared.c
1477         (pthread_condattr_setpshared): Likewise.
1478         * nptl/pthread_detach.c (pthread_detach): Likewise.
1479         * nptl/pthread_equal.c (__pthread_equal): Likewise.
1480         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
1481         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1482         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1483         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
1484         Likewise.
1485         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
1486         Likewise.
1487         * nptl/pthread_mutex_getprioceiling.c
1488         (pthread_mutex_getprioceiling): Likewise.
1489         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
1490         Likewise.
1491         * nptl/pthread_mutexattr_getprotocol.c
1492         (pthread_mutexattr_getprotocol): Likewise.
1493         * nptl/pthread_mutexattr_getpshared.c
1494         (pthread_mutexattr_getpshared): Likewise.
1495         * nptl/pthread_mutexattr_getrobust.c
1496         (pthread_mutexattr_getrobust): Likewise.
1497         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1498         Likewise.
1499         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
1500         Likewise.
1501         * nptl/pthread_mutexattr_setprioceiling.c
1502         (pthread_mutexattr_setprioceiling): Likewise.
1503         * nptl/pthread_mutexattr_setprotocol.c
1504         (pthread_mutexattr_setprotocol): Likewise.
1505         * nptl/pthread_mutexattr_setpshared.c
1506         (pthread_mutexattr_setpshared): Likewise.
1507         * nptl/pthread_mutexattr_setrobust.c
1508         (pthread_mutexattr_setrobust): Likewise.
1509         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1510         Likewise.
1511         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
1512         Likewise.
1513         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
1514         Likewise.
1515         * nptl/pthread_rwlockattr_getkind_np.c
1516         (pthread_rwlockattr_getkind_np): Likewise.
1517         * nptl/pthread_rwlockattr_getpshared.c
1518         (pthread_rwlockattr_getpshared): Likewise.
1519         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
1520         Likewise.
1521         * nptl/pthread_rwlockattr_setkind_np.c
1522         (pthread_rwlockattr_setkind_np): Likewise.
1523         * nptl/pthread_rwlockattr_setpshared.c
1524         (pthread_rwlockattr_setpshared): Likewise.
1525         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
1526         Likewise.
1527         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
1528         Likewise.
1529         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
1530         Likewise.
1531         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1532         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1533         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
1534         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
1535         * nptl/sem_close.c (sem_close): Likewise.
1536         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
1537         * nptl/sem_init.c (__old_sem_init): Likewise.
1538         * nptl/sigaction.c (__sigaction): Likewise.
1539         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1540         * posix/_exit.c (_exit): Likewise.
1541         * posix/alarm.c (alarm): Likewise.
1542         * posix/confstr.c (confstr): Likewise.
1543         * posix/fpathconf.c (__fpathconf): Likewise.
1544         * posix/getgroups.c (__getgroups): Likewise.
1545         * posix/getpgid.c (__getpgid): Likewise.
1546         * posix/group_member.c (__group_member): Likewise.
1547         * posix/pathconf.c (__pathconf): Likewise.
1548         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
1549         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
1550         * posix/setgid.c (__setgid): Likewise.
1551         * posix/setpgid.c (__setpgid): Likewise.
1552         * posix/setuid.c (__setuid): Likewise.
1553         * posix/sleep.c (__sleep): Likewise.
1554         * posix/sysconf.c (__sysconf): Likewise.
1555         * posix/times.c (__times): Likewise.
1556         * posix/uname.c (__uname): Likewise.
1557         * posix/waitid.c (__waitid): Likewise.
1558         * pwd/getpw.c (__getpw): Likewise.
1559         * resolv/base64.c (b64_pton): Likewise.
1560         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1561         * resolv/gethnamaddr.c (Dprintf): Likewise.
1562         (gethostbyname): Likewise.
1563         (gethostbyname2): Likewise.
1564         (gethostbyaddr): Likewise.
1565         (_sethtent): Likewise.
1566         (_gethtbyname): Likewise.
1567         (_gethtbyname2): Likewise.
1568         (_gethtbyaddr): Likewise.
1569         (map_v4v6_address): Likewise.
1570         (map_v4v6_hostent): Likewise.
1571         (addrsort): Likewise.
1572         (ht_sethostent): Likewise.
1573         (ht_gethostbyname): Likewise.
1574         (ht_gethostbyaddr): Likewise.
1575         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
1576         (inet_net_ntop_ipv4): Likewise.
1577         * resolv/inet_neta.c (inet_neta): Likewise.
1578         * resolv/inet_ntop.c (inet_ntop): Likewise.
1579         (inet_ntop4): Likewise.
1580         (inet_ntop6): Likewise.
1581         * resolv/inet_pton.c (__inet_pton): Likewise.
1582         (inet_pton4): Likewise.
1583         (inet_pton6): Likewise.
1584         * resolv/res_debug.c (loc_aton): Likewise.
1585         (loc_ntoa): Likewise.
1586         * resource/getpriority.c (__getpriority): Likewise.
1587         * resource/getrusage.c (__getrusage): Likewise.
1588         * resource/nice.c (nice): Likewise.
1589         * resource/setpriority.c (__setpriority): Likewise.
1590         * resource/setrlimit64.c (setrlimit64): Likewise.
1591         * resource/vlimit.c (vlimit): Likewise.
1592         * resource/vtimes.c (vtimes): Likewise.
1593         * rt/aio_error.c (aio_error): Likewise.
1594         * rt/aio_return.c (aio_return): Likewise.
1595         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
1596         * signal/kill.c (__kill): Likewise.
1597         * signal/killpg.c (killpg): Likewise.
1598         * signal/raise.c (raise): Likewise.
1599         * signal/sigaction.c (__sigaction): Likewise.
1600         * signal/sigaddset.c (sigaddset): Likewise.
1601         * signal/sigaltstack.c (sigaltstack): Likewise.
1602         * signal/sigandset.c (sigandset): Likewise.
1603         * signal/sigblock.c (__sigblock): Likewise.
1604         * signal/sigdelset.c (sigdelset): Likewise.
1605         * signal/sigempty.c (sigemptyset): Likewise.
1606         * signal/sigfillset.c (sigfillset): Likewise.
1607         * signal/sighold.c (sighold): Likewise.
1608         * signal/sigignore.c (sigignore): Likewise.
1609         * signal/sigintr.c (siginterrupt): Likewise.
1610         * signal/sigisempty.c (sigisemptyset): Likewise.
1611         * signal/sigismem.c (sigismember): Likewise.
1612         * signal/signal.c (signal): Likewise.
1613         * signal/sigorset.c (sigorset): Likewise.
1614         * signal/sigpause.c (__sigpause): Likewise.
1615         * signal/sigpending.c (sigpending): Likewise.
1616         * signal/sigprocmask.c (__sigprocmask): Likewise.
1617         * signal/sigrelse.c (sigrelse): Likewise.
1618         * signal/sigreturn.c (__sigreturn): Likewise.
1619         * signal/sigset.c (sigset): Likewise.
1620         * signal/sigsetmask.c (__sigsetmask): Likewise.
1621         * signal/sigstack.c (sigstack): Likewise.
1622         * signal/sigsuspend.c (__sigsuspend): Likewise.
1623         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
1624         * signal/sysv_signal.c (__sysv_signal): Likewise.
1625         * socket/accept.c (accept): Likewise.
1626         * socket/accept4.c (__libc_accept4): Likewise.
1627         * socket/bind.c (__bind): Likewise.
1628         * socket/connect.c (__connect): Likewise.
1629         * socket/getpeername.c (getpeername): Likewise.
1630         * socket/getsockname.c (__getsockname): Likewise.
1631         * socket/getsockopt.c (getsockopt): Likewise.
1632         * socket/listen.c (__listen): Likewise.
1633         * socket/recv.c (__recv): Likewise.
1634         * socket/recvmsg.c (__recvmsg): Likewise.
1635         * socket/send.c (__send): Likewise.
1636         * socket/sendmsg.c (__sendmsg): Likewise.
1637         * socket/shutdown.c (shutdown): Likewise.
1638         * socket/sockatmark.c (sockatmark): Likewise.
1639         * socket/socket.c (__socket): Likewise.
1640         * stdio-common/ctermid.c (ctermid): Likewise.
1641         * stdio-common/cuserid.c (cuserid): Likewise.
1642         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
1643         * stdio-common/remove.c (remove): Likewise.
1644         * stdio-common/rename.c (rename): Likewise.
1645         * stdio-common/renameat.c (renameat): Likewise.
1646         * stdio-common/tempname.c (__gen_tempname): Likewise.
1647         * stdio-common/xbug.c (InitBuffer): Likewise.
1648         (AppendToBuffer): Likewise.
1649         (ReadFile): Likewise.
1650         * stdlib/a64l.c (a64l): Likewise.
1651         * stdlib/drand48_r.c (drand48_r): Likewise.
1652         * stdlib/getcontext.c (getcontext): Likewise.
1653         * stdlib/getenv.c (getenv): Likewise.
1654         * stdlib/l64a.c (l64a): Likewise.
1655         * stdlib/llabs.c (llabs): Likewise.
1656         * stdlib/lldiv.c (lldiv): Likewise.
1657         * stdlib/lrand48_r.c (lrand48_r): Likewise.
1658         * stdlib/mrand48_r.c (mrand48_r): Likewise.
1659         * stdlib/putenv.c (putenv): Likewise.
1660         * stdlib/random.c (__srandom): Likewise.
1661         (__initstate): Likewise.
1662         (__setstate): Likewise.
1663         * stdlib/random_r.c (__srandom_r): Likewise.
1664         (__setstate_r): Likewise.
1665         (__random_r): Likewise.
1666         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
1667         * stdlib/setcontext.c (setcontext): Likewise.
1668         * stdlib/setenv.c (setenv): Likewise.
1669         (unsetenv): Likewise.
1670         * stdlib/srand48.c (srand48): Likewise.
1671         * stdlib/srand48_r.c (__srand48_r): Likewise.
1672         * stdlib/swapcontext.c (swapcontext): Likewise.
1673         * stdlib/system.c (__libc_system): Likewise.
1674         * stdlib/tst-strtod.c (expand): Likewise.
1675         * stdlib/tst-strtol.c (expand): Likewise.
1676         * stdlib/tst-strtoll.c (expand): Likewise.
1677         * streams/fattach.c (fattach): Likewise.
1678         * streams/fdetach.c (fdetach): Likewise.
1679         * streams/getmsg.c (getmsg): Likewise.
1680         * streams/isastream.c (isastream): Likewise.
1681         * string/ffs.c (__ffs): Likewise.
1682         * string/ffsll.c (ffsll): Likewise.
1683         * string/memcmp.c (memcmp_common_alignment): Likewise.
1684         (memcmp_not_common_alignment): Likewise.
1685         (MEMCMP): Likewise.
1686         * string/memcpy.c (memcpy): Likewise.
1687         * string/memmove.c (MEMMOVE): Likewise.
1688         * string/memset.c (memset): Likewise.
1689         * string/rawmemchr.c (RAWMEMCHR): Likewise.
1690         * string/strchrnul.c (STRCHRNUL): Likewise.
1691         * string/strerror.c (strerror): Likewise.
1692         * string/strndup.c (__strndup): Likewise.
1693         * string/strverscmp.c (__strverscmp): Likewise.
1694         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
1695         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
1696         (clnttcp_freeres): Likewise.
1697         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
1698         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
1699         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
1700         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
1701         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
1702         (xdr_callhdr): Likewise.
1703         * sunrpc/rpcinfo.c (udpping): Likewise.
1704         (tcpping): Likewise.
1705         (pstatus): Likewise.
1706         (pmapdump): Likewise.
1707         (brdcst): Likewise.
1708         (deletereg): Likewise.
1709         (getprognum): Likewise.
1710         (getvers): Likewise.
1711         (get_inet_address): Likewise.
1712         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
1713         * sunrpc/svc_udp.c (svcudp_create): Likewise.
1714         (svcudp_stat): Likewise.
1715         (svcudp_recv): Likewise.
1716         (svcudp_reply): Likewise.
1717         (svcudp_getargs): Likewise.
1718         (svcudp_freeargs): Likewise.
1719         (svcudp_destroy): Likewise.
1720         * sunrpc/xdr.c (xdr_bytes): Likewise.
1721         (xdr_netobj): Likewise.
1722         (xdr_string): Likewise.
1723         (xdr_wrapstring): Likewise.
1724         * sunrpc/xdr_float.c (xdr_float): Likewise.
1725         (xdr_double): Likewise.
1726         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
1727         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
1728         * sysvipc/ftok.c (ftok): Likewise.
1729         * sysvipc/msgctl.c (msgctl): Likewise.
1730         * sysvipc/msgget.c (msgget): Likewise.
1731         * sysvipc/msgrcv.c (msgrcv): Likewise.
1732         * sysvipc/msgsnd.c (msgsnd): Likewise.
1733         * sysvipc/semget.c (semget): Likewise.
1734         * sysvipc/semop.c (semop): Likewise.
1735         * sysvipc/shmat.c (shmat): Likewise.
1736         * sysvipc/shmctl.c (shmctl): Likewise.
1737         * sysvipc/shmdt.c (shmdt): Likewise.
1738         * sysvipc/shmget.c (shmget): Likewise.
1739         * termios/cfmakeraw.c (cfmakeraw): Likewise.
1740         * termios/speed.c (cfgetospeed): Likewise.
1741         (cfgetispeed): Likewise.
1742         (cfsetospeed): Likewise.
1743         (cfsetispeed): Likewise.
1744         * termios/tcflow.c (tcflow): Likewise.
1745         * termios/tcflush.c (tcflush): Likewise.
1746         * termios/tcgetattr.c (__tcgetattr): Likewise.
1747         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
1748         * termios/tcgetsid.c (tcgetsid): Likewise.
1749         * termios/tcsendbrk.c (tcsendbreak): Likewise.
1750         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
1751         * time/adjtime.c (__adjtime): Likewise.
1752         * time/dysize.c (dysize): Likewise.
1753         * time/ftime.c (ftime): Likewise.
1754         * time/getitimer.c (__getitimer): Likewise.
1755         * time/gettimeofday.c (__gettimeofday): Likewise.
1756         * time/gmtime.c (__gmtime_r): Likewise.
1757         (gmtime): Likewise.
1758         * time/localtime.c (__localtime_r): Likewise.
1759         (localtime): Likewise.
1760         * time/offtime.c (__offtime): Likewise.
1761         * time/settimeofday.c (__settimeofday): Likewise.
1762         * time/stime.c (stime): Likewise.
1763         * time/strftime_l.c (tm_diff): Likewise.
1764         (iso_week_days): Likewise.
1765         * time/strptime.c (strptime): Likewise.
1766         * time/time.c (time): Likewise.
1767         * time/timespec_get.c (timespec_get): Likewise.
1768         * time/tzset.c (tzset_internal): Likewise.
1769         (compute_change): Likewise.
1770         (__tz_compute): Likewise.
1771         * wcsmbs/btowc.c (__btowc): Likewise.
1772         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
1773         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
1774         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
1775         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
1776         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
1777         * wcsmbs/wcscat.c (__wcscat): Likewise.
1778         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1779         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
1780         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
1781         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1782         * wcsmbs/wcsdup.c (wcsdup): Likewise.
1783         * wcsmbs/wcslen.c (__wcslen): Likewise.
1784         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
1785         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
1786         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
1787         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
1788         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1789         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
1790         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1791         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1792         * wcsmbs/wcstok.c (wcstok): Likewise.
1793         * wcsmbs/wctob.c (wctob): Likewise.
1794         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
1795         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1796         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
1797         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
1798         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
1799         * wcsmbs/wmemset.c (__wmemset): Likewise.
1800         * wctype/wcfuncs.c (__towlower): Likewise.
1801         (__towupper): Likewise.
1803         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
1804         (lll_unlock_elision): Add adapt_count parameter.
1806 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1808         * sysdeps/nptl/configure.ac: Do not give errors based on the
1809         results of top-level configure tests.
1810         * sysdeps/nptl/configure: Regenerated.
1812         * configure.ac (libc_cv_Bgroup): Remove configure test.
1813         * configure: Regenerated.
1814         * config.make.in (have-Bgroup): Remove variable.
1816         * configure.ac (sizeof_long_double): Remove configure test.
1817         * configure: Regenerated.
1818         * config.make.in (sizeof-long-double): Remove variable.
1820         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
1821         * configure: Regenerated.
1822         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
1823         variable.
1824         (exceptions): Likewise.
1825         * sysdeps/arm/configure: Regenerated.
1826         * config.make.in (exceptions): Remove variable.
1827         * Makeconfig (uses-callbacks): Use -fexceptions instead of
1828         $(exceptions).
1829         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
1830         (CFLAGS-vdprintf_chk.c): Likewise.
1831         (CFLAGS-printf_chk.c): Likewise.
1832         (CFLAGS-fprintf_chk.c): Likewise.
1833         (CFLAGS-vprintf_chk.c): Likewise.
1834         (CFLAGS-vfprintf_chk.c): Likewise.
1835         (CFLAGS-gets_chk.c): Likewise.
1836         (CFLAGS-fgets_chk.c): Likewise.
1837         (CFLAGS-fgets_u_chk.c): Likewise.
1838         (CFLAGS-fread_chk.c): Likewise.
1839         (CFLAGS-fread_u_chk.c): Likewise.
1840         (CFLAGS-wprintf_chk.c): Likewise.
1841         (CFLAGS-fwprintf_chk.c): Likewise.
1842         (CFLAGS-vwprintf_chk.c): Likewise.
1843         (CFLAGS-vfwprintf_chk.c): Likewise.
1844         (CFLAGS-fgetws_chk.c): Likewise.
1845         (CFLAGS-fgetws_u_chk.c): Likewise.
1846         * libio/Makefile (CFLAGS-fileops.c): Likewise.
1847         (CFLAGS-fputc.c): Likewise.
1848         (CFLAGS-fputwc.c): Likewise.
1849         (CFLAGS-freopen64.c): Likewise.
1850         (CFLAGS-freopen.c): Likewise.
1851         (CFLAGS-fseek.c): Likewise.
1852         (CFLAGS-fseeko64.c): Likewise.
1853         (CFLAGS-fseeko.c): Likewise.
1854         (CFLAGS-ftello64.c): Likewise.
1855         (CFLAGS-ftello.c): Likewise.
1856         (CFLAGS-fwide.c): Likewise.
1857         (CFLAGS-genops.c): Likewise.
1858         (CFLAGS-getc.c): Likewise.
1859         (CFLAGS-getchar.c): Likewise.
1860         (CFLAGS-getwc.c): Likewise.
1861         (CFLAGS-getwchar.c): Likewise.
1862         (CFLAGS-iofclose.c): Likewise.
1863         (CFLAGS-iofflush.c): Likewise.
1864         (CFLAGS-iofgetpos64.c): Likewise.
1865         (CFLAGS-iofgetpos.c): Likewise.
1866         (CFLAGS-iofgets.c): Likewise.
1867         (CFLAGS-iofgetws.c): Likewise.
1868         (CFLAGS-iofputs.c): Likewise.
1869         (CFLAGS-iofputws.c): Likewise.
1870         (CFLAGS-iofread.c): Likewise.
1871         (CFLAGS-iofsetpos64.c): Likewise.
1872         (CFLAGS-iofsetpos.c): Likewise.
1873         (CFLAGS-ioftell.c): Likewise.
1874         (CFLAGS-iofwrite.c): Likewise.
1875         (CFLAGS-iogetdelim.c): Likewise.
1876         (CFLAGS-iogetline.c): Likewise.
1877         (CFLAGS-iogets.c): Likewise.
1878         (CFLAGS-iogetwline.c): Likewise.
1879         (CFLAGS-ioputs.c): Likewise.
1880         (CFLAGS-ioseekoff.c): Likewise.
1881         (CFLAGS-ioseekpos.c): Likewise.
1882         (CFLAGS-iosetbuffer.c): Likewise.
1883         (CFLAGS-iosetvbuf.c): Likewise.
1884         (CFLAGS-ioungetc.c): Likewise.
1885         (CFLAGS-ioungetwc.c): Likewise.
1886         (CFLAGS-oldfileops.c): Likewise.
1887         (CFLAGS-oldiofclose.c): Likewise.
1888         (CFLAGS-oldiofgetpos64.c): Likewise.
1889         (CFLAGS-oldiofgetpos.c): Likewise.
1890         (CFLAGS-oldiofsetpos64.c): Likewise.
1891         (CFLAGS-oldiofsetpos.c): Likewise.
1892         (CFLAGS-peekc.c): Likewise.
1893         (CFLAGS-putc.c): Likewise.
1894         (CFLAGS-putchar.c): Likewise.
1895         (CFLAGS-putwc.c): Likewise.
1896         (CFLAGS-putwchar.c): Likewise.
1897         (CFLAGS-rewind.c): Likewise.
1898         (CFLAGS-wfileops.c): Likewise.
1899         (CFLAGS-wgenops.c): Likewise.
1900         (CFLAGS-oldiofopen.c): Likewise.
1901         (CFLAGS-iofopen.c): Likewise.
1902         (CFLAGS-iofopen64.c): Likewise.
1903         (CFLAGS-oldtmpfile.c): Likewise.
1904         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
1905         (CFLAGS-fprintf.c): Likewise.
1906         (CFLAGS-printf.c): Likewise.
1907         (CFLAGS-vfwprintf.c): Likewise.
1908         (CFLAGS-vfscanf.c): Likewise.
1909         (CFLAGS-vfwscanf.c): Likewise.
1910         (CFLAGS-fscanf.c): Likewise.
1911         (CFLAGS-scanf.c): Likewise.
1912         (CFLAGS-isoc99_vfscanf.c): Likewise.
1913         (CFLAGS-isoc99_vscanf.c): Likewise.
1914         (CFLAGS-isoc99_fscanf.c): Likewise.
1915         (CFLAGS-isoc99_scanf.c): Likewise.
1916         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
1917         (CFLAGS-isoc99_fwscanf.c): Likewise.
1918         (CFLAGS-isoc99_vwscanf.c): Likewise.
1919         (CFLAGS-isoc99_vfwscanf.c): Likewise.
1921         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
1922         after mkstemp64.
1923         * login/tst-utmp.c (do_prepare): Likewise.
1924         * rt/tst-aio.c (do_prepare): Likewise.
1925         * rt/tst-aio64.c (do_prepare): Likewise.
1927 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1929         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1930         (__lll_lock_elision): Remove adapt_count decrement...
1931         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1932         (__lll_trylock_elision): Likewise.
1933         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1934         (__lll_unlock_elision): ... to here. And utilize
1935         new adapt_count parameter.
1936         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1937         (__lll_unlock_elision): Update to include adapt_count
1938         parameter.
1939         (lll_unlock_elision): Pass pointer to adapt_count
1940         variable.
1942 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1944         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
1945         Add elision adapt_count parameter to list of arguments.
1946         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1947         (lll_unlock_elision): Update with new parameter list
1948         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1949         (lll_unlock_elision): Likewise
1950         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
1951         (lll_unlock_elision): Likewise
1953 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1955         [BZ #19122]
1956         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
1957         attribute_hidden.
1959         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
1960         attribute_hidden.
1961         [IS_IN (rtld)] (__strdup): Likewise.
1962         [IS_IN (rtld)] (__strerror_r): Likewise.
1963         [IS_IN (rtld)] (__strsep_g): Likewise.
1964         [IS_IN (rtld)] (memchr): Likewise.
1965         [IS_IN (rtld)] (memcmp): Likewise.
1966         [IS_IN (rtld)] (memcpy): Likewise.
1967         [IS_IN (rtld)] (memmove): Likewise.
1968         [IS_IN (rtld)] (memset): Likewise.
1969         [IS_IN (rtld)] (rawmemchr): Likewise.
1970         [IS_IN (rtld)] (stpcpy): Likewise.
1971         [IS_IN (rtld)] (strchr): Likewise.
1972         [IS_IN (rtld)] (strcmp): Likewise.
1973         [IS_IN (rtld)] (strlen): Likewise.
1974         [IS_IN (rtld)] (strnlen): Likewise.
1975         [IS_IN (rtld)] (strsep): Likewise.
1977         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
1978         attribute_hidden.
1979         [IS_IN (rtld)] (__strtoul_internal): Likewise.
1981         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
1982         attribute_hidden.
1983         [IS_IN (rtld)] (__libc_sigaction): Likewise.
1985         * include/setjmp.h (__longjmp): Add attribute_hidden.
1986         [IS_IN (rtld)] (__sigsetjmp): Likewise.
1988         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
1989         Add attribute_hidden.
1991         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
1992         [IS_IN (rtld)] (__open): Likewise.
1993         [IS_IN (rtld)] (__fcntl): Likewise.
1995         * include/dirent.h (__opendirat): Add attribute_hidden.
1996         (__getdents): Likewise.
1997         (__getdents64): Likewise.
1998         (__alloc_dir): Likewise.
1999         [IS_IN (rtld)] (__closedir): Likewise.
2000         [IS_IN (rtld)] (__fdopendir): Likewise.
2001         [IS_IN (rtld)] (__readdir): Likewise.
2002         [IS_IN (rtld)] (__readdir64): Likewise.
2003         [IS_IN (rtld)] (__rewinddir): Likewise.
2005         * include/dlfcn.h (_dl_catch_error): Moved to ...
2006         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
2007         attribute_hidden.
2009         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
2010         (_itoa_word): Likewise.
2012         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
2013         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
2014         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
2015         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
2016         (_dl_higher_prime_number): Likewise.
2017         (_dl_debug_printf_c): Likewise.
2018         (_dl_signal_cerror): Likewise.
2019         (_dl_receive_error): Likewise.
2020         (_dl_reloc_bad_type): Likewise.
2021         (_dl_resolve_conflicts): Likewise.
2022         (_dl_check_all_versions): Likewise.
2023         (_dl_check_map_versions): Likewise.
2024         (_dl_sort_fini): Likewise.
2025         (_dl_debug_initialize): Likewise.
2026         (_dl_init_paths): Likewise.
2027         (_dl_show_auxv): Likewise.
2028         (_dl_next_ld_env_entry): Likewise.
2029         (_dl_important_hwcaps): Likewise.
2030         (_dl_load_cache_lookup): Likewise.
2031         (_dl_update_slotinfo): Likewise.
2032         (_dl_show_scope): Likewise.
2034         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
2035         attribute_hidden.
2036         (_wordcopy_fwd_dest_aligned): Likewise.
2037         (_wordcopy_bwd_aligned): Likewise.
2038         (_wordcopy_bwd_dest_aligned): Likewise.
2040         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2041         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2042         Likewise.
2043         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2044         Likewise.
2045         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
2047 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2049         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
2050         GCC 5 requirement.
2052 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
2054         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
2055         test.
2056         * sysdeps/i386/configure: Regenerated.
2057         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
2058         code unconditional.
2060         * configure.ac (libc_cv_asm_previous_directive): Remove configure
2061         test.
2062         (libc_cv_asm_popsection_directive): Likewise.
2063         * configure: Regenerated.
2064         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
2065         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
2066         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
2067         (__make_section_unallocated): Make definition unconditional.
2068         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
2069         Remove conditional definition.
2070         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
2071         (__make_section_unallocated): Likewise.
2073         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
2074         * configure: Regenerated.
2075         * config.make.in (static-libgcc): Remove variable.
2076         * Makerules (build-shlib-helper): Use -static-libgcc instead of
2077         $(static-libgcc).
2078         (build-module-helper): Likewise.
2080         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
2081         * configure: Regenerated.
2083 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2085         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
2086         (struct char_buffer): New type.
2087         (char_buffer_start, char_buffer_size, char_buffer_error)
2088         (char_buffer_rewind, char_buffer_add): New functions.
2089         (ADDW): Remove macro, replaced by the char_buffer_add function.
2090         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
2091         of extend_alloca.  Make control flow more explicit.
2093 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2095         [BZ #19137]
2096         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2097         Add -fomit-frame-pointer.
2098         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
2100 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2102         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
2103         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
2104         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
2105         only if !__GNUC_PREREQ (5,0).
2106         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
2107         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
2108         (INTERNAL_SYSCALL_NCS): Likewise.
2109         (LOADREGS_0): New macro for GCC 5.
2110         (ASMARGS_0): Likewise.
2111         (LOADREGS_1): Likewise.
2112         (ASMARGS_1): Likewise.
2113         (LOADREGS_2): Likewise.
2114         (ASMARGS_2): Likewise.
2115         (LOADREGS_3): Likewise.
2116         (ASMARGS_3): Likewise.
2117         (LOADREGS_4): Likewise.
2118         (ASMARGS_4): Likewise.
2119         (LOADREGS_5): Likewise.
2120         (ASMARGS_5): Likewise.
2121         (LOADREGS_6): Likewise.
2122         (ASMARGS_6): Likewise.
2124 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2126         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
2127         -fomit-frame-pointer.
2128         (CFLAGS-mmap64.c): Likewise.
2129         (CFLAGS-semtimedop.c): Likewise.
2130         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
2131         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
2132         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2133         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2135 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2137         [BZ #18928]
2138         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
2139         _dl_pointer_guard member.
2140         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
2141         initializer.
2142         (security_init): Always set up pointer guard.
2143         (process_envvars): Do not process LD_POINTER_GUARD.
2145 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
2147         [BZ #19134]
2148         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
2149         (.LC2): Likewise.
2150         (.LC3): Likewise.
2151         (__lround): Do not add 0.5 to integer or out-of-range arguments.
2153 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2155         [BZ #19129]
2156         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
2157         r0 and r1.
2159 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
2161         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
2163 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
2165         * include/stap-probe.h: Fix macro definition formatting.
2167 2015-10-14  Florian Weimer  <fweimer@redhat.com>
2169         [BZ #19074]
2170         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
2171         load and store num_ifs.
2173 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2175         [BZ #18822]
2176         * sysdeps/unix/sysv/linux/sched_getaffinity.c
2177         (__sched_getaffinity_new): Add libc_hidden_proto and
2178         libc_hidden_def.
2180 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2182         [BZ #19007]
2183         * scripts/localplt.awk: Also allow GOT references.
2184         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
2185         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
2186         with "+ REL R_386_GLOB_DAT".
2187         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
2188         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
2190 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2192         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
2193         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2194         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
2195         Likewise.
2196         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2197         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
2198         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2199         INTERNAL_SYSCALLINTERNAL_SYSCALL and
2200         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2201         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2202         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2203         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2204         Likewise.
2205         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2207 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2209         [BZ #19125]
2210         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
2211         <math_private.h> and <stdint.h>.
2212         (__llround): Avoid conversions to and from long long int, and
2213         subtractions, where those might raise spurious exceptions.
2214         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
2215         <math_private.h> and <stdint.h>.
2216         (__llroundf): Avoid conversions to and from long long int, and
2217         subtractions, where those might raise spurious exceptions.
2219 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2221         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
2222         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2223         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2224         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
2225         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2226         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2227         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
2228         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
2229         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
2230         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2231         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2232         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2233         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
2234         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2235         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2236         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
2237         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
2238         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2239         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
2240         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
2241         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2242         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
2243         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
2244         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2245         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
2246         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2247         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
2248         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2249         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2250         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
2251         (__xstat64_conv): Likewise.
2252         (__xstat32_conv): Likewise.
2254 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2256         * sysdeps/unix/sysv/linux/sysdep.h: New file.
2257         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
2258         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
2259         <sysdeps/unix/sysv/linux/sysdep.h>.
2260         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2261         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
2262         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
2263         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2264         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2265         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
2266         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
2267         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2268         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2271         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2272         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2273         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2274         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2275         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2276         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
2277         (sysdep-dl-routines): Add sysdep.
2278         [$(subdir) == nptl] (libpthread-routines): Likewise.
2279         [$(subdir) == rt] (librt-routines): Likewise.
2280         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
2281         PIC when branching to SYSCALL_ERROR_LABEL.
2282         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
2283         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
2284         <sysdeps/unix/sysv/linux/sysdep.h>.
2285         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
2286         (SYSCALL_ERROR_ERRNO): Removed.
2287         (SYSCALL_ERROR_HANDLER): Changed to empty.
2288         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
2289         (__syscall_error): New prototype.
2290         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
2291         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
2293 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2295         [BZ #19124]
2296         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
2297         (_dl_runtime_resolve_avx512): Make it a hidden alias of
2298         _dl_runtime_resolve_avx.
2299         (_dl_runtime_profile_avx512): Make it a hidden alias of
2300         _dl_runtime_profile_avx.
2302 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2304         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
2305         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
2306         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
2307         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
2309         [BZ #16422]
2310         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
2311         New configure test.
2312         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
2313         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
2314         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
2315         <math_private.h> and <stdint.h>.
2316         (__llrint): Avoid conversions to long long int where those might
2317         raise spurious exceptions.
2318         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
2319         <math_private.h> and <stdint.h>.
2320         (__llrintf): Avoid conversions to long long int where those might
2321         raise spurious exceptions.
2323 2015-10-12  Andreas Schwab  <schwab@suse.de>
2325         [BZ #18969]
2326         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
2327         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
2328         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
2329         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
2330         $(gen-locales).
2331         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
2332         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
2333         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
2334         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
2335         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
2336         $(gen-locales).
2337         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
2338         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
2339         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
2340         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
2341         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
2342         ($(objpfx)tst-ftell-active-handler.out)
2343         ($(objpfx)tst-ftell-append.out)
2344         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
2345         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
2346         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
2347         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
2348         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
2349         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
2350         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
2351         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
2352         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
2353         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
2354         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
2355         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
2356         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
2357         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
2358         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
2359         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
2360         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
2361         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
2362         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
2363         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
2364         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
2365         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
2366         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
2367         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
2368         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
2369         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
2370         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
2371         $(gen-locales).
2372         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
2373         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
2374         $(gen-locales).
2375         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
2376         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
2377         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
2378         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
2379         $(gen-locales).
2380         * libio/tst_wprintf2.c (main): Use explicit locale.
2381         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
2383 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2385         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
2386         __msg_sig_post.
2387         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
2389 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2391         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2392         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2394         * sysdeps/arm/libm-test-ulps: Regenerated.
2396         [BZ #15470]
2397         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
2399         [BZ #16399]
2400         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
2401         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
2402         and <fix-fp-int-convert-overflow.h>.
2403         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2404         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2405         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
2406         and <fix-fp-int-convert-overflow.h>.
2407         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
2408         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2409         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
2410         <fix-fp-int-convert-overflow.h>.
2411         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2412         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2413         * sysdeps/ieee754/dbl-64/s_lround.c: Include
2414         <fix-fp-int-convert-overflow.h>.
2415         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
2416         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2417         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
2418         and <fix-fp-int-convert-overflow.h>.
2419         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2420         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2421         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
2422         <limits.h> and <fix-fp-int-convert-overflow.h>.
2423         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2424         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2425         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
2426         and <fix-fp-int-convert-overflow.h>.
2427         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2428         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2429         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
2430         and <fix-fp-int-convert-overflow.h>.
2431         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2432         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2433         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
2435 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
2437         [BZ #18589]
2438         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
2439         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
2440         $(gen-locales).
2442 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2443             Phil Blundell <pb@pbcl.net>
2445         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
2446         * nptl/tst-cancel26.c: New file.
2447         * nptl/tst-cancel27.c: Likewise.
2449 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
2451         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
2452         __ILP32__ isn't defined.
2453         (lrint): Likewise.
2454         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
2455         (lrintf): Likewise.
2456         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
2457         (lrintl): Likewise.
2458         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
2459         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
2460         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
2462 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2464         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2465         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2467         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
2468         file.
2469         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
2470         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2472 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2474         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
2475         configure test.
2476         * sysdeps/i386/configure: Regenerated.
2477         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
2478         configure test.
2479         * sysdeps/x86_64/configure: Regenerated.
2480         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
2481         Make code unconditional.
2483         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
2484         test.
2485         * sysdeps/i386/configure: Regenerated.
2486         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
2487         test.
2488         * sysdeps/x86_64/configure: Regenerated.
2489         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
2490         Make code unconditional.
2491         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2492         Likewise.
2493         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
2494         Likewise.
2495         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2496         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
2497         code unconditional.
2498         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2499         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
2500         code unconditional.
2501         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2502         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
2503         code unconditional.
2504         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
2505         code unconditional.
2506         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2507         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
2508         code unconditional.
2509         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2510         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
2511         code unconditional.
2512         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2513         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
2514         code unconditional.
2515         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2516         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
2517         code unconditional.
2518         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2519         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
2521         [BZ #19095]
2522         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
2523         mantissa to long int before shifting left.
2525 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2527         [BZ #19094]
2528         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
2529         <limits.h>.
2530         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2531         when result overflows but exception would not result from cast.
2532         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
2533         <limits.h>.
2534         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2535         when result overflows but exception would not result from cast.
2536         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
2537         <limits.h>.
2538         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2539         when result overflows but exception would not result from cast.
2540         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
2541         <limits.h>.
2542         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2543         when result overflows but exception would not result from cast.
2544         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
2545         <limits.h>.
2546         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2547         when result overflows but exception would not result from cast.
2548         * math/libm-test.inc (lrint_test_data): Add more tests.
2549         (llrint_test_data): Likewise.
2551 2015-10-08  Roland McGrath  <roland@hack.frob.com>
2553         [BZ #18872]
2554         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
2555         Move out from under [$(run-built-tests) = yes] conditional.
2556         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
2557         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
2559 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
2561         [BZ #18589]
2562         * string/Makefile (tests): Add bug-strcoll2.
2563         (LOCALES): Add cs_CZ.UTF-8.
2564         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
2566         [BZ #18589]
2567         * string/bug-strcoll2.c: New file.
2568         * locale/categories.def: Revert commit
2569         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
2570         * locale/langinfo.h: Likewise.
2571         * locale/localeinfo.h: Likewise.
2572         * locale/C-collate.c: Likewise.
2573         * locale/programs/ld-collate.c (collate_output): Likewise.
2574         * string/strcoll_l.c (STRDIFF): Likewise.
2575         (STRCOLL): Likewise.
2576         * wcsmbs/wcscoll_l.c: Likewise.
2578 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2580         * math/libm-test.inc (lround_test_data): Do not expect the absence
2581         of "inexact" for some tests with non-integer arguments.
2582         (llround_test_data): Likewise.
2584         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
2585         test.
2586         (libc_cv_cc_sse2avx): Likewise.
2587         * sysdeps/i386/configure: Regenerated.
2588         * sysdeps/i386/i686/multiarch/Makefile
2589         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
2590         [$(subdir) = math].
2591         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
2592         code unconditional.
2593         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2594         Likewise.
2595         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
2596         Likewise.
2597         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2598         Likewise.
2599         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
2600         test.
2601         (libc_cv_cc_sse2avx): Likewise.
2602         * sysdeps/x86_64/configure: Regenerated.
2603         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
2604         unconditional.
2605         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
2606         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
2607         unconditional.
2608         (_dl_runtime_profile)
2609         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
2610         conditional code.
2611         * sysdeps/x86_64/fpu/multiarch/Makefile
2612         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
2613         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2614         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2615         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2616         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2617         * sysdeps/x86_64/fpu/multiarch/e_log.c
2618         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2619         * sysdeps/x86_64/fpu/multiarch/s_atan.c
2620         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2621         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2622         Likewise.
2623         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2624         Likewise.
2625         * sysdeps/x86_64/fpu/multiarch/s_sin.c
2626         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2627         * sysdeps/x86_64/fpu/multiarch/s_tan.c
2628         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2629         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
2630         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
2631         (HAVE_SSE2AVX_SUPPORT): Likewise.
2633 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
2635         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
2636         instead of #pragma optimize.
2638 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2640         [BZ #17195]
2641         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
2642         as is similarly done in systrim and _int_free already.
2644 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2646         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
2648 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2650         [BZ #19088]
2651         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
2652         <limits.h>.
2653         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2654         overflows but exception would not result from cast.
2655         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
2656         and <limits.h>.
2657         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2658         overflows but exception would not result from cast.
2659         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
2660         <limits.h>.
2661         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2662         overflows but exception would not result from cast.
2663         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
2664         <limits.h>.
2665         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2666         overflows but exception would not result from cast.
2667         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
2668         <limits.h>.
2669         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2670         overflows but exception would not result from cast.
2671         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
2672         <limits.h>.
2673         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2674         overflows but exception would not result from cast.
2675         * math/libm-test.inc (lround_test_data): Add more tests.
2676         (llround_test_data): Likewise.
2678 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
2680         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
2681         (CFLAGS-ialloc.c): Ditto.
2682         (CFLAGS-scheck.c): Ditto.
2684 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2686         [BZ #19086]
2687         * manual/filesys.texi (Storage Allocation): Fix argument order for
2688         posix_fallocate64.
2690 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2692         [BZ #19085]
2693         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
2694         exponent below 48 inside case for non-overflowing exponent.
2695         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2697 2015-10-07  Florian Weimer  <fweimer@redhat.com>
2699         * iconvdata/cp737.h (from_idx): Add const.
2700         * iconvdata/cp775.h (from_idx): Likewise.
2702 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2704         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
2705         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
2706         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
2708         [BZ #19079]
2709         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
2710         file, conditioned on [!_LP64].
2711         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
2712         [!_LP64] (__lround): Do not define as function or alias.
2713         [!_LP64] (lround): Likewise.
2714         [!_LP64] (__lroundl): Likewise.
2715         [!_LP64] (lroundl): Likewise.
2716         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
2717         macro.
2718         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2719         Likewise.
2721 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2723         * math/libm-test.inc (lrint_test_data): Add more tests.
2724         (llrint_test_data): Likewise.
2725         (lround_test_data): Likewise.
2726         (llround_test_data): Likewise.
2728         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
2729         (llrint_test_data): Add tests used for lrint.
2731         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
2732         test.
2733         * sysdeps/i386/configure: Regenerated.
2734         * sysdeps/i386/i686/multiarch/Makefile
2735         [$(config-cflags-sse4) = yes]: Make code unconditional.
2736         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2737         Likewise.
2738         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
2739         Likewise.
2740         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
2741         test.
2742         * sysdeps/x86_64/configure: Regenerated.
2743         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
2744         Make code unconditional.
2745         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2746         Likewise.
2747         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
2748         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
2750         * scripts/rpm2dynsym.sh: Remove file.
2752 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2754         * configure.ac (libc_cv_cxx_thread_local): Define.
2755         * configure: Regenerate.
2756         * config.make.in (have-cxx-thread_local): Define.
2757         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
2758         (LDLIBS-tst-thread_local1): Define.
2759         (tests): Add tst-thread_local1.
2760         [have-cxx-thread_local != yes] (tests-unsupported): Add
2761         tst-thread_local1.
2762         * nptl/tst-thread_local1.cc: New file.
2764 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2766         [BZ #19078]
2767         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
2768         (u_thres): Likewise.
2769         (__expl): Determine whether to call __kernel_standard_l based on
2770         value of result, not argument.
2772         * math/libm-test.inc (scalb_test_data): Add more expectations for
2773         the "inexact" exception.
2775         [BZ #19077]
2776         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
2777         0.0L for argument 1.0L.
2779         [BZ #19076]
2780         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
2781         constant 0.0L when computing infinite result.
2783 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2785         [BZ #10432]
2786         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
2787         malloc_usable_size.
2789 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2791         [BZ #19018]
2792         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2793         Mangle function pointer before storing it.
2794         (__call_tls_dtors): Demangle function pointer before calling it.
2796 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2798         [BZ #19012]
2799         * iconv/gconv_db.c (gen_steps): Check for additional errors.
2800         Clean up on failure.
2802 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
2804         [BZ #19071]
2805         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
2806         long int variable to store possibly incremented high part of
2807         mantissa.
2808         * math/libm-test.inc (lround_test_data): Add tests used for
2809         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
2810         for tests requiring 64-bit long.  Do not condition tests on
2811         [TEST_FLOAT] unnecessarily.
2812         (llround_test_data): Add tests used for lround.  Add another
2813         expectation for the "inexact" exception.  Do not condition tests
2814         on [TEST_FLOAT] unnecessarily.
2816         [BZ #887]
2817         [BZ #19049]
2818         [BZ #19050]
2819         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
2820         * sysdeps/ieee754/dbl-64/e_log10.c: Include
2821         <fix-int-fp-convert-zero.h>.
2822         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2823         * sysdeps/ieee754/dbl-64/e_log2.c: Include
2824         <fix-int-fp-convert-zero.h>.
2825         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2826         * sysdeps/ieee754/dbl-64/s_erf.c: Include
2827         <fix-int-fp-convert-zero.h>.
2828         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2829         * sysdeps/ieee754/dbl-64/s_logb.c: Include
2830         <fix-int-fp-convert-zero.h>.
2831         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2832         * sysdeps/ieee754/flt-32/e_log10f.c: Include
2833         <fix-int-fp-convert-zero.h>.
2834         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2835         * sysdeps/ieee754/flt-32/e_log2f.c: Include
2836         <fix-int-fp-convert-zero.h>.
2837         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2838         * sysdeps/ieee754/flt-32/s_erff.c: Include
2839         <fix-int-fp-convert-zero.h>.
2840         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2841         * sysdeps/ieee754/flt-32/s_logbf.c: Include
2842         <fix-int-fp-convert-zero.h>.
2843         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2844         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
2845         <fix-int-fp-convert-zero.h>.
2846         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2847         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
2848         <fix-int-fp-convert-zero.h>.
2849         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2850         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
2851         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
2852         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
2853         file.
2854         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
2856 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2858         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2860 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
2862         [BZ #19059]
2863         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
2864         overflowing computation.
2865         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2866         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2867         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2868         Likewise.
2869         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2870         Likewise.
2871         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
2872         Likewise.
2873         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2874         Likewise.
2875         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2876         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2877         Likewise.
2878         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2879         Likewise.
2880         * math/libm-test.inc (nexttoward_test_data): Add more tests.
2882         * nss/rewrite_field.c (__nss_rewrite_field): Use
2883         internal_function.
2884         * nss/valid_field.c (__nss_valid_field): Likewise.
2885         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
2887 2015-10-02  Florian Weimer  <fweimer@redhat.com>
2889         [BZ #18724]
2890         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
2891         (__nss_invalid_field_characters, __nss_valid_field)
2892         (__nss_valid_list_field, __nss_rewrite_field): Declare.
2893         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
2894         tst-field.c: New file.
2895         * nss/Makefile (routines): Add valid_field, rewrite_field.
2896         (tests-static): Define unconditionally.
2897         (tests): Include tests-static.
2898         [build-static-nss] (tests-static): Use append.
2899         [build-static-nss] (tests): Remove modification.
2900         * nss/getent.c (print_group): Call putgrent.  Report error.
2901         (print_gshadow): Call putsgent.  Report error.
2902         (print_passwd): Call putpwent.  Report error.
2903         (print_shadow): Call putspent.  Report error.
2904         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
2905         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
2906         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
2907         name, password, directory, shell fields for valid syntax.  Rewrite
2908         GECOS field to match syntax.
2909         * pwd/Makefile (tests): Add tst-putpwent.
2910         * pwd/tst-putpwent.c: New file.
2911         * grp/putgrent.c (putgrent): Convert to ISO function definition.
2912         Check grName, grpasswd, gr_mem fields for valid syntax.
2913         Change loop variable i to size_t.
2914         * grp/Makefile (tests): Add tst-putgrent.
2915         * grp/tst-putgrent.c: New file.
2916         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
2917         valid syntax.
2918         * shadow/Makefile (tests): Add tst-putspent.
2919         * shadow/tst-putspent.c: New file.
2920         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
2921         sg_mem fields for valid syntax.
2922         * gshadow/Makefile (tests): Add tst-putsgent.
2923         * gshadow/tst-putsgent.c: New file.
2925 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2927         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
2928         assembly instructions.
2930 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2932         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
2933         prefix from operands.
2935 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
2937         [BZ #16347]
2938         [BZ #19046]
2939         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
2940         <libc-internal.h>.
2941         (MAXLGM): Do not use diagnostic control macros.
2942         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
2943         threshold for ldbl-128ibm.
2944         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
2945         instead of multiplying by log then subtracting.
2946         * math/auto-libm-test-in: Add more tests of lgamma.
2947         * math/auto-libm-test-out: Regenerated.
2949         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
2950         (TYPE_HEX_DIG): Likewise.
2951         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
2952         precisions when printing floating-point numbers.
2953         (check_float_internal): Likewise.
2955 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2957         [BZ #16620]
2958         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
2959         of log (10) rounded downward to 48 bits.
2960         (log10_low): Use corresponding low part of log (10).
2962         [BZ #19032]
2963         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
2964         compute result as (x - x) / (x - x) not as 0 / 0.
2965         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2966         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
2968         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2969         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
2970         and expm1.
2971         * math/auto-libm-test-out: Regenerated.
2972         * math/libm-test.inc (acos_test_data): Add more tests.
2973         (asin_test_data): Likewise.
2974         (asinh_test_data): Likewise.
2975         (atan_test_data): Likewise.
2976         (atanh_test_data): Likewise.
2977         (atan2_test_data): Likewise.
2978         (cbrt_test_data): Likewise.
2979         (ceil_test_data): Likewise.
2980         (copysign_test_data): Likewise.
2981         (cos_test_data): Likewise.
2982         (cosh_test_data): Likewise.
2983         (erf_test_data): Likewise.
2984         (erfc_test_data): Likewise.
2985         (exp_test_data): Likewise.
2986         (exp10_test_data): Likewise.
2987         (exp2_test_data): Likewise.
2988         (expm1_test_data): Likewise.
2989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2991 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
2993         [BZ #19006]
2994         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
2995         to ...
2996         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
2997         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
2998         to ...
2999         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
3000         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
3001         to ...
3002         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
3003         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
3004         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
3005         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
3006         to ...
3007         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
3008         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3009         Moved to ...
3010         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
3011         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3012         Moved to ...
3013         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
3014         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
3015         to ...
3016         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
3017         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3018         Moved to ...
3019         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
3020         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
3021         to ...
3022         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
3023         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
3024         Removed.
3025         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
3026         Likewise.
3027         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
3028         Likewise.
3029         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
3030         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
3031         Likewise.
3032         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3033         Likewise.
3034         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3035         Likewise.
3036         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3037         Likewise.
3038         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3039         Likewise.
3040         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
3041         Likewise.
3042         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
3043         Likewise.
3044         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
3045         Likewise.
3046         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
3047         Likewise.
3048         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
3049         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
3050         Likewise.
3051         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3052         Likewise.
3053         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3054         Likewise.
3055         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3056         Likewise.
3057         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
3058         Likewise.
3059         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3060         Replace ../i486/pthread_cond_timedwait.S with
3061         ../pthread_cond_timedwait.S.
3063 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
3065         * math/libm-test.inc (acos_test_data): Refine expectations for
3066         errno and "inexact" exceptions.
3067         (acosh_test_data): Likewise.
3068         (asin_test_data): Likewise.
3069         (asinh_test_data): Likewise.
3070         (atan_test_data): Likewise.
3071         (atanh_test_data): Likewise.
3072         (atan2_test_data): Likewise.
3073         (cbrt_test_data): Likewise.
3074         (ceil_test_data): Likewise.
3075         (copysign_test_data): Likewise.
3076         (cosh_test_data): Likewise.
3077         (erf_test_data): Likewise.
3078         (erfc_test_data): Likewise.
3079         (exp_test_data): Likewise.
3080         (exp10_test_data): Likewise.
3081         (exp2_test_data): Likewise.
3082         (expm1_test_data): Likewise.
3083         (fabs_test_data): Likewise.
3084         (floor_test_data): Likewise.
3085         (fma_test_data): Likewise.
3086         (fmax_test_data): Likewise.
3087         (fmin_test_data): Likewise.
3088         (fmod_test_data): Likewise.
3089         (fpclassify_test_data): Likewise.
3090         (frexp_test_data): Likewise.
3091         (hypot_test_data): Likewise.
3092         (ilogb_test_data): Likewise.
3093         (isgreater_test_data): Likewise.
3094         (isgreaterequal_test_data): Likewise.
3095         (isinf_test_data): Likewise.
3096         (isless_test_data): Likewise.
3097         (islessequal_test_data): Likewise.
3098         (islessgreater_test_data): Likewise.
3099         (isnan_test_data): Likewise.
3100         (isnormal_test_data): Likewise.
3101         (issignaling_test_data): Likewise.
3102         (isunordered_test_data): Likewise.
3103         (j0_test_data): Likewise.
3104         (j1_test_data): Likewise.
3105         (jn_test_data): Likewise.
3106         (lgamma_test_data): Likewise.
3107         (lrint_test_data): Likewise.
3108         (llrint_test_data): Likewise.
3109         (log_test_data): Likewise.
3110         (log10_test_data): Likewise.
3111         (log1p_test_data): Likewise.
3112         (log2_test_data): Likewise.
3113         (logb_test_data): Likewise.
3114         (lround_test_data): Likewise.
3115         (llround_test_data): Likewise.
3116         (modf_test_data): Likewise.
3117         (nearbyint_test_data): Likewise.
3118         (nextafter_test_data): Likewise.
3119         (nexttoward_test_data): Likewise.
3120         (pow_test_data): Likewise.
3121         (remainder_test_data): Likewise.
3122         (remquo_test_data): Likewise.
3123         (rint_test_data): Likewise.
3124         (round_test_data): Likewise.
3125         (signbit_test_data): Likewise.
3126         (sinh_test_data): Likewise.
3127         (sqrt_test_data): Likewise.
3128         (tanh_test_data): Likewise.
3129         (tgamma_test_data): Likewise.
3130         (trunc_test_data): Likewise.
3131         (y0_test_data): Likewise.
3132         (y1_test_data): Likewise.
3133         (yn_test_data): Likewise.
3134         (significand_test_data): Likewise.
3136 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
3138         * manual/filesys.texi (Storage Allocation): Document that
3139         posix_fallocate emulation fails when fd is open with O_WRONLY.
3141 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3143         [BZ #19016]
3144         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
3145         allow more cases with X^2 + Y^2 >= 0.5.
3146         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
3147         normal element in sum instead of special-casing based on values of
3148         arguments.
3149         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
3150         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
3151         -1 as normal element in sum instead of special-casing based on
3152         values of arguments.
3153         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
3154         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
3155         (__x2y2m1): Update comment.
3156         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
3157         as normal element in sum instead of special-casing based on values
3158         of arguments.
3159         * math/s_clog.c (__clog): Handle more cases using log1p without
3160         hypot.
3161         * math/s_clog10.c (__clog10): Likewise.
3162         * math/s_clog10f.c (__clog10f): Likewise.
3163         * math/s_clog10l.c (__clog10l): Likewise.
3164         * math/s_clogf.c (__clogf): Likewise.
3165         * math/s_clogl.c (__clogl): Likewise.
3166         * math/auto-libm-test-in: Add more tests of clog and clog10.
3167         * math/auto-libm-test-out: Regenerated.
3168         * sysdeps/i386/fpu/libm-test-ulps: Update.
3169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3171 2015-09-28  Martin Sebor  <msebor@redhat.com>
3173         [BZ #18969]
3174         * string/Makefile (LOCALES): Define.
3175         (gen-locales.mk): Include.
3176         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
3177         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
3178         * string/tst-strxfrm2.c (do_test): Print the name of the locale
3179         on setlocale failure.
3181 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3183         [BZ #18985]
3184         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
3185         (__strftime_internal): Likewise.
3186         * time/tst-strftime.c (do_bz18985): New test.
3187         (do_test): Call it.
3189 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
3191         [BZ #18956]
3192         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
3193         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
3194         extracting high part.
3195         * math/auto-libm-test-in: Add another test of pow.
3196         * math/auto-libm-test-out: Regenerated.
3197         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3199 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3201         [BZ #18825]
3202         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
3203         New macro.
3204         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
3205         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3206         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
3207         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
3208         DBL_NARROW_EVAL, reloading the PIC register as needed.
3209         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
3210         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
3211         FLT_NARROW_EVAL.  Use separate return path for case when first
3212         argument is NaN.
3213         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
3214         DEFINE_LDBL_MIN.
3215         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
3216         PIC register.
3217         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
3218         math_check_force_underflow_nonneg.
3219         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
3220         underflow for subnormal result.
3221         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3222         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
3223         math_check_force_underflow_nonneg.
3224         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
3225         math_check_force_underflow.
3226         * sysdeps/x86_64/fpu/x86_64-math-asm.h
3227         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
3228         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
3229         DEFINE_LDBL_MIN.
3230         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
3231         * math/auto-libm-test-in: Add more tests of pow.
3232         * math/auto-libm-test-out: Regenerated.
3234 2015-09-25  Florian Weimer  <fweimer@redhat.com>
3236         * nss/bug17079.c (init_test_items): Add diagnostic for
3237         inconsistent entries.
3238         (test_buffer_size): Skip inconsistent entries.
3240 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3242         [BZ #13304]
3243         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
3244         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
3245         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
3247         [BZ #13304]
3248         * sysdeps/microblaze/s_fma.c: New file.
3249         * sysdeps/microblaze/s_fmaf.c: Likewise.
3250         * sysdeps/microblaze/sfp-machine.h: Likewise.
3252 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
3254         [BZ #17250]
3255         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
3256         member.
3258 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3260         [BZ #18803]
3261         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
3262         (MO): New macro.
3263         (__ieee754_hypot) [PIC]: Load PIC register.
3264         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
3265         DBL_NARROW_EVAL.
3266         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
3267         math_check_force_underflow_nonneg in case where result might be
3268         tiny.
3269         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3270         Likewise.
3271         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3272         Likewise.
3273         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
3274         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
3275         * math/auto-libm-test-in: Add more tests of hypot.
3276         * math/auto-libm-test-out: Regenerated.
3278 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
3280         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
3282 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3284         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
3285         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
3286         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3287         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3288         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
3289         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3290         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3292         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
3293         LOAD_PIC_REG.
3295         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
3296         (FLT_CHECK_FORCE_UFLOW): Likewise.
3297         (DBL_CHECK_FORCE_UFLOW): Likewise.
3298         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
3299         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
3300         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
3301         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3302         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3303         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3304         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3305         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3306         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
3307         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3308         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
3309         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
3310         (flt_min): Replace with use of DEFINE_FLT_MIN.
3311         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
3312         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
3313         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3314         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
3315         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
3316         (flt_min): Replace with use of DEFINE_FLT_MIN.
3317         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
3318         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
3319         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3320         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
3321         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
3322         (flt_min): Replace with use of DEFINE_FLT_MIN.
3323         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
3324         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
3325         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3326         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3327         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
3328         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3329         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3330         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
3331         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3332         (__atan): Use DBL_CHECK_FORCE_UFLOW.
3333         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
3334         (flt_min): Replace with use of DEFINE_FLT_MIN.
3335         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
3336         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
3337         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3338         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
3339         main computation.
3340         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
3341         (flt_min): Replace with use of DEFINE_FLT_MIN.
3342         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
3343         main computation.
3344         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
3345         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3346         (MO): New macro.
3347         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
3348         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
3349         (flt_min): Replace with use of DEFINE_FLT_MIN.
3350         (MO): New macro.
3351         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
3352         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
3353         (__log1pl): Use MO.
3355         [BZ #19003]
3356         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
3357         $(config-cflags-nofma).
3359 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3361         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3363 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
3365         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
3366         (TWO127): Likewise.
3368         * sysdeps/generic/math_private.h (fabs_tg): New macro.
3369         (min_of_type): Likewise.
3370         (math_check_force_underflow): Likewise.
3371         (math_check_force_underflow_nonneg): Likewise.
3372         (math_check_force_underflow_complex): Likewise.
3373         * math/e_exp2l.c (__ieee754_exp2l): Use
3374         math_check_force_underflow_nonneg.
3375         * math/k_casinh.c (__kernel_casinh): Likewise.
3376         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3377         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3378         * math/s_catan.c (__catan): Use
3379         math_check_force_underflow_complex.
3380         * math/s_catanf.c (__catanf): Likewise.
3381         * math/s_catanh.c (__catanh): Likewise.
3382         * math/s_catanhf.c (__catanhf): Likewise.
3383         * math/s_catanhl.c (__catanhl): Likewise.
3384         * math/s_catanl.c (__catanl): Likewise.
3385         * math/s_ccosh.c (__ccosh): Likewise.
3386         * math/s_ccoshf.c (__ccoshf): Likewise.
3387         * math/s_ccoshl.c (__ccoshl): Likewise.
3388         * math/s_cexp.c (__cexp): Likewise.
3389         * math/s_cexpf.c (__cexpf): Likewise.
3390         * math/s_cexpl.c (__cexpl): Likewise.
3391         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
3392         * math/s_clog10.c (__clog10): Likewise.
3393         * math/s_clog10f.c (__clog10f): Likewise.
3394         * math/s_clog10l.c (__clog10l): Likewise.
3395         * math/s_clogf.c (__clogf): Likewise.
3396         * math/s_clogl.c (__clogl): Likewise.
3397         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
3398         * math/s_csinf.c (__csinf): Likewise.
3399         * math/s_csinh.c (__csinh): Likewise.
3400         * math/s_csinhf.c (__csinhf): Likewise.
3401         * math/s_csinhl.c (__csinhl): Likewise.
3402         * math/s_csinl.c (__csinl): Likewise.
3403         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
3404         * math/s_csqrtf.c (__csqrtf): Likewise.
3405         * math/s_csqrtl.c (__csqrtl): Likewise.
3406         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
3407         * math/s_ctanf.c (__ctanf): Likewise.
3408         * math/s_ctanh.c (__ctanh): Likewise.
3409         * math/s_ctanhf.c (__ctanhf): Likewise.
3410         * math/s_ctanhl.c (__ctanhl): Likewise.
3411         * math/s_ctanl.c (__ctanl): Likewise.
3412         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
3413         instead of volatile.
3414         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
3415         math_check_force_underflow.
3416         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3417         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
3418         volatile when forcing underflow.
3419         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3420         math_check_force_underflow_nonneg.
3421         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3422         Likewise.
3423         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
3424         math_check_force_underflow.
3425         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3426         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3427         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3428         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
3429         math_check_force_underflow_nonneg.
3430         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
3431         math_check_force_underflow.
3432         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
3433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
3434         instead of volatile.
3435         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
3436         math_check_force_underflow.
3437         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3438         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3439         math_check_force_underflow_nonneg.
3440         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
3441         math_check_force_underflow.
3442         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
3443         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3444         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
3445         math_check_force_underflow_nonneg.
3446         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3447         Likewise.
3448         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
3449         math_check_force_underflow.
3450         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3451         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3452         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
3453         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
3454         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
3455         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
3456         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
3457         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
3458         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3459         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
3460         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
3461         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
3462         Likewise.
3463         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
3464         math_check_force_underflow_nonneg.
3465         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3466         Likewise.
3467         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
3468         math_check_force_underflow.
3469         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3470         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
3471         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3472         Likewise.
3473         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
3474         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
3475         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
3476         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
3477         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
3478         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
3479         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
3480         instead of volatile.
3481         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
3482         math_check_force_underflow.
3483         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
3484         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
3485         math_check_force_underflow.
3486         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
3487         Likewise.
3488         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3489         Use math_check_force_underflow_nonneg.
3490         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
3491         math_check_force_underflow.
3492         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
3493         Likewise.
3494         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3495         Likewise.
3496         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3497         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3498         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3499         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3500         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
3501         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3502         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
3503         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
3504         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
3505         math_check_force_underflow_nonneg.
3506         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
3507         math_check_force_underflow.
3508         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3509         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
3510         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
3511         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
3512         math_check_force_underflow_nonneg.
3513         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
3514         math_check_force_underflow.
3515         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
3516         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
3517         instead of volatile.
3518         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
3519         math_check_force_underflow.
3521         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
3522         * stdlib/strtod_l.c: Include <math_private.h>.
3523         (overflow_value): Use math_narrow_eval.
3524         (underflow_value): Likewise.
3525         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3526         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3527         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
3528         (__ieee754_gamma_r): Likewise.
3529         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
3530         Likewise.
3531         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3532         Likewise.
3533         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
3534         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
3535         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
3536         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
3537         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3538         (__ieee754_gammaf_r): Likewise.
3539         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3540         Likewise.
3541         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
3542         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
3543         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
3544         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
3545         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
3546         volatile.
3547         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3548         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
3549         math_narrow_eval.
3550         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3551         Likewise.
3552         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3553         Likewise.
3554         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
3555         Likewise.
3556         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
3557         volatile.
3558         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3559         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
3560         math_narrow_eval.
3561         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3562         Likewise.
3563         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3564         Likewise.
3566 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
3568         * nptl/Versions: Remove ignored symbols.
3570 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3572         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
3573         * nss/Makefile (tests): Update.
3575 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3577         * nss/bug18287.c: New file.
3578         * nss/Makefile (tests): Add bug18287.
3580 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3582         * mach/Versions (__mach_host_self_): Add symbol.
3584 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3586         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
3587         vm_page_size.
3589 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3591         Really fix sysdeps/i386/fpu/s_scalbn.S build
3593         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
3594         (libc: GLIBC_2_22): Remove unused version set.
3596 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3598         * config.make.in (enable-timezone-tools): New variable.
3599         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
3600         (enable_timezone_tools): Export to generated files.
3601         * configure: Regenerate.
3602         * INSTALL: Regenerate.
3603         * manual/install.texi (--disable-timezone-tools): Document new flag.
3604         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
3605         ifeq ($(enable-timezone-tools),yes) check.
3607 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3609         * timezone/Makefile: Revert previous change.
3611         [BZ #18980]
3612         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
3613         (DEFINE_DBL_MIN): Likewise.
3614         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3615         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3616         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3617         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3618         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
3619         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3620         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3621         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
3622         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
3623         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3624         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3625         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
3626         (flt_min): Replace with use of DEFINE_FLT_MIN.
3627         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3628         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
3629         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3630         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3631         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
3632         (flt_min): Replace with use of DEFINE_FLT_MIN.
3633         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3634         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
3635         (flt_min): Replace with use of DEFINE_FLT_MIN.
3636         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3637         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
3638         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
3639         (__ieee754_hypot): Use DBL_NARROW_EVAL.
3640         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
3641         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
3642         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
3643         (__ieee754_pow): Use DBL_NARROW_EVAL.
3644         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
3645         (__ieee754_powf): Use FLT_NARROW_EVAL.
3646         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
3647         (__ieee754_expf_sse2): Convert double-precision result to single
3648         precision.
3649         * sysdeps/i386/fpu/libm-test-ulps: Update.
3651 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3653         * timezone/Makefile: Ignore unused variable errors due to private.h
3654         (time_t_min) and (time_t_max).
3655         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
3656         Likewise.
3658 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3660         [BZ #18981]
3661         * sysdeps/i386/fpu/i386-math-asm.h: New file.
3662         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
3663         (__ieee754_scalb): Use DBL_NARROW_EVAL.
3664         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
3665         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
3666         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
3667         (__scalbn): Use DBL_NARROW_EVAL.
3668         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
3669         (__scalbnf): Use FLT_NARROW_EVAL.
3671 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3673         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
3674         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
3675         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
3676         * stdio-common/printf_fp.c (___printf_fp):
3677         Use signbit to get the sign. Use isinf macro to allow inlining.
3678         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
3679         * stdio-common/printf_size.c (__printf_size): Likewise.
3681 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3683         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
3685 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3687         [BZ #18980]
3688         * sysdeps/generic/math_private.h: Include <float.h>.
3689         (math_narrow_eval): New macro.
3690         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
3691         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
3692         math_narrow_eval on overflowing return value.
3693         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
3694         Likewise.
3695         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3696         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
3697         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
3698         Likewise.
3699         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3701 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3703         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
3704         * math/Makefile: Remove isinf_ns.c.
3705         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
3706         * math/multc3.c (__multc3): Likewise.
3707         * math/s_casin.c (__casin): Likewise.
3708         * math/s_casinf.c (__casinf): Likewise.
3709         * math/s_casinl.c (__casinl): Likewise.
3710         * math/s_cproj.c (__cproj): Likewise.
3711         * math/s_cprojf.c (__cprojf): Likewise.
3712         * math/s_cprojl.c (__cprofl): Likewise.
3713         * math/s_ctan.c (__ctan): Likewise.
3714         * math/s_ctanf.c (__ctanf): Likewise.
3715         * math/s_ctanh.c (__ctanh): Likewise.
3716         * math/s_ctanhf.c (__ctanhf): Likewise.
3717         * math/s_ctanhl.c (__ctanhl): Likewise.
3718         * math/s_ctanl.c (__ctanl): Likewise.
3719         * math/w_fmod.c (__fmod): Likewise.
3720         * math/w_fmodf.c (__fmodf): Likewise.
3721         * math/w_fmodl.c (_fmodl): Likewise.
3722         * math/w_remainder.c (__remainder): Likewise.
3723         * math/w_remainderf.c (__remainderf): Likewise.
3724         * math/w_remainderl.c (__remainderl): Likewise.
3725         * math/w_scalb.c (__scalb): Likewise.
3726         * math/w_scalbf.c (__scalbf): Likewise.
3727         * math/w_scalbl.c (__scalbl): Likewise.
3728         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
3729         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
3730         with isinf.
3731         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
3732         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
3733         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
3734         __isinf_nsf with isinf.
3735         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
3736         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
3737         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
3738         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
3739         with isinf.
3740         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
3741         __isinf_nsl with isinf.
3742         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
3743         with isinf.
3744         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
3745         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
3746         __isinf_nsl with isinf.
3747         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
3748         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
3749         with isinf.
3751 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3753         * resolv/base64.c (rcsid): Remove unused static.
3754         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
3755         static.  (tqpi1): Likewise.
3756         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
3757         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
3758         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
3759         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
3760         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
3761         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
3762         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
3763         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
3764         Likewise.
3766 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
3768         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
3769         <nptl/pthreadP.h>.
3770         (_longjmp_unwind): Use __libc_ptf_call.
3771         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
3773 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
3775         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
3776         * sysdeps/arm/__longjmp.S: Likewise
3778 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3780         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
3781         Use __builtin_signbit.
3782         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
3783         Use __builtin_signbitf.
3784         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
3785         Use __builtin_signbitl.
3786         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3787         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
3789 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3791         [BZ #15367]
3792         [BZ #17441]
3794         * math/Makefile: Build test-snan.c with -fsignaling-nans.
3795         * math/math.h (fpclassify): Use __builtin_fpclassify when
3796         available.  (signbit): Use __builtin_signbit(f/l).
3797         (isfinite): Use__builtin_isfinite.  (isnormal): Use
3798         __builtin_isnormal.  (isnan): Use __builtin_isnan.
3799         (isinf): Use __builtin_isinf_sign.
3801 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3803         * benchtests/Makefile: Add bench-math-inlines, link with libm.
3804         * benchtests/bench-math-inlines.c: New benchmark.
3805         * benchtests/bench-util.h: New file.
3806         * benchtests/bench-util.c: New file.
3807         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
3809 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
3811         * elf/tst-dlmopen1.c: Define TEST_SO.
3812         (do_test): Use TEST_SO.
3814         * elf/dl-load.c: Include libc-internal.h.
3815         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
3817 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3819         [BZ #17887]
3820         * time/strptime_l.c (__strptime_internal): Make %z accept
3821         [+-]HH:MM time zones.
3823 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3825         [BZ #17886]
3826         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
3827         valid time zone.
3829 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
3831         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
3832         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
3833         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3834         (__ASSUME_FDATASYNC): Delete.
3836 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3838         * conform/linknamespace.pl: Require weak undefined symbols to be
3839         in the standard namespace.
3840         (%strong_syms): Rename to %seen_syms.
3841         (%strong_seen): Rename to %seen_where.
3843 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
3845         [BZ #18970]
3846         * misc/error.c (error): Replace pthread_setcancelstate with
3847         __pthread_setcancelstate.
3848         (error_at_line): Likewise.
3849         * posix/wordexp.c (parse_comm): Likewise.
3850         * stdlib/fmtmsg.c (fmtmsg): Likewise.
3851         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
3852         (__pthread_setcancelstate): This.
3853         (pthread_setcancelstate): Add an alias.
3854         * nptl/nptl-init.c (pthread_functions): Replace
3855         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
3856         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
3857         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
3858         hidden_proto.
3859         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
3860         it with hidden_def.
3861         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
3862         (pthread_setcancelstate): Renamed to ...
3863         (__pthread_setcancelstate): This.
3864         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
3865         __libc_ptf_call with __pthread_setcancelstate.
3867 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3868             Andreas Schwab  <schwab@suse.de>
3870         [BZ #17118]
3871         * math/s_ctan.c (__ctan): Determine sign of zero real part of
3872         result when imaginary part of argument is infinite using sine and
3873         cosine.
3874         * math/s_ctanf.c (__ctanf): Likewise.
3875         * math/s_ctanl.c (__ctanl): Likewise.
3876         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
3877         of result when real part of argument is infinite using sine and
3878         cosine.
3879         * math/s_ctanhf.c (__ctanhf): Likewise.
3880         * math/s_ctanhl.c (__ctanhl): Likewise.
3881         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
3882         (ctanh_test_data): Add more tests of ctanh.
3884 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3886         [BZ #15384]
3887         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
3888         bit-mask as in subtraction.
3889         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
3890         Likewise.
3891         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
3892         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
3893         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
3895         [BZ #18951]
3896         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
3897         underflow exception for small results.
3898         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3899         Likewise.
3900         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3901         Likewise.
3902         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3903         Likewise.
3904         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3905         Likewise.
3906         * math/auto-libm-test-in: Add more tests of tgamma.
3907         * math/auto-libm-test-out: Regenerated.
3909 2015-09-17  Andreas Schwab  <schwab@suse.de>
3911         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
3913 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3915         [BZ #18977]
3916         * math/bits/mathcalls.h
3917         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
3918         not declare.
3919         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
3920         Likewise.
3921         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
3922         Likewise.
3923         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
3924         Likewise.
3925         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
3926         Likewise.
3927         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
3928         Likewise.
3929         * conform/data/math.h-data
3930         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
3931         function.
3932         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
3933         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
3934         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
3935         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
3936         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
3937         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
3938         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
3939         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
3940         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
3941         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
3942         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
3944         [BZ #6803]
3945         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
3946         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
3947         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
3948         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
3949         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
3950         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
3951         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
3952         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
3953         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3954         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
3955         Likewise.
3956         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3957         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
3958         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
3959         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
3960         long_double_symbol calls.
3961         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
3962         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
3963         strong alias of __ldexpl.
3964         (scalbnl): Define using long_double_symbol.
3965         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
3966         Remove alias.
3967         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
3968         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
3969         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
3970         (scalbln_test_data): Add more errno expectations.
3972 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
3974         Cache the host port like we cache the task port.  This way we do not
3975         need to call the kernel just to get the port.  Furthermore, we no
3976         longer increase the reference count on every invocation of
3977         `mach_host_self'.
3979         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
3980         Protect declarations against the macro expansion.
3981         * mach/mach_init.c (__mach_host_self_): New variable.
3982         (mach_init): Initialize `__mach_host_self_'.
3983         * mach/mach_init.h (__mach_host_self_): New declaration.
3984         (__mach_host_self, mach_host_self): New macros.
3985         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
3986         Release reference.
3988 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3990         [BZ #4404]
3991         * po/de.po: Update from Translation Project.
3993         [BZ #16415]
3994         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
3995         (__expm1l): Remove code to handle positive infinity and overflow.
3996         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
3997         variable.
3998         (__expm1l): Remove code to handle positive infinity and overflow.
4000 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
4001             Paul Pluzhnikov  <ppluzhnikov@google.com>
4003         [BZ #18872]
4004         * stdio-common/Makefile (tst-printf-bz18872): New test.
4005         (tst-printf-bz18872-mem.out): Likewise.
4006         * stdio-common/tst-printf-bz18872.sh: Generate new test.
4007         * stdio-common/vfprintf.c: Fix memory leaks.
4009 2015-09-16  Andreas Schwab  <schwab@suse.de>
4011         [BZ #17244]
4012         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
4013         Remove extra va_start/va_end calls.
4015         [BZ #17243]
4016         * posix/execl.c (execl): Add missing va_end.
4017         * posix/execle.c (execle): Likewise.
4018         * posix/execlp.c (execlp): Likewise.
4020 2015-09-15  Roland McGrath  <roland@hack.frob.com>
4022         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
4023         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
4025 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
4027         [BZ #18967]
4028         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
4029         undefine around includes of <bits/mathcalls.h>.
4030         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
4031         not declare function.
4032         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
4033         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
4034         (scalb): Likewise.
4035         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
4036         not define macro.
4037         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
4038         variable.
4039         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4040         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4041         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4043         [BZ #18857]
4044         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
4045         return non-finite argument without doing ordered comparisons on
4046         it.
4048         [BZ #16296]
4049         * math/fenv.h (fegetround): Use __attribute_pure__.
4050         * include/fenv.h (__fegetround): Likewise.
4052         [BZ #18595]
4053         * math/s_ctan.c (__ctan): Force underflow exception for results
4054         whose real or imaginary part has small absolute value.
4055         * math/s_ctanf.c (__ctanf): Likewise.
4056         * math/s_ctanh.c (__ctanh): Likewise.
4057         * math/s_ctanhf.c (__ctanhf): Likewise.
4058         * math/s_ctanhl.c (__ctanhl): Likewise.
4059         * math/s_ctanl.c (__ctanl): Likewise.
4060         * math/auto-libm-test-in: Do not allow missing underflow for ctan
4061         and ctanh.  Add more tests of ctan and ctanh.
4063         [BZ #15918]
4064         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
4065         handling of cases where one argument is an infinity.
4067         [BZ #18875]
4068         [BZ #18966]
4069         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
4070         (MO): New macro.
4071         (__ieee754_exp10): For small results, force underflow exception
4072         and remove excess range and precision from return value.
4073         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
4074         (MO): New macro.
4075         (__ieee754_exp10f): For small results, force underflow exception
4076         and remove excess range and precision from return value.
4077         * math/auto-libm-test-in: Add more tests of exp10.
4078         * math/auto-libm-test-out: Regenerated.
4080 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
4082         [BZ #18875]
4083         [BZ #18961]
4084         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
4085         (MO): New macro.
4086         (__ieee754_exp): For small results, force underflow exception and
4087         remove excess range and precision from return value.
4088         (__exp_finite): Likewise.
4089         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
4090         (MO): New macro.
4091         (__ieee754_expf): For small results, force underflow exception and
4092         remove excess range and precision from return value.
4093         (__expf_finite): Likewise.
4094         * math/auto-libm-test-in: Add more tests of exp.
4095         * math/auto-libm-test-out: Regenerated.
4097         [BZ #16521]
4098         [BZ #18875]
4099         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
4100         small results.
4101         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
4102         (MO): New macro.
4103         (__ieee754_exp2): For small results, force underflow exception and
4104         remove excess range and precision from return value.
4105         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
4106         (MO): New macro.
4107         (__ieee754_exp2f): For small results, force underflow exception
4108         and remove excess range and precision from return value.
4109         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
4110         (MO): New macro.
4111         (__ieee754_exp2l): Force underflow exception for small results.
4112         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4113         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4114         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
4115         (MO): New macro.
4116         (__ieee754_exp2l): Force underflow exception for small results.
4117         * math/auto-libm-test-in: Add more tests or exp2.
4118         * math/auto-libm-test-out: Regenerated.
4120 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
4122         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
4124         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
4125         /dev/null.
4127 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4129         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4130         io fs process)): Drop spurious backslash.
4132 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4134         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
4135         Use sysinfo system call instead of parsing /proc/meminfo.
4136         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
4137         Likewise.
4139 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
4141         [BZ #16985]
4142         * programs/localedef.c (main): Display argv[remaining] when
4143         output_path is NULL.
4145 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4147         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4148         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
4149         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
4150         tanh.
4151         * math/auto-libm-test-out: Regenerated.
4152         * sysdeps/i386/fpu/libm-test-ulps: Update.
4153         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4154         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4157 2015-09-11  Roland McGrath  <roland@hack.frob.com>
4159         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
4160         Use 'override' keyword to freeze the value here, preventing
4161         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
4163 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4165         [BZ #14912]
4166         * sysdeps/aarch64/bits/atomic.h: Move to ...
4167         * sysdeps/aarch64/atomic-machine.h: ...here.
4168         (_AARCH64_BITS_ATOMIC_H): Rename macro to
4169         _AARCH64_ATOMIC_MACHINE_H.
4170         * sysdeps/alpha/bits/atomic.h: Move to ...
4171         * sysdeps/alpha/atomic-machine.h: ...here.
4172         * sysdeps/arm/bits/atomic.h: Move to ...
4173         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
4174         * bits/atomic.h: Move to ...
4175         * sysdeps/generic/atomic-machine.h: ...here.
4176         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4177         * sysdeps/i386/bits/atomic.h: Move to ...
4178         * sysdeps/i386/atomic-machine.h: ...here.
4179         * sysdeps/ia64/bits/atomic.h: Move to ...
4180         * sysdeps/ia64/atomic-machine.h: ...here.
4181         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
4182         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
4183         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4184         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
4185         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
4186         * sysdeps/microblaze/bits/atomic.h: Move to ...
4187         * sysdeps/microblaze/atomic-machine.h: ...here.
4188         * sysdeps/mips/bits/atomic.h: Move to ...
4189         * sysdeps/mips/atomic-machine.h: ...here.
4190         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
4191         * sysdeps/powerpc/bits/atomic.h: Move to ...
4192         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
4193         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
4194         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
4195         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
4196         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
4197         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
4198         <atomic-machine.h> instead of <bits/atomic.h>.
4199         * sysdeps/s390/bits/atomic.h: Move to ...
4200         * sysdeps/s390/atomic-machine.h: ...here.
4201         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
4202         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
4203         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4204         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
4205         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
4206         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
4207         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
4208         * sysdeps/tile/bits/atomic.h: Move to ...
4209         * sysdeps/tile/atomic-machine.h: ...here.
4210         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
4211         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
4212         <sysdeps/tile/atomic-machine.h> instead of
4213         <sysdeps/tile/bits/atomic.h>.
4214         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4215         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
4216         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
4217         <sysdeps/tile/atomic-machine.h> instead of
4218         <sysdeps/tile/bits/atomic.h>.
4219         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4220         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
4221         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
4222         <sysdeps/arm/atomic-machine.h> instead of
4223         <sysdeps/arm/bits/atomic.h>.
4224         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
4225         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
4226         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4227         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
4228         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
4229         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4230         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
4231         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
4232         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
4233         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
4234         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
4235         * sysdeps/x86_64/bits/atomic.h: Move to ...
4236         * sysdeps/x86_64/atomic-machine.h: ...here.
4237         * include/atomic.h: Include <atomic-machine.h> instead of
4238         <bits/atomic.h>.
4240         * sysdeps/mips/mips32/libm-test-ulps: Update.
4241         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4243         [BZ #18952]
4244         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
4245         not convert non-integer negative arguments to int to determine the
4246         value of signgam.
4247         * math/auto-libm-test-in: Add more tests of lgamma.
4248         * math/auto-libm-test-out: Regenerated.
4250         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
4251         cosh, csqrt, erfc, expm1 and lgamma.
4252         * math/auto-libm-test-out: Regenerated.
4253         * sysdeps/i386/fpu/libm-test-ulps: Update.
4254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4256 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
4258         [BZ #2542]
4259         [BZ #2543]
4260         [BZ #2558]
4261         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
4262         __lgamma_neg for arguments from -28.0 to -2.0.
4263         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
4264         __lgamma_negf for arguments from -15.0 to -2.0.
4265         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4266         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
4267         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
4268         Call __lgamma_negl for arguments from -33.0 to -2.0.
4269         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
4270         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4271         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
4272         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
4273         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4274         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4275         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
4276         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
4277         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
4278         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4279         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
4280         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
4281         (__lgamma_neg): Likewise.
4282         (__lgamma_negl): Likewise.
4283         (__lgamma_product): Likewise.
4284         (__lgamma_productl): Likewise.
4285         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
4286         * math/auto-libm-test-in: Add more tests of lgamma.
4287         * math/auto-libm-test-out: Regenerated.
4288         * sysdeps/i386/fpu/libm-test-ulps: Update.
4289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4291 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
4293         [BZ #18675]
4294         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
4296 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
4298         [BZ #14912]
4299         * bits/libc-lock.h: Move to ...
4300         * sysdeps/generic/libc-lock.h: ...here.
4301         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4302         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
4303         * sysdeps/mach/hurd/libc-lock.h: ...here.
4304         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4305         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
4306         * sysdeps/mach/bits/libc-lock.h: Move to ...
4307         * sysdeps/mach/libc-lock.h: ...here.
4308         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4309         * sysdeps/nptl/bits/libc-lock.h: Move to ...
4310         * sysdeps/nptl/libc-lock.h: ...here.
4311         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4312         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
4313         * sysdeps/nptl/libc-lockP.h: ...here.
4314         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
4315         * crypt/crypt_util.c: Include <libc-lock.h> instead of
4316         <bits/libc-lock.h>.
4317         * dirent/scandir-tail.c: Likewise.
4318         * dlfcn/dlerror.c: Likewise.
4319         * elf/dl-close.c: Likewise.
4320         * elf/dl-iteratephdr.c: Likewise.
4321         * elf/dl-lookup.c: Likewise.
4322         * elf/dl-open.c: Likewise.
4323         * elf/dl-support.c: Likewise.
4324         * elf/dl-writev.h: Likewise.
4325         * elf/rtld.c: Likewise.
4326         * grp/fgetgrent.c: Likewise.
4327         * gshadow/fgetsgent.c: Likewise.
4328         * gshadow/sgetsgent.c: Likewise.
4329         * iconv/gconv_conf.c: Likewise.
4330         * iconv/gconv_db.c: Likewise.
4331         * iconv/gconv_dl.c: Likewise.
4332         * iconv/gconv_int.h: Likewise.
4333         * iconv/gconv_trans.c: Likewise.
4334         * include/link.h: Likewise.
4335         * inet/getnameinfo.c: Likewise.
4336         * inet/getnetgrent.c: Likewise.
4337         * inet/getnetgrent_r.c: Likewise.
4338         * intl/bindtextdom.c: Likewise.
4339         * intl/dcigettext.c: Likewise.
4340         * intl/finddomain.c: Likewise.
4341         * intl/gettextP.h: Likewise.
4342         * intl/loadmsgcat.c: Likewise.
4343         * intl/localealias.c: Likewise.
4344         * intl/textdomain.c: Likewise.
4345         * libidn/idn-stub.c: Likewise.
4346         * libio/libioP.h: Likewise.
4347         * locale/duplocale.c: Likewise.
4348         * locale/freelocale.c: Likewise.
4349         * locale/newlocale.c: Likewise.
4350         * locale/setlocale.c: Likewise.
4351         * login/getutent_r.c: Likewise.
4352         * login/getutid_r.c: Likewise.
4353         * login/getutline_r.c: Likewise.
4354         * login/utmp-private.h: Likewise.
4355         * login/utmpname.c: Likewise.
4356         * malloc/mtrace.c: Likewise.
4357         * misc/efgcvt.c: Likewise.
4358         * misc/error.c: Likewise.
4359         * misc/fstab.c: Likewise.
4360         * misc/getpass.c: Likewise.
4361         * misc/mntent.c: Likewise.
4362         * misc/syslog.c: Likewise.
4363         * nis/nis_call.c: Likewise.
4364         * nis/nis_callback.c: Likewise.
4365         * nis/nss-default.c: Likewise.
4366         * nis/nss_compat/compat-grp.c: Likewise.
4367         * nis/nss_compat/compat-initgroups.c: Likewise.
4368         * nis/nss_compat/compat-pwd.c: Likewise.
4369         * nis/nss_compat/compat-spwd.c: Likewise.
4370         * nis/nss_nis/nis-alias.c: Likewise.
4371         * nis/nss_nis/nis-ethers.c: Likewise.
4372         * nis/nss_nis/nis-grp.c: Likewise.
4373         * nis/nss_nis/nis-hosts.c: Likewise.
4374         * nis/nss_nis/nis-network.c: Likewise.
4375         * nis/nss_nis/nis-proto.c: Likewise.
4376         * nis/nss_nis/nis-pwd.c: Likewise.
4377         * nis/nss_nis/nis-rpc.c: Likewise.
4378         * nis/nss_nis/nis-service.c: Likewise.
4379         * nis/nss_nis/nis-spwd.c: Likewise.
4380         * nis/nss_nisplus/nisplus-alias.c: Likewise.
4381         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4382         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4383         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4384         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
4385         * nis/nss_nisplus/nisplus-network.c: Likewise.
4386         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4387         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4388         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4389         * nis/nss_nisplus/nisplus-service.c: Likewise.
4390         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4391         * nis/ypclnt.c: Likewise.
4392         * nptl/libc_pthread_init.c: Likewise.
4393         * nss/getXXbyYY.c: Likewise.
4394         * nss/getXXent.c: Likewise.
4395         * nss/getXXent_r.c: Likewise.
4396         * nss/nss_db/db-XXX.c: Likewise.
4397         * nss/nss_db/db-netgrp.c: Likewise.
4398         * nss/nss_db/nss_db.h: Likewise.
4399         * nss/nss_files/files-XXX.c: Likewise.
4400         * nss/nss_files/files-alias.c: Likewise.
4401         * nss/nsswitch.c: Likewise.
4402         * posix/regex_internal.h: Likewise.
4403         * posix/wordexp.c: Likewise.
4404         * pwd/fgetpwent.c: Likewise.
4405         * resolv/res_hconf.c: Likewise.
4406         * resolv/res_libc.c: Likewise.
4407         * shadow/fgetspent.c: Likewise.
4408         * shadow/lckpwdf.c: Likewise.
4409         * shadow/sgetspent.c: Likewise.
4410         * socket/opensock.c: Likewise.
4411         * stdio-common/reg-modifier.c: Likewise.
4412         * stdio-common/reg-printf.c: Likewise.
4413         * stdio-common/reg-type.c: Likewise.
4414         * stdio-common/vfprintf.c: Likewise.
4415         * stdio-common/vfscanf.c: Likewise.
4416         * stdlib/abort.c: Likewise.
4417         * stdlib/cxa_atexit.c: Likewise.
4418         * stdlib/fmtmsg.c: Likewise.
4419         * stdlib/random.c: Likewise.
4420         * stdlib/setenv.c: Likewise.
4421         * string/strsignal.c: Likewise.
4422         * sunrpc/auth_none.c: Likewise.
4423         * sunrpc/bindrsvprt.c: Likewise.
4424         * sunrpc/create_xid.c: Likewise.
4425         * sunrpc/key_call.c: Likewise.
4426         * sunrpc/rpc_thread.c: Likewise.
4427         * sysdeps/arm/backtrace.c: Likewise.
4428         * sysdeps/generic/ldsodefs.h: Likewise.
4429         * sysdeps/generic/stdio-lock.h: Likewise.
4430         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
4431         * sysdeps/i386/backtrace.c: Likewise.
4432         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4433         * sysdeps/m68k/backtrace.c: Likewise.
4434         * sysdeps/mach/hurd/cthreads.c: Likewise.
4435         * sysdeps/mach/hurd/dirstream.h: Likewise.
4436         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4437         * sysdeps/nptl/malloc-machine.h: Likewise.
4438         * sysdeps/nptl/stdio-lock.h: Likewise.
4439         * sysdeps/posix/dirstream.h: Likewise.
4440         * sysdeps/posix/getaddrinfo.c: Likewise.
4441         * sysdeps/posix/system.c: Likewise.
4442         * sysdeps/pthread/aio_suspend.c: Likewise.
4443         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4444         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4445         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4446         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4447         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
4448         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
4449         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
4450         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4451         * sysdeps/unix/sysv/linux/system.c: Likewise.
4452         * sysdeps/x86_64/backtrace.c: Likewise.
4453         * time/alt_digit.c: Likewise.
4454         * time/era.c: Likewise.
4455         * time/tzset.c: Likewise.
4456         * wcsmbs/wcsmbsload.c: Likewise.
4457         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
4458         instead of <bits/libc-lock.h> in comment.
4460 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
4462         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
4463         Only use .set mips2 if the current ISA is below mips2.
4464         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
4465         Likewise.
4466         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
4467         mips32r2 if the current ISA is below mips32r2.
4468         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
4469         (TLS_IE): Updated to use the TLD_RDHWR macro.
4470         (TLS_LE): Likewise.
4471         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
4472         __ASSEMBLER__ condition.
4474 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4476         Fix parallel build of before-compile targets.
4478         * sysdeps/mach/Makefile ($(patsubst
4479         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
4480         mach-before-compile target.
4481         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4482         io fs process)): Move rule to dedicated hurd-before-compile target.
4484 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4486         Fix rules generating headers in hurd/ and mach/ when initial make call
4487         has subdir= explicitly set.
4489         * sysdeps/mach/Makefile ($(patsubst
4490         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
4491         calling $(MAKE).
4492         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4493         io fs process)): Force subdir to hurd when calling $(MAKE).
4494         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
4495         subdir to mach when calling $(MAKE).
4497 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
4499         Check sysheaders when looking for Mach and Hurd headers
4501         * sysdeps/mach/configure.ac: Add sysheaders check.
4502         * sysdeps/mach/configure: Regenerate.
4503         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
4504         * sysdeps/mach/hurd/configure: Regenerate.
4506 2015-09-04  Roland McGrath  <roland@hack.frob.com>
4508         [BZ #18921]
4509         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
4510         Fix inverted sense of test of 'o_directory_works' value.
4511         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
4512         Bernhard Voelker <mail@bernhard-voelker.de>.
4514 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4516         [BZ #14912]
4517         * bits/linkmap.h: Move to ...
4518         * sysdeps/generic/linkmap.h: ...here.
4519         * sysdeps/aarch64/bits/linkmap.h: Move to ...
4520         * sysdeps/aarch64/linkmap.h: ...here.
4521         * sysdeps/arm/bits/linkmap.h: Move to ...
4522         * sysdeps/arm/linkmap.h: ...here.
4523         * sysdeps/hppa/bits/linkmap.h: Move to ...
4524         * sysdeps/hppa/linkmap.h: ...here.
4525         * sysdeps/ia64/bits/linkmap.h: Move to ...
4526         * sysdeps/ia64/linkmap.h: ...here.
4527         * sysdeps/mips/bits/linkmap.h: Move to ...
4528         * sysdeps/mips/linkmap.h: ...here.
4529         * sysdeps/s390/bits/linkmap.h: Move to ...
4530         * sysdeps/s390/linkmap.h: ...here.
4531         * sysdeps/sh/bits/linkmap.h: Move to ...
4532         * sysdeps/sh/linkmap.h: ...here.
4533         * sysdeps/x86/bits/linkmap.h: Move to ...
4534         * sysdeps/x86/linkmap.h: ...here.
4535         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
4537 2015-09-04  Andreas Schwab  <schwab@suse.de>
4539         [BZ #18635]
4540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
4541         (__makecontext): Terminate FDE before return label.
4542         (__novec_makecontext): Likewise.
4544 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4546         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
4547         first member of struct sv in syscall macro.
4549 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4551         [BZ #14912]
4552         * bits/stdio-lock.h: Move to ...
4553         * sysdeps/generic/stdio-lock.h: ...here.
4554         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4555         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
4556         * sysdeps/nptl/stdio-lock.h: ...here.
4557         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4558         * include/libio.h: Include <stdio-lock.h> instead of
4559         <bits/stdio-lock.h>.
4560         * sysdeps/nptl/fork.c: Likewise.
4561         * sysdeps/pthread/flockfile.c: Likewise.
4562         * sysdeps/pthread/ftrylockfile.c: Likewise.
4563         * sysdeps/pthread/funlockfile.c: Likewise.
4565         [BZ #14912]
4566         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
4567         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
4568         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
4569         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
4570         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
4571         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4572         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
4574 2015-09-03  Roland McGrath  <roland@hack.frob.com>
4576         * elf/Makefile (test-xfail-tst-protected1a): New variable.
4577         (test-xfail-tst-protected1b): New variable.
4579 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
4581         [BZ #14912]
4582         * bits/libc-tsd.h: Move to ...
4583         * sysdeps/generic/libc-tsd.h: ...here.
4584         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
4585         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
4586         * sysdeps/mach/hurd/libc-tsd.h: ...here.
4587         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
4588         * include/ctype.h: Include <libc-tsd.h> instead of
4589         <bits/libc-tsd.h>.
4590         * include/rpc/rpc.h: Likewise.
4591         * locale/localeinfo.h: Likewise.
4592         * sunrpc/rpc_thread.c: Likewise.
4593         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4594         * sysdeps/nptl/malloc-machine.h: Likewise.
4596         * Makefile (headers): Remove bits/libc-lock.h.
4597         * libio/Makefile (headers): Remove bits/stdio-lock.h.
4599         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
4600         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
4601         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
4602         <bits/stdio-lock.h>.
4603         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
4604         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
4606 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4608         [BZ #18757]
4609         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
4610         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
4611         BZ #18757.
4613 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4615         * malloc/mtrace.pl: Filter out NULL entries.
4617 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
4619         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
4620         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
4621         macro.
4623         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
4624         (TCP_CC_INFO): Likewise.
4625         (TCP_SAVE_SYN): Likewise.
4626         (TCP_SAVED_SYN): Likewise.
4628 2015-08-31  Brett Neumeier <brett@neumeier.us>
4630         [BZ #18870]
4631         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
4633 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
4635         [BZ #18873]
4636         Fix broken overflow check in posix_fallocate
4637         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
4638         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4639         Fix parenthesization typo.
4641 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
4643         [BZ #18887]
4644         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
4645         tst-mntent-blank-passno.
4646         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
4647         * misc/tst-mntent-blank-corrupt.c: New test.
4648         * misc/tst-mntent-blank-passno.c: New test ripped from ...
4649         * misc/tst-mntent.c (do_test): ... here.
4651 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
4653         [BZ #4404]
4654         * po/de.po: Fix SIGALRM typo.
4656 2015-08-28  James Perkins  <james@loowit.net>
4658         * time/tst-strptime2.c (tests): Replace short list of test
4659         strings for strptime %z specifier with code which exhaustively
4660         tests every combination of sign and 0 to 5 digits. Tests for
4661         rejection of invalid strings.
4663 2015-08-28  James Perkins  <james@loowit.net>
4665         [BZ #16141]
4666         * time/strptime_l.c (__strptime_internal): Fix %z minutes
4667         calculation, removing incorrect decimal time rounding, so that
4668         all minute values result in a valid seconds value.
4669         * time/strptime_l.c (__strptime_internal): Extend %z time zone
4670         offset range limits to UTC-99:59 through UTC+99:59 to parse
4671         current and historical use cases.
4672         * time/tst-strptime2.c (tests): Modify and add tests for the
4673         strptime %z input field descriptor, specifically conversion of
4674         minutes to seconds and validating an offset range of -9959 to
4675         +9959.
4677 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4678             Dmitry V. Levin  <ldv@altlinux.org>
4680         [BZ #18877]
4681         * posix/Makefile (tests): Add tst-mmap-offset.
4682         * posix/tst-mmap.c: New file.
4683         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
4684         offset calculation for negative values.
4686 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4688         * sysdeps/i386/init-arch.h: New file.
4689         * sysdeps/i386/i586/init-arch.h: Likewise.
4690         * sysdeps/i386/i686/init-arch.h: Likewise.
4691         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
4692         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
4693         * sysdeps/x86/cpu-features.h (bit_I586): New.
4694         (bit_I686): Likewise.
4695         (bit_CX8): Likewise.
4696         (bit_CMOV): Likewise.
4697         (index_CX8): Likewise.
4698         (index_CMOV): Likewise.
4699         (index_I586): Likewise.
4700         (index_I686): Likewise.
4701         (reg_CX8): Likewise.
4702         (reg_CMOV): Likewise.
4703         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
4704         available at compile-time.
4705         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
4706         available at compile-time.
4707         * sysdeps/x86/init-arch.h (USE_I586): New macro.
4708         (USE_I686): Likewise.
4710 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4712         * sysdeps/i386/bcopy.S: New file.
4713         * sysdeps/i386/bzero.S: Likewise.
4714         * sysdeps/i386/memcpy.S: Likewise.
4715         * sysdeps/i386/memmove.S: Likewise.
4716         * sysdeps/i386/mempcpy.S: Likewise.
4717         * sysdeps/i386/memset.S: Likewise.
4718         * sysdeps/i386/bzero.c: Removed.
4719         * sysdeps/i386/memset.c: Likewise.
4720         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
4721         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
4722         * sysdeps/i386/i586/memset_chk.S: Likewise.
4723         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
4724         * sysdeps/i386/memcpy_chk.S: Here.
4725         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
4726         * sysdeps/i386/memmove_chk.S: Here.
4727         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
4728         * sysdeps/i386/mempcpy_chk.S: Likewise.
4729         * sysdeps/i386/i686/memset_chk.S: Moved to ...
4730         * sysdeps/i386/memset_chk.S: Likewise.
4732 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
4734         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
4735         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
4736         file, move DIAG_POP_NEEDS_COMMENT to end of file.
4737         * soft-fp/fmadf4.c: Ditto.
4738         * soft-fp/fmatf4.c: Ditto.
4740 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4742         * sysdeps/i386/i586/Implies: Removed.
4743         * sysdeps/i386/i686/Implies: Likewise.
4745 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4747         * sysdeps/i386/i486/strlen.S: Moved to ...
4748         * sysdeps/i386/strlen.S: Here.
4750 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4752         * sysdeps/i386/i486/strcat.S: Moved to ...
4753         * sysdeps/i386/strcat.S: Here.
4755 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4757         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
4758         * sysdeps/i386/pthread_spin_trylock.S: Here.
4759         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
4760         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
4762 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4764         * sysdeps/i386/i486/string-inlines.c: Moved to ...
4765         * sysdeps/i386/string-inlines.c: Here.
4767 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4769         * sysdeps/i386/i486/htonl.S: Moved ...
4770         * sysdeps/i386/htonl.S: here.
4772 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4774         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
4775         * sysdeps/i386/bits/atomic.h: Here.
4777 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4779         * sysdeps/i386/i486/Versions: Removed.
4781 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4783         [BZ #2898]
4784         * misc/mktemp.c: Add mkdtemp to the link_warning message.
4785         Based on patch by Aurelien Jarno.
4787 2015-08-26  Stan Shebs  <stanshebs@google.com>
4789         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
4790         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4792 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4794         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
4795         * sysdeps/powerpc/dl-procinfo.c:
4796         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
4797         feature so it shows when LD_SHOW_AUXV=1.
4799 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4801         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4802         (__arch_compare_and_exchange_val_32_acq): Remove and use common
4803         definition.  ISA 2.07B no longer requires full sync.
4805 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
4807         [BZ #18863]
4808         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
4809         (si_call_addr): Define.
4810         (si_syscall): Define.
4811         (si_arch): Define.
4813 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4815         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
4816         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
4817         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
4818         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4819         (__memset_zero_constant_len_parameter): New.
4820         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
4821         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4822         (__memset_zero_constant_len_parameter): Don't define if
4823         __memset_chk or USE_AS_BZERO are defined.
4825         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
4826         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
4827         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
4829         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
4830         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
4831         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
4832         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
4833         comments.
4834         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
4835         -mno-mmx for $(all-rtld-routines).
4836         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
4837         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
4838         i386.
4840 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4842         * sysdeps/generic/unwind.h
4843         (_Unwind_Word): Use __mode__(__unwind_word__)
4844         instead of __mode__(__word__).
4845         (_Unwind_Sword): Likewise.
4847         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4848         (MAX_NEEDED_INPUT): New define.
4849         (MAX_NEEDED_OUTPUT): New define.
4851         * NEWS: New item for IBM z13 string optimizations.
4853         * sysdeps/s390/multiarch/memrchr-c.c: New File.
4854         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
4855         * sysdeps/s390/multiarch/memrchr.c: Likewise.
4856         * sysdeps/s390/multiarch/Makefile
4857         (sysdep_routines): Add memrchr functions.
4858         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4859         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
4861         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
4862         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
4863         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
4864         * sysdeps/s390/multiarch/Makefile
4865         (sysdep_routines): Add wmemcmp functions.
4866         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4867         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
4868         * benchtests/bench-wmemcmp.c: New File.
4869         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
4871         * sysdeps/s390/multiarch/wmemset-c.c: New File.
4872         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
4873         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4874         * sysdeps/s390/multiarch/Makefile
4875         (sysdep_routines): Add wmemset functions.
4876         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4877         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
4878         * wcsmbs/wmemset.c: Use WMEMSET if defined.
4879         * string/test-memset.c: Add wmemset support.
4880         * wcsmbs/test-wmemset.c: New File.
4881         * wcsmbs/Makefile (strop-tests): Add wmemset.
4882         * benchtests/bench-memset.c: Add wmemset support.
4883         * benchtests/bench-wmemset.c: New File.
4884         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
4886         * sysdeps/s390/multiarch/memccpy-c.c: New File.
4887         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
4888         * sysdeps/s390/multiarch/memccpy.c: Likewise.
4889         * sysdeps/s390/multiarch/Makefile
4890         (sysdep_routines): Add memccpy functions.
4891         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4892         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
4893         * string/memccpy.c: Use MEMCCPY if defined.
4895         * sysdeps/s390/multiarch/memchr-vx.S: New File.
4896         * sysdeps/s390/multiarch/memchr.c: Likewise.
4897         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
4898         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
4899         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4900         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
4901         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
4902         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4903         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
4904         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4905         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
4906         and rawmemchr functions.
4907         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4908         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
4909         and wmemchr.
4910         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
4911         * string/test-memchr.c: Add wmemchr support.
4912         * wcsmbs/test-wmemchr.c: New File.
4913         * wcsmbs/Makefile (strop-tests): Add wmemchr.
4914         * benchtests/bench-memchr.c: Add wmemchr support.
4915         * benchtests/bench-wmemchr.c: New File.
4916         * benchtests/Makefile (wcsmbs-bench): wmemchr.
4918         * sysdeps/s390/multiarch/strcspn-c.c: New File.
4919         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
4920         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4921         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
4922         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
4923         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
4924         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
4925         wcscspn functions.
4926         * sysdeps/s390/multiarch/ifunc-impl-list.c
4927         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
4928         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
4929         * string/test-strcspn.c: Add wcscspn support.
4930         * wcsmbs/test-wcscspn.c: New File.
4931         * wcsmbs/Makefile (strop-tests): Add wcscspn.
4932         * benchtests/bench-strcspn.c: Add wcscspn support.
4933         * benchtests/bench-wcscspn.c: New File.
4934         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
4936         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
4937         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
4938         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4939         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
4940         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
4941         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4942         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
4943         wcspbrk functions.
4944         * sysdeps/s390/multiarch/ifunc-impl-list.c
4945         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
4946         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
4947         * string/test-strpbrk.c: Add wcspbrk support.
4948         * wcsmbs/test-wcspbrk.c: New File.
4949         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
4950         * benchtests/bench-strpbrk.c: Add wcspbrk support.
4951         * benchtests/bench-wcspbrk.c: New File.
4952         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
4954         * sysdeps/s390/multiarch/strspn-c.c: New File.
4955         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
4956         * sysdeps/s390/multiarch/strspn.c: Likewise.
4957         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
4958         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
4959         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4960         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
4961         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
4962         wcsspn functions.
4963         * sysdeps/s390/multiarch/ifunc-impl-list.c
4964         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
4965         * string/test-strspn.c: Add wcsspn support.
4966         * wcsmbs/test-wcsspn.c: New File.
4967         * wcsmbs/Makefile (strop-tests): Add wcsspn.
4968         * benchtests/bench-strspn.c: Add wcsspn support.
4969         * benchtests/bench-wcsspn.c: New File.
4970         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
4972         * sysdeps/s390/multiarch/strrchr-c.c: New File.
4973         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
4974         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4975         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
4976         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
4977         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
4978         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
4979         wcsrchr functions.
4980         * sysdeps/s390/multiarch/ifunc-impl-list.c
4981         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
4982         * benchtests/bench-wcsrchr.c: New File.
4983         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
4985         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
4986         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
4987         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
4988         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
4989         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
4990         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
4991         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
4992         wcschrnul functions.
4993         * sysdeps/s390/multiarch/ifunc-impl-list.c
4994         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
4995         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
4996         * string/test-strchr.c: Add wcschrnul support.
4997         * wcsmbs/test-wcschrnul.c: New File.
4998         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
4999         * benchtests/bench-strchr.c: Add wcschrnul support.
5000         * benchtests/bench-wcschrnul.c: New File.
5001         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
5003         * sysdeps/s390/multiarch/strchr-c.c: New File.
5004         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
5005         * sysdeps/s390/multiarch/strchr.c: Likewise.
5006         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
5007         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
5008         * sysdeps/s390/multiarch/wcschr.c: Likewise.
5009         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
5010         wcschr functions.
5011         * sysdeps/s390/multiarch/ifunc-impl-list.c
5012         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
5013         * string/strchr.c (STRCHR): Define and use macro.
5014         * benchtests/bench-wcschr.c: New File.
5015         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
5017         * sysdeps/s390/multiarch/strncmp-c.c: New File.
5018         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
5019         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5020         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
5021         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
5022         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
5023         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
5024         wcsncmp functions.
5025         * sysdeps/s390/multiarch/ifunc-impl-list.c
5026         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
5027         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
5028         * benchtests/bench-strncmp.c: Add wcsncmp support.
5029         * benchtests/bench-wcsncmp.c: New File.
5030         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
5032         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
5033         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5034         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
5035         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
5036         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5037         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
5038         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5039         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
5040         wcscmp functions.
5041         * sysdeps/s390/multiarch/ifunc-impl-list.c
5042         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
5043         * string/strcmp.c (STRCMP): Define and use macro.
5044         * benchtests/bench-wcscmp.c: New File.
5045         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
5046         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
5047         instead of _HAVE_STRING_ARCH_memchr.
5049         * sysdeps/s390/multiarch/strncat-c.c: New File.
5050         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
5051         * sysdeps/s390/multiarch/strncat.c: Likewise.
5052         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
5053         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
5054         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
5055         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
5056         wcsncat functions.
5057         * sysdeps/s390/multiarch/ifunc-impl-list.c
5058         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
5059         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
5060         * string/test-strncat.c: Add wcsncat support.
5061         * wcsmbs/test-wcsncat.c: New File.
5062         * wcsmbs/Makefile (strop-tests): Add wcsncat.
5063         * benchtests/bench-strncat.c: Add wcsncat support.
5064         * benchtests/bench-wcsncat.c: New File.
5065         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
5067         * sysdeps/s390/multiarch/strcat-c.c: New File.
5068         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
5069         * sysdeps/s390/multiarch/strcat.c: Likewise.
5070         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
5071         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
5072         * sysdeps/s390/multiarch/wcscat.c: Likewise.
5073         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
5074         wcscat functions.
5075         * sysdeps/s390/multiarch/ifunc-impl-list.c
5076         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
5077         * string/strcat.c (STRCAT): Define and use macro.
5078         * wcsmbs/wcscat.c: Use WCSCAT if defined.
5079         * string/test-strcat.c: Add wcscat support.
5080         * wcsmbs/test-wcscat.c: New File.
5081         * wcsmbs/Makefile (strop-tests): Add wcscat.
5082         * benchtests/bench-strcat.c: Add wcscat support.
5083         * benchtests/bench-wcscat.c: New File.
5084         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
5086         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
5087         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
5088         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5089         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
5090         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
5091         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
5092         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
5093         wcpncpy functions.
5094         * sysdeps/s390/multiarch/ifunc-impl-list.c
5095         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
5096         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
5097         * string/test-stpncpy.c: Add wcpncpy support.
5098         * wcsmbs/test-wcpncpy.c: New File.
5099         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
5100         * benchtests/bench-stpncpy.c: Add wcpncpy support.
5101         * benchtests/bench-wcpncpy.c: New File.
5102         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
5104         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
5105         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5106         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
5107         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
5108         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
5109         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
5110         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5111         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
5112         wcsncpy functions.
5113         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
5114         * sysdeps/s390/multiarch/ifunc-impl-list.c
5115         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
5116         * string/test-strncpy.c: Add wcsncpy support.
5117         * wcsmbs/test-wcsncpy.c: New File.
5118         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
5119         * benchtests/bench-strncpy.c: Add wcsncpy support.
5120         * benchtests/bench-wcsncpy.c: New File.
5121         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
5123         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
5124         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
5125         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5126         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
5127         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
5128         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
5129         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
5130         wcpcpy functions.
5131         * string/stpcpy.c: Use STPCPY if defined.
5132         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
5133         * sysdeps/s390/multiarch/ifunc-impl-list.c
5134         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
5135         * string/test-stpcpy.c: Add wcpcpy support.
5136         * wcsmbs/test-wcpcpy.c: New File.
5137         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
5138         * benchtests/bench-stpcpy.c: Add wcpcpy support.
5139         * benchtests/bench-wcpcpy.c: New File.
5140         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
5142         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
5143         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5144         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
5145         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
5146         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
5147         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
5148         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5149         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
5150         wcscpy functions.
5151         * sysdeps/s390/multiarch/ifunc-impl-list.c
5152         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
5153         * benchtests/bench-wcscpy.c: New File.
5154         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
5156         * sysdeps/s390/multiarch/strnlen-c.c: New File.
5157         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
5158         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5159         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
5160         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
5161         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
5162         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
5163         wcsnlen functions.
5164         * sysdeps/s390/multiarch/ifunc-impl-list.c
5165         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
5166         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
5167         * string/test-strnlen.c: Add wcsnlen support.
5168         * wcsmbs/test-wcsnlen.c: New File.
5169         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
5170         * benchtests/bench-strnlen.c: Add wcsnlen support.
5171         * benchtests/bench-wcsnlen.c: New File.
5172         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
5174         * sysdeps/s390/multiarch/Makefile: New File.
5175         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
5176         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
5177         * sysdeps/s390/multiarch/strlen.c: Likewise.
5178         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
5179         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
5180         * sysdeps/s390/multiarch/wcslen.c: Likewise.
5181         * string/strlen.c (STRLEN): Define and use macro.
5182         * sysdeps/s390/multiarch/ifunc-impl-list.c
5183         (IFUNC_VX_IMPL): New macro function.
5184         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
5185         * benchtests/Makefile (wcsmbs-bench): New variable.
5186         (string-bench-all): Added wcsmbs-bench.
5187         * benchtests/bench-wcslen.c: New File.
5189         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
5190         s390_vx_libc_ifunc2): New macro function.
5192         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
5193         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
5194         assembler support.
5195         * sysdeps/s390/configure: Regenerated.
5197         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
5198         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
5200         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
5201         * sysdeps/s390/dl-procinfo.h: Add vector capability.
5202         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
5204         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5205         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
5206         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
5207         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
5208         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
5209         (memcmp, bcmp): Use __memcmp_default as alias source.
5210         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
5211         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
5212         Rename to __memcmp_default.
5213         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
5214         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
5215         (memcpy): Use __memcpy_default as alias source.
5216         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
5217         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
5218         Rename to __memcpy_default.
5219         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
5220         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
5221         (memset): Use __memset_default as alias source.
5222         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
5223         * sysdeps/s390/s390-32/memset.S (__memset_g5):
5224         Rename to __memset_default.
5225         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
5226         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
5227         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
5228         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
5229         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
5230         (memcmp, bcmp): Use __memcmp_default as alias source.
5231         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
5232         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
5233         Rename to __memcmp_default.
5234         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
5235         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
5236         (memcpy): Use __memcpy_default as alias source.
5237         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
5238         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
5239         Rename to __memcpy_default.
5240         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
5241         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
5242         (memset): Use __memset_default as alias source.
5243         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
5244         * sysdeps/s390/s390-64/memset.S (__memset_z900):
5245         Rename to __memset_default.
5246         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
5247         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
5249         [BZ #18610]
5250         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
5251         __ieee_instruction_pointer to __unused.
5252         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
5253         __ieee_instruction_pointer.
5254         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
5255         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
5256         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5257         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
5258         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
5259         Mark dxc-field as reserved.
5261 2015-08-25  Roland McGrath  <roland@hack.frob.com>
5263         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
5264         if the weak reference is not null.
5266 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5268         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
5270         [BZ #11214]
5271         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
5273 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5275         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
5276         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
5277         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
5278         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
5279         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
5280         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
5281         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
5282         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
5283         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
5284         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
5285         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
5286         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
5287         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
5288         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
5289         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
5290         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
5291         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
5292         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
5294 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5296         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
5297         register other than r0 for tabort, it has special meaning.
5298         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
5299         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
5300         transaction before starting syscall.
5302 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5304         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
5306 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5308         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
5310         * sysdeps/x86_64/rtld-memcmp.c: Removed.
5311         * sysdeps/x86_64/rtld-memset.S: Likewise.
5312         * sysdeps/x86_64/rtld-strchr.S: Likewise.
5313         * sysdeps/x86_64/rtld-strlen.S: Likewise.
5314         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
5315         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5317         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
5319 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
5321         * debug/strcpy_chk.c: Improve performance.
5322         * debug/stpcpy_chk.c: Likewise.
5323         * sysdeps/x86_64/strcpy_chk.S: Remove.
5324         * sysdeps/x86_64/stpcpy_chk.S: Remove.
5326         [BZ #18240]
5327         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
5329 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5331         [BZ #15128]
5332         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
5333         ifuncmain8.
5334         (modules-names): Add ifuncmod8.
5335         ($(objpfx)ifuncmain8): New rule.
5336         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
5337         <cpuid.h>.
5338         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
5339         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
5340         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
5341         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
5342         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
5343         * sysdeps/x86_64/dl-trampoline.h: Likewise.
5344         * sysdeps/x86_64/ifuncmain8.c: New file.
5345         * sysdeps/x86_64/ifuncmod8.c: Likewise.
5346         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
5347         Removed.
5348         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
5349         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
5350         Change rtld_savespace_sse to __glibc_unused2.
5351         (RTLD_CHECK_FOREIGN_CALL): Removed.
5352         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
5353         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
5354         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
5356 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5358         * sysdeps/aarch64/bzero.S (__bzero): Remove.
5360 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5362         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
5363         Unconditionally set __fpcr to avoid uninialized warning.
5364         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
5366 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5368         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
5369         is corrupt.
5371         * malloc/arena.c (arena_get2): Drop unused argument.
5372         (arena_lock): Adjust.
5373         (arena_get_retry): Likewise.
5375 2015-08-24  Andreas Schwab  <schwab@suse.de>
5377         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
5378         Don't define.
5379         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5380         (__ASSUME_IPC64): Don't undef.
5381         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
5382         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5383         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5384         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
5385         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
5386         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
5387         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
5388         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
5389         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
5390         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
5391         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
5392         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
5393         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
5394         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
5395         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
5396         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
5397         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
5398         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
5399         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
5400         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
5401         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
5403 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
5405         * manual/Makefile (install): Only build manual when perl is available.
5407 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5409         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
5410         '#undef memcpy' by '#undef memchr'.
5412 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5414         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
5415         memchr not point to the internal __GI_memchr implementation.
5417 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5419         * timezone/Makefile (CFLAGS-zdump.c): Remove
5420         -Wno-strict-prototypes.
5421         (CFLAGS-zic.c): Likewise.
5422         (CFLAGS-ialloc.c): Likewise.
5423         (CFLAGS-scheck.c): Likewise.
5425         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
5426         -Wno-error=undef.
5428 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5430         * i386/i686/multiarch/strcasestr-c.c: Removed.
5431         * x86_64/multiarch/strcasestr.c: Likewise.
5432         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5433         Remove strcasestr.
5435 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5437         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
5439         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
5440         variables for high and low parts before possibly modifying them.
5442 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5444         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
5445         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
5446         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
5447         of "multiarch/init-arch.h".
5448         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
5449         * sysdeps/x86/init-arch.h: This.
5451 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5453         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
5454         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
5456 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
5458         [BZ #17787]
5459         * manual/macros.texi: Add twoexp macro.
5460         * manual/filesys.texi: Fix exponents.
5461         * manual/llio.texi: Likewise.
5462         * manual/stdio.texi: Likewise.
5464 2015-08-20  Florian Weimer  <fweimer@redhat.com>
5466         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
5467         incorrect use.
5469 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5471         [BZ #18370]
5472         * math/s_csqrt.c (__csqrt): Force underflow exception for results
5473         whose real or imaginary part has small absolute value.
5474         * math/s_csqrtf.c (__csqrtf): Likewise.
5475         * math/s_csqrtl.c (__csqrtl): Likewise.
5476         * math/auto-libm-test-in: Add more tests of csqrt.
5477         * math/auto-libm-test-out: Regenerated.
5478         * sysdeps/i386/fpu/libm-test-ulps: Update.
5480 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5482         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
5483         __ppc_set_ppr_very_low): New functions.
5484         * manual/platform.texi: Add documentation about
5485         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
5487 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
5489         * string/stpncpy.c (stpncpy): Improve performance using
5490         __strnlen/memcpy/memset.
5492 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5494         [BZ #18796]
5495         * scripts/test-installation.pl: Don't add -lmvec to build options if
5496         libmvec wasn't built.
5498 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
5500         [BZ #14341]
5501         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
5502         case when there is a gap between DT_REL and DT_JMPREL sections.
5503         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
5504         (LDFLAGS-tst-split-dynreloc): New.
5505         (tst-split-dynreloc-ENV): Likewise.
5506         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
5507         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
5509 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5511         [BZ #18822]
5512         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
5513         attribute_hidden.
5514         (__xstat64_conv): Likewise.
5515         (__xstat32_conv): Likewise.
5517 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5519         [BZ #18822]
5520         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
5521         Don't load %ebx when calling __setcontext.  Call __setcontext
5522         with HIDDEN_JUMPTARGET.
5523         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
5524         libc_hidden_def.
5526 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5528         * sysdeps/i386/i686/Makefile
5529         [$(subdir) == string] (sysdep_routines): Moved to ...
5530         * sysdeps/i386/Makefile: Here.
5531         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
5532         * sysdeps/i386/cacheinfo.c: Here.
5533         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
5534         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
5535         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
5536         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
5538 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5540         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
5541         __i586__ is defined.
5542         (HAS_I686): Defined to 1 if __i686__ is defined.
5544 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5546         * elf/Makefile [$(have-z-execstack) = yes]
5547         (CPPFLAGS-tst-execstack.c): New variable.
5549         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
5550         conditional to [defined UTMPX || _HAVE_UT_TYPE].
5551         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
5552         UTMPX || _HAVE_UT_TV].
5553         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
5554         UTMPX || _HAVE_UT_TV - 0].
5556 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
5558         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
5559         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
5560         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
5562 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5564         * sysdeps/powerpc/dl-procinfo.c:
5565         (_dl_powerpc_cap_flags): Added missing strings for some
5566         hwcap features.
5567         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
5569 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
5571         Port the 0x7efe...feff pattern to GCC 6.
5572         See Steve Ellcey's bug report in:
5573         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
5574         * string/memrchr.c (MEMRCHR):
5575         * string/rawmemchr.c (RAWMEMCHR):
5576         * string/strchr.c (strchr):
5577         * string/strchrnul.c (STRCHRNUL):
5578         Rewrite code to avoid issues with signed shift overflow.
5580 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
5582         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
5583         whether cpuid is available only if HAS_CPUID is 0.
5584         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
5585         (HAS_I586): Likewise.
5586         (HAS_I686): Likewise.
5588 2015-08-18  Zack Weinberg  <zackw@panix.com>
5590         * misc/Versions (libc): Add GLIBC_2.23.
5592 2015-08-18  Alan Modra  <amodra@gmail.com>
5594         [BZ #18421]
5595         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
5596         .Lp__global.
5597         (_start): Load %dp via .Lp__global.
5598         [!SHARED]: Use .section .rodata.
5600 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5602         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
5603         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
5605 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5607         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
5608         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
5610 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5612         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
5613         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
5615 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5617         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
5618         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
5620 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5622         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
5623         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
5625 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5627         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
5628         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
5630 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5632         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
5634 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5636         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
5637         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
5638         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5639         (__ASSUME_LWS_CAS): Delete.
5641 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5643         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
5644         * sysdeps/hppa/configure: Regenerated.
5645         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
5646         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
5647         * sysdeps/hppa/nptl/tls.h: Likewise.
5649 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
5651         [BZ #18823]
5652         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
5653         for scaling up small arguments.
5654         * math/s_csqrtf.c (__csqrtf): Likewise.
5655         * math/s_csqrtl.c (__csqrtl): Likewise.
5656         * math/auto-libm-test-in: Add more tests of csqrt.
5657         * math/auto-libm-test-out: Regenerated.
5659 2015-08-17  Andreas Schwab  <schwab@suse.de>
5661         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
5662         version set GLIBC_2.19.
5664 2015-08-16  Zack Weinberg  <zackw@panix.com>
5666         [BZ #18681]
5667         * misc/regexp.h: This interface is no longer supported.
5668         Remove all contents, leaving only an #error directive.
5669         * misc/regexp.c (loc1, loc2, locs, step, advance):
5670         Demote to compatibility symbols.
5672 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
5674         [BZ #18084]
5675         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
5676         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
5677         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5678         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
5679         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
5680         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
5681         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
5682         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
5683         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5685 2015-08-15  Zack Weinberg  <zackw@panix.com>
5687         [BZ #18795]
5688         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
5689         buffer length is known to be too large, not if it's known to be
5690         small enough.
5691         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
5692         overflow at runtime, involving a length parameter, twice: once
5693         with a compile-time constant length parameter, once without.
5695 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
5697         [BZ #18824]
5698         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
5699         scaling x * y up instead of down.
5700         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5701         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5702         * math/auto-libm-test-in: Add more tests of fma.
5703         * math/auto-libm-test-out: Regenerated.
5705 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5707         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5709 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5711         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
5712         unnecessary movq.
5713         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
5714         Likewise.
5716 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
5718         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5719         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
5720         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
5721         and tgamma.
5722         * math/auto-libm-test-out: Regenerated.
5723         * sysdeps/i386/fpu/libm-test-ulps: Update.
5724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5726         [BZ #16520]
5727         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
5728         (__tanh): Force underflow exception for arguments with small
5729         absolute value.
5730         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
5731         (__tanhf): Force underflow exception for arguments with small
5732         absolute value.
5733         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
5734         (__tanhl): Force underflow exception for arguments with small
5735         absolute value.
5736         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
5737         (__tanhl): Force underflow exception for arguments with small
5738         absolute value.
5739         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
5740         (__tanhl): Force underflow exception for arguments with small
5741         absolute value.
5742         * math/auto-libm-test-in: Add more tests of tanh.
5743         * math/auto-libm-test-out: Regenerated.
5744         * sysdeps/i386/fpu/libm-test-ulps: Update.
5746 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5748         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
5749         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
5751 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5753         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
5754         <cpuid.h>.
5756 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5758         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
5759         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
5761 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5763         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
5764         Remove $(objpfx)init-arch.o.
5765         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
5766         init-arch.
5767         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
5768         (INIT_ARCH_EXT): Defined as empty.
5769         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
5770         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
5771         __init_cpu_features call.  Replace HAS_XXX with
5772         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5773         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
5774         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
5775         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
5776         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
5777         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
5778         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
5779         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
5780         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
5781         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
5782         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
5783         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
5784         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
5785         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
5786         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
5787         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
5788         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
5789         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
5790         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
5791         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
5792         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
5793         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
5794         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
5795         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
5796         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
5797         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
5798         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
5799         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
5800         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
5801         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
5802         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
5803         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
5804         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
5805         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
5806         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
5807         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
5809 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5811         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
5812         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5813         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5814         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5815         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
5816         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
5817         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
5818         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
5819         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
5820         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
5821         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
5822         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
5823         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5824         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5825         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5826         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5827         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5828         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5829         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5830         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5831         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5832         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5833         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5834         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5835         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5836         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5837         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5838         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5839         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5840         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5841         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5842         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5843         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5844         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5845         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5846         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5847         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5848         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5849         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5850         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5851         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5852         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5853         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5855 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5857         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
5858         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5859         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5860         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5861         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5862         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
5863         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5864         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
5865         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5866         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5867         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5868         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
5869         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
5870         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
5871         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
5872         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
5873         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
5874         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
5875         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
5876         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
5877         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5878         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
5879         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
5880         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5881         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5882         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
5883         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
5884         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
5885         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5886         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5887         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5888         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5889         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5890         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5891         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5892         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5893         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5894         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5895         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5896         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5897         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5898         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5899         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5901 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5903         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
5904         (dl_platform_init): Call init_cpu_features.
5905         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
5906         * sysdeps/i386/i686/cacheinfo.c
5907         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
5908         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
5909         * sysdeps/i386/i686/multiarch/Versions: Removed.
5910         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
5911         Removed.
5912         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
5913         * sysdeps/unix/sysv/linux/x86/Makefile
5914         (libpthread-sysdep_routines): Remove init-arch.
5915         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
5916         <sysdeps/x86_64/dl-procinfo.c> instead of
5917         sysdeps/generic/dl-procinfo.c>.
5918         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
5919         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
5920         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
5921         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
5922         [$(subdir) == elf] (tests-static): Add
5923         tst-get-cpu-features-static.
5924         * sysdeps/x86/Versions: New file.
5925         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
5926         * sysdeps/x86/cpu-features.c: Likewise.
5927         * sysdeps/x86/cpu-features.h: Likewise.
5928         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
5929         * sysdeps/x86/libc-start.c: Likewise.
5930         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5931         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
5932         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
5933         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5934         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
5935         Assume USE_MULTIARCH is defined and don't check it.
5936         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
5937         (is_amd): Likewise.
5938         (max_cpuid): Likewise.
5939         (intel_check_word): Likewise.
5940         (__cache_sysconf): Don't call __init_cpu_features.
5941         (__x86_preferred_memory_instruction): Removed.
5942         (init_cacheinfo): Don't call __init_cpu_features. Replace
5943         __cpu_features with GLRO(dl_x86_cpu_features).
5944         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
5945         (dl_platform_init): Call init_cpu_features.
5946         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
5947         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
5948         * sysdeps/x86_64/multiarch/Versions: Removed.
5949         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
5950         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
5951         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
5952         Removed.
5953         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
5955 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5957         [BZ #18820]
5958         * libio/Makefile (test-fmemopen-mem): New test.
5959         * libio/test-fmemopen.c (do_bz18820): New test.
5960         * libio/fmemopen.c (__fmemopen): Fix memory leak.
5961         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
5963 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5965         [BZ #16734]
5966         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
5967         (FREE_BUF): Delete.
5968         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
5969         * libio/genops.c (_IO_setb): Use malloc and free directly.
5970         (_IO_default_doallocate, _IO_default_finish): Likewise.
5971         ( _IO_unbuffer_all): Likewise.
5972         ( libc_freeres_fn): Likewise.
5973         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5974         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5975         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
5976         (_IO_wdefault_doallocate): Likewise.
5978 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5980         [BZ #18086]
5981         * sysdeps/posix/nice.c (nice): Restore old errno.
5982         * posix/tst-nice.c (do_test): Add test for BZ #18086.
5984 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
5986         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
5988 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5990         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
5991         __bcopy and add a weak_alias to bcopy.
5992         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
5993         for static build.
5995         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
5996         cleanup macro usage.
5997         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
5998         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
5999         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6000         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
6001         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6002         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
6003         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
6004         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
6005         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6006         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
6007         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6008         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
6009         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6010         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
6011         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6012         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
6013         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
6014         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
6015         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
6017         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
6018         libc_hidden_def.
6019         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
6021         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
6022         (sysdep_routines): Add strstr-ppc64.
6023         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
6025 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
6027         [BZ #18778]
6028         * elf/Makefile (tests): Add Add tst-nodelete2.
6029         (modules-names): Add tst-nodelete2mod.
6030         (tst-nodelete2mod.so-no-z-defs): New.
6031         ($(objpfx)tst-nodelete2): Likewise.
6032         ($(objpfx)tst-nodelete2.out): Likewise.
6033         (LDFLAGS-tst-nodelete2): Likewise.
6034         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
6035         out of loop through all loaded libraries.
6036         * elf/tst-nodelete2.c: New file.
6037         * elf/tst-nodelete2mod.c: Likewise.
6038         * elf/tst-znodelete-zlib.cc: Delete.
6040 2015-08-11  Andreas Schwab  <schwab@suse.de>
6042         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
6043         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
6044         (__openat64_nocancel): Likewise.
6046 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
6048         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
6049         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
6050         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
6051         * math/auto-libm-test-out: Regenerated.
6052         * sysdeps/i386/fpu/libm-test-ulps: Update.
6053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6055 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6057         [BZ #18790]
6058         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
6059         threshold for returning +/- 1.
6060         * math/auto-libm-test-in: Add more tests of tanh.
6061         * math/auto-libm-test-out: Regenerated.
6062         * sysdeps/i386/fpu/libm-test-ulps: Update.
6064 2015-08-10  Andreas Schwab  <schwab@suse.de>
6066         [BZ #18781]
6067         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
6068         MORE_OFLAGS to oflag.
6069         * io/test-lfs.c (do_test): Test openat64.
6071 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6073         [BZ #18789]
6074         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
6075         smaller threshold for returning the argument.
6076         * math/auto-libm-test-in: Add more tests of sinh.
6077         * math/auto-libm-test-out: Regenerated.
6078         * sysdeps/i386/fpu/libm-test-ulps: Update.
6080 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6082         [BZ #18674]
6083         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
6084         break.
6086 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6088         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
6089         (generated): Don't add $(addprefix z.,$(tzfiles)).
6091 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6093         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
6094         * scripts/sysd-rules.awk: Likewise.
6096 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6098         * iconvdata/tst-tables.sh: Change echo -n to printf.
6099         * nss/db-Makefile: Likewise.
6100         * posix/tst-getconf.sh: Likewise.
6101         * stdio-common/tst-unbputc.sh: Likewise.
6103 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6105         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
6106         MADV_*_PAGES defines behind this feature check.
6108 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
6110         [BZ #18480]
6111         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
6112         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
6113         Define.
6114         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
6115         LOAD_REGS_5, LOAD_REGS_6): Update.
6116         (INTERNAL_SYSCALL): Update using new LOAD defines.
6117         (INTERNAL_SYSCALL_NCS): Likewise.
6118         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
6120 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6122         [BZ #16734]
6123         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
6125 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6127         [BZ #17905]
6128         * catgets/Makefile (tst-catgets-mem): New test.
6129         * catgets/catgets.c (catopen): Don't use unbounded alloca.
6130         * catgets/open_catalog.c (__open_catalog): Likewise.
6131         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
6133 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
6135         [BZ #18787]
6136         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
6137         clobber registers.
6138         (atomic_compare_and_exchange_val_acq): Use register asms to assign
6139         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
6140         Cast return to __typeof (oldval).
6142 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
6144         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
6145         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
6146         and delete sys/syscall.h include.
6148 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
6150         [BZ #16517]
6151         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
6152         (tan): Force underflow exception for arguments with small absolute
6153         value.
6154         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
6155         (__kernel_tanf): Force underflow exception for arguments with
6156         small absolute value.
6157         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
6158         (__kernel_tanl): Force underflow exception for arguments with
6159         small absolute value.
6160         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
6161         (__kernel_tanl): Force underflow exception for arguments with
6162         small absolute value.
6163         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
6164         (__kernel_tanl): Force underflow exception for arguments with
6165         small absolute value.
6166         * math/auto-libm-test-in: Add more tests of tan.
6167         * math/auto-libm-test-out: Regenerated.
6169 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6171         Fix sysdeps/i386/fpu/s_scalbn.S build
6173         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
6175 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
6177         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6179 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6181         Fix gcrt0.o compilation
6183         When static-start-installed-name is different from
6184         start-installed-name, we must not use the shared objects.
6186         * csu/Makefile
6187         (extra-objs): Add gmon-start.o when building shared library and
6188         $(static-start-installed-name) is different from
6189         $(start-installed-name).
6190         $(objpfx)g$(static-start-installed-name): When building shared
6191         library and $(static-start-installed-name) is different from
6192         $(static-start-installed-name), revert to non-shared rule,
6193         i.e. using $(objpfx)% and gmon-start.o.
6195 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
6197         [BZ #16519]
6198         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
6199         (__ieee754_sinh): Force underflow exception for arguments with
6200         small absolute value.
6201         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
6202         (__ieee754_sinhf): Force underflow exception for arguments with
6203         small absolute value.
6204         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
6205         (__ieee754_sinhl): Force underflow exception for arguments with
6206         small absolute value.
6207         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
6208         (__ieee754_sinhl): Force underflow exception for arguments with
6209         small absolute value.
6210         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
6211         (__ieee754_sinhl): Force underflow exception for arguments with
6212         small absolute value.
6213         * math/auto-libm-test-in: Add more tests of sinh.
6214         * math/auto-libm-test-out: Regenerated.
6215         * sysdeps/i386/fpu/libm-test-ulps: Update.
6217 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6219         * libio/oldfileops.c: Include unistd.h.
6221 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
6223         * stdlib/isomac.c: Include ctype.h.
6225 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
6227         * dirent/tst-seekdir.c (main): Converted to ...
6228         (do_test): ... this.
6229         (TEST_FUNCTION): New macro.
6230         Include test-skeleton.c.
6231         * elf/tst-dlmodcount.c (main): Converted to ...
6232         (do_test): ... this.
6233         (TEST_FUNCTION): New macro.
6234         Include test-skeleton.c.
6235         * elf/tst-order-main.c (main): Converted to ...
6236         (do_test): ... this.
6237         (TEST_FUNCTION): New macro.
6238         Include test-skeleton.c.
6239         * elf/tst-pie2.c (main): Converted to ...
6240         (do_test): ... this.
6241         (TEST_FUNCTION): New macro.
6242         Include test-skeleton.c.
6243         * inet/tst-ether_aton.c (main): Converted to ...
6244         (do_test): ... this.
6245         (TEST_FUNCTION): New macro.
6246         Include test-skeleton.c.
6247         * misc/tst-mntent.c (main): Converted to ...
6248         (do_test): ... this.
6249         (TEST_FUNCTION): New macro.
6250         Include test-skeleton.c.
6251         * misc/tst-tsearch.c (main): Converted to ...
6252         (do_test): ... this.
6253         (TEST_FUNCTION): New macro.
6254         Include test-skeleton.c.
6255         * posix/tst-regexloc.c (main): Converted to ...
6256         (do_test): ... this.
6257         (TEST_FUNCTION): New macro.
6258         Include test-skeleton.c.
6259         * resolv/tst-aton.c (main): Converted to ...
6260         (do_test): ... this.
6261         (TEST_FUNCTION): New macro.
6262         Include test-skeleton.c.
6263         * stdio-common/test-fwrite.c (main): Converted to ...
6264         (do_test): ... this.
6265         (TEST_FUNCTION): New macro.
6266         Include test-skeleton.c.
6267         * stdio-common/tst-ferror.c (main): Converted to ...
6268         (do_test): ... this.
6269         (TEST_FUNCTION): New macro.
6270         Include test-skeleton.c.
6271         * stdio-common/tst-printf.c (main): Converted to ...
6272         (do_test): ... this.
6273         (TEST_FUNCTION): New macro.
6274         Include test-skeleton.c.
6275         * stdio-common/tst-printfsz.c (main): Converted to ...
6276         (do_test): ... this.
6277         (TEST_FUNCTION): New macro.
6278         Include test-skeleton.c.
6279         * stdlib/tst-strtod.c (main): Converted to ...
6280         (do_test): ... this.
6281         (TEST_FUNCTION): New macro.
6282         Include test-skeleton.c.
6283         * string/tst-strlen.c (main): Converted to ...
6284         (do_test): ... this.
6285         (TEST_FUNCTION): New macro.
6286         Include test-skeleton.c.
6287         * string/tst-svc.c (main): Converted to ...
6288         (do_test): ... this.
6289         (TEST_FUNCTION): New macro.
6290         Include test-skeleton.c.
6291         * time/tst-strptime.c (main): Converted to ...
6292         (do_test): ... this.
6293         (TEST_FUNCTION): New macro.
6294         Include test-skeleton.c.
6295         * timezone/tst-timezone.c (main): Converted to ...
6296         (do_test): ... this.
6297         (TEST_FUNCTION): New macro.
6298         Include test-skeleton.c.
6300 2015-08-05  Zack Weinberg  <zackw@panix.com>
6302         * misc/regexp.h: Update comments.
6304 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
6306         [BZ #18635]
6307         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
6308         before return label.
6310 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6312         [BZ #18661]
6313         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
6314         when calling __errno_location.
6315         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
6316         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
6318 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6320         [BZ #18661]
6321         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
6322         (__lll_timedwait_tid): Align stack to 16 bytes when calling
6323         __gettimeofday.
6325 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6327         [BZ #18661]
6328         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6329         (__start_context): Don't use pop to restore %rdi so that stack
6330         is aligned to 16 bytes when calling __setcontext.
6332 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6334         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
6335         only for libc.
6336         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6338 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6340         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
6341         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
6342         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
6344 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6346         * string/memccpy.c (memccpy):
6347         Improve performance by using memchr/memcpy/__mempcpy.
6349 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6351         * string/strncpy.c (strncpy):
6352         Improve performance by using __strnlen/memcpy.
6354 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6356         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6357         Optimize to avoid an unnecessary FPCR read.
6359 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6361         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6362         Optimize to reduce FPCR/FPSR accesses.
6364 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6366         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
6367         dead->data[category] != NULL.
6369 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
6371         [BZ #18647]
6372         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
6373         and |x| close to 1, use absolute value of x when computing log.
6374         * math/auto-libm-test-in: Add more tests of pow.
6375         * math/auto-libm-test-out: Regenerated.
6377 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6379         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
6380         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
6381         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
6383 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
6385         [BZ #18525]
6386         * locales/km_KH: Remove timezone definition.
6387         * locales/lo_LA: Likewise.
6388         * locales/my_MM: Likewise.
6389         * locales/nan_TW@latin: Likewise.
6390         * locales/th_TH: Likewise.
6391         * locales/uk_UA: Likewise.
6393 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
6395         [BZ #18265]
6396         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
6397         (wcsncat): Likewise.
6398         (wcscmp): Likewise.
6399         (wcsncmp): Likewise.
6401 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6403         * test-skeleton.c (usage): New function.
6404         (main): Call usage when opt is '?'.
6406 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6408         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
6409         before first use.
6411 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6413         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
6414         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
6415         in there too.
6417 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
6419         * version.h (RELEASE): Set to "development".
6420         (VERSION): Set to "2.22.90"
6422         * version.h (RELEASE): Set to "stable".
6423         (VERSION): Set to "2.22"
6424         * include/features.h (__GLIBC_MINOR__): Set to 22.
6426 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
6428         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
6429         Restructure macro to avoid "value computed is not used" warning.
6430         (atomic_compare_and_exchange_val_acq): Likewise.
6432 2015-08-04  Andreas Schwab  <schwab@suse.de>
6434         [BZ #18635]
6435         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
6436         ret.
6437         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
6439 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
6441         * po/pl.po: Updated translation.
6442         * po/uk.po: Likewise.
6443         * po/fi.po: Likewise.
6444         * po/ko.po: Likewise.
6445         * po/ru.po: Likewise.
6446         * po/vi.po: Likewise.
6448 2015-07-31  Zack Weinberg  <zackw@panix.com>
6450         [BZ #18681]
6451         * regexp.h: Add unconditional #warning stating that this header
6452         will be removed soon.  Revise banner comment to match.
6453         (compile): Consistently use ERROR instead of RETURN to report
6454         errors (partial fix for bz#18681).
6455         * regexp.c: Don't include regexp.h. Remove some unnecessary
6456         declarations.
6458 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
6460         * po/libc.pot: Regenerated.
6462 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6464         [BZ #18740]
6465         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
6466         float-vlen4-arch-ext-cflags): Removed.
6467         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
6468         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
6470 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6472         [BZ #14113]
6473         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
6474         aligned to __aligned__.
6475         (pthread_cond_t, pthread_rwlock_t): Likewise.
6477 2015-07-30  Torvald Riegel  <triegel@redhat.com>
6479         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
6481 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6483         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
6484         (struct sigaction): Change sa_flags from a long to an int, and add
6485         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
6487 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6489         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
6490         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
6491         sysdeps/generic/sysdep.h include.
6492         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
6493         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
6494         sysdeps/hppa/sysdep.h.
6495         (ENTRY, PSEUDO): Undefine before defining.
6497 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6499         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
6500         from scratch to use INTERNAL_SYSCALL.
6502 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
6504         [BZ #18078]
6505         * scripts/check-localplt.awk: Support alternate relocations.
6506         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
6507         sections.
6508         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
6509         malloc entries with + REL R_386_GLOB_DAT.
6510         * sysdeps/x86_64/localplt.data: New file.
6512 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
6514         [BZ #18731]
6515         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
6516         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6517         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6519 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6521         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
6523 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6525         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
6526         directly in terms of __sync_fetch_and_add and delete (int) cast.
6528 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6530         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
6531         the -D_ASM_IA64_CURRENT_H flag.
6533 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6535         [BZ #18641]
6536         * pwd/pwd.h (putpwent): Delete __nonnull markings.
6538 2015-07-27  Andreas Schwab  <schwab@suse.de>
6540         * conform/conformtest.pl (checknamespace): Filter out string
6541         literals while tokenizing.
6543 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6545         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6546         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
6547         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6549 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6551         * nptl/tst-join7mod.c: Add #include <string.h>.
6553 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6555         * sysdeps/nios2/libm-test-ulps: Update.
6557 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6559         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
6560         Fix order of arguments to the rt_sigprocmask syscall.
6561         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
6562         Likewise.
6564 2015-07-24  Roland McGrath  <roland@hack.frob.com>
6566         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
6568 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6570         [BZ #18457]
6571         * nptl/Makefile (tests): New test case tst-join7.
6572         (modules-names): New test case module tst-join7mod.
6573         * nptl/tst-join7.c: New file.
6574         * nptl/tst-join7mod.c: New file.
6575         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
6576         all translation units in libc.so, libpthread.so and rtld.
6578 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6582 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
6584         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
6585         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6586         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6587         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6588         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6589         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6590         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6591         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6592         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6593         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6594         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6595         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6596         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
6597         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6598         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
6599         implementation.
6601 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6603         [BZ #17711]
6604         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6605         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
6606         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6607         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6608         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
6609         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6611 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6613         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
6614         instead of just saying load lock in the comments.
6616 2015-07-23  Roland McGrath  <roland@hack.frob.com>
6618         * sysdeps/unix/Subdirs: Moved ...
6619         * sysdeps/posix/Subdirs: ... here.
6620         * login/pty.h (struct termios, struct winsize): Add forward decls.
6621         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
6622         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
6623         * sysdeps/arm/nacl/libc.abilist: Updated.
6624         * sysdeps/nacl/libutil.abilist: New file.
6626         * bits/signum.h: Update comments to mention 1003.1-2013 too.
6627         (SIGWINCH): New macro.
6629         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
6630         * sysdeps/arm/nacl/libc.abilist: Add it.
6632 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6634         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
6636 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6638         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6639         Swap __glibc_reserved0 and sa_flags order.
6641 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6643         [BZ #18657]
6644         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
6645         are pending TLS destructor calls.
6646         * include/link.h (struct link_map): Add concurrency note for
6647         L_TLS_DTOR_COUNT.
6648         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6649         Don't touch the link map flag.  Atomically increment
6650         l_tls_dtor_count.
6651         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
6652         Avoid taking the load lock and don't touch the link map flag.
6653         * stdlib/tst-tls-atexit-nodelete.c: New test case.
6654         * stdlib/Makefile (tests): Use it.
6655         * stdlib/tst-tls-atexit.c (do_test): dlopen
6656         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
6657         to allow tst-tls-atexit-nodelete test case to use it.
6659 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6661         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
6662         to bits/types.h.
6663         (msgqnum_t): New typedef.
6664         (msglen_t): Likewise.
6665         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
6666         and msg_qbytes type to msglen_t.
6668 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6670         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
6671         pad0 to __glibc_reserved0.
6672         (struct stat64): Likewise.
6674 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6676         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6677         Change sa_flags from a long to an int and add __glibc_reserved0 before
6678         it for padding.
6680 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6682         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
6683         anonymous by deleting "siginfo" name.
6685 2015-07-21  Roland McGrath  <roland@hack.frob.com>
6687         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
6688         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
6689         rather than __nacl_irt_filename.
6690         * sysdeps/nacl/xstat.c (__xstat): Likewise.
6692         * NEWS: New item for arm-nacl port.
6693         * sysdeps/arm/nacl/libc.abilist: New file.
6694         * sysdeps/nacl/ld.abilist: New file.
6695         * sysdeps/nacl/libBrokenLocale.abilist: New file.
6696         * sysdeps/nacl/libanl.abilist: New file.
6697         * sysdeps/nacl/libcrypt.abilist: New file.
6698         * sysdeps/nacl/libdl.abilist: New file.
6699         * sysdeps/nacl/libm.abilist: New file.
6700         * sysdeps/nacl/libpthread.abilist: New file.
6701         * sysdeps/nacl/libresolv.abilist: New file.
6702         * sysdeps/nacl/librt.abilist: New file.
6704 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
6706         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
6707         __startcontext to initialize the new context.
6708         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
6709         up CFI directive to forbid further backtracing.
6711 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
6713         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
6714         reference.
6715         * charmaps/ANSI_X3.4-1968: Likewise.
6716         * charmaps/BS_4730: Likewise.
6717         * charmaps/BS_VIEWDATA: Likewise.
6718         * charmaps/CP1250: Likewise.
6719         * charmaps/CP1251: Likewise.
6720         * charmaps/CP1252: Likewise.
6721         * charmaps/CP1253: Likewise.
6722         * charmaps/CP1254: Likewise.
6723         * charmaps/CP1255: Likewise.
6724         * charmaps/CP1256: Likewise.
6725         * charmaps/CSN_369103: Likewise.
6726         * charmaps/EBCDIC-DK-NO: Likewise.
6727         * charmaps/GB_1988-80: Likewise.
6728         * charmaps/GREEK-CCITT: Likewise.
6729         * charmaps/GREEK7: Likewise.
6730         * charmaps/INIS-8: Likewise.
6731         * charmaps/ISIRI-3342: Likewise.
6732         * charmaps/ISO_2033-1983: Likewise.
6733         * charmaps/ISO_5427-EXT: Likewise.
6734         * locales/POSIX: Likewise.
6735         * locales/ar_SA: Likewise.
6736         * locales/be_BY: Likewise.
6737         * locales/be_BY@latin: Likewise.
6738         * locales/ca_ES: Likewise.
6739         * locales/cs_CZ: Likewise.
6740         * locales/da_DK: Likewise.
6741         * locales/de_BE: Likewise.
6742         * locales/de_CH: Likewise.
6743         * locales/de_LU: Likewise.
6744         * locales/en_AU: Likewise.
6745         * locales/en_BW: Likewise.
6746         * locales/en_CA: Likewise.
6747         * locales/en_DK: Likewise.
6748         * locales/en_GB: Likewise.
6749         * locales/en_IE: Likewise.
6750         * locales/en_NZ: Likewise.
6751         * locales/en_ZA: Likewise.
6752         * locales/en_ZW: Likewise.
6753         * locales/es_AR: Likewise.
6754         * locales/es_BO: Likewise.
6755         * locales/es_CL: Likewise.
6756         * locales/es_CO: Likewise.
6757         * locales/es_DO: Likewise.
6758         * locales/es_EC: Likewise.
6759         * locales/es_ES: Likewise.
6760         * locales/es_HN: Likewise.
6761         * locales/es_MX: Likewise.
6762         * locales/es_PA: Likewise.
6763         * locales/es_PE: Likewise.
6764         * locales/es_PY: Likewise.
6765         * locales/es_SV: Likewise.
6766         * locales/es_US: Likewise.
6767         * locales/es_UY: Likewise.
6768         * locales/es_VE: Likewise.
6769         * locales/et_EE: Likewise.
6770         * locales/fa_IR: Likewise.
6771         * locales/fo_FO: Likewise.
6772         * locales/fr_CA: Likewise.
6773         * locales/fr_CH: Likewise.
6774         * locales/gv_GB: Likewise.
6775         * locales/he_IL: Likewise.
6776         * locales/hr_HR: Likewise.
6777         * locales/id_ID: Likewise.
6778         * locales/is_IS: Likewise.
6779         * locales/it_CH: Likewise.
6780         * locales/iw_IL: Likewise.
6781         * locales/kl_GL: Likewise.
6782         * locales/ko_KR: Likewise.
6783         * locales/kw_GB: Likewise.
6784         * locales/lg_UG: Likewise.
6785         * locales/lt_LT: Likewise.
6786         * locales/lv_LV: Likewise.
6787         * locales/mi_NZ: Likewise.
6788         * locales/nhn_MX: Likewise.
6789         * locales/nl_BE: Likewise.
6790         * locales/pl_PL: Likewise.
6791         * locales/sk_SK: Likewise.
6792         * locales/sl_SI: Likewise.
6793         * locales/sv_FI: Likewise.
6794         * locales/tl_PH: Likewise.
6795         * locales/tr_TR: Likewise.
6796         * locales/vi_VN: Likewise.
6798 2015-07-21  Khem Raj  <raj.khem@gmail.com>
6800         [BZ #17475]
6801         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
6802         of tu_IN and bh_IN.
6804 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
6806         [BZ #18694]
6807         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
6808         bits/wordsize.h.
6809         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
6811 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6813         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
6814         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
6815         (spawn_thread): New function.
6816         (load): Rename to reg_dtor_and_close.  Move dlopen to...
6817         (do_test): ... here.  Use IS_LOADED to test for its
6818         availability.
6820 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
6822         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6824 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
6826         [BZ #18696]
6827         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
6828         si_addr_bnd.
6829         (si_lower): New.
6830         (si_upper): Likewise.
6832 2015-07-16  David S. Miller  <davem@davemloft.net>
6834         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6836 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6838         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
6839         buffer.
6840         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
6841         fail output information.
6843 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
6846         and strstr-ppc64..
6847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6848         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
6849         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
6850         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
6851         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
6853 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6855         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6856         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6857         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6858         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6860 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6862         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6863         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
6864         rtld_hidden_proto.
6865         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
6867 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6869         * tst-nodelete-opened.c (do_test): Add comment to clarify how
6870         the test can fail.
6872         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
6874         [BZ #18676]
6875         * elf/tst-nodelete-opened.c: New test case.
6876         * elf/tst-nodelete-opened-lib.c: New test case module.
6877         * elf/Makefile (tests, modules-names): Use them.
6878         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
6879         early.
6881 2015-07-15  David S. Miller  <davem@davemloft.net>
6883         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
6884         futex-intenal.h
6885         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
6886         * sysdeps/sparc/sparc64/Makefile: Likewise.
6887         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6888         Remove space from macro define.
6889         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
6891 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
6893         [BZ #17475]
6894         * locale/iso-639.def: Update Bhili and Tulu language codes as
6895         per iso639-3.
6897 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
6899         * elf/tst-leaks1.c (main): Converted to ...
6900         (do_test): ... this.
6901         (TEST_FUNCTION): New macro.
6902         Include test-skeleton.c.
6903         * localedata/tst-langinfo.c (main): Converted to ...
6904         (do_test): ... this.
6905         (TEST_FUNCTION): New macro.
6906         Include test-skeleton.c.
6907         * math/test-fpucw.c (main): Converted to ...
6908         (do_test): ... this.
6909         (TEST_FUNCTION): New macro.
6910         Include test-skeleton.c.
6911         * math/test-tgmath.c (main): Converted to ...
6912         (do_test): ... this.
6913         (TEST_FUNCTION): New macro.
6914         Include test-skeleton.c.
6915         * math/test-tgmath2.c (main): Converted to ...
6916         (do_test): ... this.
6917         (TEST_FUNCTION): New macro.
6918         Include test-skeleton.c.
6919         * setjmp/tst-setjmp.c (main): Converted to ...
6920         (do_test): ... this.
6921         (TEST_FUNCTION): New macro.
6922         Include test-skeleton.c.
6923         * stdio-common/tst-sscanf.c (main): Converted to ...
6924         (do_test): ... this.
6925         (TEST_FUNCTION): New macro.
6926         Include test-skeleton.c.
6927         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
6928         (do_test): ... this.
6929         (TEST_FUNCTION): New macro.
6930         Include test-skeleton.c.
6932         * elf/tst-audit9.c (main): Converted to ...
6933         (do_test): ... this.
6934         (TEST_FUNCTION): New macro.
6935         Include test-skeleton.c.
6937 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
6939         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
6941 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6943         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
6944         New variable.
6946 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6948         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6950 2015-07-14  Roland McGrath  <roland@hack.frob.com>
6952         * sysdeps/generic/dl-fileid.h: New file.
6953         * sysdeps/posix/dl-fileid.h: New file.
6954         * sysdeps/nacl/dl-fileid.h: New file.
6955         * include/link.h: Include <dl-fileid.h>.
6956         (struct link_map): Replace l_dev and l_ino with l_file_id.
6957         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
6958         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
6959         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
6961 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6963         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
6965 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6967         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
6968         Add iff $CXX is set.
6969         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
6970         Likewise.
6971         (tst-nodelete-zmodiff): Likewise.
6972         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
6974 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6976         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
6978 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6980         * sysdeps/aarch64/fpu/math_private.h
6981         (define math_opt_barrier): Add AArch64 version.
6982         (math_force_eval): Likewise.
6984 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6986         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
6988 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6990         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
6991         %ld with %jd and cast to intmax_t.
6992         (do_test_length_zero): Likewise.
6994 2015-07-10  Roland McGrath  <roland@hack.frob.com>
6996         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
6998 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
7000         * sysdeps/tile/libm-test-ulps: Regenerated.
7002         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
7003         Comment out the whole function, not just its body.
7005 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7007         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
7008         locks.
7010         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
7012 2015-07-10  Torvald Riegel  <triegel@redhat.com>
7014         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
7015         (sem_assume_only_signals_cause_futex_EINTR): Remove.
7017 2015-07-10  Torvald Riegel  <triegel@redhat.com>
7019         * sysdeps/nptl/futex-internal.h: New file.
7020         * sysdeps/nacl/futex-internal.h: New file.
7021         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
7022         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
7023         error checking.
7024         (setxid_unmark_thread): Likewise.
7025         (__nptl_setxid): Likewise.
7026         (__wait_lookup_done): Likewise.
7027         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
7028         * nptl/nptl-init.c (sighandler_setxid): Likewise.
7029         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
7030         * nptl/pthread_once.c (clear_once_control): Likewise.
7031         (__pthread_once_slow): Likewise.
7032         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7033         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
7034         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
7035         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7036         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
7037         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
7038         Likewise.
7039         (__pthread_rwlock_rdlock): Likewise.
7040         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7041         Likewise.
7042         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7043         Likewise.
7044         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7045         Likewise.
7046         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
7047         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
7048         Likewise.
7049         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
7050         __ASSUME_PRIVATE_FUTEX check.
7051         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
7052         Check that shared futexes are supported.
7053         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
7054         wrappers with error checking.
7055         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
7056         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
7057         * nptl/pthread_barrierattr_setpshared.c
7058         (pthread_barrierattr_setpshared): Check that shared futexes are
7059         supported.
7060         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
7061         Likewise.
7062         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
7063         Likewise.
7064         * nptl/sem_init.c (futex_private_if_supported): Remove.
7065         (__new_sem_init): Adapt and check that shared futexes are supported.
7066         * nptl/sem_open.c (sem_open): Likewise.
7067         * nptl/sem_post.c (futex_wake): Remove.
7068         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
7069         (do_futex_wait): Use futex wrappers with error checking.
7070         * nptl/sem_wait.c: Include lowlevellock.h.
7071         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
7072         Use futex_supports_pshared.
7073         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
7074         Use futex wrappers with error checking.
7075         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
7076         Likewise.
7077         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
7078         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
7079         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
7080         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
7081         (futex_wake): Likewise.
7082         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
7083         (do_futex_wait): Use futex wrappers with error checking.
7084         (__new_sem_wait_slow): Update EINTR handling.
7085         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
7087 2015-07-09  Martin Sebor  <msebor@redhat.com>
7089         [BZ #18435]
7090         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7091         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
7092         * nptl/Makefile (test-xfail-tst-once5): Define.
7094 2015-07-09  Roland McGrath  <roland@hack.frob.com>
7096         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
7097         * elf/dl-minimal.c: For readability, reorder some definitions and
7098         introduce more page breaks.  Include <stdio.h>.
7099         (__libc_fatal): New function.
7101         * include/unistd.h: Add rtld_hidden_proto for _exit.
7102         * posix/_exit.c: Add rtld_hidden_def.
7103         * sysdeps/mach/hurd/_exit.c: Likewise.
7104         * sysdeps/nacl/_exit.c: Likewise.
7105         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
7106         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
7108 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
7110         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
7111         bndmov encoding with zero displacement.
7113 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7114             H.J. Lu  <hongjiu.lu@intel.com>
7116         [BZ #18134]
7117         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
7118         * sysdeps/i386/configure: Regenerated.
7119         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7120         (_dl_runtime_profile): Save and restore Intel MPX return bound
7121         registers when calling _dl_call_pltexit.  Add
7122         PRESERVE_BND_REGS_PREFIX before return.
7123         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
7124         (LRV_BND1_OFFSET): Likewise.
7125         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
7126         lrv_bnd1.
7127         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
7128         typo in bndmov encoding.
7129         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
7130         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
7131         branch instructions to preserve bounds.
7133 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7136         [GLIBC_2.22]: Add fmemopen.
7138 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7140         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
7141         returns an error, also try to use host port from __mach_host_self for
7142         the __vm_wire call.
7143         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
7145 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7147         [BZ #18400]
7148         [BZ #18648]
7149         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
7150         Fix pr_uid and pr_gid members.
7151         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
7152         definition to elf_greg_t.
7154 2015-07-08  Roland McGrath  <roland@hack.frob.com>
7156         [BZ #18383]
7157         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
7158         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
7159         * sysdeps/arm/configure: Regenerated.
7160         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
7161         (test-xfail-tst-tlsalign-static): Variable removed.
7163         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
7164         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
7165         rather than explicit 'ln -s'.
7167         * resolv/rpc/netdb.h: New file.
7168         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
7170 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7172         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
7173         length buffers.
7174         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7175         test-skeleton.c.
7177         [BZ #6544]
7178         [BZ #11216]
7179         [BZ #12836]
7180         [BZ #13151]
7181         [BZ #13152]
7182         [BZ #14292]
7183         * include/stdio.h (fmemopen): Remove hidden prototype.
7184         (__fmemopen): Add new hidden prototype.
7185         * libio/Makefile: Add oldfmemopen object.
7186         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
7187         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
7188         compliance.
7189         * libio/oldfmemopen.c: New file: old fmemopen implementation for
7190         symbol compatibility.
7191         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
7192         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
7193         fmemopen.
7194         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
7195         on append and read mode.
7196         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
7197         fmemopen.
7198         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
7199         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
7200         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
7201         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
7202         Likewise.
7203         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7204         [GLIBC_2.22]: Likewise.
7205         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
7206         Likewise.
7207         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
7208         Likewise.
7209         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7210         [GLIBC_2.22]: Likewise.
7211         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7212         [GLIBC_2.22]: Likewise.
7213         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7214         [GLIBC_2.22]: Likewise.
7215         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7216         [GLIBC_2.22]: Likewise.
7217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7218         [GLIBC_2.22]: Likewise.
7219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7220         [GLIBC_2.22]: Likewise.
7221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7222         [GLIBC_2.22]: Likewise.
7223         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
7224         Likewise.
7225         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
7226         Likewise.
7227         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
7228         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7229         [GLIBC_2.22]: Likewise.
7230         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7231         [GLIBC_2.22]: Likewise.
7232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7233         [GLIBC_2.22]: Likewise.
7234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7235         [GLIBC_2.22]: Likewise.
7236         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
7237         Likewise.
7238         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
7239         Likewise.
7240         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
7241         Likewise.
7242         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
7243         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
7245 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7247         [BZ #18643]
7248         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
7249         IPV6_PATHMTU, and IPV6_DONTFRAG.
7251 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
7253         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
7254         and _IO_UNBUFFERED.
7255         * libio/oldfileops.c: Likewise.
7256         * libio/wfileops.c: Likewise.
7258 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7260         * nscd/selinux.c: Delete selinux/flask.h include.
7262 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7264         [BZ #18641]
7265         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
7266         (putpwent): Likewise.
7267         (getpwnam): Likewise.
7268         (getpwent_r): Likewise.
7269         (getpwuid_r): Likewise.
7270         (getpwnam_r): Likewise.
7271         (fgetpwent_r): Likewise.
7273 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7275         [BZ #18557]
7276         * inet/rcmd.c (__validuser2_sa): Check user first to
7277         short-circuit host check.
7279 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
7280             Mikhail Ilin  <m.ilin@samsung.com>
7282         [BZ #17833]
7283         * elf/Makefile (tests): Add tst-nodelete.
7284         (modules-names): Add tst-nodelete-uniquemod.
7285         (tst-nodelete-uniquemod.so-no-z-defs): New.
7286         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
7287         (tst-nodelete-zmod.so-no-z-defs): Likewise.
7288         ($(objpfx)tst-nodelete): Likewise.
7289         ($(objpfx)tst-nodelete.out): Likewise.
7290         (LDFLAGS-tst-nodelete): Likewise.
7291         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
7292         * elf/dl-close.c (_dl_close_worker): Add a parameter to
7293         implement forced object deletion.
7294         (_dl_close): Pass false to _dl_close_worker.
7295         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
7296         * elf/tst-nodelete.cc: New file.
7297         * elf/tst-nodeletelib.cc: Likewise.
7298         * elf/tst-znodeletelib.cc: Likewise.
7299         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
7301 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7303         [BZ #18508]
7304         * stdlib/Makefile ($(objpfx)tst-makecontext3):
7305         Depend on $(libdl).
7306         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
7307         is not called infinitely times.
7308         (backtrace_helper): New function.
7309         (trace_arg): New struct.
7310         (st1): Enlarge stack size.
7311         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7312         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
7313         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7314         Likewise.
7316 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7318         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7320 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7322         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
7323         Include sys/types.h instead of bits/types.h.
7324         Remove inclusion of bits/wordsize.h.
7326 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7328         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
7329         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
7330         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
7331         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
7332         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
7333         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
7335 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7337         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
7338         link-defines.sym.
7339         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
7340         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
7341         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
7342         and LR_SIZE.
7343         * sysdeps/i386/link-defines.sym: New file.
7345 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7347         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
7348         (modules-names): Add tst-auditmod3a tst-auditmod3b.
7349         ($(objpfx)tst-audit3): New rule.
7350         ($(objpfx)tst-audit3.out): Likewise.
7351         * sysdeps/i386/tst-audit3.c: New file.
7352         * sysdeps/i386/tst-audit3.h: Likewise.
7353         * sysdeps/i386/tst-auditmod3a.c: Likewise.
7354         * sysdeps/i386/tst-auditmod3b.c: Likewise.
7356 2015-07-07  Torvald Riegel  <triegel@redhat.com>
7358         [BZ #18633]
7359         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
7360         pointer in C code.
7361         (__strcat_c): Likewise.
7362         (__strcat_g): Likewise.
7364 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
7366         [BZ #18592]
7367         * misc/sbrk.c: Set errno to ENOMEM on overflow.
7369 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7371         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
7372         New function.  (__ieee754_sqrtf): New function.
7373         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
7374         New function.
7375         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
7376         New function.
7378 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7380         * sysdeps/ieee754/support.c: Remove unused file.
7382 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7384         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
7385         registers instead of d ones so the layout is kernel abi compatible.
7386         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
7387         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
7388         Likewise.
7390 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7392         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7394 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7396         [BZ #18619]
7397         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
7398         and return argument in case of subnormal argument.
7400 2015-07-01  Martin Sebor  <msebor@redhat.com>
7402         [BZ #18435]
7403         * nptl/Makefile: Add tst-once5.cc.
7404         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7405         Remove macro redefinitions.
7406         * nptl/tst-once5.cc: New test.
7408 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7410         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7412         * sysdeps/arm/libm-test-ulps: Regenerated.
7414         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7415         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7417 2015-06-30  Torvald Riegel  <triegel@redhat.com>
7419         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
7420         lll_lock_wait_private and lll_futex_wake probes.
7422         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7423         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
7424         Likewise.
7425         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
7426         atomic_spin_nop.
7427         * sysdeps/x86_64/bits/atomic.h: Likewise.
7428         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
7429         to atomic_spin_nop and move ...
7430         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
7431         ... here and ...
7432         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
7433         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7434         atomic_spin_nop instead of BUSY_WAIT_NOP.
7435         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
7436         Likewise.
7437         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
7438         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7439         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
7440         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
7441         instead of atomic_delay.
7443 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
7445         [BZ #18613]
7446         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
7447         X_ADJ not X when adjusting exponent.
7448         (__ieee754_gamma_r): Do intermediate computations in
7449         round-to-nearest then adjust overflowing and underflowing results
7450         as needed.
7451         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
7452         of X_ADJ not X when adjusting exponent.
7453         (__ieee754_gammaf_r): Do intermediate computations in
7454         round-to-nearest then adjust overflowing and underflowing results
7455         as needed.
7456         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
7457         log of X_ADJ not X when adjusting exponent.
7458         (__ieee754_gammal_r): Do intermediate computations in
7459         round-to-nearest then adjust overflowing and underflowing results
7460         as needed.  Use 1.0L not 1.0f as numerator of division.
7461         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
7462         log of X_ADJ not X when adjusting exponent.
7463         (__ieee754_gammal_r): Do intermediate computations in
7464         round-to-nearest then adjust overflowing and underflowing results
7465         as needed.  Use 1.0L not 1.0f as numerator of division.
7466         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
7467         of X_ADJ not X when adjusting exponent.
7468         (__ieee754_gammal_r): Do intermediate computations in
7469         round-to-nearest then adjust overflowing and underflowing results
7470         as needed.  Use 1.0L not 1.0f as numerator of division.
7471         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
7472         to auto-libm-test-in.
7473         (tgamma_test): Use ALL_RM_TEST.
7474         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
7475         tests of tgamma with spurious-overflow.
7476         * math/auto-libm-test-out: Regenerated.
7477         * math/gen-libm-have-vector-test.sh: Do not check for START.
7478         * sysdeps/i386/fpu/libm-test-ulps: Update.
7479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7481         [BZ #18612]
7482         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
7483         arguments, just return 0.5 times the argument, with underflow
7484         forced as needed.
7485         * math/auto-libm-test-in: Add more tests of j1.
7486         * math/auto-libm-test-out: Regenerated.
7488         [BZ #16559]
7489         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
7490         (__ieee754_j1): Force underflow exception for small results.
7491         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7492         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
7493         (__ieee754_j1f): Force underflow exception for small results.
7494         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7495         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7496         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7497         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
7498         (__ieee754_j1l): Force underflow exception for small results.
7499         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7500         * math/auto-libm-test-in: Add more tests of j1 and jn.
7501         * math/auto-libm-test-out: Regenerated.
7503         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
7504         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
7505         (PF_MPLS): Likewise.
7506         (AF_IB): Likewise.
7507         (AF_MPLS): Likewise.
7508         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
7509         value and macro.
7510         (MS_RMT_MASK): Include MS_LAZYTIME.
7512 2015-06-26  Mel Gorman  <mgorman@suse.de>
7514         [BZ #18502]
7515         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
7516         already minimal.
7518 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
7520         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
7521         (DT_MIPS_NUM): Update.
7522         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
7523         DT_MIPS_RLD_MAP_REL.
7525 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
7527         [BZ #16559]
7528         [BZ #18602]
7529         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
7530         round-to-nearest internally then recompute results that
7531         underflowed to zero in the original rounding mode.
7532         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7533         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7534         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7535         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
7536         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
7537         * sysdeps/i386/fpu/libm-test-ulps: Update.
7538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7540 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7542         * NEWS: Fixed description of link with vector math library.
7544 2015-06-25  Andreas Schwab  <schwab@suse.de>
7546         [BZ #18549]
7547         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
7548         * libio/test-fmemopen.c (do_test): Add test for it.
7550 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
7552         [BZ #17841]
7553         * Makeconfig (no-pie-ldflag): New.
7554         (+link): Set to $(+link-pie) if default to PIE.
7555         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
7556         * config.make.in (build-pie-default): New.
7557         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
7558         is default.  AC_SUBST.
7559         * configure: Regenerated.
7560         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
7562 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7564         * nptl/descr.h (struct pthread): Change type of field setxid_futex
7565         to 'unsigned int'.
7567         * resolv/gai_misc.h (struct waitlist): Change type of field
7568         counterp to 'volatile unsigned int *'.
7569         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
7570         FUTEXADDR and OLDVAL.
7571         * resolv/getaddrinfo_a.c (getaddrinfo_a):
7572         Give local variable TOTAL type 'volatile unsigned int'.
7573         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7574         * resolv/gai_suspend.c (gai_suspend):
7575         Give local variable CNTR type 'unsigned int'.
7577         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
7578         counterp to 'volatile unsigned int *'.
7579         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
7580         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
7581         (aio_suspend): Give local variable CNTR type 'unsigned int'.
7582         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
7583         Give local variable TOTAL type 'volatile unsigned int'.
7584         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7586 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7588         [BZ #18383]
7589         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
7590         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
7591         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
7592         comment for i386/x86-64.
7593         (test-xfail-tst-tlsalign-extern-static): Removed.
7595 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7597         * math/test-double.h: New file.
7598         * math/test-float.h: Likewise.
7599         * math/test-ldouble.h: Likewise.
7600         * math/test-math-inline.h: Likewise.
7601         * math/test-math-no-inline.h: Likewise.
7602         * math/test-math-scalar.h: Likewise.
7603         * math/test-math-vector.h: Likewise.
7604         * math/test-vec-loop.h: Remove file.  Contents moved into
7605         test-math-vector.h.
7606         * math/libm-test.inc (MATHCONST): Do not document macro.
7607         * math/test-double.c: Include test-double.h, test-math-no-inline.h
7608         and test-math-scalar.h.
7609         (FUNC): Remove macro.
7610         (FUNC_TEST): Likewise.
7611         (FLOAT): Likewise.
7612         (MATHCONST): Likewise.
7613         (PRINTF_EXPR): Likewise.
7614         (PRINTF_XEXPR): Likewise.
7615         (PRINTF_NEXPR): Likewise.
7616         (TEST_DOUBLE): Likewise.
7617         (TEST_MATHVEC): Likewise.
7618         (__NO_MATH_INLINES): Likewise.
7619         * math/test-float.c: Include test-float.h, test-math-no-inline.h
7620         and test-math-scalar.h.
7621         (FUNC): Remove macro.
7622         (FUNC_TEST): Likewise.
7623         (FLOAT): Likewise.
7624         (MATHCONST): Likewise.
7625         (PRINTF_EXPR): Likewise.
7626         (PRINTF_XEXPR): Likewise.
7627         (PRINTF_NEXPR): Likewise.
7628         (TEST_FLOAT): Likewise.
7629         (TEST_MATHVEC): Likewise.
7630         (__NO_MATH_INLINES): Likewise.
7631         * math/test-idouble.c: Include test-double.h, test-math-inline.h
7632         and test-math-scalar.h.
7633         (FUNC): Remove macro.
7634         (FUNC_TEST): Likewise.
7635         (FLOAT): Likewise.
7636         (MATHCONST): Likewise.
7637         (PRINTF_EXPR): Likewise.
7638         (PRINTF_XEXPR): Likewise.
7639         (PRINTF_NEXPR): Likewise.
7640         (TEST_DOUBLE): Likewise.
7641         (TEST_MATHVEC): Likewise.
7642         (TEST_INLINE): Likewise.
7643         (__NO_MATH_INLINES): Likewise.
7644         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
7645         test-math-scalar.h.
7646         (FUNC): Remove macro.
7647         (FUNC_TEST): Likewise.
7648         (FLOAT): Likewise.
7649         (MATHCONST): Likewise.
7650         (PRINTF_EXPR): Likewise.
7651         (PRINTF_XEXPR): Likewise.
7652         (PRINTF_NEXPR): Likewise.
7653         (TEST_FLOAT): Likewise.
7654         (TEST_MATHVEC): Likewise.
7655         (TEST_INLINE): Likewise.
7656         (__NO_MATH_INLINES): Likewise.
7657         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
7658         and test-math-scalar.h.
7659         (FUNC): Remove macro.
7660         (FUNC_TEST): Likewise.
7661         (FLOAT): Likewise.
7662         (MATHCONST): Likewise.
7663         (PRINTF_EXPR): Likewise.
7664         (PRINTF_XEXPR): Likewise.
7665         (PRINTF_NEXPR): Likewise.
7666         (TEST_LDOUBLE): Likewise.
7667         (TEST_MATHVEC): Likewise.
7668         (TEST_INLINE): Likewise.
7669         (__NO_MATH_INLINES): Likewise.
7670         * math/test-ldouble.c: Include test-ldouble.h,
7671         test-math-no-inline.h and test-math-scalar.h.
7672         (FUNC): Remove macro.
7673         (FUNC_TEST): Likewise.
7674         (FLOAT): Likewise.
7675         (MATHCONST): Likewise.
7676         (PRINTF_EXPR): Likewise.
7677         (PRINTF_XEXPR): Likewise.
7678         (PRINTF_NEXPR): Likewise.
7679         (TEST_LDOUBLE): Likewise.
7680         (TEST_MATHVEC): Likewise.
7681         (__NO_MATH_INLINES): Likewise.
7682         * math/test-double-vlen2.h: Include test-double.h,
7683         test-math-no-inline.h and test-math-vector.h.
7684         (FLOAT): Remove macro.
7685         (FUNC): Likewise.
7686         (MATHCONST): Likewise.
7687         (PRINTF_EXPR): Likewise.
7688         (PRINTF_XEXPR): Likewise.
7689         (PRINTF_NEXPR): Likewise.
7690         (TEST_DOUBLE): Likewise.
7691         (TEST_MATHVEC): Likewise.
7692         (__NO_MATH_INLINES): Likewise.
7693         (CNCT): Likewise.
7694         (CONCAT): Likewise.
7695         (WRAPPER_NAME): Likewise.
7696         (WRAPPER_DECL): Likewise.
7697         (WRAPPER_DECL_ff): Likewise.
7698         (WRAPPER_DECL_fFF): Likewise.
7699         (VECTOR_WRAPPER): Likewise.
7700         (VECTOR_WRAPPER_ff): Likewise.
7701         (VECTOR_WRAPPER_fFF): Likewise.
7702         (VEC_LEN): New macro.
7703         * math/test-double-vlen4.h: Include test-double.h,
7704         test-math-no-inline.h and test-math-vector.h.
7705         (FLOAT): Remove macro.
7706         (FUNC): Likewise.
7707         (MATHCONST): Likewise.
7708         (PRINTF_EXPR): Likewise.
7709         (PRINTF_XEXPR): Likewise.
7710         (PRINTF_NEXPR): Likewise.
7711         (TEST_DOUBLE): Likewise.
7712         (TEST_MATHVEC): Likewise.
7713         (__NO_MATH_INLINES): Likewise.
7714         (CNCT): Likewise.
7715         (CONCAT): Likewise.
7716         (WRAPPER_NAME): Likewise.
7717         (WRAPPER_DECL): Likewise.
7718         (WRAPPER_DECL_ff): Likewise.
7719         (WRAPPER_DECL_fFF): Likewise.
7720         (VECTOR_WRAPPER): Likewise.
7721         (VECTOR_WRAPPER_ff): Likewise.
7722         (VECTOR_WRAPPER_fFF): Likewise.
7723         (VEC_LEN): New macro.
7724         * math/test-double-vlen8.h: Include test-double.h,
7725         test-math-no-inline.h and test-math-vector.h.
7726         (FLOAT): Remove macro.
7727         (FUNC): Likewise.
7728         (MATHCONST): Likewise.
7729         (PRINTF_EXPR): Likewise.
7730         (PRINTF_XEXPR): Likewise.
7731         (PRINTF_NEXPR): Likewise.
7732         (TEST_DOUBLE): Likewise.
7733         (TEST_MATHVEC): Likewise.
7734         (__NO_MATH_INLINES): Likewise.
7735         (CNCT): Likewise.
7736         (CONCAT): Likewise.
7737         (WRAPPER_NAME): Likewise.
7738         (WRAPPER_DECL): Likewise.
7739         (WRAPPER_DECL_ff): Likewise.
7740         (WRAPPER_DECL_fFF): Likewise.
7741         (VECTOR_WRAPPER): Likewise.
7742         (VECTOR_WRAPPER_ff): Likewise.
7743         (VECTOR_WRAPPER_fFF): Likewise.
7744         (VEC_LEN): New macro.
7745         * math/test-float-vlen4.h: Include test-float.h,
7746         test-math-no-inline.h and test-math-vector.h.
7747         (FLOAT): Remove macro.
7748         (FUNC): Likewise.
7749         (MATHCONST): Likewise.
7750         (PRINTF_EXPR): Likewise.
7751         (PRINTF_XEXPR): Likewise.
7752         (PRINTF_NEXPR): Likewise.
7753         (TEST_FLOAT): Likewise.
7754         (TEST_MATHVEC): Likewise.
7755         (__NO_MATH_INLINES): Likewise.
7756         (CNCT): Likewise.
7757         (CONCAT): Likewise.
7758         (WRAPPER_NAME): Likewise.
7759         (WRAPPER_DECL): Likewise.
7760         (WRAPPER_DECL_ff): Likewise.
7761         (WRAPPER_DECL_fFF): Likewise.
7762         (VECTOR_WRAPPER): Likewise.
7763         (VECTOR_WRAPPER_ff): Likewise.
7764         (VECTOR_WRAPPER_fFF): Likewise.
7765         (VEC_LEN): New macro.
7766         * math/test-float-vlen8.h: Include test-float.h,
7767         test-math-no-inline.h and test-math-vector.h.
7768         (FLOAT): Remove macro.
7769         (FUNC): Likewise.
7770         (MATHCONST): Likewise.
7771         (PRINTF_EXPR): Likewise.
7772         (PRINTF_XEXPR): Likewise.
7773         (PRINTF_NEXPR): Likewise.
7774         (TEST_FLOAT): Likewise.
7775         (TEST_MATHVEC): Likewise.
7776         (__NO_MATH_INLINES): Likewise.
7777         (CNCT): Likewise.
7778         (CONCAT): Likewise.
7779         (WRAPPER_NAME): Likewise.
7780         (WRAPPER_DECL): Likewise.
7781         (WRAPPER_DECL_ff): Likewise.
7782         (WRAPPER_DECL_fFF): Likewise.
7783         (VECTOR_WRAPPER): Likewise.
7784         (VECTOR_WRAPPER_ff): Likewise.
7785         (VECTOR_WRAPPER_fFF): Likewise.
7786         (VEC_LEN): New macro.
7787         * math/test-float-vlen16.h: Include test-float.h,
7788         test-math-no-inline.h and test-math-vector.h.
7789         (FLOAT): Remove macro.
7790         (FUNC): Likewise.
7791         (MATHCONST): Likewise.
7792         (PRINTF_EXPR): Likewise.
7793         (PRINTF_XEXPR): Likewise.
7794         (PRINTF_NEXPR): Likewise.
7795         (TEST_FLOAT): Likewise.
7796         (TEST_MATHVEC): Likewise.
7797         (__NO_MATH_INLINES): Likewise.
7798         (CNCT): Likewise.
7799         (CONCAT): Likewise.
7800         (WRAPPER_NAME): Likewise.
7801         (WRAPPER_DECL): Likewise.
7802         (WRAPPER_DECL_ff): Likewise.
7803         (WRAPPER_DECL_fFF): Likewise.
7804         (VECTOR_WRAPPER): Likewise.
7805         (VECTOR_WRAPPER_ff): Likewise.
7806         (VECTOR_WRAPPER_fFF): Likewise.
7807         (VEC_LEN): New macro.
7808         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
7809         test-vec-loop.h.
7810         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7811         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7812         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7813         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7814         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7815         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7816         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7818 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7820         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
7821         (__getlogin_r): ... this.
7823 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7825         [BZ #18594]
7826         * math/s_ccosh.c (__ccosh): Compare with least normal value
7827         instead of comparing class with FP_SUBNORMAL.
7828         * math/s_ccoshf.c (__ccoshf): Likewise.
7829         * math/s_ccoshl.c (__ccoshl): Likewise.
7830         * math/s_cexp.c (__cexp): Likewise.
7831         * math/s_cexpf.c (__cexpf): Likewise.
7832         * math/s_cexpl.c (__cexpl): Likewise.
7833         * math/s_csin.c (__csin): Likewise.
7834         * math/s_csinf.c (__csinf): Likewise.
7835         * math/s_csinh.c (__csinh): Likewise.
7836         * math/s_csinhf.c (__csinhf): Likewise.
7837         * math/s_csinhl.c (__csinhl): Likewise.
7838         * math/s_csinl.c (__csinl): Likewise.
7839         * math/s_ctan.c (__ctan): Likewise.
7840         * math/s_ctanf.c (__ctanf): Likewise.
7841         * math/s_ctanh.c (__ctanh): Likewise.
7842         * math/s_ctanhf.c (__ctanhf): Likewise.
7843         * math/s_ctanhl.c (__ctanhl): Likewise.
7844         * math/s_ctanl.c (__ctanl): Likewise.
7845         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
7846         csin, csinh, ctan and ctanh.
7847         * math/auto-libm-test-out: Regenerated.
7848         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
7849         * sysdeps/i386/fpu/libm-test-ulps: Update.
7850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7852 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7854         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
7855         return value is wrong, print the expected value too.
7857 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7859         [BZ #18585]
7860         * elf/readlib.c (is_gdb_python_file): New.
7861         (process_file): Don't issue errors on filenames with -gdb.py
7862         suffix.
7864 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7866         * math/auto-libm-test-in: Add more tests of csin and csinh.
7867         * math/auto-libm-test-out: Regenerated.
7868         * math/libm-test.inc (csin_test_data): Remove tests moved to
7869         auto-libm-test-in.
7870         (csinh_test_data): Likewise.
7872         [BZ #18593]
7873         * math/s_csin.c (__csin): Negate before rather than after possibly
7874         overflowing multiplication.
7875         * math/s_csinf.c (__csinf): Likewise.
7876         * math/s_csinh.c (__csinh): Likewise.
7877         * math/s_csinhf.c (__csinhf): Likewise.
7878         * math/s_csinhl.c (__csinhl): Likewise.
7879         * math/s_csinl.c (__csinl): Likewise.
7880         * math/auto-libm-test-in: Add some tests of csin and csinh.
7881         * math/auto-libm-test-out: Regenerated.
7882         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
7883         (csinh_test_data): Likewise.
7884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7886         [BZ #18586]
7887         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
7888         underflow exception for small results.
7890 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7892         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7893         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
7894         variable and included header.
7895         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
7896         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
7897         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
7898         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
7899         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
7900         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
7901         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
7902         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
7903         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
7904         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
7905         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
7906         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
7907         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
7908         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
7909         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
7910         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
7912 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7914         [BZ #16526]
7915         [BZ #16538]
7916         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
7917         (__sin): Force underflow exception for arguments with small
7918         absolute value.
7919         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
7920         (__kernel_sinf): Force underflow exception for arguments with
7921         small absolute value.
7922         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
7923         (__kernel_sincosl): Force underflow exception for arguments with
7924         small absolute value.
7925         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
7926         (__kernel_sinl): Force underflow exception for arguments with
7927         small absolute value.
7928         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
7929         (__kernel_sincosl): Force underflow exception for arguments with
7930         small absolute value.
7931         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
7932         (__kernel_sinl): Force underflow exception for arguments with
7933         small absolute value.
7934         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
7935         (__kernel_sinl): Force underflow exception for arguments with
7936         small absolute value.
7937         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
7938         (__kernel_sinf): Force underflow exception for arguments with
7939         small absolute value.
7940         * math/auto-libm-test-in: Add more tests of sin and sincos.
7941         * math/auto-libm-test-out: Regenerated.
7943         [BZ #18245]
7944         [BZ #18583]
7945         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
7946         (__kernel_standard_l): Use feholdexcept and fesetenv around
7947         conversion to double instead of special-casing overflow and
7948         underflow.
7949         * math/libm-test.inc (fmod_test_data): Add more tests.
7950         (remainder_test_data): Likewise.
7951         (sqrt_test_data): Likewise.
7953 2015-06-23  Torvald Riegel  <triegel@redhat.com>
7955         [BZ #17403]
7956         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
7957         atomic_read_barrier, atomic_write_barrier): Define.
7958         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
7959         atomic_read_barrier, atomic_write_barrier): Define.
7961 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7963         * math/Makefile [$(PERL) != no]
7964         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
7965         dependency on libm-test.stmp below the inclusion of Rules.
7967 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
7969         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7970         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
7971         and included header.
7972         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
7973         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
7974         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
7975         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
7976         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
7977         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
7978         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
7979         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
7980         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
7981         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
7982         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
7983         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
7984         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
7985         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
7986         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
7987         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
7988         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
7989         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
7990         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
7992 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7994         [BZ #18371]
7995         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
7996         intermediate but not final result might underflow.
7997         * math/s_csqrtf.c (__csqrtf): Likewise.
7998         * math/s_csqrtl.c (__csqrtl): Likewise.
7999         * math/auto-libm-test-in: Add more tests of csqrt.
8000         * math/auto-libm-test-out: Regenerated.
8001         * sysdeps/i386/fpu/libm-test-ulps: Update.
8003         [BZ #18219]
8004         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
8005         threshold on absolute value of exponent for which scaling is used.
8006         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8007         * math/auto-libm-test-in: Add more tests of exp2.
8008         * math/auto-libm-test-out: Regenerated.
8010 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
8012         [BZ #17977]
8013         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
8014         when initializing interface list, based on the bug analysis
8015         and the patch proposed by Eric Newton.
8016         * resolv/tst-res_hconf_reorder.c: New test.
8017         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
8018         tst-res_hconf_reorder.
8019         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
8020         and $(shared-thread-library).
8021         (tst-res_hconf_reorder-ENV): New variable.
8023         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
8024         in comment.
8026 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
8028         [BZ #16353]
8029         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
8030         (__expm1): Force underflow exception for arguments with small
8031         absolute value.
8032         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
8033         (__expm1f): Force underflow exception for arguments with small
8034         absolute value.
8035         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
8036         (__expm1): Force underflow exception for arguments with small
8037         absolute value.
8038         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
8039         (__expm1f): Force underflow exception for arguments with small
8040         absolute value.
8041         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8042         Check for small arguments before calling __expm1.
8043         * math/auto-libm-test-in: Do not mark underflow exceptions as
8044         possibly missing for bug 16353.
8045         * math/auto-libm-test-out: Regenerated.
8047 2015-06-22  Andreas Schwab  <schwab@suse.de>
8049         [BZ #18513]
8050         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
8051         PTR queries.
8053 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
8055         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
8057         * string/strcoll_l.c: Remove unused struct element idxnow.
8059 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
8061         [BZ #18569]
8062         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
8063         underflow and return argument in case of subnormal argument.
8064         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8065         Likewise.
8066         * math/auto-libm-test-in: Add more tests of expm1.
8067         * math/auto-libm-test-out: Regenerated.
8069         [BZ #16361]
8070         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8071         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8072         tiny results.
8073         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8074         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8075         tiny results.
8076         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
8077         mark underflow exceptions as possibly missing for bug 16361.
8078         * math/auto-libm-test-out: Regenerated.
8080 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
8082         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
8083         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
8084         Remove variable.
8085         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8086         (test-xfail-XOPEN2K8/utmpx.h/conform).
8088         * conform/conformtest.pl ($xerrors): New variable.
8089         (note_error): New function.
8090         (compiletest): New argument $xfail.  Use not_error.
8091         (runtest): Likewise.
8092         (top level): Handle xfail- lines.  Update calls to compiletest and
8093         runtest.  Handle xfail- and optional- in headers listed with
8094         allow-header.
8095         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
8096         (O_EXEC): Likewise.
8097         (O_SEARCH): Likewise.
8098         * conform/data/stropts.h-data (ioctl): Likewise.
8099         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
8100         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
8101         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
8102         (msghdr.msg_controllen): Likewise.
8103         (cmsghdr.cmsg_len): Likewise.
8104         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
8105         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
8106         variable.
8107         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8108         (test-xfail-XPG4/stropts.h/conform): Likewise.
8109         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8110         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8111         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8112         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8113         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8114         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8115         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8116         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8117         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8118         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8119         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8120         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8121         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8122         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8123         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8124         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8125         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8126         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8127         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8129 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8131         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
8132         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
8133         definitions for proper unfolding of __MATHDECL_VEC.
8135 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8137         * benchtests/bench-strcoll.c:
8138         Include string.h.
8139         (main): Remove unused variable res.
8141 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8143         * timezone/Makefile (%/UTC %/Universal):
8144         Generate test-result files for UTC and Universal.
8146 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8148         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8150 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
8152         [BZ #16350]
8153         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
8154         for arguments with small absolute value.
8155         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
8156         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
8157         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
8158         (__asinh): Force underflow exception for arguments with small
8159         absolute value.
8160         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
8161         (__asinhf): Force underflow exception for arguments with small
8162         absolute value.
8163         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
8164         (__asinhl): Force underflow exception for arguments with small
8165         absolute value.
8166         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
8167         (__asinhl): Force underflow exception for arguments with small
8168         absolute value.
8169         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
8170         (__asinhl): Force underflow exception for arguments with small
8171         absolute value.
8172         * math/auto-libm-test-in: Do not mark underflow exceptions as
8173         possibly missing for bug 16350.
8174         * math/auto-libm-test-out: Regenerated.
8176         * include/bits/ipc.h: Remove file.
8177         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
8178         variable.
8179         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8180         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8181         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8182         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8183         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8184         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8185         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8186         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8187         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8189         * math/auto-libm-test-in: Remove spurious underflow allowance for
8190         tests of cexp.
8191         * math/auto-libm-test-out: Regenerated.
8193         [BZ #18558]
8194         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
8195         unconditional definition.
8196         (MCAST_BLOCK_SOURCE): Likewise.
8197         (MCAST_UNBLOCK_SOURCE): Likewise.
8198         (MCAST_LEAVE_GROUP): Likewise.
8199         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8200         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8201         (MCAST_MSFILTER): Likewise.
8202         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
8203         Remove variable.
8204         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8205         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8206         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8207         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8208         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8210 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
8212         * NEWS: Mention addition of x86_64 vector sincosf.
8213         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
8214         * math/test-float-vlen4.h: Likewise.
8215         * math/test-float-vlen8.h: Likewise.
8216         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8217         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
8218         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8219         * sysdeps/x86_64/fpu/Versions: New versions added.
8220         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8221         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8222         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8223         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
8224         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8225         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
8226         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8227         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
8228         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8229         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
8230         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
8231         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
8232         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
8233         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
8234         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
8235         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
8236         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
8237         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8238         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8239         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8240         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8241         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8242         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8243         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8245         * NEWS: Mention addition of x86_64 vector sincos.
8246         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
8247         * math/math.h (__MATHDECL_VEC): New macro.
8248         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
8249         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
8250         declaration under condition.
8251         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
8252         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
8253         TEST_VEC_LOOP change.
8254         * math/test-double-vlen4.h: Likewise.
8255         * math/test-double-vlen8.h: Likewise.
8256         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
8257         * math/test-float-vlen4.h: Likewise.
8258         * math/test-float-vlen8.h: Likewise.
8259         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8260         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
8261         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8262         * sysdeps/x86_64/fpu/Versions: New versions added.
8263         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8264         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8265         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8266         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
8267         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
8268         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
8269         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
8270         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
8271         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
8272         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
8273         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
8274         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
8275         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
8276         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
8277         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
8278         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
8279         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
8280         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8281         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8282         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8283         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8284         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8285         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8286         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8288         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8289         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8290         redirections for powf.
8291         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8292         * sysdeps/x86_64/fpu/Versions: New versions added.
8293         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8294         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8295         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8296         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
8297         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
8298         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
8299         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
8300         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
8301         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
8302         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
8303         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
8304         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
8305         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
8306         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
8307         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
8308         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
8309         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
8310         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8311         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8312         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8313         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8314         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8315         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8316         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8317         * math/test-float-vlen16.h: Fixed 2 argument macro.
8318         * math/test-float-vlen4.h: Likewise.
8319         * math/test-float-vlen8.h: Likewise.
8320         * NEWS: Mention addition of x86_64 vector powf.
8322 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
8324         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8325         and redefine.
8326         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8327         and redefine.
8328         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
8329         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8330         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8332         [BZ #18553]
8333         * resource/getpriority.c (getpriority): Rename to __getpriority
8334         and define as weak alias of __getpriority.
8335         * resource/setpriority.c (setpriority): Rename to __setpriority
8336         and define as weak alias of __setpriority.
8337         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
8338         __getpriority and define as weak alias of __getpriority.
8339         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
8340         __setpriority and define as weak alias of __setpriority.
8341         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
8342         strong name.
8343         (setpriority): Use __setpriority as strong name.
8344         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
8345         __getpriority and define as weak alias of __getpriority.
8346         * include/sys/resource.h (__getpriority): Declare.  Use
8347         libc_hidden_proto.
8348         (__setpriority): Likewise.
8349         (getpriority): Don't use libc_hidden_proto.
8350         (setpriority): Likewise.
8351         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
8352         getpriority.  Call __setpriority instead of setpriority.
8353         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
8354         Remove variable.
8356         [BZ #18547]
8357         * misc/getttyent.c (getttynam): Rename to __getttynam and define
8358         as weak alias of __getttynam.  Use prototype function definition.
8359         Call __setttyent, __getttyent and __endttyent instead of
8360         setttyent, getttyent and endttyent.
8361         (getttyent): Rename to __getttyent and define as weak alias of
8362         __getttyent.  Call __setttyent instead of setttyent.  Call
8363         __fgets_unlocked instead of fgets_unlocked.
8364         (setttyent): Rename to __setttyent and define as weak alias of
8365         __setttyent.
8366         (endttyent): Rename to __endttyent and define as weak alias of
8367         __endttyent.
8368         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
8369         (__setttyent): Likewise.
8370         (__endttyent): Likewise.
8371         (getttyent): Don't use libc_hidden_proto.
8372         (setttyent): Likewise.
8373         (endttyent): Likewise.
8374         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
8375         __endttyent instead of setttyent, getttyent and endttyent.
8376         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
8377         Remove variable.
8379         [BZ #18546]
8380         * socket/recv.c (__recv): Use libc_hidden_def.
8381         * socket/socket.c (__socket): Likewise.
8382         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8383         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8384         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
8385         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
8386         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
8387         libc_hidden_def.
8388         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
8389         libc_hidden_weak.
8390         * include/sys/socket.h (__socket): Do not use attribute_hidden.
8391         Use libc_hidden_proto.
8392         (__recv): Likewise.
8393         * socket/Versions (libc): Export __recv and __socket at version
8394         GLIBC_PRIVATE.
8395         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
8396         instead of recv.
8397         (init_mq_netlink): Call __socket instead of socket.
8398         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
8399         Remove variable.
8401         [BZ #18545]
8402         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
8403         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
8404         hidden_weak.
8405         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
8406         define as alias of __mq_timedsend.  Use hidden_weak.
8407         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
8408         __mq_timedsend as strong name.
8409         (mq_timedreceive): Use __mq_timedreceive as strong name.
8410         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
8411         (__mq_timedreceive): Likewise.
8412         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
8413         __mq_timedreceive instead of mq_timedreceive.
8414         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
8415         instead of mq_timedsend.
8416         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
8417         Remove variable.
8419         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
8420         hidden_def and hidden_weak instead of libc_hidden_def and
8421         libc_hidden_weak.
8422         (top level): Refer to hidden_def in comment.
8423         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
8424         macro.  Use it instead of libc_hidden_def.
8425         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
8426         specify __GI_* name explicitly.
8427         (mq_timedreceive): Likewise.
8428         (mq_setattr): Likewise.
8430         [BZ #18544]
8431         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
8432         __pthread_barrier_init and define as weak alias of
8433         __pthread_barrier_init.
8434         * sysdeps/sparc/nptl/pthread_barrier_init.c
8435         (pthread_barrier_init): Likewise.
8436         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
8437         __pthread_barrier_wait and define as weak alias of
8438         __pthread_barrier_wait.
8439         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8440         (pthread_barrier_wait): Likewise.
8441         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8442         (pthread_barrier_wait): Likewise.
8443         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
8444         (pthread_barrier_wait): Likewise.
8445         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
8446         (pthread_barrier_wait): Likewise.
8447         * nptl/Versions (libpthread): Export __pthread_barrier_init and
8448         __pthread_barrier_wait at version GLIBC_PRIVATE.
8449         * include/pthread.h (__pthread_barrier_init): Declare.
8450         (__pthread_barrier_wait): Likewise.
8451         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
8452         Call __pthread_barrier_wait instead of pthread_barrier_wait.
8453         (helper_thread): Likewise.
8454         (init_mq_netlink): Call __pthread_barrier_init instead of
8455         pthread_barrier_init.
8457         [BZ #18542]
8458         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
8459         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
8460         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
8461         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
8462         vswscanf.
8463         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
8464         Remove variable.
8466         [BZ #18540]
8467         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
8468         strong alias of _IO_fflush.  Use libc_hidden_def.
8469         * libio/iofflush_u.c (fflush_unlocked): Rename to
8470         __fflush_unlocked and define as weak alias of __fflush_unlocked.
8471         Use libc_hidden_weak.
8472         * include/stdio.h (__fflush_unlocked): Declare.  Use
8473         libc_hidden_proto.
8474         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
8475         fflush_unlocked.
8476         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
8477         Remove variable.
8479         [BZ #18539]
8480         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
8481         define as weak alias of __addseverity.
8482         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
8483         Remove variable.
8484         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8485         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8486         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8488         [BZ #18536]
8489         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
8490         (__tfind): Likewise.
8491         (__tdelete): Likewise.
8492         (__twalk): Likewise.
8493         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
8494         __twalk to GLIBC_PRIVATE.
8495         * include/search.h (__tsearch): Use libc_hidden_proto.
8496         (__tfind): Likewise.
8497         (__tdelete): Likewise.
8498         (__twalk): Likewise.
8499         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
8500         Call __tdelete instead of tdelete.
8501         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
8502         tfind.  Call __tsearch instead of tsearch.
8503         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
8504         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
8505         Remove variable.
8506         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8508         [BZ #18534]
8509         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
8510         (dprintf): Define as a weak alias of __dprintf, not a strong
8511         alias.
8512         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
8513         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
8514         dprintf.
8515         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
8516         Remove variable.
8517         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8518         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8520         [BZ #18533]
8521         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
8522         not a strong alias.
8523         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
8524         Remove variable.
8526         [BZ #18532]
8527         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
8528         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
8529         (in6addr_loopback): Rename to __in6addr_loopback and define as
8530         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
8531         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
8532         libc_hidden_proto.
8533         (__in6addr_any): Likewise.
8534         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
8535         in6addr_any.
8536         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
8537         variable.
8538         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8540 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8542         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
8543         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
8544         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8545         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8546         redirections for pow.
8547         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8548         * sysdeps/x86_64/fpu/Versions: New versions added.
8549         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8550         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8551         build of SSE, AVX2 and AVX512 IFUNC versions.
8552         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
8553         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
8554         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
8555         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
8556         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
8557         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
8558         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
8559         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
8560         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
8561         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
8562         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
8563         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
8564         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
8565         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
8566         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8567         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8568         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8569         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8570         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8571         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8572         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8573         * NEWS: Mention addition of x86_64 vector pow.
8575         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8576         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8577         redirections for expf.
8578         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8579         * sysdeps/x86_64/fpu/Versions: New versions added.
8580         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8581         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8582         build of SSE, AVX2 and AVX512 IFUNC versions.
8583         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
8584         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
8585         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
8586         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
8587         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
8588         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
8589         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
8590         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
8591         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
8592         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
8593         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
8594         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
8595         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
8596         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8597         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8598         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8599         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8600         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8601         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8602         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8603         * NEWS: Mention addition of x86_64 vector expf.
8605         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
8606         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
8607         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8608         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8609         redirections for exp.
8610         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8611         * sysdeps/x86_64/fpu/Versions: New versions added.
8612         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8613         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8614         build of SSE, AVX2 and AVX512 IFUNC versions.
8615         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
8616         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
8617         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
8618         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
8619         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
8620         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
8621         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
8622         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
8623         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
8624         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
8625         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
8626         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
8627         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
8628         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8629         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8630         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8631         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8632         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8633         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8634         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8635         * NEWS: Mention addition of x86_64 vector exp.
8637         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8638         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8639         redirections for logf.
8640         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8641         * sysdeps/x86_64/fpu/Versions: New versions added.
8642         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8643         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8644         build of SSE, AVX2 and AVX512 IFUNC versions.
8645         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
8646         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
8647         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
8648         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
8649         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
8650         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
8651         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
8652         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
8653         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
8654         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
8655         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
8656         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
8657         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
8658         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8659         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8660         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8661         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8662         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8663         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8664         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8665         * NEWS: Mention addition of x86_64 vector logf.
8667         * bits/libm-simd-decl-stubs.h: Added stubs for log.
8668         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
8669         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8670         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8671         redirections for log.
8672         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8673         * sysdeps/x86_64/fpu/Versions: New versions added.
8674         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8675         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8676         build of SSE, AVX2 and AVX512 IFUNC versions.
8677         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
8678         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
8679         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
8680         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
8681         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
8682         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
8683         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
8684         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
8685         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
8686         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
8687         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
8688         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
8689         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
8690         test.
8691         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8692         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8693         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8694         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8695         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8696         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8697         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8698         * NEWS: Mention addition of x86_64 vector log.
8700 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8702         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
8703         cfi_adjust_cfa_offset argument.
8704         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
8705         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
8707         [BZ #18034]
8708         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
8709         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
8710         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
8711         ordering using ldar.
8712         (_dl_tlsdesc_dynamic): Likewise.
8713         (_dl_tlsdesc_return_lazy): Likewise.
8714         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
8715         relaxed atomics instead of volatile and synchronize with release store.
8716         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
8717         volatile.
8718         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8720 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
8722         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8723         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
8724         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8725         * sysdeps/x86_64/fpu/Versions: New versions added.
8726         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8727         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8728         build of SSE, AVX2 and AVX512 IFUNC versions.
8729         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
8730         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
8731         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
8732         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
8733         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
8734         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
8735         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
8736         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
8737         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
8738         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
8739         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
8740         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
8741         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
8742         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8743         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8744         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8745         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8746         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8747         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8748         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8749         * NEWS: Mention addition of x86_64 vector sinf.
8751 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
8753         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
8754         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
8755         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
8756         Remove variable.
8757         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8758         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8760 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8762         [BZ #18530]
8763         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
8764         strong alias of _IO_fputs.  Use libc_hidden_def.
8765         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
8766         and define as weak alias of __fputs_unlocked.  Use
8767         libc_hidden_weak.
8768         * include/stdio.h (__fputs_unlocked): Declare.  Use
8769         libc_hidden_proto.
8770         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
8771         fputs_unlocked.
8773         [BZ #18529]
8774         * resolv/netdb.h [__USE_POSIX]: Change condition to
8775         [__USE_XOPEN2K].
8776         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
8777         not expect.
8778         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
8779         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
8780         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
8781         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
8782         [XPG4 || UNIX98] (AI_ALL): Likewise.
8783         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
8784         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
8785         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
8786         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
8787         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
8788         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
8789         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
8790         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
8791         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
8792         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
8793         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
8794         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
8795         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
8796         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
8797         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
8798         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8799         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8800         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
8801         [XPG4 || UNIX98] (gai_strerror): Likewise.
8802         [XPG4 || UNIX98] (getaddrinfo): Likewise.
8803         [XPG4 || UNIX98] (getnameinfo): Likewise.
8805         [BZ #18528]
8806         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
8807         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
8808         __USE_XOPEN2K8].
8809         (getgrent): Likewise.
8810         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
8811         expect.
8812         [XPG3 || POSIX2008] (endgrent): Likewise.
8813         [XPG3] (setgrent): Likewise.
8814         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
8815         variable.
8816         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8818         [BZ #18527]
8819         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
8820         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
8821         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
8822         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
8823         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
8824         * include/unistd.h (__getlogin_r): Declare.  Use
8825         libc_hidden_proto.
8826         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
8827         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
8828         variable.
8829         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8830         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8831         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8833 2015-06-12  Martin Sebor  <msebor@redhat.com>
8835         [BZ #18512]
8836         * Makerules (check-install-supported): New target.
8837         (install): Add check-install-supported as a dependency.
8838         * manual/install.texi (Installing the C Library): Document
8839         that overriding prefix and exec_prefix is not supported.
8840         Mention DESTDIR.
8841         * INSTALL: Regenerate from the above.
8843 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8845         [BZ #18519]
8846         * posix/Versions (libc): Export __libc_pread at version
8847         GLIBC_PRIVATE.
8848         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
8849         instead of pread.
8850         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
8851         variable.
8853         [BZ #18522]
8854         * misc/efgcvt_r.c
8855         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
8856         (cvt_symbol): Use weak_alias instead of strong_alias.
8857         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
8858         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
8859         Remove variable.
8860         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8861         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8863         [BZ #18520]
8864         * inet/herrno.c (h_errno): Rename to __h_errno.
8865         (__libc_h_errno): Define as alias of __h_errno not h_errno.
8866         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
8867         to __h_errno instead of h_errno.
8868         * nptl/herrno.c (h_errno): Rename to __h_errno.
8869         (__h_errno_location): Refer to __h_errno not h_errno.
8870         * resolv/Versions (h_errno): Rename to __h_errno.
8871         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
8872         Remove variable.
8873         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8875 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
8877         * configure.ac: More strict check for AVX512 assembler support.
8878         * configure: Regenerated.
8880         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
8881         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
8882         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8883         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
8884         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8885         * sysdeps/x86_64/fpu/Versions: New versions added.
8886         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8887         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8888         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8889         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
8890         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
8891         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
8892         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
8893         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
8894         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
8895         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
8896         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
8897         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
8898         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
8899         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
8900         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
8901         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
8902         test.
8903         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8904         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8905         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8906         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8907         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8908         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8909         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8910         * NEWS: Mention addition of x86_64 vector sin.
8912 2015-06-11  Florian Weimer  <fweimer@redhat.com>
8914         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
8915         comment.
8917 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8919         [BZ #18479]
8920         * nptl/pt-interp.c: New file.
8921         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
8922         Add pt-interp.
8923         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
8924         $(common-objpfx)runtime-linker.h.
8926 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
8928         * Makeconfig (+interp): Remove unused variable.
8929         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
8930         only.  Depend on $(common-objpfx)runtime-linker.h instead of
8931         $(elf-objpfx)runtime-linker.h.
8932         ($(elf-objpfx)runtime-linker.h): Rename to
8933         $(common-objpfx)runtime-linker.h and move ...
8934         * Makerules [$(build-shared) = yes]: ... here.
8935         * elf/interp.c: Include <runtime-linker.h> instead of
8936         <elf/runtime-linker.h>.
8938 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8940         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
8941         (__gettimeofday_syscall): Remove vsyscall fallback.
8942         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
8943         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
8944         Add syscall fallback function.
8945         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
8946         if vDSO is not present.
8947         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
8948         fallback function.
8949         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
8950         present.
8951         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
8952         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8954 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
8956         [BZ #18497]
8957         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
8958         of wcscmp.
8959         (wcscmp): Define as weak alias of WCSCMP.
8960         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
8961         wcscoll.
8962         (USE_HIDDEN_DEF): Define.
8963         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
8964         __wcscoll.  Don't use libc_hidden_weak.
8965         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
8966         wcscmp.
8967         * sysdeps/i386/i686/multiarch/wcscmp-c.c
8968         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
8969         __GI_wcscmp.
8970         (weak_alias): Undefine and redefine.
8971         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
8972         __wcscmp and define as weak alias of __wcscmp.
8973         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
8974         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
8975         (__wcscoll): Likewise.
8976         (wcscmp): Don't use libc_hidden_proto.
8977         (wcscoll): Likewise.
8978         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
8979         wcscoll.
8980         * posix/regexec.c (check_node_accept_bytes): Likewise.
8981         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
8982         variable.
8983         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8984         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8986         [BZ #18507]
8987         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
8988         __fstatvfs and define as weak alias of __fstatvfs.  Use
8989         libc_hidden_weak.
8990         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
8991         and define as weak alias of __statvfs.  Use libc_hidden_weak.
8992         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
8993         Define as alias of __fstatvfs, not fstatvfs.
8994         (fstatvfs64): Likewise.
8995         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
8996         Define as alias of __statvfs, not statvfs.
8997         (statvfs64): Likewise.
8998         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
8999         Remove variable.
9001 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9004         (HAVE_GETCPU_VSYSCALL): Define.
9005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9006         (HAVE_GETCPU_VSYSCALL): Likewise.
9007         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
9008         * sysdeps/unix/sysv/linux/sched_getcpu.c
9009         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
9010         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
9011         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
9012         prototype.
9013         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9014         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
9015         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
9016         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
9017         Define.
9018         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
9019         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9020         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
9021         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9023 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
9025         * sysdeps/x86_64/fpu/Makefile: New file.
9026         * sysdeps/x86_64/fpu/Versions: New file.
9027         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
9028         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
9029         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
9030         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
9031         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
9032         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
9033         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
9034         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
9035         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
9036         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
9037         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
9038         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
9039         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
9040         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9041         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9042         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
9043         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
9044         * sysdeps/x86_64/configure.ac: Options for libmvec build.
9045         * sysdeps/x86_64/configure: Regenerated.
9046         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
9047         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
9048         * manual/install.texi (Configuring and compiling): Document
9049         --disable-mathvec.
9050         * INSTALL: Regenerated.
9051         * NEWS: Mention addition of libmvec and x86_64 vector cos.
9053         * math/Makefile: Added rules for vector tests.
9054         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
9055         declaration under condition.
9056         * math/test-double-vlen2.h: New file.
9057         * math/test-double-vlen4.h: New file.
9058         * math/test-double-vlen8.h: New file.
9059         * math/test-vec-loop.h: Added initialization macro.
9060         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
9061         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
9062         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
9063         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
9064         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
9065         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
9066         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
9067         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
9068         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
9069         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
9070         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
9072         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9073         * sysdeps/x86_64/fpu/Versions: New versions added.
9074         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
9075         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
9076         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
9077         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
9078         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
9079         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
9080         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
9081         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
9082         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
9083         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
9084         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
9085         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
9086         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
9087         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9088         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9089         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9090         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
9091         * NEWS: Mention addition of x86_64 vector cosf.
9093         * math/Makefile: Added CFLAGS for new tests.
9094         * math/test-float-vlen16.h: New file.
9095         * math/test-float-vlen4.h: New file.
9096         * math/test-float-vlen8.h: New file.
9097         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
9098         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
9099         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9100         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
9101         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
9102         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
9103         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
9104         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
9105         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
9106         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
9107         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
9109 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
9111         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
9112         * locale/programs/ld-ctype.c: Likewise.
9114 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9116         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
9117         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
9118         bit_ZMM16_31_state): New macro.
9119         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9120         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
9122 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
9124         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
9126 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
9128         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
9130 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
9132         [BZ #18498]
9133         * libio/memstream.c (open_memstream): Rename to __open_memstream
9134         and define as weak alias of __open_memstream.
9135         * include/stdio.h (__open_memstream): Declare.  Use
9136         libc_hidden_proto.
9137         (open_memstream): Don't use libc_hidden_proto.
9138         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
9139         open_memstream.
9140         * posix/getopt.c (_getopt_internal_r): Likewise.
9141         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
9142         variable.
9143         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9144         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9145         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9147         [BZ #18496]
9148         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
9149         instead of wcrtomb.
9151         [BZ #18483]
9152         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
9153         [__USE_XOPEN2K8].  Remove redundant #endif.
9154         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
9155         Remove redundant #if.
9156         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
9157         Remove variable.
9158         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9159         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9161         [BZ #18495]
9162         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
9163         (__iswlower): Likewise.
9164         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
9165         (__iswlower): Likewise.
9166         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
9167         instead of towlower.
9168         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
9169         instead of iswlower.  Call __towupper instead of towupper.
9170         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
9171         instead of iswalnum.
9173 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9175         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
9176         errors to stderr.
9178 2015-06-05  Florian Weimer  <fweimer@redhat.com>
9180         [BZ #15661]
9181         [BZ #17322]
9182         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9183         Check for overflow properly.  Check for O_APPEND.  Ignore large
9184         file system block sizes.  Add comments about problems.
9185         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
9186         * manual/filesys.texi (Storage Allocation): New node.
9188 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9190         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
9191         cancellable syscalls.
9192         (SYS_ify): Add guard to no redefine it.
9193         (INLINE_SYSCALL): Likewise.
9194         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
9195         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
9196         SYSCALL_CANCEL instead.
9197         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
9198         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9199         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9200         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9201         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9202         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
9203         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
9204         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
9205         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9206         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9207         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
9208         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
9209         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
9210         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
9211         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
9212         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9213         Likewise.
9214         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9215         (__libc_pread64): Likewise.
9216         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
9217         (__libc_preadv): Likewise.
9218         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
9219         (__libc_readv64): Likewise.
9220         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9221         (__libc_pwrite): Likewise.
9222         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9223         (__libc_pwrite64): Likewise.
9224         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
9225         (__libc_pwritev): Likewise.
9226         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
9227         (__libc_pwritev64): Likewise.
9228         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
9229         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9230         (sync_file_range): Likewise.
9231         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
9232         Likewise.
9233         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
9234         Likewise.
9235         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9236         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9237         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9238         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9239         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9240         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9241         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9242         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
9243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9244         Likewise.
9245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9246         (__libc_read64): Likewise.
9247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
9248         Likewise.
9249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
9250         Likewise.
9251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
9252         Likewise.
9253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
9254         Likewise.
9255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9256         (__libc_pread64): Likewise.
9257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
9258         Likewise.
9259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9260         (__libc_pwrite64): Likewise.
9261         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
9262         (sync_file_range): Likewise.
9263         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
9264         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9265         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9266         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
9267         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
9268         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9269         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9270         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
9271         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
9272         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9273         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9274         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9275         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9276         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9277         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
9278         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9279         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9280         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9281         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9282         Likewise.
9283         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
9284         Likewise.
9285         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
9286         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
9287         Likewise.
9288         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
9289         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
9290         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
9291         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
9292         Likewise.
9293         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
9294         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
9295         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
9296         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
9297         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
9299 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
9301         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
9302         Include dl-vdso.
9303         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
9304         Use VDSO routines for gettimeofday, clock_gettime if
9305         available.
9306         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
9307         Declare VDSO symbols.
9308         * sysdeps/unix/sysv/linux/arm/sysdep.h:
9309         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
9310         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9311         * sysdeps/unix/sysv/linux/arm/Versions: Add
9312         __vdso_clock_gettime.
9314 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9316         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
9317         be an inline implementation regardless of library is built within.
9318         (open_not_cancel_2): Likewise.
9319         (__read_nocancel): Likewise.
9320         (__write_nocancel): Likewise.
9321         (openat_not_cancel): Likewise.
9322         (openat_not_cancel_3): Likewise.
9323         (openat64_not_cancel): Likewise.
9324         (openat64_not_cancel_3): Likewise.
9325         (__close_nocancel): Likewise.
9326         (pause_not_cancel): Likewise.
9327         (nanosleep_not_cancel): Likewise.
9328         (sigsuspend_not_cancel): Likewise.
9330 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9332         [BZ #14958]
9333         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
9334         wake-up.
9335         (__pthread_rwlock_rdlock_slow): Likewise.
9336         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9337         Likewise.
9338         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9339         Likewise.
9340         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
9341         * nptl/tst-rwlock16.c: New file.
9342         * nptl/Makefile (tests): Add new test.
9344 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9346         [BZ #18324]
9347         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
9348         missing wake-up of readers.
9349         * nptl/tst-rwlock15.c: New file.
9350         * nptl/Makefile (tests): Add new test.
9352 2015-06-03  Roland McGrath  <roland@hack.frob.com>
9354         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
9355         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
9356         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
9357         and __nacl_supply_interface_rtld.
9358         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
9359         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
9360         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
9361         Add __nacl_supply_interface_rtld.
9362         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
9364 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9366         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
9367         isfinite.
9368         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9369         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
9371 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9373         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
9374         __signbit* with standard C99 macros.
9375         * math/e_exp10l.c: Likewise.
9376         * math/e_exp2l.c: Likewise.
9377         * math/e_scalb.c: Likewise.
9378         * math/e_scalbf.c: Likewise.
9379         * math/e_scalbl.c: Likewise.
9380         * math/s_ldexp.c: Likewise.
9381         * math/s_ldexpf.c: Likewise.
9382         * math/s_ldexpl.c: Likewise.
9383         * math/w_atan2.c: Likewise.
9384         * math/w_atan2f.c: Likewise.
9385         * math/w_atan2l.c: Likewise.
9386         * math/w_cosh.c: Likewise.
9387         * math/w_coshf.c: Likewise.
9388         * math/w_coshl.c: Likewise.
9389         * math/w_exp10.c: Likewise.
9390         * math/w_exp10f.c: Likewise.
9391         * math/w_exp10l.c: Likewise.
9392         * math/w_exp2.c: Likewise.
9393         * math/w_exp2f.c: Likewise.
9394         * math/w_exp2l.c: Likewise.
9395         * math/w_fmod.c: Likewise.
9396         * math/w_fmodf.c: Likewise.
9397         * math/w_fmodl.c: Likewise.
9398         * math/w_hypot.c: Likewise.
9399         * math/w_hypotf.c: Likewise.
9400         * math/w_hypotl.c: Likewise.
9401         * math/w_jnl.c: Likewise.
9402         * math/w_lgamma.c: Likewise.
9403         * math/w_lgamma_r.c: Likewise.
9404         * math/w_lgammaf.c: Likewise.
9405         * math/w_lgammaf_r.c: Likewise.
9406         * math/w_lgammal.c: Likewise.
9407         * math/w_lgammal_r.c: Likewise.
9408         * math/w_pow.c: Likewise.
9409         * math/w_powf.c: Likewise.
9410         * math/w_powl.c: Likewise.
9411         * math/w_remainder.c: Likewise.
9412         * math/w_remainderf.c: Likewise.
9413         * math/w_remainderl.c: Likewise.
9414         * math/w_scalb.c: Likewise.
9415         * math/w_scalbf.c: Likewise.
9416         * math/w_scalbl.c: Likewise.
9417         * math/w_scalbln.c: Likewise.
9418         * math/w_scalblnf.c: Likewise.
9419         * math/w_scalblnl.c: Likewise.
9420         * math/w_sinh.c: Likewise.
9421         * math/w_sinhf.c: Likewise.
9422         * math/w_sinhl.c: Likewise.
9423         * math/w_tgamma.c: Likewise.
9424         * math/w_tgammaf.c: Likewise.
9425         * math/w_tgammal.c: Likewise.
9426         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9427         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
9428         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9429         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9430         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9431         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9432         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9433         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9434         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9435         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9436         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9437         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9438         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9439         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9440         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9441         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9442         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9443         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9444         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9445         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9446         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9447         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9448         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9449         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9450         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9451         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9452         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9453         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9454         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9455         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9456         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
9457         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
9458         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
9459         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
9460         * stdio-common/printf_fp.c: Likewise.
9461         * stdio-common/printf_fphex.c: Likewise.
9462         * stdio-common/printf_size.c: Likewise.
9464 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
9466         [BZ #18470]
9467         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
9468         strnlen.
9469         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
9470         Remove variable.
9471         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9472         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9473         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9474         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9475         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9476         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9477         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9478         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9479         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9480         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9482         [BZ #18468]
9483         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
9484         weak alias of __wmemchr.  Use libc_hidden_weak.
9485         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
9486         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
9487         instead of wmemchr.
9489 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9491         [BZ #18383]
9492         * elf/tst-tlsalign-extern.c: New file.
9493         * elf/tst-tlsalign-extern-static.c: New file.
9494         * elf/tst-tlsalign-vars.c: New file.
9495         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
9496         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
9497         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
9498         ($(objpfx)tst-tlsalign-extern-static): Likewise.
9499         (test-xfail-tst-tlsalign-extern-static): New variable.
9501 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
9503         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
9504         Use variable name _sc_err instead of err.
9505         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
9506         instead of ret.
9507         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
9508         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
9509         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
9510         (INLINE_SYSCALL): Likewise.
9512         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
9513         * include/string.h (__strnlen): Use libc_hidden_proto.
9514         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
9515         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
9516         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
9517         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
9518         (libc_hidden_def): Undefine and redefine.
9519         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
9520         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
9521         __GI_strnlen.
9522         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
9523         libc_hidden_def.
9524         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
9526         [BZ #18469]
9527         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
9528         weak alias of __towlower.  Use libc_hidden_weak.
9529         (towupper): Rename to __towupper and define as weak alias of
9530         __towupper.  Use libc_hidden_weak.
9531         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
9532         (__towupper): Likewise.
9533         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
9534         __towlower instead of towlower.
9536 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9538         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
9539         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
9541 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9543         * sysdeps/aarch64/libm-test-ulps: Update.
9545 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9547         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
9548         Define.
9549         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9551         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9552         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9553         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
9554         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
9555         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
9557 2015-06-01  Martin Sebor  <msebor@redhat.com>
9559         [BZ #18116]
9560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9561         (__setcontext): Use extended four-operand version of mtsf whenever
9562         possible.
9563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9564         (__novec_swapcontext): Likewise.
9566 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9568         * benchtests/scripts/compare_bench.py: New file.
9569         * benchtests/scripts/import_bench.py (mean): New function.
9570         (split_list): Likewise.
9571         (do_for_all_timings): Likewise.
9572         (compress_timings): Likewise.
9574         * benchtests/scripts/import_bench.py: New file.
9575         * benchtests/scripts/validate_benchout.py: Import import_bench
9576         instead of jsonschema.
9577         (validate_bench): Remove function.
9578         (main): Use import_bench.
9580 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
9582         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
9583         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
9585 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9589 2015-05-28  Roland McGrath  <roland@hack.frob.com>
9591         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
9592         set THREAD_SELF->tid to a magic value and futex-wake it.
9593         Pass its address to the thread_exit system call.
9594         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
9595         bit is clear.
9596         * sysdeps/nacl/lowlevellock.h: New file.
9597         * sysdeps/nacl/lll_timedwait_tid.c: New file.
9599         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
9600         Add TIMEOUT to current time, don't subtract it.
9602 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
9604         [BZ #2981]
9605         [BZ #18422]
9606         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
9607         ($(objpfx)tst-audit2.out): Also depend on
9608         $(objpfx)tst-auditmod9b.so.
9609         * elf/tst-audit2.c: Include <dlfcn.h>.
9610         (calloc_called): New.
9611         (calloc): Allow to be called more than once.
9612         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
9614 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
9616         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
9617         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
9619 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
9621         * stdlib/monetary.h: Fix comment.
9623 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
9625         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
9626         Avoid using variables in #defines that might cause shadowing.
9627         (INTERNAL_VSYSCALL_CALL): Likewise.
9629 2015-05-26  Roland McGrath  <roland@hack.frob.com>
9631         * sysdeps/nacl/lll_timedlock_wait.c: New file.
9633         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
9634         * nptl/lll_timedlock_wait.c: ... to this new file.
9635         * nptl/Makefile (libpthread-routines): Add it.
9636         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
9637         * nptl/lll_timedwait_tid.c: ... to this new file.
9638         * nptl/Makefile (libpthread-routines): Add it.
9639         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
9640         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
9641         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
9642         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
9643         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
9644         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
9645         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
9646         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
9647         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
9648         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
9650 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9652         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
9653         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9654         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
9655         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
9656         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9657         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9658         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9659         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9660         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9661         * sysdeps/unix/sysv/linux/tile/sysdep.h
9662         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9663         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
9664         using vDSO syscall macro.
9666 2015-05-26  Andriy Rysin  <arysin@gmail.com>
9668         [BZ #17293]
9669         * uk_UA: Fix sorting order for Ukrainian locale
9671 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
9673         * stdlib/monetary.h: Fix comment.
9675 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9677         [BZ #18234]
9678         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
9679         st_mtim and st_ctim members.
9680         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
9681         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
9682         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
9683         (struct stat64): Likewise.
9684         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
9685         (struct stat64): Likewise.
9686         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
9687         (struct stat64): Likewise.
9689 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9691         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
9692         Define and include sysdep-vdso.h.
9693         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
9694         Likewise.
9695         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
9696         Likewise.
9697         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
9698         Define with VDSO_SYMBOL and use PTR_MANGLE.
9699         (__vdso_clock_gettime): Likewise.
9700         (__vdso_clock_getres): Likewise.
9701         (_libc_vdso_platform_setup): Likewise.
9702         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9703         Likewise.
9704         (_libc_vdso_platform_setup): Likewise.
9705         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
9706         Likewise.
9707         (__vdso_clock_gettime): Likewise.
9708         (__vdso_clock_getres): Likewise.
9709         (__vdso_get_tbfreq): Likewise.
9710         (__vdso_getcpu): Likewise.
9711         (__vdso_time): Likewise.
9712         (__vdso_sigtramp_rt64): Likewise.
9713         (__vdso_signtramp32): Likewise.
9714         (__vdso_sigtramp_rt32): Likewise.
9715         (_libc_vdso_platform_setup): Likewise.
9716         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
9717         Likewise.
9718         (__vdso_clock_gettime): Likewise.
9719         (__vdso_clock_getres): Likewise.
9720         (_libc_vdso_platform_setup): Likewise.
9721         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
9722         Likewise.
9723         (__vdso_clock_gettime): Likewise.
9724         (_libc_vdso_platform_setup): Likewise.
9725         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9726         Likewise.
9727         (__vdso_getcpu): Likewise.
9728         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
9729         Use VDSO_SYMBOL macro to define.
9730         (__vdso_clock_gettime): Likewise.
9731         (__vdso_clock_getres): Likewise.
9732         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
9733         Likewise.
9734         (__vdso_clock_gettime): Likewise.
9735         (__vdso_clock_getres): Likewise.
9736         (__vdso_get_tbfreq): Likewise.
9737         (__vdso_getcpu): Likewise.
9738         (__vdso_time): Likewise.
9739         (__vdso_sigtramp_rt64): Likewise.
9740         (__vdso_signtramp32): Likewise.
9741         (__vdso_sigtramp_rt32): Likewise.
9742         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
9743         Likewise.
9744         (__vdso_clock_gettime): Likewise.
9745         (__vdso_clock_getres): Likewise.
9746         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
9747         Likewise.
9748         (__vdso_clock_gettime): Likewise.
9749         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9750         Likewise.
9751         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
9752         macro.
9753         (INTERNAL_VSYSCALL): Likewise.
9754         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
9755         Remove macro.
9756         (INTERNAL_VSYSCALL): Likewise.
9757         (INTERNAL_VSYSCALL_NCS): Likewise.
9758         (INTERNAL_VSYSCALL_CALL): New macro.
9759         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9760         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
9761         Likewise.
9762         (INTERNAL_VSYSCALL): Likewise.
9763         (INTERNAL_VSYSCALL_NCS): Likewise.
9764         (INTERNAL_VSYSCALL_CALL): New macro.
9765         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9767         (INLINE_VSYSCALL): Remove macro.
9768         (INTERNAL_VSYSCALL): Remove macro.
9769         (INTERNAL_VSYSCALL_NCS): Remove macro.
9770         (INTERNAL_VSYSCALL_CALL): New macro.
9771         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
9772         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
9773         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9774         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
9775         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9777         (INLINE_VSYSCALL): Remove macro.
9778         (INTERNAL_VSYSCALL): Likewise.
9779         (INTERNAL_VSYSCALL_NCS): Likewise.
9780         (INTERNAL_VSYSCALL_CALL): New macro.
9781         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
9782         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
9783         PTR_DEMANGLE on vDSO pointer.
9784         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9785         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
9786         macro.
9787         (INTERNAL_SYSCALL): Likewise.
9788         (INTERNAL_VSYSCALL_NCS): Remove macro.
9789         (INTERNAL_VSYSCALL_CALL): New macro.
9790         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
9791         Remove macro.
9792         (INTERNAL_VSYSCALL): Likewise.
9793         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
9794         sysdep-vdso.h instead of libc-vdso.h.
9795         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
9796         definition.
9797         (INLINE_VSYSCALL): Likewise.
9798         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
9799         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
9800         definition.
9801         (INLINE_VSYSCALL): Likewise.
9802         (INTERNAL_VSYSCALL): Likewise.
9803         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9804         * sysdeps/unix/sysv/linux/timespec_get.c
9805         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9806         (timespec_get): Use ANSI prototype.
9807         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
9808         and definition for Linux.
9810 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9812         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
9813         * include/libc-symbols.h: libmvec_hidden_* macro series added.
9815 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9817         [BZ #2981]
9818         [BZ #18410]
9819         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
9820         for missing DT_PLTRELSZ.
9822 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9824         Remove obsolete aliases that broke 'locale -a'
9825         [BZ #18412]
9826         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
9827         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
9828         breaking some applications that use 'locale -a' output.
9829         Change the encoding of this file from Latin-1 to ASCII to avoid
9830         other potential problems with people grepping this file.
9832 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9834         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
9835         -fasynchronous-unwind-tables.
9836         (CFLAGS-sendto.c): Likewise.
9837         (CFLAGS-sendmsg.c): Likewise.
9838         (CFLAGS-connect.c): Likewise.
9839         (CFLAGS-recvmsg.c): Likewise.
9840         (CFLAGS-recvfrom.c): Likewise.
9841         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
9842         (SOCKETCALL): New macro: non-cancellable socketcall.
9843         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
9844         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
9845         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
9846         * sysdeps/unix/sysv/linux/accept.c: New file.
9847         * sysdeps/unix/sysv/linux/bind.c: Likewise.
9848         * sysdeps/unix/sysv/linux/connect.c: Likewise.
9849         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
9850         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
9851         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
9852         * sysdeps/unix/sysv/linux/listen.c: Likewise.
9853         * sysdeps/unix/sysv/linux/recv.c: Likewise.
9854         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
9855         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9856         * sysdeps/unix/sysv/linux/send.c: Likewise.
9857         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9858         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
9859         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
9860         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
9861         * sysdeps/unix/sysv/linux/socket.c: Likewise.
9862         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
9863         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
9864         prototype.
9865         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
9866         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9867         instead of __internal_xxx function.
9868         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
9869         prototype.
9870         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
9871         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9872         instead of __internal_xxx function.
9873         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
9874         prototype.
9875         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
9876         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9877         instead of __internal_xxx function.
9878         * sysdeps/unix/sysv/linux/accept.S: Remove file.
9879         * sysdeps/unix/sysv/linux/bind.S: Likewise.
9880         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9881         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
9882         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
9883         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
9884         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
9885         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
9886         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
9887         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
9888         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
9889         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9890         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
9891         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
9892         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
9893         * sysdeps/unix/sysv/linux/listen.S: Likewise.
9894         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
9895         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
9896         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
9897         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
9898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
9899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
9900         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9901         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9902         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9903         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
9904         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9905         * sysdeps/unix/sysv/linux/send.S: Likewise.
9906         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9907         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9908         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
9909         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
9910         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
9911         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
9912         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9913         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
9914         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
9915         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
9916         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
9917         socketcall is implemented in GLIBC.
9919 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9921         * soft-fp/fmadf4.c: Include <libc-internal.h>.
9922         (__fma): Ignore uninitialized warnings around packing.
9923         * soft-fp/fmasf4.c: Include <libc-internal.h>.
9924         (__fmaf): Ignore uninitialized warnings around packing.
9925         * soft-fp/fmatf4.c: Include <libc-internal.h>.
9926         (__fmal): Ignore uninitialized warnings around packing.
9928         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
9929         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9930         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
9931         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9933         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
9934         switch statement into default case.
9935         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
9937         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
9938         a conditional in forcing "inexact".
9939         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9940         Likewise.
9942 2015-05-22  Roland McGrath  <roland@hack.frob.com>
9944         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9945         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
9946         for each INTERNAL_SYSCALL use.
9948 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9950         [BZ #438]
9951         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
9952         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
9953         variable.
9955         [BZ #18444]
9956         * string/basename.c (basename): Rename to __basename and define as
9957         weak alias of __basename.  Use libc_hidden_weak.
9958         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
9959         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
9960         __basename instead of basename.
9961         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
9962         Remove variable.
9963         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9965 2015-05-18  Florian Weimer  <fweimer@redhat.com>
9967         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
9968         (_IO_JUMPS_FILE_plus): New.
9969         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
9970         _IO_CAST_FIELD_ACCESS.
9971         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
9972         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
9973         * libio/freopen.c (freopen): Likewise.
9974         * libio/freopen64.c (freopen64): Likewise.
9975         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
9976         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
9977         * libio/iofwide.c (_IO_fwide): Likewise.
9978         * libio/memstream.c (open_memstream): Likewise.
9979         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9980         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9981         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9983 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
9985         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
9986         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
9987         NADJ.
9988         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
9989         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
9990         NADJ.
9991         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
9992         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
9993         NADJ.
9995         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
9996         (p == 4) case.
9998         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
9999         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
10000         Remove variable.
10001         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10002         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10003         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10005 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10007         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
10008         Adjust jump table label generation macros.
10010 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10012         * stdio-common/vfprintf.c (vfprintf): Move local variables
10013         args_malloced, specs, specs_malloced, and the code after
10014         do_positional to the printf_positional function.
10015         (printf_positional): New function.
10017 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10019         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
10020         function.
10021         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
10022         STEP4_TABLE, process_arg): Move macro definitions
10023         out of the vfprintf function.  (Cosmetic change only.)
10025 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
10027         * benchtests/Makefile (stdio-common-bench): Define.
10028         (benchset): Add stdio-common-bench.
10029         * sprintf-inputs: New file.
10030         * sprintf-source.c: New file.
10032 2015-05-21  Andreas Schwab  <schwab@suse.de>
10034         [BZ #13028]
10035         [BZ #17053]
10036         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
10037         of struct __res_state.
10038         * resolv/res_send.c (__libc_res_nsend): Likewise.
10039         (get_nsaddr): New function.
10040         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
10041         statp directly.
10043 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
10045         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
10046         -D_POSIX_C_SOURCE=199506L.
10048         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
10050         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
10051         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
10052         Do not mention otherwise.
10053         [POSIX] (_XOPEN_VERSION): Do not expect.
10054         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
10055         [POSIX] (_POSIX2_C_BIND): Likewise.
10056         [POSIX] (_POSIX2_VERSION): Likewise.
10057         [POSIX] (_XOPEN_XPG2): Likewise.
10058         [POSIX] (_XOPEN_XPG3): Likewise.
10059         [POSIX] (_XOPEN_XPG4): Likewise.
10060         [POSIX] (_XOPEN_UNIX): Likewise.
10061         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
10062         [POSIX] (_POSIX_BARRIERS): Likewise.
10063         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
10064         [POSIX] (_POSIX_CPUTIME): Likewise.
10065         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
10066         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
10067         [POSIX] (_POSIX_SHELL): Likewise.
10068         [POSIX] (_POSIX_SPAWN): Likewise.
10069         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
10070         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
10071         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
10072         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
10073         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
10074         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
10075         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
10076         [POSIX] (_XBS5_LP64_OFF64): Likewise.
10077         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
10078         [POSIX] (_POSIX_TIMEOUTS): Likewise.
10079         [POSIX] (_POSIX2_PBS): Likewise.
10080         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
10081         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
10082         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
10083         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
10084         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
10085         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
10086         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
10087         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
10088         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
10089         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
10090         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
10091         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
10092         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
10093         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
10094         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
10095         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
10096         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
10097         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
10098         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
10099         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
10100         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
10101         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
10102         [POSIX] (_SC_2_C_BIND): Likewise.
10103         [POSIX] (_SC_2_C_VERSION): Likewise.
10104         [POSIX] (_SC_2_PBS): Likewise.
10105         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
10106         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
10107         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
10108         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
10109         [POSIX] (_SC_2_PBS_TRACK): Likewise.
10110         [POSIX] (_SC_ATEXIT_MAX): Likewise.
10111         [POSIX] (_SC_BARRIERS): Likewise.
10112         [POSIX] (_SC_BASE): Likewise.
10113         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
10114         [POSIX] (_SC_DEVICE_IO): Likewise.
10115         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
10116         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
10117         [POSIX] (_SC_FD_MGMT): Likewise.
10118         [POSIX] (_SC_FIFO): Likewise.
10119         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
10120         [POSIX] (_SC_FILE_LOCKING): Likewise.
10121         [POSIX] (_SC_FILE_SYSTEM): Likewise.
10122         [POSIX] (_SC_IOV_MAX): Likewise.
10123         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
10124         [POSIX] (_SC_NETWORKING): Likewise.
10125         [POSIX] (_SC_PAGE_SIZE): Likewise.
10126         [POSIX] (_SC_PASS_MAX): Likewise.
10127         [POSIX] (_SC_PIPE): Likewise.
10128         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
10129         [POSIX] (_SC_REGEXP): Likewise.
10130         [POSIX] (_SC_SHELL): Likewise.
10131         [POSIX] (_SC_SIGNALS): Likewise.
10132         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
10133         [POSIX] (_SC_SPIN_LOCKS): Likewise.
10134         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
10135         [POSIX] (_SC_USER_GROUPS): Likewise.
10136         [POSIX] (_SC_USER_GROUPS_R): Likewise.
10137         [POSIX] (_SC_STREAMS): Likewise.
10138         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
10139         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
10140         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
10141         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
10142         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
10143         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
10144         [POSIX] (_PC_FILESIZEBITS): Likewise.
10145         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
10146         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
10147         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
10148         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
10149         [POSIX] (uid_t): Likewise.
10150         [POSIX] (gid_t): Likewise.
10151         [POSIX] (off_t): Likewise.
10152         [POSIX] (pid_t): Likewise.
10153         [POSIX] (cuserid): Allow.
10154         (_SC_2_CHAR_TERM): Require constant.
10155         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
10156         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
10157         variable.
10159 2015-05-20  Roland McGrath  <roland@hack.frob.com>
10161         * sysdeps/nacl/pthread-pids.h: New file.
10162         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
10163         (create_thread): Use __nacl_get_tid to initialize PD->tid.
10165         * nptl/pthread-pids.h: New file.
10166         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
10167         * nptl/nptl-init.c: Include <pthread-pids.h>.
10168         (__pthread_initialize_minimal_internal):
10169         Call __pthread_initialize_pids instead of set_tid_address syscall.
10171         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
10172         * sysdeps/posix/usleep.c: ... here.
10174 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10176         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
10177         call_pselect6 object.
10178         [$(subdir) = io]: Remove call_sync_file_range object.
10179         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
10180         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
10181         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
10182         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
10184 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
10186         * math/s_cproj.c: Add include "math_private.h".
10187         * math/s_cprojf.c: Likewise.
10188         * math/s_cprojl.c: Likewise.
10190 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
10192         [BZ #18244]
10193         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
10194         high mantissa bit when testing whether P is a NaN.
10195         * math/libm-test.inc (remainder_test_data): Add more tests.
10196         (remquo_test_data): Likewise.
10198         [BZ #18049]
10199         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
10200         below -32, return the argument, with underflow if subnormal.
10201         * math/auto-libm-test-in: Add more tests of atanh.
10202         * math/auto-libm-test-out: Regenerated.
10204 2015-05-19  Roland McGrath  <roland@hack.frob.com>
10206         [BZ #18434]
10207         * nptl/tst-sem15.c: New file.
10208         * nptl/Makefile (tests): Add it.
10209         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
10210         s/<</>>/ to fix typo in EOVERFLOW check.
10211         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
10213 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10215         * manual/strings.texi (envz_remove): Fix typo in safety
10216         annotations.
10218 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
10219             Steve Ellcey  <sellcey@imgtec.com>
10221         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
10222         in order to avoid strict alias warnings.
10223         (iruserok_af): Ditto for ra.
10225 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
10227         [BZ #17581]
10228         * malloc/hooks.c
10229         (magicbyte): Convert to a function and avoid returning 0x01.
10230         (mem2mem_check): Avoid using a length byte equal to the magic byte.
10231         (mem2chunk_check): Fix unsigned comparisons to zero.
10232         Hoist defs of sz and magic.
10234 2015-05-19  Richard Henderson  <rth@redhat.com>
10236         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
10238         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10240 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10242         [BZ #16159]
10243         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
10244         * malloc/arena.c (arena_lock): Check if arena is corrupt.
10245         (reused_arena): Find a non-corrupt arena.
10246         (heap_trim): Pass arena to unlink.
10247         * malloc/hooks.c (malloc_check_get_size): Pass arena to
10248         malloc_printerr.
10249         (top_check): Likewise.
10250         (free_check): Likewise.
10251         (realloc_check): Likewise.
10252         * malloc/malloc.c (malloc_printerr): Add arena argument.
10253         (unlink): Likewise.
10254         (munmap_chunk): Adjust.
10255         (ARENA_CORRUPTION_BIT): New macro.
10256         (arena_is_corrupt): Likewise.
10257         (set_arena_corrupt): Likewise.
10258         (sysmalloc): Use mmap if there are no usable arenas.
10259         (_int_malloc): Likewise.
10260         (__libc_malloc): Don't fail if arena_get returns NULL.
10261         (_mid_memalign): Likewise.
10262         (__libc_calloc): Likewise.
10263         (__libc_realloc): Adjust for additional argument to
10264         malloc_printerr.
10265         (_int_free): Likewise.
10266         (malloc_consolidate): Likewise.
10267         (_int_realloc): Likewise.
10268         (_int_memalign): Don't touch corrupt arenas.
10269         * malloc/tst-malloc-backtrace.c: New test case.
10271         * Makefile (summarize-tests): Fix return value on success.
10273         * manual/string.texi (Envz Functions): Add envz_remove.
10275 2015-05-18  Roland McGrath  <roland@hack.frob.com>
10277         * sysdeps/posix/opendir.c: Include <stdbool.h>.
10278         (invalid_name): New function, broken out of ...
10279         (__opendirat): ... here.  Call it.
10280         (need_isdir_precheck): New function, broken out of ...
10281         (__opendirat): ... here.  Call it.
10282         Use __fxstatat64, not __xstatat64.
10283         (opendir_oflags): New function, broken out of ...
10284         (__opendirat): ... here.  Call it.
10285         (opendir_tail): New function, broken out of ...
10286         (__opendirat): ... here.  Call it.
10287         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
10288         opendir_tail, rather than punting to __opendirat.
10289         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
10291 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10293         * .gitignore: Ignore generated *.pyc.
10295 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
10297         * include/stdio.h: Define __need_wint_t.
10298         * test-skeleton.c: Avoid `for' loop initial declaration.
10299         * nptl/tst-initializers1.c: Use test-skeleton.c.
10301 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10303         [BZ #18418]
10304         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
10306 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10308         [BZ #16352]
10309         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
10310         (__ieee754_atanh): Force underflow exception for results with
10311         small absolute value.
10312         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
10313         (__ieee754_atanhf): Force underflow exception for results with
10314         small absolute value.
10315         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
10316         (__ieee754_atanh): Force underflow exception for results with
10317         small absolute value.
10318         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
10319         (__ieee754_atanhf): Force underflow exception for results with
10320         small absolute value.
10321         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
10322         (__ieee754_atanhl): Force underflow exception for results with
10323         small absolute value.
10324         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
10325         (__ieee754_atanhl): Force underflow exception for results with
10326         small absolute value.
10327         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
10328         (__ieee754_atanhl): Force underflow exception for results with
10329         small absolute value.
10330         * math/auto-libm-test-in: Do not allow missing underflow
10331         exceptions from atanh.
10332         * math/auto-libm-test-out: Regenerated.
10334         [BZ #18221]
10335         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
10336         2**-28 as threshold for returning x or +/- 1/x.
10337         * math/auto-libm-test-in: Add more tests of tan.
10338         * math/auto-libm-test-out: Regenerated.
10340         [BZ #18220]
10341         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10342         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
10343         * math/auto-libm-test-in: Add another test of lgamma.
10344         * math/auto-libm-test-out: Regenerated.
10346 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
10348         * stdio-common/printf_fp.c (___printf_fp): Use abs.
10349         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
10350         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
10351         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
10352         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
10353         (ADD2A): Use fabs.  (SUB2A): Use fabs.
10354         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
10355         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
10356         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
10357         (log1): Use fabs.  (my_log2): Use fabs.
10358         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
10359         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
10360         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
10361         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
10362         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
10363         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
10364         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
10365         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
10366         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
10367         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
10368         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
10370 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10372         [BZ #18217]
10373         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
10374         as threshold for returning 1 - x.
10375         * math/auto-libm-test-in: Add more tests of erfc.
10376         * math/auto-libm-test-out: Regenerated.
10378 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
10380         [BZ #18196]
10381         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
10382         threshold for large arguments.
10383         * math/auto-libm-test-in: Add another test of atan.
10384         * math/auto-libm-test-out: Regenerated.
10386         [BZ #16339]
10387         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
10388         (__log1p): Force underflow exception for results with small
10389         absolute value.
10390         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
10391         (__log1pf): Force underflow exception for results with small
10392         absolute value.
10393         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
10394         (__log1p): Force underflow exception for results with small
10395         absolute value.
10396         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
10397         (__log1pf): Force underflow exception for results with small
10398         absolute value.
10399         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
10400         (__log1pl): Force underflow exception for results with small
10401         absolute value.
10402         * math/auto-libm-test-in: Do not allow missing underflow
10403         exceptions from log1p.
10404         * math/auto-libm-test-out: Regenerated.
10406 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
10407             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10409         [BZ #16704]
10410         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
10412 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
10414         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
10415         (libmvec): New variable.
10416         * configure.ac: Added option for mathvec build.
10417         * configure: Regenerated.
10418         * mathvec/Depend: New file.
10419         * mathvec/Makefile: New file.
10420         * shlib-versions: Added libmvec.
10421         * math/Makefile: Added rule for libm.so installation.
10423         * bits/math-vector.h: New file.
10424         * bits/libm-simd-decl-stubs.h: New header.
10425         * math/Makefile (headers): Added new header
10426         libm-simd-decl-stubs.h.
10427         * math/math.h (__MATHCALL_VEC): New macro.
10429         * math/gen-libm-have-vector-test.sh: Script generates series of macros
10430         for conditions in testing functions.
10431         * math/Makefile: Added call of libm-have-vector-test.sh.
10432         * math/libm-test.inc (HAVE_VECTOR): New macros.
10434         * math/libm-test.inc: START refactored.
10435         * math/test-double.c (TEST_MATHVEC): Add define.
10436         * math/test-float.c: Likewise.
10437         * math/test-idouble.c: Likewise.
10438         * math/test-ifloat.c: Likewise.
10439         * math/test-ildoubl.c: Likewise.
10440         * math/test-ldouble.c: Likewise.
10441         * sysdeps/generic/math-tests-arch.h
10442         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
10443         architecture check.
10445         * math/test-double.c (FUNC_TEST): New macro.
10446         * math/test-float.c: Likewise.
10447         * math/test-idouble.c: Likewise.
10448         * math/test-ifloat.c: Likewise.
10449         * math/test-ildoubl.c: Likewise.
10450         * math/test-ldouble.c: Likewise.
10451         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
10453 2015-05-13  Roland McGrath  <roland@hack.frob.com>
10455         * sysdeps/nacl/fdopendir.c: New file.
10457         * dirent/scandir-tail.c: New file.
10458         * dirent/scandir64-tail.c: New file.
10459         * dirent/Makefile (routines): Add them.
10460         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
10461         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
10462         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
10463         [!SCANDIR] (SCANDIR_TAIL): New macro.
10464         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
10465         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
10466         (SCANDIRAT): Macro removed.
10467         (SCANDIR_TAIL): New macro.
10468         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
10469         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
10470         (SCANDIRAT): Just call __opendirat and __scandir_tail.
10471         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
10472         (READDIR): Macro removed.
10473         (SCANDIR_TAIL): New macro.
10474         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
10475         (SCANDIR_TAIL): New macro.
10477         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
10478         * dirent/scandir-cancel.c: ... to this new file.
10479         * dirent/Makefile (routines): Add it.
10480         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
10481         * sysdeps/unix/sysv/linux/i386/scandir64.c
10482         (SKIP_SCANDIR_CANCEL): Macro removed.
10483         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
10485         * dirent/tst-scandir.c: New file.
10486         * dirent/tst-scandir64.c: New file.
10487         * dirent/Makefile (tests): Add them.
10489 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10491         [BZ #18409]
10492         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
10494 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10496         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
10497         list.
10499 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
10501         * benchtests/bench-strcoll.c: New benchmark.
10502         * benchtests/Makefile: Generate locales and run benchmark.
10503         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
10504         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10505         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
10506         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
10507         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
10508         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
10509         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
10510         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
10511         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
10512         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
10513         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
10514         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
10515         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
10516         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
10517         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
10518         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
10519         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
10520         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
10521         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
10522         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
10523         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
10524         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
10525         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
10526         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
10528 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
10530         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
10531         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10533 2015-05-12  Roland McGrath  <roland@hack.frob.com>
10535         * posix/uname-values.h: New file.
10536         * posix/uname.c: Include that instead of <config-name.h>.
10537         * sysdeps/nacl/uname-values.h: New file.
10538         * sysdeps/arm/nacl/uname-values.h: New file.
10540 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
10542         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
10543         splitting into fields.
10545 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
10547         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
10548         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
10549         * locale/localeinfo.h: Add enum collation_encoding_type.
10550         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
10551         * programs/ld-collate.c (collate_output): Add encoding type info.
10552         * string/strcoll_l.c (STRDIFF): New function.
10553         * (STRCOLL): Use STRDIFF to skip over equal prefix.
10554         * wcsmbs/wcscoll_l.c: Define STRDIFF.
10556 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
10558         [BZ #18397]
10559         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
10560         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
10561         <fpu_control.h> instead of <math/fpu_control.c>.
10562         * sysdeps/mips/mips32/fpu/Makefile: New file.
10564 2015-05-11  Andreas Schwab  <schwab@suse.de>
10566         [BZ #18007]
10567         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
10568         nss_endgrent.
10569         (_nss_compat_endgrent): Call nss_endgrent.
10570         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
10571         nss_endpwent.
10572         (_nss_compat_endpwent): Call nss_endpwent.
10573         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
10574         needent, call nss_setspent only if non-zero.
10575         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
10576         (internal_endspent): Don't call nss_endspent.
10577         (_nss_compat_endspent): Call nss_endspent.
10578         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
10579         Remove.  All uses removed.
10580         (internal_setent): Remove parameter stayopen, add parameter
10581         stream.  Use it instead of global variable.
10582         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
10583         (internal_endent, internal_getent): Add parameter stream.  Use it
10584         instead of global variable.
10585         (CONCAT(_nss_files_end,ENTNAME))
10586         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
10587         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
10588         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
10589         uses removed.
10590         (internal_setent, internal_endent): Add parameter stream.  Use it
10591         instead of global variable.
10592         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
10593         stream.
10594         (get_next_alias): Add parameter stream.
10595         (_nss_files_getaliasent_r): Pass global stream.
10596         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
10597         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
10598         (_nss_files_gethostbyname4_r): Pass local stream to
10599         internal_setent, internal_getent and internal_endent.  Remove
10600         locking.
10602 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10604         * tst-strfmon1.c (tests): Update expected currency symbol.
10606 2015-05-08  Roland McGrath  <roland@hack.frob.com>
10608         * sysdeps/nacl/gethostname.c: New file.
10610 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
10612         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
10613         and sinh.
10614         * math/auto-libm-test-out: Regenerated.
10615         * sysdeps/i386/fpu/libm-test-ulps: Update.
10616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10618 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
10620         [BZ #18125]
10621         * stdlib/tst-setcontext3.c: New file.
10622         * stdlib/tst-setcontext3.sh: New file.
10623         * stdlib/Makefile (tests): Add tst-setcontext3.
10624         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
10625         to verify test program created output file.
10626         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
10627         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
10628         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
10629         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
10631 2015-05-06  Roland McGrath  <roland@hack.frob.com>
10633         [BZ #18383]
10634         * elf/tst-tlsalign.c: New file.
10635         * elf/tst-tlsalign-static.c: New file.
10636         * elf/tst-tlsalign-lib.c: New file.
10637         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
10638         (tests-static): Add tst-tlsalign-static.
10639         (modules-names): Add tst-tlsalign-lib.
10640         (test-xfail-tst-tlsalign): New variable.
10641         (test-xfail-tst-tlsalign-static): New variable.
10643         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
10644         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
10646 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
10648         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
10649         csqrt, erfc, sin and sincos.
10650         * math/auto-libm-test-out: Regenerated.
10651         * sysdeps/i386/fpu/libm-test-ulps: Update.
10652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10654 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10656         * sysdeps/aarch64/libm-test-ulps: Update.
10658 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
10660         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
10661         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
10662         * math/auto-libm-test-out: Regenerated.
10663         * sysdeps/i386/fpu/libm-test-ulps: Update.
10664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10666 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10668         [BZ #18265]
10669         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
10670         (wcsncpy): Likewise.
10672 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10674         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10675         Assume __ASSUME_FALLOCATE is always true.
10676         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10677         (__posix_fallocate64_l64): Likweise.
10678         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
10679         (posix_fallocate): Likewise.
10680         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
10681         (__posix_fallocate64_l64): Likewise.
10682         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10683         [!__ASSUME_FALLOCATE]: Add comment.
10685 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10687         * sysdeps/unix/sysv/linux/i386/Makefile
10688         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
10689         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
10690         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
10691         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10692         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10693         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
10694         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
10696 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
10698         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
10699         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
10700         tgamma.
10701         * math/auto-libm-test-out: Regenerated.
10702         * sysdeps/i386/fpu/libm-test-ulps: Update.
10703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10705 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10707         * math/auto-libm-test-in: Add more tests of tgamma.
10708         * math/auto-libm-test-out: Regenerated.
10709         * sysdeps/i386/fpu/libm-test-ulps: Update.
10710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10712         * math/auto-libm-test-in: Add more tests of tanh.
10713         * math/auto-libm-test-out: Regenerated.
10714         * sysdeps/i386/fpu/libm-test-ulps: Update.
10715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10717         * math/auto-libm-test-in: Add more tests of tan.
10718         * math/auto-libm-test-out: Regenerated.
10719         * sysdeps/i386/fpu/libm-test-ulps: Update.
10720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10722         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
10723         * math/auto-libm-test-out: Regenerated.
10724         * sysdeps/i386/fpu/libm-test-ulps: Update.
10725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10727         * math/auto-libm-test-in: Add another test of pow.
10728         * math/auto-libm-test-out: Regenerated.
10729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10731         * math/auto-libm-test-in: Add more tests of lgamma.
10732         * math/auto-libm-test-out: Regenerated.
10733         * sysdeps/i386/fpu/libm-test-ulps: Update.
10734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10736         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
10737         log1p.
10738         * math/auto-libm-test-out: Regenerated.
10739         * sysdeps/i386/fpu/libm-test-ulps: Update.
10740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10742 2015-05-01  Mark Wielaard  <mjw@redhat.com>
10744         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
10745         Elf64_Chdr structs and ELFCOMPRESS constants.
10747 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10749         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
10750         expm1.
10751         * math/auto-libm-test-out: Regenerated.
10752         * sysdeps/i386/fpu/libm-test-ulps: Update.
10753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10755         * math/auto-libm-test-in: Add more tests of erf and erfc.
10756         * math/auto-libm-test-out: Regenerated.
10757         * sysdeps/i386/fpu/libm-test-ulps: Update.
10758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10760 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10762         * config.h.in (HAVE_AARCH64_BE): Add.
10764 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
10766         * math/auto-libm-test-in: Add more tests of csqrt.
10767         * math/auto-libm-test-out: Regenerated.
10768         * sysdeps/i386/fpu/libm-test-ulps: Update.
10769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10771         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10772         * math/auto-libm-test-out: Regenerated.
10773         * sysdeps/i386/fpu/libm-test-ulps: Update.
10774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10776         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
10778 2015-04-29  Roland McGrath  <roland@hack.frob.com>
10780         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
10781         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
10783         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
10784         (euidaccess, eaccess): Define as weak aliases.
10786         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
10787         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
10788         but __suseconds_t is often 'long int' so some sources assume that
10789         type is being used (e.g. they use %ld to print tv_usec).
10791 2015-04-29  Florian Weimer  <fweimer@redhat.com>
10793         [BZ #18007]
10794         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
10795         (CVE-2014-8121)
10796         * nss/tst-nss-getpwent.c: New file.
10797         * nss/Makefile (tests): Add new test.
10799 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
10801         [BZ #18346]
10802         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
10803         exponents less than 48 as cases where high part of mantissa needs
10804         examining to determine whether argument is integral.
10805         * math/libm-test.inc (round_test_data): Add more tests.
10807 2015-04-28  Mark Wielaard  <mjw@redhat.com>
10809         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
10811 2015-04-27  David S. Miller  <davem@davemloft.net>
10813         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
10814         __tls_get_addr.
10815         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10817 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
10819         [BZ#18333]
10820         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
10822 2015-04-27  Florian Weimer  <fweimer@redhat.com>
10824         [BZ#18333]
10825         * time/tzset.c (parse_tzname): Return error on memory allocation
10826         failure.
10827         * test-skeleton.c (struct temp_name_list): Change type of name
10828         member to non-const.
10829         (add_temp_file): Create a copy of the file name.
10830         (delete_temp_files): Deallocate memory.
10831         (create_temp_file): Add comment.
10833 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10835         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
10836         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
10838 2015-04-24  Roland McGrath  <roland@hack.frob.com>
10840         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
10841         * sysdeps/arm/configure: Regenerated.
10843 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10845         [BZ #17715]
10846         * time/tzfile.c (__tzfile_read): Check for large values of
10847         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
10848         * time/tzset.c (__tzstring_len): New function, based on the old
10849         __tzstring function.
10850         (__tzstring): Call __tzstring_len.
10851         (parse_tzname): New helper function extracted from
10852         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
10853         the input string.
10854         (parse_offset): New helper function extracted from
10855         __tzset_parse_tz.  Replace switch with fallthrough with
10856         initialization before sscanf.
10857         (parse_rule): Likewise.
10858         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
10859         new-style function definition.
10860         * timezone/Makefile (tests): Add tst-tzset.
10861         (tst-tzset.out): Dependencies on time zone files.
10862         (tst-tzset-ENV): Set TZDIR.
10863         (testdata/XT%): Copy crafted time zone files.
10864         * timezone/README: Mention crafted time zone files.
10865         * timezone/testdata/XT1, timezone/testdata/XT2,
10866         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
10867         files.
10868         * timezone/tst-tzset.c: New test.
10870 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10872         * Makeconfig (+gccwarn): Remove -Winline.
10874 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10876         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
10878 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10880         * NEWS: Mention sysconf() cache information support for s390.
10881         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
10883 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
10885         * math/k_casinh.c (__kernel_casinh): Use __copysign.
10886         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
10887         (__nearbyint): Likewise.
10888         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
10889         (copysignl): Likewise.
10891 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
10893         [BZ #18287]
10894         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
10895         based on padding.  (CVE-2015-1781)
10897 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10899         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
10900         libc-vdso.h.
10901         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
10902         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
10903         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
10904         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10905         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10906         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
10907         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
10908         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10909         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10910         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
10911         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10912         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10913         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10914         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
10915         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10916         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
10917         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
10918         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
10919         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
10920         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
10921         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
10922         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
10923         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
10925 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
10927         * stdlib/setenv.c (__add_to_environ):
10928         Dump core quickly if setenv (..., NULL, ...) is called.
10929         This time, do it the right way, and pacify GCC with a pragma.
10931 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10933         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
10934         IMAP->l_prev cannot be null, and #if out the code for the contrary
10935         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
10936         believe that NS (&_dl_ns[NSID]) could point outside the array.
10938         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
10939         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
10940         before using NSID as an index.
10942 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
10944         [BZ #17825]
10945         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
10946         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
10947         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10949 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10951         Add preliminary port to Google Native Client on ARM.
10952         * abi-tags (.*-.*-nacl.*): New entry.
10953         * sysdeps/arm/nacl: New directory.
10954         * sysdeps/nacl: New directory.
10956 2015-04-16  David S. Miller  <davem@davemloft.net>
10958         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
10959         lowlevellock-futex.h
10961 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
10963         * sysdeps/tile/configure.ac: New file.
10964         * sysdeps/tile/configure: Regenerated.
10966 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10968         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
10969         conditionals for weak_alias and libc_hidden_weak.
10970         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
10971         libc_hidden_weak and weak_alias.
10972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
10973         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
10974         and weak_alias for static one.
10976 2015-04-15  David S. Miller  <davem@davemloft.net>
10978         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10980 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10982         [BZ #18206]
10983         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
10984           Use signed comparision instead of substraction to avoid
10985           overflow bug.
10986         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
10987           Take the sign of ret.
10988         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
10989           Do not expect precise return values. Only the sign matters.
10990         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
10991         * wcsmbs/test-wcsncmp.c: New File.
10992         * string/test-strncmp.c: Add wcsncmp support.
10994 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10996         [BZ #6792]
10997         * math/w_log1p.c: New file.
10998         * math/w_log1pf.c: Likewise.
10999         * math/w_log1pl.c: Likewise.
11000         * math/Makefile (libm-calls): Add w_log1p.
11001         * math/s_log1pl.c (log1pl): Remove weak_alias.
11002         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
11003         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
11004         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
11005         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
11006         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
11007         [NO_LONG_DOUBLE] (log1pl): Likewise.
11008         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
11009         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
11010         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
11011         (log1p): Remove long_double_symbol.
11012         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
11013         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
11014         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
11015         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
11016         remove weak_alias for corresponding log1p function.
11017         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
11018         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11019         * sysdeps/ia64/fpu/w_log1p.c: New file.
11020         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
11021         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
11022         * math/libm-test.inc (log1p_test_data): Add errno expectations.
11024 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
11026         [BZ #18247]
11027         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
11028         decimal exponent by 1.
11029         * stdlib/tst-strtod-round-data: Add more tests.
11030         * stdlib/tst-strtod-round.c (tests): Regenerated.
11032 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
11034         * math/auto-libm-test-in: Add more tests of clog and clog10.
11035         * math/auto-libm-test-out: Regenerated.
11036         * sysdeps/i386/fpu/libm-test-ulps: Update.
11037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11039 2015-04-09  Roland McGrath  <roland@hack.frob.com>
11041         * Makeconfig (module-cppflags): Exclude all .v.i files.
11042         (skip-module-cppflags): Variable removed.
11044         * configure.ac (libc_config_ok): Initialize before reading
11045         preconfigure scripts, not after.
11046         * configure: Regenerated.
11048         * test-skeleton.c (TIMEOUT): Move #define to top level.
11049         (main): Grok environment variable TEST_DIRECT.  If set, print
11050         test expectation details into that file and then behave as if
11051         given --direct.
11053 2015-04-09  Florian Weimer  <fweimer@redhat.com>
11055         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
11056         warning on 32-bit.
11058 2015-04-08  David S. Miller  <davem@davemloft.net>
11060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11062 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11064         * math/auto-libm-test-in: Add more tests of atanh.
11065         * math/auto-libm-test-out: Regenerated.
11066         * sysdeps/i386/fpu/libm-test-ulps: Update.
11067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11069         * math/auto-libm-test-in: Add more tests of atan.
11070         * math/auto-libm-test-out: Regenerated.
11071         * sysdeps/i386/fpu/libm-test-ulps: Update.
11072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11074 2015-04-08  Florian Weimer  <fweimer@redhat.com>
11076         * elf/pldd.c (main): Rewrite to use struct
11077         scratch_buffer instead of extend_alloca.
11078         * elf/pldd-xx.c (find_maps): Likewise.
11079         * grp/initgroups.c: Include <scratch_buffer.h> instead of
11080         <alloca.h>.
11081         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
11082         scratch_buffer instead of extend_alloca.
11083         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
11084         grp/compat-initgroups.c.
11085         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
11086         Rewrite to use struct scratch_buffer instead of extend_alloca.
11087         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
11088         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11090 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11092         * math/auto-libm-test-in: Add more tests of cbrt.
11093         * math/auto-libm-test-out: Regenerated.
11094         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11096         * math/auto-libm-test-in: Add more tests of cabs.
11097         * math/auto-libm-test-out: Regenerated.
11098         * sysdeps/i386/fpu/libm-test-ulps: Update.
11099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11101         [BZ #18210]
11102         [BZ #18211]
11103         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
11104         (__ieee754_atan2): Set FE_TONEAREST mode for internal
11105         computations.
11106         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
11107         clog10.
11108         * math/auto-libm-test-out: Regenerated.
11109         * sysdeps/i386/fpu/libm-test-ulps: Update.
11110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11112         [BZ #18197]
11113         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
11114         (atan): Set FE_TONEAREST mode for internal computations.
11115         * math/auto-libm-test-in: Add more tests of atan.
11116         * math/auto-libm-test-out: Regenerated.
11118 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
11120         [BZ #17930]
11121         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
11123 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11125         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
11127 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11129         * include/scratch_buffer.h: New file.
11130         * malloc/scratch_buffer_grow.c: Likewise.
11131         * malloc/scratch_buffer_grow_preserve.c: Likewise.
11132         * malloc/scratch_buffer_set_array_size.c: Likewise.
11133         * malloc/tst-scratch_buffer.c: Likewise.
11134         * malloc/Makefile (routines): Add scratch_buffer_grow.
11135         (tests): Add test case.
11136         * malloc/Versions (GLIBC_PRIVATE): Export
11137         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
11138         __libc_scratch_buffer_set_array_size.
11140 2015-04-06  Richard Henderson  <rth@redhat.com>
11142         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
11143         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11145         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
11146         unsigned int before printing.
11148 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11150         [BZ #17596]
11151         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
11152         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11154 2015-04-02  Florian Weimer  <fweimer@redhat.com>
11156         * include/libc-internal.h (libc_max_align_t): Define.
11158 2015-04-02  Andreas Schwab  <schwab@suse.de>
11160         [BZ #16850]
11161         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
11163 2015-04-02  Mel Gorman  <mgorman@suse.de>
11165         [BZ #17195]
11166         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
11167         as well as the main arena.
11169 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11171         [BZ #18185]
11172         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
11173         sharing L2 cache to 2 for Silvermont/Knights Landing.
11175 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11177         [BZ #17711]
11178         * config.make.in (have-protected-data): New.
11179         * configure.ac: Check linker support for protected data symbol.
11180         * configure: Regenerated.
11181         * elf/Makefile (modules-names): Add tst-protected1moda and
11182         tst-protected1modb if $(have-protected-data) is yes.
11183         (tests): Add tst-protected1a and tst-protected1b if
11184         $(have-protected-data) is yes.
11185         ($(objpfx)tst-protected1a): New.
11186         ($(objpfx)tst-protected1b): Likewise.
11187         (tst-protected1modb.so-no-z-defs): Likewise.
11188         * elf/tst-protected1a.c: New file.
11189         * elf/tst-protected1b.c: Likewise.
11190         * elf/tst-protected1mod.h: Likewise.
11191         * elf/tst-protected1moda.c: Likewise.
11192         * elf/tst-protected1modb.c: Likewise.
11194 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11196         [BZ #17711]
11197         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
11198         indicates it is called from do_lookup_x on relocation against
11199         protected data, skip the data definion in the executable from
11200         copy reloc.
11201         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
11202         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
11203         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
11204         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
11205         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
11206         otherwise to 0.
11207         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11208         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
11209         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
11210         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11211         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
11212         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
11214 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
11216         * sysdeps/nptl/pthread.h: Remove duplicate definition of
11217         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
11219 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
11221         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
11222         THREAD_SETMEM_NC.
11223         * sysdeps/x86_64/nptl/tls.h: Ditto.
11225 2015-03-27  Roland McGrath  <roland@hack.frob.com>
11227         * dlfcn/tststatic.c (main): Converted to ...
11228         (do_test): ... this.
11229         (TEST_FUNCTION): New macro.
11230         Include test-skeleton.c.
11232 2015-03-26  Alan Modra  <amodra@gmail.com>
11234         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
11235         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
11236         zero for undefined weak.
11237         (elf_machine_plt_conflict): Similarly.
11239 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11241         * math/auto-libm-test-in: Add more tests of acosh, asinh and
11242         atanh.
11243         * math/auto-libm-test-out: Regenerated.
11244         * sysdeps/i386/fpu/libm-test-ulps: Update.
11245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11247         * math/auto-libm-test-in: Add another test of asin.
11248         * math/auto-libm-test-out: Regenerated.
11249         * sysdeps/i386/fpu/libm-test-ulps: Update.
11250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11252         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
11253         Remove macro.
11254         (LLL_EBX_REG): Likewise.
11255         (LLL_ENTER_KERNEL): Likewise.
11257         * math/auto-libm-test-in: Add more tests of asin.
11258         * math/auto-libm-test-out: Regenerated.
11259         * sysdeps/i386/fpu/libm-test-ulps: Update.
11260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11262         [BZ #18138]
11263         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
11264         libc_do_syscall_args): New structure.
11265         (INTERNAL_SYSCALL_MAIN_0): New macro.
11266         (INTERNAL_SYSCALL_MAIN_1): Likewise.
11267         (INTERNAL_SYSCALL_MAIN_2): Likewise.
11268         (INTERNAL_SYSCALL_MAIN_3): Likewise.
11269         (INTERNAL_SYSCALL_MAIN_4): Likewise.
11270         (INTERNAL_SYSCALL_MAIN_5): Likewise.
11271         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
11272         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
11273         Replace conditional definitions by conditional definitions of ....
11274         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
11275         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
11276         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
11277         (libpthread-sysdep_routines): Add libc-do-syscall.
11278         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
11279         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
11280         to __NR_futex not 240.
11282 2015-03-25  Alan Modra  <amodra@gmail.com>
11284         * NEWS: Advertise TLS optimization.
11285         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
11286         (DT_PPC_NUM): Increment.
11287         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
11288         (CHECK_STATIC_TLS): Use here.
11289         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
11290         TLS descriptors.
11291         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11292         * sysdeps/powerpc/dl-tls.c: New file.
11293         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
11294         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
11295         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
11296         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
11297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
11298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11301 2015-03-25  Alan Modra  <amodra@gmail.com>
11303         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
11304         for overlapping .opd entries" to "support...".
11305         * sysdeps/powerpc/powerpc64/configure: Regenerate
11307 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11309         * math/auto-libm-test-in: Add more tests of acos.
11310         * math/auto-libm-test-out: Regenerated.
11311         * sysdeps/i386/fpu/libm-test-ulps: Update.
11312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11314         * math/auto-libm-test-in: Add more tests of expm1.
11315         * math/auto-libm-test-out: Regenerated.
11316         * sysdeps/i386/fpu/libm-test-ulps: Update.
11317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11319 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
11321         * math/auto-libm-test-in: Add more tests of cosh and sinh.
11322         * math/auto-libm-test-out: Regenerated.
11323         * sysdeps/i386/fpu/libm-test-ulps: Update.
11324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11326         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11329         * math/auto-libm-test-in: Add more tests of log2.
11330         * math/auto-libm-test-out: Regenerated.
11331         * sysdeps/i386/fpu/libm-test-ulps: Update.
11332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11334 2015-03-23  Roland McGrath  <roland@hack.frob.com>
11336         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
11337         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
11338         _IO_IS_APPENDING bit in READ_WRITE instead.
11340 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11342         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11343         (__determine_cpumask_size): Replace extend_alloca with a
11344         variable-length array.  Do not treat res == 0 as an error.
11346 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11348         [BZ #18100]
11349         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
11350         and integer overflow.
11351         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
11352         (main): Add integer overflow tests.
11353         * manual/pattern.texi (Calling Wordexp): Document additional use
11354         for WRDE_SYNTAX.
11356 2015-03-23  Alan Modra  <amodra@gmail.com>
11358         * config.h.in: Remove HAVE_ASM_PPC_REL16.
11359         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
11360         and false branch of conditional.
11361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11362         Likewise.
11364 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
11366         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
11367         libc-modules.h
11368         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
11369         unused declaration of _hurd_intr_rpc_msg_in_trap.
11370         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
11371         defined instead of whether it is non-zero.
11372         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
11373         input constraint instead of both input and output constraint.  Use ecx
11374         clobber instead of %ecx.
11375         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
11376         mutex_unlock): Use a statement expression instead of an expression list.
11377         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
11378         type to vm_size_t instead of vm_address_t.
11379         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
11380         defined instead of whether it is non-zero.
11381         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
11382         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
11383         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
11384         comparisons with mapaddr.
11385         * nscd/nscd-client.h: Include <time.h>.
11386         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
11387         9th parameter to __vm_region instead of int.
11388         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
11389         * scripts/check-local-headers.sh (exclude): Add device/,
11390         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
11391         cthreads.h.
11393 2015-03-19  Roland McGrath  <roland@hack.frob.com>
11395         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
11396         to account for alignment padding.
11397         * sysdeps/arm/memmove.S: Likewise.
11399 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
11401         * sysdeps/unix/sysv/linux/generic/README: New file.
11403 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
11405         [BZ #18138]
11406         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
11407         (futex_abstimed_wait)
11408         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
11409         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
11410         of lll_futex_timed_wait.
11412 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
11414         [BZ #17542]
11415         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
11417 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
11419         [BZ #17090]
11420         [BZ #17620]
11421         [BZ #17621]
11422         [BZ #17628]
11423         * NEWS: Update.
11424         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
11425         entries with Static TLS too.  Skip entries past the end of the
11426         allocated DTV, from Alan Modra.
11427         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
11428         Static TLS DTV entry set up from...
11429         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
11430         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
11431         * nptl/allocatestack.c (init_one_static_tls): ... and here...
11432         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
11433         for Static TLS.
11434         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
11435         that the slot we find is associated with the given map before
11436         using its generation count.
11437         * nptl_db/db_info.c: Include ldsodefs.h.
11438         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
11439         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
11440         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
11441         (link_map::l_tls_offset): New struct field.
11442         (dtv_t::counter): Likewise.
11443         (rtld_global): New struct.
11444         (_rtld_global): New rtld variable.
11445         (dl_tls_dtv_slotinfo_list): New rtld global field.
11446         (dtv_slotinfo_list): New struct.
11447         (dtv_slotinfo): Likewise.
11448         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
11449         (td_lookup): Rename to...
11450         (td_mod_lookup): ... this.  Use new mod parameter instead of
11451         LIBPTHREAD_SO.
11452         * nptl_db/td_thr_tlsbase.c: Include link.h.
11453         (dtv_slotinfo_list, dtv_slotinfo): New functions.
11454         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
11455         addresses even if the DTV is out of date or missing them.
11456         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
11457         index zero-length arrays.
11458         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
11459         (td_lookup): Make it a macro implemented in terms of...
11460         (td_mod_lookup): ... this declaration.
11461         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
11462         (DB_MAIN_VARIABLE): Likewise.
11464 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11466         [BZ #18134]
11467         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11469 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
11471         * stdlib/setenv.c (__add_to_environ): Revert previous change.
11473 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
11475         [BZ #18128]
11476         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
11477         (atomic_add, atomic_increment_and_test)
11478         (atomic_decrement_and_test): Fix 64-bit arithmetic.
11480 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
11482         * stdlib/setenv.c (__add_to_environ):
11483         Dump core quickly if setenv (..., NULL, ...) is called.
11485 2015-03-13  Roland McGrath  <roland@hack.frob.com>
11487         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
11488         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
11489         all the necessary asm magic in one place.
11490         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
11491         using those.
11493 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
11495         [BZ #14906]
11496         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
11497         traced file mtime. Use consistent log message.
11498         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
11499         (register_traced_file): Call install_watches. Always set mtime.
11500         (invalidate_cache): Iterate over all trace files. Call install_watches.
11501         (inotify_check_files): Don't inline. Handle watching parent
11502         directories and configuration file movement in and out.
11503         (handle_inotify_events): New function.
11504         (main_loop_poll): Call handle_inotify_events.
11505         (main_loop_epoll): Likewise.
11506         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
11507         (struct traced_file): Use array of inotify fds. Add parent directory,
11508         and basename.
11509         (struct database_dyn): Remove unused file_mtime.
11510         (init_traced_file): New inline function.
11511         (define_traced_file): New macro.
11512         * nss/nss_db/db-init.c: Use define_traced_file.
11513         (_nss_db_init): Use init_traced_file.
11514         * nss/nss_files/files-init.c: Use define_traced_file.
11515         (_nss_files_init): Use init_traced_file.
11517 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
11519         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
11520         [_LIBC]: Do not include <stdlib.h>.
11521         [!_LIBC] (abort): Remove declaration.
11522         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
11523         _FP_STATIC_ASSERT instead of conditionally calling abort.
11524         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
11525         (_FP_EXTEND_CNAN): Likewise.
11526         (FP_TRUNC): Likewise.
11527         (__FP_CLZ): Likewise.
11528         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
11530 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
11532         * manual/string.texi (XPG basename): Fix prototype.
11534 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11536         [BZ #18080]
11537         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
11538         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11539         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
11540         (__setcontext): Likewise.
11541         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
11542         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11543         Call rt_sigprocmask syscall one time to set new signal mask
11544         and retrieve the current signal mask instead of two calls.
11545         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
11546         (__swapcontext): Likewise.
11547         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
11548         * stdlib/tst-setcontext2.c: New file.
11550 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11552         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11554 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
11556         [BZ #18093]
11557         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
11558         the wrong size.
11560 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11562         [BZ #18043]
11563         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
11565 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11567         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
11568         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
11569         Remove define.
11570         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
11571         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
11572         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
11573         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
11574         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
11575         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
11576         define.
11577         * nptl_db/td_symbol_list.c (td_lookup): Remove
11578         HAVE_ASM_GLOBAL_DOT_NAME code.
11579         * sysdeps/powerpc/powerpc64/configure.ac: Remove
11580         HAVE_ASM_GLOBAL_DOT_NAME check.
11581         * sysdeps/powerpc/powerpc64/configure: Regenerate.
11582         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
11583         (DOT_LABEL): Remove define.
11584         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
11585         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
11586         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
11587         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
11588         (__TLS_GET_ADDR): Likewise.
11589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
11590         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
11592 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
11594         [BZ #18111]
11595         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
11596         (_FPU_SETCW): Initialize cw from fpsr before storing.
11597         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
11598         (fesetexceptflag): Rewrite using fpu_control.h.
11599         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
11601 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
11603         [BZ #18110]
11604         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
11605         asms.
11606         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11608 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
11610         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
11611         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
11612         abort.
11613         (_FP_FMA): Likewise.
11614         (_FP_DIV): Likewise.
11616 2015-03-10  Roland McGrath  <roland@hack.frob.com>
11618         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
11619         with 0 in that case.
11620         * Makefile (summarize-tests): New canned sequence, factored out of
11621         commands for targets tests and xtests.  Display summary lines that
11622         don't start with PASS: or XFAIL: rather than ones that do start with
11623         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
11624         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
11625         do start with ERROR: or FAIL:.
11626         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
11627         (except for [$(build-shared) = yes]).
11628         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
11629         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
11630         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
11631         * nptl/Makefile: Revert 2015-03-04 changes.
11632         [$(CXX) empty] (tests-unsupported): New variable.
11633         * debug/Makefile: Likewise.
11635         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
11636         gnulib file.  Replace __attribute with __attribute__ throughout.
11638 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
11640         * sysdeps/hppa/fpu/libm-test-ulps: Update.
11642 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11644         [BZ #18104]
11645         * math/auto-libm-test-in: Add another test of pow.
11646         * math/auto-libm-test-out: Regenerated.
11648 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11650         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
11651         $(config-cflags-nofma).
11653 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11655         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
11656         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
11657         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
11658         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
11659         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
11660         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
11661         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
11662         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
11663         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
11664         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
11665         Add comment on closing #endif.
11667 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11669         * posix/wordexp.c (CHAR_IN_SET): New macro.
11670         (parse_param): Use it.
11672 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11674         * sysdeps/powerpc/fpu/libm-test-ulps: update.
11676 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11678         [BZ #18043]
11679         * posix/wordexp.c (parse_param): Fix buffer overflow.
11680         * posix/wordexp-test.c (test_case): Add test case.
11682 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11684         [BZ #18042]
11685         * posix/wordexp.c (parse_backtick): Fix off-by-one.
11686         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
11688 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11690         [BZ #18043]
11691         * posix/wordexp-test.c (test_case): Add test for BZ #18043
11692         (do_bz18043): Delete.
11693         (at_page_end): New.
11694         (testit): Refactor to have words at the edge of unreadable page.
11696 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11698         [BZ #16734]
11699         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
11700         Cleanup read-only streams as well.
11701         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
11703 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11705         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
11706         <bits/libc-lockP.h>
11708 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
11710         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
11711         on [__KERNEL__].
11712         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
11713         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
11714         * soft-fp/op-common.h (_FP_DECL): Likewise.
11716 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11718         * elf/ifuncdep2.c (global): Replace
11719         __attribute__((visibility("protected"))) with
11720         asm (".protected global").
11721         * elf/ifuncmod1.c (global): Likewise.
11722         * elf/ifuncmod5.c (global): Likewise.
11724 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
11726         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
11727         <asm/sfp-machine.h> instead of <sfp-machine.h>.
11729 2015-03-06  Roland McGrath  <roland@hack.frob.com>
11731         * manual/install.texi (Configuring and compiling):
11732         Document test-wrapper-env-only.
11733         * INSTALL: Regenerated.
11735 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11737         [BZ #18043]
11738         * posix/wordexp.c (parse_param): Fix buffer overflow.
11739         * posix/wordexp-test.c (do_bz18043): Add test case.
11741 2015-03-06  Vincent Bernat  <vincent@bernat.im>
11743         * time/tst-strptime2.c (do_test): Ensure failing tests are
11744         reported correctly.
11745         * time/tst-strptime3.c (do_test): Likewise.
11747 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
11749         Fix aio_error thread-safety.
11750         * sysdeps/pthread/aio_error.c: New file
11751         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
11752         synchronization.
11754 2015-03-06  Florian Weimer  <fweimer@redhat.com>
11756         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
11757         (group_number, vfprintf): Use it.
11758         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
11759         (JUMP, REF): Use it.
11760         (WORK_BUFFER_SIZE): New enum constant.
11761         (process_arg, vfprintf): Use it.
11763 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
11765         * manual/errno.texi (Error Messages): Complete example function
11766         by adding missing #define.
11767         (program_invocation_name): Add statement indicating GNU
11768         extension and reference which header file declares the variable.
11769         (program_invocation_short_name): Likewise.
11771 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
11773         * manual/errno.texi (Error Messages): Delete strerror ISO C89
11774         compatibility note.
11776 2015-03-05  Roland McGrath  <roland@hack.frob.com>
11778         * Makeconfig (test-wrapper-env-only): New variable.
11779         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
11780         then use that with $(test-wrapper-env-only) rather than using
11781         $(test-wrapper-env) $(run-program-env) $($*-ENV).
11783 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
11785         [BZ #18082]
11786         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
11787         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
11788         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
11789         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
11790         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
11791         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
11792         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
11793         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
11794         Likewise.
11795         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
11796         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
11797         Likewise.
11798         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
11799         Likewise.
11800         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
11801         Likewise.
11802         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
11803         Likewise.
11804         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
11805         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
11806         Likewise.
11807         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
11808         Likewise.
11809         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
11810         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
11812 2015-03-04  Roland McGrath  <roland@hack.frob.com>
11814         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
11815         (ETH_ALEN): New macro.
11816         (struct ether_addr): Use it for length of ether_addr_octet.
11818         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
11819         (setdb): Don't call __nss_configure_lookup for "rpc".
11820         (do_test): Don't call test_rpc.
11821         (output_rpcent, test_rpc): Functions moved ...
11822         * sunrpc/test-rpcent.c: ... to this new file.
11823         * sunrpc/Makefile (tests): Add it.
11825         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
11826         __xpg_sigpause.
11827         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
11828         * nptl/tst-signal6.c: Likewise.
11829         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
11830         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
11832         * configure.ac (libc_cv_cxx_link_ok): New check.
11833         Reset CXX to empty if it fails to link.
11834         * configure: Regenerated.
11835         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
11836         bug-atexit3-lib only if $(CXX) is nonempty.
11837         * nptl/Makefile (tests): Likewise for tst-cancel24.
11838         (tests, tests-static): Likewise for tst-cancel24-static.
11839         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
11840         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
11841         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
11842         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
11844 2015-03-04  Andreas Schwab  <schwab@suse.de>
11846         [BZ #17631]
11847         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
11848         for non-GCC compilers.
11849         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11850         Likewise.
11852 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11854         [BZ #17776]
11855         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
11856         integer before bitwise and assembly operations.
11857         (feclearexcept): Likewise.
11858         * math/test-fenvinline.c: New file.
11859         * math/Makefile: Add test-fenvinline test.
11861 2015-03-03  Alan Modra  <amodra@gmail.com>
11863         [BZ #16512]
11864         * scripts/localplt.awk: Strip off symbol version.
11865         * NEWS: Mention bug fix.
11867 2015-03-02  Roland McGrath  <roland@hack.frob.com>
11869         * sysdeps/pthread/timer_routines.c
11870         (timer_free_list, thread_free_list, thread_active_list): Make static.
11872 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
11874         [BZ #17779]
11875         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11876         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11877         Undefine.
11878         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11879         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11880         Likewise.
11881         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11882         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11883         Likewise.
11885 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11887         [BZ #18036]
11888         * posix/fnmatch_loop.c (END): Detect invalid pattern.
11889         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
11891 2015-03-02  Andreas Schwab  <schwab@suse.de>
11893         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
11894         variable name.
11896 2015-03-02  Florian Weimer  <fweimer@redhat.com>
11898         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
11899         Return error status.
11901 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
11903         [BZ #15969]
11904         * locale/findlocale.c (_nl_find_locale): Introduce const
11905         version of loc_name and drop unsafe type casts.
11907 2015-02-27  Roland McGrath  <roland@hack.frob.com>
11909         * dlfcn/tststatic2.c (main): Converted to ...
11910         (do_test): ... this.
11911         (TEST_FUNCTION): New macro.
11912         Include test-skeleton.c.
11914 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
11916         [BZ #17711]
11917         * elf/Makefile (tests): Add vismain only if PIE is enabled.
11918         (tests-pie): Add vismain.
11919         (CFLAGS-vismain.c): New.
11920         * elf/vismain.c: Add comments for PIE requirement.
11922 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11924         [BZ #18046]
11925         [BZ #18047]
11926         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
11927         0x1p-56L as threshold for just returning the argument.
11928         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
11929         0x1p-32L as threshold for just returning the argument.
11930         * math/auto-libm-test-in: Add more tests of atanh.
11931         * math/auto-libm-test-out: Regenerated.
11932         * sysdeps/i386/fpu/libm-test-ulps: Update.
11933         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
11935 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11937         * string/bcopy.c (bcopy): Call memmove for performance.
11939 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11941         * string/bzero.c (__bzero): Call memset for performance.
11943 2015-02-27  John David Anglin  <dave.anglin@bell.net>
11945         [BZ #18068]
11946         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
11947         to 00100000.
11949 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11951         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
11953 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11955         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
11956         (__kernel_standard): Use CSTR macro when setting exc.name.
11957         * sysdeps/ieee754/Makefile [$(subdir) = math]
11958         (CFLAGS-k_standard.c): Remove variable.
11960         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
11961         setting p and q from "else if" to "else".
11962         (qzero): Likewise.
11963         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
11964         (qone): Likewise.
11965         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
11966         (qzerof): Likewise.
11967         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
11968         (qonef): Likewise.
11969         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
11970         (qzero): Likewise.
11971         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
11972         (qone): Likewise.
11974         [BZ #18038]
11975         [BZ #18039]
11976         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
11977         return pi/2 for arguments below 0x1p-113L.
11978         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
11979         return pi/2 for arguments below 0x1p-106L.
11980         * math/auto-libm-test-in: Add more tests of acos.
11981         * math/auto-libm-test-out: Regenerated.
11983         [BZ #16351]
11984         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
11985         (MO): New macro.
11986         (__ieee754_asin): Force underflow exception for results with small
11987         absolute value.
11988         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
11989         (MO): New macro.
11990         (__ieee754_asinf): Force underflow exception for results with
11991         small absolute value.
11992         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
11993         (__ieee754_asin): Force underflow exception for results with small
11994         absolute value.
11995         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
11996         (__ieee754_asinf): Force underflow exception for results with
11997         small absolute value.
11998         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
11999         (__ieee754_asinl): Force underflow exception for results with
12000         small absolute value.
12001         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
12002         (__ieee754_asinl): Force underflow exception for results with
12003         small absolute value.
12004         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
12005         (__ieee754_asinl): Force underflow exception for results with
12006         small absolute value.
12007         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12008         Include <math.h>.
12009         * math/auto-libm-test-in: Do not mark underflow exceptions as
12010         possibly missing for bug 16351.
12011         * math/auto-libm-test-out: Regenerated.
12013         [BZ #18030]
12014         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
12015         of power of 2 down when low part has opposite sign.
12016         * math/libm-test.inc (logb_test_data): Add more tests.
12018 2015-02-26  Andreas Schwab  <schwab@suse.de>
12020         [BZ #18032]
12021         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
12022         over collating symbol inside a bracket expression.  Minor cleanup.
12023         * posix/tst-fnmatch3.c (do_test): Add test case.
12025 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
12027         [BZ #18029]
12028         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
12029         Adjust exponent of power of 2 down when low part has opposite
12030         sign.
12031         * math/libm-test.inc (ilogb_test_data): Add more tests.
12033 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
12035         [BZ #15969]
12036         * locale/findlocale.c (_nl_find_locale): Fix constness error in
12037         the previous change.
12039         [BZ #15969]
12040         * locale/findlocale.c (_nl_find_locale): Retry archive search
12041         after alias expansion.
12043 2015-02-25  Roland McGrath  <roland@hack.frob.com>
12045         * iconv/tst-iconv3.c (main): Converted to ...
12046         (do_test): ... this.
12047         (TEST_FUNCTION): New macro.
12048         Include test-skeleton.c.
12050         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
12051         (convert): Make function static.
12052         (test_unalign): Likewise.  Add const to argument pointee types.
12053         (main): Replace with static function do_test.
12054         Print "Succeeded." only if RET is zero.
12055         (TEST_FUNCTION): New macro.
12056         Include test-skeleton.c.
12058         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
12059         returns a null pointer.
12061 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12063         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
12064         to __memcpy_ppc only for static builds.
12066 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
12068         [BZ #18020]
12069         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
12070         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
12071         * math/auto-libm-test-in: Add more tests of asinh.
12072         * math/auto-libm-test-out: Regenerated.
12073         * sysdeps/i386/fpu/libm-test-ulps: Update.
12074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12076 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
12078         [BZ #15850]
12079         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
12080         and ip6_mtuinfo definitions here.
12081         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
12082         in this define too.  Update comment.
12084 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
12086         * elf/sprof.c (load_shobj): Tweak error message to match others.
12088 2015-02-24  Kevin Easton  <kevin@guarana.org>
12090         [BZ #16145] (partial fix)
12091         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
12092         to reduce lock contention.
12094 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
12096         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
12097         (struct timex): Update time comment.
12098         (ADJ_SETOFFSET): Define.
12100 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12102         [BZ #18019]
12103         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12104         2**56 not 2**28 as threshold for log (2x) formula.
12105         * math/auto-libm-test-in: Add more tests of acosh.
12106         * math/auto-libm-test-out: Regenerated.
12107         * sysdeps/i386/fpu/libm-test-ulps: Update.
12108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12110 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12112         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
12113         parenthesis around the buf assignment.
12114         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
12116 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12118         [BZ #16783]
12119         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
12120         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
12121         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
12122         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12123         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12124         * math/libm-test.inc (scalb_test_data): Add more tests.
12126 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12128         [BZ #17916]
12129         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
12130         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
12132 2015-02-24  Eric Rannaud  <e@nanocritical.com>
12134         [BZ #17523]
12135         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
12136         * io/bits/fcntl2.h (open): Use it.
12137         (openat): Likewise.
12138         * io/open.c (__libc_open): Likewise.
12139         * io/open64.c (__libc_open64): Likewise.
12140         * io/open64_2.c (__open64_2): Likewise.
12141         * io/open_2.c (__open_2): Likewise.
12142         * io/openat.c (__openat): Likewise.
12143         * io/openat64.c (__openat64): Likewise.
12144         * io/openat64_2.c (__openat64_2): Likewise.
12145         * io/openat_2.c (__openat_2): Likewise.
12146         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
12147         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12148         * sysdeps/posix/open64.c (__libc_open64): Likewise.
12149         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12150         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12151         (__open_nocancel): Likewise.
12152         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12153         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12154         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
12156 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12158         [BZ #14841]
12159         * resolv/gethnamaddr.c (getanswer): Skip logging if
12160         RES_USE_DNSSEC is set.
12161         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12163 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12165         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
12167 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
12169         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12170         201304L, for Unicode 7.
12172 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
12174         [BZ #17836]
12175         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
12176         shared library.  Add gmon-start.os otherwise.
12177         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
12178         $(objpfx)gmon-start.os if builing shared library.
12179         ($(objpfx)g$(static-start-installed-name)): Likewise.
12181 2015-02-23  Andreas Schwab  <schwab@suse.de>
12183         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
12185 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12187         [BZ #17269]
12188         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
12189         (enlarge_userbuf): Likewise.
12191 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
12193         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
12194         * math/atest-exp.c (TIMEOUT): Adjust to 200.
12195         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
12196         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
12198 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
12200         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
12201         expression inside statement expression.
12203 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12205         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
12206         <sysdeps/nptl/lowlevellock.h> and remove macros and
12207         functions that are now defined there.
12208         (SYS_futex): Remove.
12209         (lll_compare_and_swap): Remove.
12210         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
12212 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
12214         [BZ #17999]
12215         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
12216         instead of scandirat.
12217         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
12218         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
12219         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
12220         __scandirat.
12221         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
12222         (__scandirat): Declare.  Use libc_hidden_proto.
12223         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
12224         Remove variable.
12225         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12227 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12229         [BZ #15319]
12230         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
12231         (MO): New macro.
12232         (__ieee754_atan2): For results with small absolute value, force
12233         underflow exception and remove excess range and precision from
12234         return value.
12235         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
12236         (MO): New macro.
12237         (__ieee754_atan2f): For results with small absolute value, force
12238         underflow exception and remove excess range and precision from
12239         return value.
12240         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
12241         (MO): New macro.
12242         (__atan): For results with small absolute value, force underflow
12243         exception and remove excess range and precision from return value.
12244         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
12245         (MO): New macro.
12246         (__atanf): For results with small absolute value, force underflow
12247         exception and remove excess range and precision from return value.
12248         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
12249         <math.h>.
12250         (__ieee754_atan2): Force underflow exception for results with
12251         small absolute value.
12252         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
12253         <math_private.h>.
12254         (atan): Force underflow exception for results with small absolute
12255         value.
12256         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
12257         (__atanf): Force underflow exception for results with small
12258         absolute value.
12259         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
12260         <math.h>.
12261         (__atanl): Force underflow exception for results with small
12262         absolute value.
12263         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
12264         (__atanl): Force underflow exception for results with small
12265         absolute value.
12266         * sysdeps/x86/fpu/bits/mathinline.h
12267         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
12268         (__ieee754_atan2): Only define inline for long double.
12269         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12270         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
12271         * math/auto-libm-test-in: Do not mark underflow exceptions as
12272         possibly missing for bug 15319.  Add more tests of atan2.
12273         * math/auto-libm-test-out: Regenerated.
12274         * math/libm-test.inc (casin_test_data): Do not mark underflow
12275         exceptions as possibly missing for bug 15319.
12276         (casinh_test_data): Likewise.
12277         * sysdeps/i386/fpu/libm-test-ulps: Update.
12279 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
12281         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
12282         * sysdeps/mips/bits/endian.h: Fix comments.
12284 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12286         [BZ #17996]
12287         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
12288         (hdestroy_r): Likewise.
12289         (hsearch_r): Likewise.
12290         (__hcreate_r): Declare and use libc_hidden_proto.
12291         (__hdestroy_r): Likewise.
12292         (__hsearch_r): Likewise.
12293         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
12294         (hcreate): Call __hcreate_r instead of hcreate_r.
12295         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
12296         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
12297         as weak alias of __hcreate_r.
12298         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
12299         __hdestroy_r.
12300         (hsearch_r): Rename to __hsearch_r and define as weak alias of
12301         __hsearch_r.
12302         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
12303         Remove variable.
12304         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12305         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12306         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12307         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12309 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12311         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
12312         arena_lock into a single arena_get.
12314 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
12316         * dl-reloc.c: Inlucde libc-internal.h.
12317         (_dl_try_allocate_static_tls): Call ALIGN_UP.
12318         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
12319         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
12320         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
12321         (grow_heap): Likewise.
12322         * malloc/malloc.c: Include libc-internal.h.
12323         (do_check_malloc): Call powerof2.
12324         (sysmalloc): Use pagesize. Call ALIGN_UP.
12325         (systrim): Use pagesize.
12326         (mremap_chunk): Use pagesize. Call ALIGN_UP.
12327         (__libc_valloc): Use pagesize.
12328         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
12330 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12332         [BZ #17991]
12333         * include/sys/resource.h (__getrlimit64): Declare.  Use
12334         libc_hidden_proto.
12335         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
12336         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
12337         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
12338         getrlimit64.
12339         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
12340         __getrlimit64.
12341         [!getrlimit64] (getrlimit64): Define as weak alias of
12342         __getrlimit64.  Use libc_hidden_weak.
12343         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
12344         using __getrlimit64 not __new_getrlimit64.
12345         (__GI_getrlimit64): Likewise.
12346         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
12347         Likewise.
12348         (__GI_getrlimit64): Likewise.
12349         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
12350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
12351         (getrlimit): Add __getrlimit64 alias.
12352         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
12353         Likewise.
12354         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
12355         Remove variable.
12356         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12357         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12359 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
12361         * libio/fileops.c: Add missing sys/mman.h
12362         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
12364 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12366         * manual/math.texi (Errors in Math Functions): Clarify goals
12367         regarding inexact and underflow exceptions.
12369 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12371         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
12372         * sysdeps/mips/memset.S: Ditto.
12374 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12376         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
12378 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12380         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
12381         (__v1longjmp): Remove versioned symbol.
12382         (__v1siglongjmp): Remove alias and versioned symbol.
12383         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
12384         (__v2siglongjmp): Likewise.
12386 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12388         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
12390 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
12392         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
12394 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12396         [BZ #17987]
12397         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
12398         zero result does not depend on the sign resulting from
12399         subtraction.
12400         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12401         Likewise.
12402         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12403         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12404         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12405         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12406         * math/libm-test.inc (remquo_test_data): Add more tests.
12408 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
12410         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
12411         Problem reported by J William Piggott.
12413 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12415         [BZ #17978]
12416         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
12417         products 4 * y and 2 * y where those would overflow.
12418         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12419         Likewise.
12420         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12421         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12422         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12423         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12424         * math/libm-test.inc (remquo_test_data): Add more tests.
12426         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
12428         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
12429         [defined _COMPILING_NEWLIB].
12430         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
12431         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
12433         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
12434         [!defined __mips_isa_rev || __mips_isa_rev < 6].
12436 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12438         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
12439         acquired.
12441 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
12443         [BZ #17792]
12444         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
12445         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
12446         HOST_STACK_END_ADDR): Likewise.
12448 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
12450         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
12451         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
12452         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
12454 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12456         * sysdeps/generic/c++-types.data: New file.
12457         * sysdeps/generic/ld.abilist: New file.
12458         * sysdeps/generic/libBrokenLocale.abilist: New file.
12459         * sysdeps/generic/libanl.abilist: New file.
12460         * sysdeps/generic/libc.abilist: New file.
12461         * sysdeps/generic/libcrypt.abilist: New file.
12462         * sysdeps/generic/libdl.abilist: New file.
12463         * sysdeps/generic/libm.abilist: New file.
12464         * sysdeps/generic/libpthread.abilist: New file.
12465         * sysdeps/generic/libresolv.abilist: New file.
12466         * sysdeps/generic/librt.abilist: New file.
12468 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12470         [BZ #17569]
12471         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12472         Compute absolute value of x as modified by fmod, not original
12473         value of x.
12474         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
12475         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
12476         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
12477         RUN_TEST_ffI_f1_mod8.
12478         (remquo_test_data): Add more tests.
12480 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12482         * sysdeps/init_array/pt-crti.S: New file.
12484 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12486         [BZ #17967]
12487         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
12488         __builtin_fmaf instead of relying on contraction of a * b + c.
12490 2015-02-12  J William Piggott  <elseifthen@gmx.com>
12492         [BZ #17969]
12493         * manual/time.texi: correct the zoneinfo path in the TZ Variable
12494         node.
12496 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12498         [BZ #17964]
12499         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
12500         __builtin_fma instead of relying on contraction of a * b + c.
12502 2015-02-12  Roland McGrath  <roland@hack.frob.com>
12504         * Makeconfig (ASFLAGS): Add -Werror=undef.
12505         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
12506         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
12507         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
12509         * Makeconfig (after-link): New variable.
12510         (+link-pie, +link-pie-tests): Use it.
12511         (+link-static, +link-static-tests): Likewise.
12512         (+link, +link-tests): Likewise.
12513         * Makerules (build-module, build-module-asneeded): Likewise.
12514         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
12515         Likewise.
12516         * elf/Makefile ($(objpfx)ld.so): Likewise.
12518 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
12520         [BZ #17965]
12521         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
12522         both struct timeval and struct timespec.
12524 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12526         [BZ #16560]
12527         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12528         and redefine.
12529         (__ieee754_exp2l): Do not multiply small fractional parts by
12530         M_LN2l.
12531         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
12532         small argument.
12533         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12534         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12535         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
12536         * math/auto-libm-test-in: Add more tests of exp2.
12537         * math/auto-libm-test-out: Regenerated.
12539 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12541         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
12542         unaligned path.
12544 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12546         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
12547         little endian.
12549 2015-02-12  Andreas Schwab  <schwab@suse.de>
12551         [BZ #15790]
12552         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12553         Filter out elision flags from value returned in kind.
12554         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
12555         * nptl/tst-pthread-mutexattr.c: New file.
12557 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12559         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
12560         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
12561         into gnu-gnu, and update comment to refer to abi-tags.
12563 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
12565         [BZ #15467]
12566         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
12567         (__sincos): Set errno to EDOM for infinite argument.
12568         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
12569         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
12570         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
12571         (__sincosl): Set errno to EDOM for infinite argument.
12572         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
12573         (__sincosl): Set errno to EDOM for infinite argument.
12574         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
12575         (__sincosl): Set errno to EDOM for infinite argument.
12576         * math/libm-test.inc (sincos_test_data): Test errno setting.
12578 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
12580         * string/strxfrm_l.c: Remove #define STRCMP.
12581         * string/strcoll_l.c: Remove #define STRLEN.
12582         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
12583         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
12585 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
12587         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
12588         * sysdeps/mips/mips32/sfp-machine.h: ... here.
12589         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
12590         * sysdeps/mips/mips64/Makefile: ... here.
12591         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
12592         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
12593         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
12594         * sysdeps/mips/mips64/sfp-machine.h: ... here.
12595         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
12596         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
12597         * sysdeps/mips/mips64/n64/Implies: Likewise.
12599 2015-02-10  Roland McGrath  <roland@hack.frob.com>
12601         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
12602         <sys/time.h>, <string.h>, and <errno.h>.
12603         (dest_offset, dest_address, value, zero): Remove unused variables.
12604         (ldouble): Remove typedef.
12605         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
12606         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
12607         1).  Fix code style.
12608         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
12609         (check): Function removed.
12610         (CHECK): New macro.
12611         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
12612         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
12613         Don't call set_sigaction_FP and remove_sigaction_FP here.
12614         (ldouble_test): Just use 'long double' as macro argument, no need for
12615         the 'ldouble' typedef.
12616         (do_test): Set up SIGFPE handler at start, using plain signal rather
12617         than sigaction.  Fix code style.
12619 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
12621         [BZ #17949]
12622         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
12623         jump label.
12625 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12627         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
12628         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12630         * sysdeps/powerpc/configure.ac: Remove file.
12631         * sysdeps/powerpc/configure: Likewise.
12633         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12634         [sysdep_routines]: Remove wordcopy-power6 object.
12635         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12636         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
12637         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
12638         (__memmove_ppc32): Likewise.
12639         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
12640         file.
12641         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
12642         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
12643         Remove preprocessor.
12645         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12646         [sysdep_routines]: Remove wide chars objects.
12647         [wcsmbs]: New rule for wide char objects.
12649         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12650         Remove wordcopy-power6 obejct.
12651         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
12652         Use local call for wordcopy and memcpy symbols.
12653         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
12654         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
12655         implementation for loader.
12656         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
12658         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12659         Remove wordcopy-power7 object.
12660         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
12661         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
12662         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
12663         (_wordcopy_fwd_dest_aligned): Likewise.
12664         (_wordcopy_bwd_aligned): Likewise.
12665         (_wordcopy_bwd_dest_aligned): Likewise.
12667         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
12668         Rewrite to call __memmove_ppc instead of include default
12669         implementation.
12671         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12672         Remove wide chars objects.
12673         [wcsmbs]: New rule for wide char objects.
12675 2015-02-09  Andreas Schwab  <schwab@suse.de>
12677         [BZ #17912]
12678         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12679         in terms of __O_DIRECTORY.
12681 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12683         * time/getdate.c: Include <stdbool.h>.
12684         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
12685         call PTR_MANGLE.
12686         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
12687         PTR_DEMANGLE.
12689 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
12691         Add ersatz _Static_assert on older C hosts
12692         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
12693         pre-C11 C platform that is not known to support _Static_assert.
12695 2015-02-07  Richard Braun  <rbraun@sceen.net>
12697         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
12698         sigstate.
12699         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
12701 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12703         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
12704         priority against unexistent AIO_PRIO_DELTA_MAX.
12705         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
12706         instead of int.
12707         * misc/fchflags.c (fchflags): Likewise.
12708         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
12709         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
12710         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
12711         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
12712         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
12713         Declare macros.
12714         [__USE_MISC] (chflags, fchflags): Declare functions.
12715         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
12716         EINVAL when nfds is greater than FD_SETSIZE.
12717         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
12718         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
12719         45.
12720         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
12721         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
12722         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
12723         MACH_RCV_TIMED_OUT.
12724         * hurd/hurd/signal.h (_hurd_self_sigstate,
12725         _hurd_critical_section_lock, _hurd_critical_section_unlock):
12726         Explicit casts from void *.
12727         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
12728         * abi-tags: Rename gnu-gnu os into gnu.
12730         [BZ #4719]
12731         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
12732         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
12733         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
12734         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
12735         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
12736         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
12738         [BZ #17944]
12739         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
12740         duplicates ADDR->sun_path with sockaddr LEN limitation.
12741         * sysdeps/mach/hurd/connect.c: Include <string.h>
12742         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
12743         * sysdeps/mach/hurd/sendmsg.c: Likewise.
12744         * sysdeps/mach/hurd/sendto.c: Likewise.
12745         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
12746         implementing it by hand.
12748 2015-02-06  Roland McGrath  <roland@hack.frob.com>
12750         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
12751         Use sfi_breg on ldr.
12752         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
12753         Likewise.
12755         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
12756         it's defined.
12757         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
12758         Test SIGSETXID only if it's defined.
12760         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
12762         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
12763         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
12765         * nptl/tst-align2.c: Moved ...
12766         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
12767         * nptl/Makefile (tests): Remove tst-align2.
12768         * sysdeps/unix/sysv/linux/Makefile
12769         [$(subdir) = nptl] (tests): Add tst-align-clone.
12770         * nptl/tst-getpid1.c: Moved ...
12771         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
12772         * nptl/tst-getpid2.c: Moved ...
12773         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
12774         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
12775         * sysdeps/unix/sysv/linux/Makefile
12776         [$(subdir) = nptl] (tests): ... here.
12777         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
12778         * sysdeps/unix/sysv/linux/Makefile
12779         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
12781         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
12782         Drop trailing \n from perror argument.  Use return rather than exit.
12784         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
12785         on [SA_SIGINFO].
12786         * nptl/tst-cancel21.c (do_test): Likewise.
12787         * debug/tst-backtrace6.c: Include <signal.h> first thing.
12788         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
12789         [!SA_SIGINFO]: Make it a stub test.
12791         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
12792         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
12794         * posix/tst-getlogin.c: Move to ...
12795         * login/tst-getlogin.c: ... here.
12796         * posix/Makefile (tests): Move tst-getlogin to ...
12797         * login/Makefile (tests): ... here.
12799         * libio/tst-atime.c (do_test): Move local variables SV and E
12800         inside [ST_NOATIME] conditional.
12802         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
12804         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
12806         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
12807         (wait_code): New function replaces macro.
12808         Call nanosleep rather than syscall.
12810         * nptl/pt-system.c: Rewritten.  Put everything under
12811         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12812         Use IFUNC to redirect when possible.
12814         * nptl/pt-longjmp.c: Rewritten.  Put everything under
12815         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12816         Use IFUNC to redirect when possible.
12818         * nptl/pt-fork.c: Rewritten.  Put everything under
12819         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12820         Use IFUNC to redirect when possible.
12821         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
12823         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
12824         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
12825         unconditionally nowadays.  This included the only reference to
12826         __vdso_clock_gettime that appears outside libc proper.
12827         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
12828         Remove version set (containing only __vdso_clock_gettime).
12829         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12830         Add attribute_hidden.
12831         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12832         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
12833         libc_hidden_data_def.
12834         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12835         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12837         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
12838         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
12839         setrpcent, and getrpcport to ...
12840         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
12841         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
12842         getrpcbynumber_r, and getrpcent_r to ...
12843         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
12844         * inet/getrpcbyname.c: Moved ...
12845         * sunrpc/getrpcbyname.c: ... here.
12846         * inet/getrpcbyname_r.c: Moved ...
12847         * sunrpc/getrpcbyname_r.c: ... here.
12848         * inet/getrpcbynumber.c: Moved ...
12849         * sunrpc/getrpcbynumber.c: ... here.
12850         * inet/getrpcbynumber_r.c: Moved ...
12851         * sunrpc/getrpcbynumber_r.c: ... here.
12852         * inet/getrpcent.c: Moved ...
12853         * sunrpc/getrpcent.c: ... here.
12854         * inet/getrpcent_r.c: Moved ...
12855         * sunrpc/getrpcent_r.c: ... here.
12856         * inet/Makefile (routines): Move those to ...
12857         * sunrpc/Makefile (routines): ... here.
12858         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
12859         the $(subdirs) list.
12860         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
12861         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
12862         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
12863         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
12865         * elf/Makefile (routines): Include $(all-dl-routines), not just
12866         $(dl-routines).
12867         (rtld-routines): Likewise.  Use = rather than :=.
12868         * sysdeps/aarch64/Makefile [$(subdir) = elf]
12869         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
12870         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
12871         * sysdeps/arm/Makefile: Likewise.
12872         * sysdeps/i386/Makefile: Likewise.
12873         * sysdeps/x86_64/Makefile: Likewise.
12874         * sysdeps/hppa/Makefile [$(subdir) = elf]
12875         (sysdep_routines, sysdep-rtld-routines): Don't add
12876         $(sysdep-dl-routines) to these.
12877         * sysdeps/ia64/Makefile: Likewise.
12878         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
12879         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
12880         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
12881         Don't add dl-static to these; sysdep-dl-routines alone is enough.
12882         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
12883         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
12884         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
12885         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
12886         * sysdeps/powerpc/Makefile [$(subdir) = elf]
12887         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
12888         these; sysdep-dl-routines alone is enough.
12890 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
12892         [BZ #17932]
12893         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
12894         where multiplication results in zero and third argument is finite
12895         and nonzero.
12896         * math/auto-libm-test-in: Add more tests of fma.
12897         * math/auto-libm-test-out: Regenerated.
12899         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
12900         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
12901         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
12902         (_FP_CMP_EQ): Likewise.
12903         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
12905         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
12906         extra argument CHECK_NAN.  Redefine as wrapper around
12907         _FP_EXTEND_CNAN.
12909 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
12911         * version.h (RELEASE): Set to "stable".
12912         (VERSION): Set to "2.21"
12913         * include/features.h (__GLIBC_MINOR__): Set to 21.
12915         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
12917 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12918             Paul Eggert  <eggert@cs.ucla.edu>
12920         [BZ #16618]
12921         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
12922         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
12923         size in bytes. Store needed elements in wpmax. Use needed size
12924         in bytes for extend_alloca.
12926 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
12928         * manual/install.texi: Latest tested versions are GCC 4.9.2,
12929         binutls 2.25, and texinfo 5.2.
12930         * INSTALL: Regenerate.
12931         * sysdeps/nios2/configure: Regenerate.
12932         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
12933         * manual/contrib.texi: Update.
12934         * po/be.po: Update.
12935         * po/bg.po: Update.
12936         * po/ca.po: Update.
12937         * po/cs.po: Update.
12938         * po/da.po: Update.
12939         * po/de.po: Update.
12940         * po/el.po: Update.
12941         * po/eo.po: Update.
12942         * po/es.po: Update.
12943         * po/fi.po: Update.
12944         * po/fr.po: Update.
12945         * po/gl.po: Update.
12946         * po/hr.po: Update.
12947         * po/hu.po: Update.
12948         * po/ia.po: Update.
12949         * po/id.po: Update.
12950         * po/it.po: Update.
12951         * po/ja.po: Update.
12952         * po/ko.po: Update.
12953         * po/lt.po: Update.
12954         * po/nb.po: Update.
12955         * po/nl.po: Update.
12956         * po/pl.po: Update.
12957         * po/pt_BR.po: Update.
12958         * po/ru.po: Update.
12959         * po/rw.po: Update.
12960         * po/sk.po: Update.
12961         * po/sl.po: Update.
12962         * po/sv.po: Update.
12963         * po/tr.po: Update.
12964         * po/uk.po: Update.
12965         * po/vi.po: Update.
12966         * po/zh_CN.po: Update.
12967         * po/zh_TW.po: Update.
12969         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
12970         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
12971         * sysdeps/hppa/dl-irel.h: Remove #warning.
12972         * sysdeps/hppa/entry.h: Provide prototype for
12973         __canonicalize_funcptr_for_compare and cast argument.
12974         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
12975         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
12976         * sysdeps/hppa/sotruss-lib.c: New file.
12977         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
12978         (atomic_compare_and_exchange_val_acq): Use __typeof__.
12979         (atomic_compare_and_exchange_bool_acq): Likewise.
12980         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
12981         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
12983         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
12984         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
12985         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
12987 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
12989         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
12990         called function in non-PIC case.
12992 2015-01-31  David S. Miller  <davem@davemloft.net>
12994         * sysdeps/sparc/sparc32/bits/atomic.h
12995         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
12996         unlock not after it.
12997         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
12998         volatile register usage warnings from the compiler.
13000         * sysdeps/sparc/nptl/sem_init.c: Delete.
13001         * sysdeps/sparc/nptl/sem_post.c: Delete.
13002         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
13003         * sysdeps/sparc/nptl/sem_wait.c: Delete.
13004         * sysdeps/sparc/sparc32/sem_init.c: New file.
13005         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
13006         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
13007         padding explicitly initialized.
13008         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
13009         padding for in-semaphore spinlock.
13010         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
13011         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
13012         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
13013         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
13014         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
13015         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
13016         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
13017         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
13018         version.
13019         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
13020         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
13022 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
13024         [BZ #17801]
13025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13026         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
13027         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
13028         New.
13029         (index_AVX_Fast_Unaligned_Load): Likewise.
13030         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
13031         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
13032         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
13033         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
13034         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
13035         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
13036         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
13037         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
13038         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
13040 2015-01-29  Andreas Schwab  <schwab@suse.de>
13042         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
13044 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
13046         [BZ #17892]
13047         * nscd/nscd_stat.c (send_stats): Initialize DATA.
13049 2015-01-28  Martin Sebor  <msebor@redhat.com>
13051         * math/README.libm-test: Clarify. Add "How to read the test output."
13053 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
13055         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
13056         Define to 0.
13058 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
13060         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
13061         (__HAVE_64B_ATOMICS): Define to 0.
13063 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13065         [BZ #17885]
13066         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
13067         value to set as new flag.
13069         [BZ #16576]
13070         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
13071         and use _ARCH_PPCSQ instead.
13072         (__ieee754_sqrt): Likewise.
13073         (__ieee754_sqrtf): Likewise.
13074         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
13075         _ARCH_PPCSQ is defined.
13076         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
13077         fsqrt instruction.
13078         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
13079         _ARCH_PPCSQ is defined.
13080         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
13081         fsqrts instruction.
13082         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
13084 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13086         * iconv/loop.c: Suppress array out of bound warning caused by GCC
13087         bug (GCC BZ #64739).
13089 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
13091         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
13092         Mark _retval as used.
13093         (lll_futex_wake_unlock): Likewise.
13094         (lll_futex_timed_wait_requeue_pi): Likewise.
13096         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13097         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
13098         register variables.
13100         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
13101         libm_hidden_def.
13103         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
13104         (__bswap_64): Mark as __always_inline.
13106 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
13108         [BZ #15378]
13109         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
13110         when none of the search directories exist.
13112 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13114         [BZ #17869]
13115         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
13116         power8 in .machine directive.
13118         [BZ #17868]
13119         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
13120         set dependency from opd value.
13122 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13124         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13125         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
13126         architecture.
13128 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13130         [BZ #17870]
13131         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
13132         with uint64_t.
13133         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
13134         (uint64_t) 1.
13135         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
13136         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
13137         Replace 1UL with (uint64_t) 1.
13138         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
13139         int with uint64_t.
13141 2015-01-23  Roland McGrath  <roland@hack.frob.com>
13143         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
13144         (if_freenameindex): Likewise.
13146         * resource/getrlimit64.c: Add missing libc_hidden_def.
13148 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
13150         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
13151         __label__.
13152         (_FP_FMA): Likewise.
13153         (_FP_TO_INT_ROUND): Likewise.
13154         (_FP_FROM_INT): Likewise.
13156 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13158         [BZ #16418]
13159         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
13160         Make code racy and cancel safe.
13162 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
13164         * sysdeps/arm/unwind-resume.h: Fix copyright year.
13165         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
13166         attribution.
13168         * pwd/tst-getpw.c: Rewrite.
13170         [BZ #17702]
13171         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
13172         (modules-names): Add moddummy1 and moddummy2.
13173         ($(objpfx)tst-rec-dlopen): Define.
13174         * dlfcn/moddummy1.c: New file.
13175         * dlfcn/moddummy2.c: New file.
13176         * dlfcn/tst-rec-dlopen.c: New file.
13177         * elf/dl-cache.c (_dl_load_cache_lookup):
13178         Return char*. Copy result with alloca/strcpy/strdup.
13179         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
13180         returns char*. Free cached. If not saving realname
13181         free cached.
13182         * elf/dl-open.c (dl_open_worker): Do not assert that
13183         _r_debug->r_state is RT_CONSISTENT.
13184         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
13185         returns char*.
13187 2015-01-21  Torvald Riegel  <triegel@redhat.com>
13188             Carlos O'Donell  <carlos@redhat.com>
13190         [BZ #12674]
13191         * nptl/sem_waitcommon.c: New file.
13192         * nptl/sem_wait.c: Include sem_waitcommon.c.
13193         (__sem_wait_cleanup, do_futex_wait): Remove.
13194         (__new_sem_wait): Adapt.
13195         (__new_sem_trywait): New function.
13196         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
13197         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
13198         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
13199         (sem_timedwait): Adapt.
13200         * nptl/sem_post.c (__new_sem_post): Adapt.
13201         (futex_wake): New function.
13202         (__old_sem_post): Add release MO fence.
13203         * nptl/sem_open.c (sem_open): Adapt.
13204         * nptl/sem_init.c (__new_sem_init): Adapt.
13205         (futex_private_if_supported): New function.
13206         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
13207         (__old_sem_getvalue): Add using previous code.
13208         * sysdeps/nptl/internaltypes.h: Adapt.
13209         * nptl/tst-sem13.c (do_test): Adapt.
13210         * nptl/tst-sem11.c (main): Adapt.
13211         * nptl/sem_trywait.c: Remove.
13212         * nptl/DESIGN-sem.txt: Remove.
13213         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
13214         (gen-as-const-headers): Remove structsem.sym.
13215         * nptl/structsem.sym: Remove.
13216         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
13217         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
13218         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
13219         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
13220         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
13221         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
13222         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
13223         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
13224         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
13225         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
13226         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
13227         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
13228         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
13229         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
13230         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
13231         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
13232         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
13233         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
13234         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
13235         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
13236         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
13237         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
13239 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
13241         * INSTALL: Regenerated.
13243         * po/libc.pot: Regenerated.
13245 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
13246             Sandra Loosemore  <sandra@codesourcery.com>
13247             Andrew Jenner  <andrew@codesourcery.com>
13248             Joseph Myers  <joseph@codesourcery.com>
13249             Nathan Sidwell  <nathan@codesourcery.com>
13251         * NEWS: Mention new Nios II port.
13252         * sysdeps/nios2/Implies: New file.
13253         * sysdeps/nios2/Makefile: New file.
13254         * sysdeps/nios2/Subdirs: New file.
13255         * sysdeps/nios2/Versions: New file.
13256         * sysdeps/nios2/__longjmp.S: New file.
13257         * sysdeps/nios2/abort-instr.h: New file.
13258         * sysdeps/nios2/backtrace.c: New file.
13259         * sysdeps/nios2/bits/endian.h: New file.
13260         * sysdeps/nios2/bits/fenv.h: New file.
13261         * sysdeps/nios2/bits/link.h: New file.
13262         * sysdeps/nios2/bits/setjmp.h: New file.
13263         * sysdeps/nios2/bsd-_setjmp.S: New file.
13264         * sysdeps/nios2/bsd-setjmp.S: New file.
13265         * sysdeps/nios2/configure: New generated file.
13266         * sysdeps/nios2/configure.ac: New file.
13267         * sysdeps/nios2/crti.S: New file.
13268         * sysdeps/nios2/crtn.S: New file.
13269         * sysdeps/nios2/dl-init.c: New file.
13270         * sysdeps/nios2/dl-machine.h: New file.
13271         * sysdeps/nios2/dl-sysdep.h: New file.
13272         * sysdeps/nios2/dl-tls.h: New file.
13273         * sysdeps/nios2/dl-trampoline.S: New file.
13274         * sysdeps/nios2/gccframe.h: New file.
13275         * sysdeps/nios2/gmp-mparam.h: New file.
13276         * sysdeps/nios2/jmpbuf-offsets.h: New file.
13277         * sysdeps/nios2/jmpbuf-unwind.h: New file.
13278         * sysdeps/nios2/ldsodefs.h: New file.
13279         * sysdeps/nios2/libc-tls.c: New file.
13280         * sysdeps/nios2/libm-test-ulps: New file.
13281         * sysdeps/nios2/machine-gmon.h: New file.
13282         * sysdeps/nios2/math-tests.h: New file.
13283         * sysdeps/nios2/math_private.h: New file.
13284         * sysdeps/nios2/memusage.h: New file.
13285         * sysdeps/nios2/nptl/Makefile: New file.
13286         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
13287         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
13288         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
13289         * sysdeps/nios2/nptl/pthreaddef.h: New file.
13290         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
13291         * sysdeps/nios2/nptl/tls.h: New file.
13292         * sysdeps/nios2/preconfigure: New file.
13293         * sysdeps/nios2/s_fma.c: New file.
13294         * sysdeps/nios2/s_fmaf.c: New file.
13295         * sysdeps/nios2/setjmp.S: New file.
13296         * sysdeps/nios2/sfp-machine.h: New file.
13297         * sysdeps/nios2/sotruss-lib.c: New file.
13298         * sysdeps/nios2/stackguard-macros.h: New file.
13299         * sysdeps/nios2/stackinfo.h: New file.
13300         * sysdeps/nios2/start.S: New file.
13301         * sysdeps/nios2/sysdep.h: New file.
13302         * sysdeps/nios2/tls-macros.h: New file.
13303         * sysdeps/nios2/tst-audit.h: New file.
13304         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
13305         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
13306         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
13307         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
13308         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
13309         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
13310         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
13311         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
13312         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
13313         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
13314         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
13315         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
13316         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
13317         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
13318         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
13319         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
13320         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
13321         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
13322         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
13323         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
13324         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
13325         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
13326         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
13327         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
13328         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
13329         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
13330         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
13331         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
13332         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
13333         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
13334         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
13335         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
13336         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
13337         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
13338         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
13339         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
13340         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
13341         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
13342         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
13343         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
13344         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
13345         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
13346         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
13347         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
13349 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13351         [BZ #17844]
13352         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
13353         (getutent): Use weak_alias in non SHARED case
13354         and default_symbol_version in SHARED case.
13355         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
13356         (getutent_r, pututline): Likewise.
13357         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
13358         (getutid): Likewise.
13359         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
13360         (getutid_r): Likewise.
13361         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
13362         (getutline): Likewise.
13363         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
13364         (getutline_r): Likewise.
13365         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
13366         (updwtmp): Likewise.
13368 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13370         [BZ #17848]
13371         * sysdeps/s390/s390-32/memcmp.S
13372         (memcmp_g5): Rename to __memcmp_g5.
13373         * sysdeps/s390/s390-32/memcpy.S
13374         (memcpy_g5): Rename to __memcpy_g5.
13375         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13376         (memcpy_mvcle) Rename to __memcpy_mvcle.
13377         * sysdeps/s390/s390-32/memset.S
13378         (memset_g5): Rename to __memset_g5.
13379         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13380         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13381         and use prefixed functions.
13382         * sysdeps/s390/s390-32/multiarch/memcmp.S
13383         (memcmp_z196): Rename to __memcmp_z196.
13384         (memcmp_z10): Rename to __memcmp_z10.
13385         (memcmp): Set alias to __memcmp_g5.
13386         (bcmp): Set alias to __memcmp_g5.
13387         * sysdeps/s390/s390-32/multiarch/memcpy.S
13388         (memcpy_z196): Rename to __memcpy_z196.
13389         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13390         (memcpy_z10): Rename to __memcpy_z10.
13391         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13392         (memcpy): Set alias to __memcpy_g5.
13393         * sysdeps/s390/s390-32/multiarch/memset.S
13394         (memset_z196): Rename to __memset_z196.
13395         Jump to __memset_mvcle instead of memset_mvcle.
13396         (memset_z10): Rename to __memset_z10.
13397         Jump to __memset_mvcle instead of memset_mvcle.
13398         (memset_mvcle) Rename to __memset_mvcle.
13399         (memset): Set alias to __memset_g5.
13400         * sysdeps/s390/s390-64/memcmp.S
13401         (memcmp_z900): Rename to __memcmp_z900.
13402         * sysdeps/s390/s390-64/memcpy.S
13403         (memcpy_z900): Rename to __memcpy_z900.
13404         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13405         (memcpy_mvcle) Rename to __memcpy_mvcle.
13406         * sysdeps/s390/s390-64/memset.S
13407         (memset_z900): Rename to __memset_z900.
13408         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
13409         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13410         and use prefixed functions.
13411         * sysdeps/s390/s390-64/multiarch/memcmp.S
13412         (memcmp_z196): Rename to __memcmp_z196.
13413         (memcmp_z10): Rename to __memcmp_z10.
13414         (memcmp): Set alias to __memcmp_z900.
13415         (bcmp): Set alias to __memcmp_z900.
13416         * sysdeps/s390/s390-64/multiarch/memcpy.S
13417         (memcpy_z196): Rename to __memcpy_z196.
13418         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13419         (memcpy_z10): Rename to __memcpy_z10.
13420         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13421         (memcpy): Set alias to __memcpy_z900.
13422         * sysdeps/s390/s390-64/multiarch/memset.S
13423         (memset_z196): Rename to __memset_z196.
13424         Jump to __memset_mvcle instead of memset_mvcle.
13425         (memset_z10): Rename to __memset_z10.
13426         Jump to __memset_mvcle instead of memset_mvcle.
13427         (memset_mvcle) Rename to __memset_mvcle.
13428         (memset): Set alias to __memset_z900.
13430 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
13432         [BZ #17748]
13433         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
13434         __fesetenv instead of fesetenv.
13436 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13438         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
13439         macro.
13441 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13443         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
13444         regression on LE.
13446         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
13447         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
13448         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13449         strncmp-power8 object.
13450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13451         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
13452         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
13453         * NEWS: Update.
13455 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13456             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13458         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
13459         trailing byte check.
13461 2015-01-13  David S. Miller  <davem@davemloft.net>
13463         * include/signal.h (__sigreturn): Guard with __USE_MISC.
13465 2015-01-13  Roland McGrath  <roland@hack.frob.com>
13467         * login/logout.c (logout): Use memset rather than bzero.
13468         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
13469         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
13470         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
13471         (_gethtbyaddr): Likewise.
13472         * locale/programs/simple-hash.c (bcopy): Macro removed.
13474 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13476         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13477         Add strcmp-power8 object.
13478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13479         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
13480         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
13481         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
13482         __strcmp_power8 implementation.
13483         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
13484         * NEWS: Update.
13486         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13487         Add strncpy-power8 and stpncpy-power8 objects.
13488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13489         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
13490         implementations.
13491         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
13492         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
13493         __stpncpy_power8 implementation.
13494         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
13495         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
13496         __strncpy_power8 implementation.
13497         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
13498         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
13499         * NEWS: Update.
13501         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
13502         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
13503         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
13505         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13506         strncat-power8 object.
13507         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
13508         __strcat_power8 implementation.
13509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13510         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
13511         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
13512         optimized strcat for power8.
13514         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13515         strcpy-power8 and stpcpy-power8 objects.
13516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13517         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
13518         implementations.
13519         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
13520         multiarch stpcpy implementation for POWER8.
13521         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
13522         multiarch strcpy implementation for POWER8.
13523         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
13524         __strcpy_power8 function.
13525         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
13526         stpcpy for POWER8.
13527         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
13528         strcpy for POWER8.
13529         * NEWS: Update.
13531 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
13533         [BZ #16009]
13534         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
13535         weights and rules. Use do_xfrm_cached if data fits in cache,
13536         do_xfrm otherwise.  Moved former main loop to...
13537         * (do_xfrm_cached): New function.
13538         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
13539         find_idx, find_position and stack_push.
13540         * (find_idx): New function.
13541         * (find_position): Likewise.
13542         * localedata/sort-test.sh: Added test run for do_xfrm.
13543         * localedata/xfrm-test.c (main): Added command line option
13544         -nocache to run the test with strings that are too large for
13545         the STRXFRM cache.
13547 2015-01-13  Torvald Riegel  <triegel@redhat.com>
13549         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
13550         variable to lll_futex_wake call, not the value itself.
13552 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
13554         [BZ #17803]
13555         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
13556         twom64.  Adjust value to 0x1p-64L.
13557         (__scalblnl): Only return standard underflowing result for K <=
13558         -64 not K <= -63; adjust exponent for underflowing result by 64
13559         not 63.
13560         * math/libm-test.inc (scalbn_test_data): Add more tests.
13561         (scalbln_test_data): Likewise.
13563         [BZ #17834]
13564         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
13565         0x1p63L.
13566         (__scalblnl): Get new exponent of adjusted subnormal value from ES
13567         not HX.
13568         * math/libm-test.inc (scalbn_test_data): Add more tests.
13569         (scalbln_test_data): Likewise.
13571 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13572             Stefani Seibold  <stefani@seibold.net>
13574         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
13575         (sysdep_routines): Add dl-vdso here, ...
13576         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
13577         (sysdep_routines): ... not here.
13578         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
13579         fallback when vDSO is not presented.
13580         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13581         Define with libc_hidden_proto/libc_hidden_data_def definitions.
13582         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
13583         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
13584         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
13585         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
13586         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
13587         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
13588         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
13589         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
13590         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
13591         fallback configurable symbol when vDSO is not available.
13592         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
13593         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
13594         be able to redefine fallback symbol when vDSO is not available.
13595         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
13596         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
13598 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13600         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
13601         (TLS_INIT_TP): Add tm_capable initialization.
13602         (TLS_DEFINE_INIT_TP): Likewise.
13603         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
13604         TCB.
13605         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
13606         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
13607         calculation.
13608         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
13609         transactoion is lock elision is built and TCB tm_capable is set.
13610         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
13611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13612         (INTERNAL_SYSCALL_NCS): Likewise.
13613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13614         (INTERNAL_SYSCALL_NCS): Likewise.
13615         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
13617         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
13618         for powerpc.
13619         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13620         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
13621         and remove it for 32 bits case.
13622         [pthread_rwlock_t] (__rwelision): New field for lock elision.
13623         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
13624         initialization.
13625         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
13626         Disable lock elision with rdlocks if elision is not available.
13628         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
13629         (sysdep_routines): Add lock elision objects.
13630         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13631         [pthread_mutex_t] (__spins): Rework to add lock elision field.
13632         [pthread_mutex_t] (__elision): Add field.
13633         [__PTHREAD_SPINS]: Adjust to init lock elision field.
13634         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
13635         elision definitions for powerpc.
13636         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
13637         implementation of lock elision for powerpc.
13638         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
13639         implementation of timed lock elision for powerpc.
13640         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
13641         implementation of trylock with lock elision for powerpc.
13642         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
13643         implementaion of unlock for lock elision for powerpc.
13644         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
13645         automatic enable lock elision for mutexes.
13646         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
13647         transaction execution definitions for powerpc.
13648         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
13649         definitions.
13650         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
13651         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
13652         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
13653         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
13654         * NEWS: Update.
13656 2015-01-09  Roland McGrath  <roland@hack.frob.com>
13658         * sysdeps/posix/shm-directory.c: Use <> rather than ""
13659         for #include of <shm-directory.h>.
13661 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
13663         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
13664         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
13666 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
13668         [BZ #17791]
13669         * NEWS: Mention bug fix.
13670         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
13671         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
13672         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
13674 2015-01-09  Torvald Riegel <triegel@redhat.com>
13676         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
13678 2015-01-09  Torvald Riegel <triegel@redhat.com>
13680         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
13682 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13684         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
13685         pointer and cast to uintptr_t.
13687 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13689         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
13690         removed.
13691         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
13693 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13695         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
13696         of 0.
13698 2015-01-08  Roland McGrath  <roland@hack.frob.com>
13700         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
13701         <nptl/pthreadP.h> instead.
13702         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
13704         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
13705         already defined.
13706         [__SIGRTMIN] (init): Function removed.
13707         [__SIGRTMIN] (initialized): Variable removed.
13708         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
13709         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
13710         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
13711         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
13712         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
13713         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
13714         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
13715         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
13716         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
13717         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
13718         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
13719         * sysdeps/nptl/allocrtsig.c: New file.
13720         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
13721         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
13722         * sysdeps/generic/testrtsig.h: File removed.
13724         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
13725         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
13727         * nptl/nptl-init.c (pthread_functions): Conditionalize
13728         .ptr__nptl_setxid initialization on [SIGSETXID].
13730         * sysdeps/nptl/sys/procfs.h: New file.
13731         * nptl_db/Makefile (headers): Add it.
13732         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
13734         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
13735         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
13736         * nptl/pthread_attr_setaffinity.c: Include it.
13737         * nptl/pthread_setattr_default_np.c: Likewise.
13738         * nptl/check-cpuset.h: New file.
13740 2015-01-08  Richard Henderson  <rth@redhat.com>
13742         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
13743         (CFLAGS-tst-execstack-prog.c): Likewise.
13744         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
13746 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
13747             Sandra Loosemore  <sandra@codesourcery.com>
13748             Andrew Jenner  <andrew@codesourcery.com>
13749             Joseph Myers  <joseph@codesourcery.com>
13750             Nathan Sidwell  <nathan@codesourcery.com>
13752         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
13753         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
13754         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
13755         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
13756         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
13757         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
13758         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
13759         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
13760         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
13761         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
13762         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
13763         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
13764         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
13765         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
13766         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
13767         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
13768         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
13770 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13772         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
13773         timespec struct member in syscall macro.
13774         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13775         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
13776         first timeval struct member in syscall macro.
13777         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
13779 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
13781         [BZ #17748]
13782         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
13783         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
13784         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
13785         __feupdateenv and define as weak alias of __feupdateenv.  Use
13786         libm_hidden_weak.
13787         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
13788         libm_hidden_def.
13789         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
13790         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
13791         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13792         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
13793         libm_hidden_def.
13794         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
13795         __feupdateenv and define as weak alias of __feupdateenv.  Use
13796         libm_hidden_weak.
13797         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
13798         libm_hidden_def.
13799         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
13800         __feupdateenv and define as weak alias of __feupdateenv.  Use
13801         libm_hidden_weak.
13802         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
13803         libm_hidden_def.
13804         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13805         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13806         (__feupdateenv): Likewise.
13807         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
13808         __feupdateenv and define as weak alias of __feupdateenv.  Use
13809         libm_hidden_weak.
13810         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13811         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
13812         libm_hidden_def.
13813         * sysdeps/tile/math_private.h (__feupdateenv): New inline
13814         function.
13815         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
13816         libm_hidden_def.
13817         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
13818         __feupdateenv instead of feupdateenv.
13819         (default_libc_feupdateenv_test): Likewise.
13820         (libc_feresetround_ctx): Likewise.
13822 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13824         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
13825         prototype.
13827 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
13829         * posix/regcomp.c (parse_bracket_exp): Initialize type to
13830         COLL_SYM in a couple of places to avoid uninitialized variable
13831         wanings on tilegx gcc 4.8.2.
13833 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13835         * sysdeps/aarch64/strcpy.S: New file.
13836         * sysdeps/aarch64/stpcpy.S: New file.
13837         * NEWS: Updated.
13839 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13841         * sysdeps/aarch64/strrchr.S: New file.
13842         * NEWS: Updated.
13844 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
13846         [BZ #17658]
13847         * stdlib/setenv.c: Fix memory leak when setting large,
13848         duplicate string.
13850 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
13852         [BZ #17273]
13853         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
13854         and tabs from buffer before parsing fstab entry.
13855         * misc/tst-mntent.c (main): Add test for mount entry with
13856         trailing spaces and tabs.
13858 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
13860         [BZ #17748]
13861         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
13862         * math/fesetround.c (fesetround): Rename to __fesetround and
13863         define as weak alias of __fesetround.  Use libm_hidden_weak.
13864         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
13865         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
13866         * sysdeps/arm/fesetround.c (fesetround): Likewise.
13867         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
13868         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
13869         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
13870         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
13871         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
13872         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
13873         __fesetround_inline.
13874         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
13875         __fesetround_inline instead of __fesetround.
13876         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
13877         __fesetround and define as weak alias of __fesetround.  Use
13878         libm_hidden_weak.  Call __fesetround_inline instead of
13879         __fesetround.
13880         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
13881         __fesetround and define as weak alias of __fesetround.  Use
13882         libm_hidden_weak.
13883         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
13884         Likewise.
13885         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
13886         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13887         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
13888         * sysdeps/tile/math_private.h (__fesetround): New inline function.
13889         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
13890         __fesetround and define as weak alias of __fesetround.  Use
13891         libm_hidden_weak.
13892         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
13893         __fesetround instead of fesetround.
13894         (default_libc_feholdexcept_setround): Likewise.
13895         (libc_feholdsetround_ctx): Likewise.
13896         (libc_feholdsetround_noex_ctx): Likewise.
13898         [BZ #17748]
13899         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
13900         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
13901         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13902         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13903         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13904         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
13905         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13906         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13907         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13908         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13909         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13910         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13911         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13912         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13913         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
13914         libm_hidden_def.
13915         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
13916         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
13917         Likewise.
13918         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13919         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13920         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13921         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13922         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
13923         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13924         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13925         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
13926         __fesetenv instead of fesetenv.
13927         (libc_feresetround_noex_ctx): Likewise.
13928         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13929         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13930         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
13931         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13932         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13933         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13934         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13935         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13936         (__feupdateenv): Likewise.
13937         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13938         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13939         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13940         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
13942 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13944         [BZ #17806]
13945         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
13946         addresses have been freed.
13948 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13950         * resolv/res_init.c (__res_vinit): Improve comments about nserv
13951         and nservall.
13953 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
13955         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
13956         Clean up check_pf allocation pattern. addresses
13958 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13960         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
13961         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
13962         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
13963         * nptl/pthread_exit.c (__pthread_exit): Likewise.
13964         * nptl/pthread_join.c (pthread_join): Likewise.
13965         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
13966         * sysdeps/posix/waitid.c (__waitid): Likewise.
13967         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13968         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13969         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13970         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13971         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13972         Likewise.
13973         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13974         (__libc_pread64): Likewise.
13975         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13976         (__libc_pwrite): Likewise.
13977         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13978         (__libc_pwrite64): Likewsie.
13979         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13980         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13981         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13982         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13983         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13984         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13985         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13987         Likewise.
13988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13989         (__libc_pread64): Likewise.
13990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
13991         Likewise.
13992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13993         (__libc_pwrite64): Likewise.
13994         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13995         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13996         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
13997         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13998         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13999         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14000         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
14001         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
14002         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
14003         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
14004         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
14005         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
14006         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
14007         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
14008         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
14009         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
14010         Likewise.
14012 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
14014         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
14015         (CFLAGS-test-double.c): Likewise.
14016         (CFLAGS-test-ldouble.c): Likewise.
14017         (CPPFLAGS-test-ifloat.c): Likewise.
14018         (CPPFLAGS-test-idouble.c): Likewise.
14019         (CPPFLAGS-test-ildoubl.c): Likewise.
14020         (CFLAGS-test-test-fenv.c): Remove variable.
14021         (CFLAGS-test-misc.c): Likewise.
14023 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
14025         [BZ #17797]
14026         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
14027         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
14028         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
14029         CLOCKS_PER_SEC == 1000000.
14030         * time/clocktest.c (main): Replace %ld with %jd and cast to
14031         intmax_t.
14033 2015-01-05  Roland McGrath  <roland@hack.frob.com>
14035         * sysdeps/generic/unwind-resume.h: New file.
14036         * sysdeps/gnu/unwind-resume.c: Include it.
14037         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
14038         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
14039         argument list.
14040         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
14041         global rather than static.
14042         (_Unwind_Resume): Update user.
14043         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
14044         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
14045         rather than static.  Add __attribute__ ((cold)).
14046         (_Unwind_Resume, __gcc_personality_v0): Update callers.
14047         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14048         * sysdeps/arm/arm-unwind-resume.S: New file.
14049         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
14050         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
14051         * sysdeps/arm/Makefile [$(subdir) = csu]
14052         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
14053         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14054         Add rt-arm-unwind-resume.
14055         [$(subdir) = nptl]
14056         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14057         Add pt-arm-unwind-resume.
14058         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
14059         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
14061 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14063         [BZ #17748]
14064         * include/fenv.h (__feholdexcept): Declare.  Use
14065         libm_hidden_proto.
14066         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
14067         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
14068         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14069         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
14070         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
14071         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
14072         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
14073         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14074         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
14075         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
14076         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14077         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
14078         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
14079         (feholdexcept): Likewise.
14080         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14081         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14082         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14083         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14084         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
14085         __feholdexcept instead of feholdexcept.
14086         (default_libc_feholdexcept_setround): Likewise.
14088 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14090         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
14091         to avoid using stl/str to align destination.
14093 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14095         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
14097 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14099         [BZ #17796]
14100         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
14101         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
14102         Define as weak alias not strong alias.
14104 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14106         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
14107         bltzal with addiupc.
14108         (RTLD_START): Ditto.
14110 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
14112         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
14113         for __vdso_* functions in declarations.
14114         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
14115         definitions.
14116         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
14117         INTERNAL_VSYSCALL): Use struct return types to check for error.
14119         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
14120         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
14121         function with cast from llround().
14122         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
14123         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14124         Define.
14126 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14128         [BZ #17793]
14129         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
14130         Define as weak alias not strong alias.
14132         [BZ #17635]
14133         * ctype/ctype-c99.c: New file.  isblank implementation moved from
14134         ...
14135         * ctype/ctype-extn.c: ... here.
14136         (__isblank_l): Move to ...
14137         * ctype/ctype-c99_l.c: ... here.  New file.
14138         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
14139         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
14140         Remove variable.
14141         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14142         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14143         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14144         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14145         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14147         [BZ #17777]
14148         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
14149         (posix_fadvise64): Define as weak alias not strong alias.
14150         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14151         (posix_fallocate64): Likewise.
14152         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
14153         Remove variable.
14154         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14155         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14156         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14157         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14158         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14160 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
14162         [BZ #16191]
14163         * NEWS: Mention bug fix.
14164         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
14165         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
14166         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
14167         (HOST_STACK_END_ADDR): Likewise.
14169 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14171         [BZ #17748]
14172         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
14173         * math/fegetround.c (fegetround): Rename to __fegetround and
14174         define as weak alias of __fegetround.  Use libm_hidden_weak.
14175         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
14176         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
14177         * sysdeps/arm/fegetround.c (fegetround): Likewise.
14178         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
14179         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14180         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
14181         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
14182         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
14183         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14184         Undefine after rather than before function definition; use
14185         parentheses around function name in definition.
14186         (__fegetround): Also undefine macro after function definition.
14187         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
14188         __fegetround and define as weak alias of __fegetround.  Use
14189         libm_hidden_weak.  Do not undefine as macro.
14190         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14191         Likewise.
14192         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
14193         __fegetround and define as weak alias of __fegetround.  Use
14194         libm_hidden_weak.
14195         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14196         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14197         * sysdeps/tile/math_private.h (__fegetround): New inline function.
14198         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
14199         __fegetround and define as weak alias of __fegetround.  Use
14200         libm_hidden_weak.
14201         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
14202         __fegetround instead of fegetround.
14204         [BZ #17782]
14205         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
14206         Condition macro definition on [__USE_MISC].
14208         [BZ #17781]
14209         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
14210         (struct sigaction): Change type of sa_flags field to int.
14212         [BZ #17780]
14213         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
14214         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
14215         __glibc_reserved0.
14217         * nptl/version.c (banner): Use single year in copyright notice.
14219         * NEWS: Update copyright dates.
14220         * catgets/gencat.c (print_version): Likewise.
14221         * csu/version.c (banner): Likewise.
14222         * debug/catchsegv.sh: Likewise.
14223         * debug/pcprofiledump.c (print_version): Likewise.
14224         * debug/xtrace.sh (do_version): Likewise.
14225         * elf/ldconfig.c (print_version): Likewise.
14226         * elf/ldd.bash.in: Likewise.
14227         * elf/pldd.c (print_version): Likewise.
14228         * elf/sotruss.sh: Likewise.
14229         * elf/sprof.c (print_version): Likewise.
14230         * iconv/iconv_prog.c (print_version): Likewise.
14231         * iconv/iconvconfig.c (print_version): Likewise.
14232         * locale/programs/locale.c (print_version): Likewise.
14233         * locale/programs/localedef.c (print_version): Likewise.
14234         * login/programs/pt_chown.c (print_version): Likewise.
14235         * malloc/memusage.sh (do_version): Likewise.
14236         * malloc/memusagestat.c (print_version): Likewise.
14237         * malloc/mtrace.pl: Likewise.
14238         * manual/libc.texinfo: Likewise.
14239         * nptl/version.c (banner): Likewise.
14240         * nscd/nscd.c (print_version): Likewise.
14241         * nss/getent.c (print_version): Likewise.
14242         * nss/makedb.c (print_version): Likewise.
14243         * posix/getconf.c (main): Likewise.
14244         * scripts/test-installation.pl: Likewise.
14245         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14247 2015-01-02  Will Newton  <will.newton@linaro.org>
14249         * sysdeps/arm/armv7/configure: Removed.
14250         * sysdeps/arm/armv7/configure.ac: Likewise.
14252 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14254         * All files with FSF copyright notices: Update copyright dates
14255         using scripts/update-copyrights.
14256         * intl/plural.c: Regenerated.
14257         * locale/programs/charmap-kw.h: Likewise.
14258         * locale/programs/locfile-kw.h: Likewise.
14260 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14262         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
14264 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14266         [BZ #17748]
14267         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
14268         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
14269         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14270         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14271         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14272         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
14273         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14274         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
14275         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14276         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14277         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14278         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14279         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14280         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14281         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
14282         libm_hidden_def.
14283         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
14284         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
14285         Likewise.
14286         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14287         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14288         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14289         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14290         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
14291         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14292         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14293         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
14294         __fegetenv instead of fegetenv.
14295         (libc_feholdsetround_noex_ctx): Likewise.
14297 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
14299         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
14300         (Elf_MIPS_ABIFlags_v0): New structure.
14301         (EF_MIPS_FP64): Define.
14302         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
14303         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
14304         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
14305         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
14306         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
14307         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
14308         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
14309         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
14310         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
14311         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
14312         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
14313         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
14314         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
14315         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
14316         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
14317         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
14318         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
14319         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
14320         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
14321         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
14322         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
14323         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
14324         field.
14325         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
14326         EF_MIPS_FP64.
14327         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
14328         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
14329         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
14330         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
14331         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
14332         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
14333         * sysdeps/mips/tst-abi-interlink.c: Likewise.
14334         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
14335         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
14336         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
14337         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
14338         record the current FP ABI extension.
14339         (mips-mode-switch): Define to show if kernel headers support mode
14340         switching.
14341         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14342         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
14343         supported SYSV ABI version to 3.
14344         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
14345         feature.
14347 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14348             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14350         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
14351         path.
14352         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
14354 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14356         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
14357         __fegetround and redefine to call __fegetround.  Remove condition
14358         on [!__NO_MATH_INLINES].
14359         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
14360         function.
14361         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
14362         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14363         Remove macro.
14364         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
14365         instead of <fenv_libc.h>.
14366         (__llrintl): Call fegetround instead of __fegetround.
14367         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
14368         instead of <fenv_libc.h>.
14369         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14370         (__lrintl): Call fegetround instead of __fegetround.
14371         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
14372         instead of <fenv_libc.h>.
14373         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14374         (__rintl): Call fegetround instead of __fegetround.
14376 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14378         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
14379         arrays.
14381 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14383         [BZ #17775]
14384         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
14385         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
14386         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
14388 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14390         * sysdeps/i386/tls-macros.h: Include <features.h>.
14391         (TLS_LE): Use non-PIC version for GCC >= 5.0.
14392         (TLS_IE): Likewise.
14393         (TLS_LD): Likewise.
14394         (TLS_GD): Likewise.
14395         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
14396         define for GCC >= 5.0.
14398 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
14400         * math/test-fenv.c (test_single_exception, set_single_exc,
14401         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
14402         feexcp_mask_test, feenable_test, fe_single_test): Add
14403         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
14404         case where they are not used.
14405         * math/libm-test.inc: Likewise.
14406         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
14407         unused in the absence of FP rounding/exception support.
14408         * stdio-common/tst-printf-round.c: Likewise.
14409         * stdlib/tst-strtod-round.c: Likewise.
14410         * stdlib/tst-strtod-underflow.c: Likewise.
14412 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
14414         [BZ #17723]
14415         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
14416         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
14417         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14418         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14419         libm_hidden_weak.
14420         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
14421         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14422         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
14423         libm_hidden_def.
14424         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14425         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14426         libm_hidden_weak.
14427         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
14428         Likewise.
14429         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
14430         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14431         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14432         libm_hidden_weak.
14433         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14434         libm_hidden_def.
14435         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14436         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
14437         (__feraiseexcept): Likewise.
14438         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14439         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14440         libm_hidden_weak.
14441         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14442         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14443         libm_hidden_def.
14444         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
14445         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
14446         Use libm_hidden_def.
14447         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
14448         libm_hidden_def.
14449         (feraiseexcept): Define as weak not strong alias.  Use
14450         libm_hidden_weak.
14451         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
14452         New inline function.  Factored out of ...
14453         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
14454         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
14455         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
14456         feraiseexcept.
14457         * math/w_acos.c (__acos): Likewise.
14458         * math/w_asin.c (__asin): Likewise.
14459         * math/w_ilogb.c (__ilogb): Likewise.
14460         * math/w_j0.c (y0): Likewise.
14461         * math/w_j1.c (y1): Likewise.
14462         * math/w_jn.c (yn): Likewise.
14463         * math/w_log.c (__log): Likewise.
14464         * math/w_log10.c (__log10): Likewise.
14465         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
14466         * sysdeps/aarch64/fpu/math_private.h
14467         (libc_feupdateenv_test_aarch64): Likewise.
14468         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
14469         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
14470         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
14471         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
14472         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
14473         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
14474         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
14475         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14476         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14477         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14479 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14481         [BZ #17732]
14482         * io/test-utime.c (main): Replace %ld with %jd and cast to
14483         intmax_t.
14484         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
14485         * nptl/tst-mutex5.c: Include <stdint.h>.
14486         (do_test): Replace %ld with %jd and cast to intmax_t.
14487         * posix/tst-regex.c (run_test): Likewise.
14488         (run_test_backwards): Likewise.
14489         * rt/tst-clock.c: Include <stdint.h>.
14490         (clock_test): Replace %ld with %jd and cast to intmax_t.
14491         * rt/tst-cpuclock1.c: Include <stdint.h>.
14492         (do_test): Replace %lu with %ju and cast to uintmax_t.
14493         * rt/tst-cpuclock2.c: Include <stdint.h>.
14494         (do_test): Replace %lu with %ju and cast to uintmax_t.
14495         * rt/tst-mqueue1.c: Include <stdint.h>.
14496         (check_attrs): Replace %ld with %jd and cast to intmax_t.
14497         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
14498         intmax_t.
14499         * rt/tst-mqueue4.c (do_test): Likewise.
14500         * rt/tst-timer4.c: Include <stdint.h>.
14501         (check_ts): Replace %ld with %jd and cast to intmax_t.
14502         (do_test): Likewise.
14503         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
14504         and cast to intmax_t.
14505         * sysdeps/pthread/tst-timer.c (main): Likewise.
14506         * time/clocktest.c (main): Likewise.
14507         * time/tst-posixtz.c (do_test): Likewise.
14508         * timezone/tst-timezone.c (main): Likewise.
14510 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14511             H.J. Lu  <hongjiu.lu@intel.com>
14513         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
14514         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
14515         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
14516         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
14517         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
14518         version if bit_Fast_Unaligned_Load is set.
14519         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14520         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14521         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14522         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14523         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14524         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14525         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14526         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
14527         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
14528         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
14529         to 4.
14530         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
14531         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
14532         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
14533         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
14535 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
14537         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
14538         instead of #if to avoid a Wundef warning.
14539         * stdlib/tst-limits.c (do_test): Likewise.
14541         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
14542         parallel other exception macros.
14543         (fegetenv): Convert from macro to extern inline so that it applies
14544         retroactively to inline functions already seen by the compiler.
14545         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
14547         * posix/Makefile (before-compile): Use $(objpfx) for
14548         posix-conf-vars-def.h.
14550 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14552         * posix/getconf.c (main): Use size_t for type of I.
14553         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
14554         NSPEC.
14556         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
14557         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
14558         * posix/posix-envs.def: Likewise.
14559         * sysdeps/posix/sysconf.c: Likewise.
14560         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
14561         (specs): Remove array.
14562         * scripts/gen-posix-conf-vars.awk: Support generation of specs
14563         array.
14565         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
14566         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
14567         (__sysconf): Use CONF_IS_* macros.
14569         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
14570         ($(objpfx)posix-conf-vars-def.h): New target.
14571         * posix/posix-conf-vars.list: New file.
14572         * posix/posix-conf-vars.h: New file.
14573         * posix/confstr.c: Include posix-conf-vars.h.
14574         (confstr): Use CONF_IS_* macros.
14575         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
14576         CONF_IS_* macros.
14577         * scripts/gen-posix-conf-vars.awk: New file.
14579 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
14581         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
14582         fegetround): Add no-op macros to avoid linknamespace issues.
14584         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
14585         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
14587         * sysdeps/unix/sysv/linux/tile/sysdep.h
14588         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
14589         assembly-specific section to avoid a redefinition warning.
14591         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
14592         long before casting to pointer to avoid a cast warning.
14594 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
14596         * sysdeps/tile/tilegx/Implies: New file.
14598 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
14600         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
14602 2014-12-23  Florian Weimer  <fweimer@redhat.com>
14604         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
14606 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14608         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
14609         not define.
14610         * sysdeps/unix/sysv/linux/utimes.c: Do not include
14611         <kernel-features.h>.
14612         (__utimes) [__NR_utimes]: Make code unconditional.
14613         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
14614         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14615         (__ASSUME_UTIMES): Do not undefine.
14616         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14617         (__ASSUME_UTIMES): Likewise.
14618         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14619         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
14620         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
14621         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
14623 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14625         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
14627 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
14629         [BZ #17747]
14630         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
14631         alias to weak alias for j0l, y0l.
14632         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
14633         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
14635         [BZ #17746]
14636         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
14637         conversion.
14639 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14641         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
14642         to zero if not already defined.
14644 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14646         [BZ #17724]
14647         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
14648         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
14649         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
14650         (char *) casts added.
14651         * sysdeps/ieee754/k_standardf.c: New file.
14652         * sysdeps/ieee754/k_standardl.c: Likewise.
14653         * math/Makefile (libm-support): Remove k_standard.
14654         (libm-calls): Add k_standard.
14656 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14658         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14659         Optimize to avoid an unnecessary FPCR read.
14661 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14663         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14664         Optimize to reduce FPCR/FPSR accesses.
14666 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14668         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
14669         Call libc_fetestexcept_aarch64.
14671 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14673         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
14674         Call libc_fesetround_aarch64.
14676 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14678         [BZ #17733]
14679         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
14680         (__bind): Do not define as weak alias.
14681         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
14682         define.
14683         (__getsockname): Do not define as weak alias.
14685 2014-12-22  Will Newton  <will.newton@linaro.org>
14687         * manual/install.texi: Document that we require bison 2.7
14688         or above.
14689         * INSTALL: Regenerate.
14690         * configure.ac: Use AC_CHECK_PROG_VER instead of
14691         AC_PATH_PROG when checking for bison and check for
14692         version 2.7 or above.
14693         * configure: Regenerate.
14695 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
14697         [BZ #17745]
14698         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
14699         * sysdeps/tile/ffsll.c (ffsll): To here.
14701         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
14703 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14705         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
14706         if not defined.
14707         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
14708         definition.
14709         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14710         hidden ___tls_get_addr.
14711         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14712         hidden __tls_get_addr.
14713         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
14714         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
14715         Likewise.
14717 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
14719         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
14720         _dl_init call.
14722 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14724         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
14725         from "call _dl_init@PLT".
14726         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
14728 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
14730         * manual/search.texi: (Array Sort Function): Clarify stable sorting
14731         guarantees.
14733 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
14735         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
14737 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14739         [BZ #17744]
14740         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
14741         strnlen.
14743 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14745         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
14746         of multu on MIPSr6.
14747         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
14748         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
14749         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
14750         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
14751         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
14753 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14755         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
14756         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
14757         (PTR_SUBU): Use subu for mips32r6/mips64r6.
14758         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
14759         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
14760         mips32r6/mips64r6.
14761         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
14763 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
14765         * string/strncat.c (STRNCAT): Simplify implementation.
14767 2014-12-19  David S. Miller  <davem@davemloft.net>
14769         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
14770         access the quad as both a long double and as a series of 4 words.
14772         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
14773         link_map->l_info array access.
14775 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14777         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
14779         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
14780         * math/atest-exp2.c (TIMEOUT): Likewise.
14781         * math/atest-sincos.c (TIMEOUT): Likewise.
14783 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14785         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
14786         -Wno-error with -fno-builtin-lround.
14788 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14790         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
14791         Contains futex constants and functions moved over from ...
14792         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
14793         <lowlevellock-futex.h>.
14794         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14795         (lll_timedwait_tid): Add comments and parentheses around macro
14796         arguments.
14798 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14800         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
14801         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
14802         (__lll_private_flag): Remove.
14803         (lll_futex_wait): Likewise.
14804         (lll_futex_timed_wait): Likewise.
14805         (lll_futex_wake): Likewise.
14806         (lll_futex_requeue): Likewise.
14807         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14808         (__lll_timedwait_tid): Spell out argument names.
14809         (lll_timedwait_tid): Add comments and parentheses around macro
14810         arguments.
14811         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
14812         LLL_SHARED and LLL_PRIVATE usable from assembly code.
14814 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14816         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
14817         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
14818         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14819         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
14820         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
14821         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
14822         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
14823         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
14824         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
14825         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
14826         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
14827         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
14828         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
14829         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
14830         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
14831         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
14832         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
14833         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
14834         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
14836 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14838         * sysdeps/x86_64/x32/Makefile: New file.
14840 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14842         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
14843         1L with (mp_limb_t) 1.
14845 2014-12-17  Roland McGrath  <roland@hack.frob.com>
14847         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
14848         * nptl/libc_pthread_init.c: ... here.
14849         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
14850         * nptl/register-atfork.c: ... here.
14852         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
14853         Use pthread_sigmask rather than INTERNAL_SYSCALL.
14854         Use assert_perror to check its return value.
14855         (__gai_create_helper_thread): Likewise.
14857         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
14859         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
14861 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
14863         [BZ #17725]
14864         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
14865         __profil_counter.
14866         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
14867         Likewise.
14868         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
14869         Likewise.
14870         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
14871         Likewise.
14872         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
14873         (profil_counter): Likewise.
14874         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
14875         (profil_counter): Likewise.
14876         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
14877         Likewise.
14878         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
14879         Likewise.
14880         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
14881         (profil_counter): Likewise.
14882         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
14883         Likewise.
14884         [!__profil_counter] (profil_counter): Define as weak alias of
14885         __profil_counter.
14886         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
14887         (profil_counter): Rename to __profil_counter.
14888         [!__profil_counter] (profil_counter): Define as weak alias of
14889         __profil_counter.
14890         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
14891         (profil_counter): Rename to __profil_counter.
14892         [!__profil_counter] (profil_counter): Define as weak alias of
14893         __profil_counter.
14894         * sysdeps/posix/profil.c: Update comment referring to
14895         profil_counter.
14896         (__profil): Use __profil_counter instead of profil_counter.
14897         * sysdeps/posix/sprofil.c (profil_counter): Rename to
14898         __profil_counter.  Use __profil_counter_ushort and
14899         __profil_counter_uint in definitions.
14900         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
14901         instead of profil_counter_uint and profil_counter_ushort.
14903         [BZ #17722]
14904         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
14905         define as weak alias of __inet_makeaddr.
14906         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
14907         as weak alias of __inet_addr.
14908         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
14909         as weak alias of __inet_pton.  Use libc_hidden_weak.
14910         * include/arpa/inet.h (__inet_pton): Declare.  Use
14911         libc_hidden_proto.
14912         (inet_makeaddr): Don't use libc_hidden_proto.
14913         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
14914         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
14915         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
14916         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
14917         Remove variable.
14918         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14919         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14921 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
14923         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
14925 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14927         * stdio-common/bug-vfprintf-nargs.c (do_test):
14928         Cast value to intptr_t to avoid format warning
14929         for usage with PRIdPTR printing macro.
14931 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14933         * libio/tst-widetext.c (do_test):
14934         Use format type %td instead of %Zd for ptrdiff_t
14935         in order to avoid format warning.
14937 2014-12-17  Andreas Schwab  <schwab@suse.de>
14939         * nscd/mem.c (gc): Add size_t cast to match printf format.
14941 2014-12-16  Roland McGrath  <roland@hack.frob.com>
14943         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
14944         (init): Apply PTR_MANGLE to pointers before storing them.
14945         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
14946         before using them.
14948 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
14950         [BZ #17719]
14951         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
14952         define as weak alias of __memrchr.
14953         (__memrchr): Do not define as strong alias of memrchr.
14954         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
14955         Remove variable.
14956         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14957         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14958         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14960         [BZ #17717]
14961         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
14962         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
14963         (if_indextoname): Rename to __if_indextoname and define as weak
14964         alias of __if_indextoname.  Use libc_hidden_weak.
14965         (if_freenameindex): Rename to __if_freenameindex and define as
14966         weak alias of __if_freenameindex.
14967         (if_nameindex): Rename to __if_nameindex and define as weak alias
14968         of __if_nameindex.
14969         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
14970         __if_nametoindex and define as weak alias of __if_nametoindex.
14971         Use libc_hidden_weak.
14972         (if_freenameindex): Rename to __if_freenameindex and define as
14973         weak alias of __if_freenameindex.
14974         (if_nameindex): Rename to __if_nameindex and define as weak alias
14975         of __if_nameindex.
14976         (if_indextoname): Rename to __if_indextoname and define as weak
14977         alias of __if_indextoname.  Use libc_hidden_weak.
14978         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
14979         __if_nametoindex and define as weak alias of __if_nametoindex.
14980         Use libc_hidden_weak.
14981         (if_freenameindex): Rename to __if_freenameindex and define as
14982         weak alias of __if_freenameindex.  Use libc_hidden_weak.
14983         (if_nameindex_netlink): Use __if_freenameindex instead of
14984         if_freenameindex.
14985         (if_nameindex): Rename to __if_nameindex and define as weak alias
14986         of __if_nameindex.  Use libc_hidden_weak.
14987         (if_indextoname): Rename to __if_indextoname and define as weak
14988         alias of __if_indextoname.  Use libc_hidden_weak.
14989         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
14990         libc_hidden_proto.
14991         [!_ISOMAC] (__if_freenameindex): Likewise.
14992         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
14993         if_nametoindex.
14994         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
14995         variable.
14996         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14997         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14998         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14999         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
15000         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
15001         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
15002         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
15004         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
15005         Remove variable.
15006         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
15007         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
15009 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15011         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
15012         subscript above bounds'
15014         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
15015         bounds.
15017 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
15019         * libio/tst-fopenloc.c: Use test-skeleton.c.
15021         * stdlib/tst-bsearch.c: Use test-skeleton.c.
15022         (entry): Rename to ITEM.
15023         (do_test, comp): Adjust.
15025         * stdio-common/tst-fseek.c: Use test-skeleton.c.
15027 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15029         * string/tester.c: Include <libc-internal.h>.
15030         (test_memset): Ignore -Wmemset-transposed-args.
15032 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15034         * misc/tst-mntent2.c (do_test): Fix warning.
15036 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15038         * elf/tst-unique4lib.cc(a): Mark as used.
15040 2014-12-16  Florian Weimer  <fweimer@redhat.com>
15042         [BZ #17630]
15043         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
15044         names.
15046 2014-12-16  Allan McRae  <allan@archlinux.org>
15048         * stdio-common/Makefile (tests): Re-add bug26.
15050 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
15052         [BZ #17657]
15053         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
15054         static array.
15056 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
15058         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
15059         (__lll_lock_wait): Likewise.
15060         (__lll_timedlock_wait): Likewise.
15061         (__lll_timedwait_tid): Likewise.
15062         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
15063         (__lll_robust_timedlock_wait): Likewise.
15064         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
15065         (lll_cond_trylock): Likewise.
15066         (__lll_lock): Likewise.
15067         (__lll_robust_lock): Likewise.
15068         (__lll_cond_lock): Likewise.
15069         (lll_robust_cond_lock): Likewise.
15070         (__lll_timedlock): Likewise.
15071         (__lll_robust_timedlock): Likewise.
15072         (__lll_unlock): Likewise.
15073         (__lll_robust_unlock): Likewise.
15074         (lll_wait_tid): Likewise.
15075         (lll_timedwait_tid): Likewise.
15077 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15079         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
15081 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15083         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
15085 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15087         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
15088         * stdio-common/tst-sprintf.c: Likewise.
15090 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15092         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
15094 2014-12-15  Jeff Law  <law@redhat.com>
15096         [BZ #16617]
15097         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
15098         on the heap.  (CVE-2012-3406)
15099         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
15100         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
15101         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
15103 2014-12-15  Will Newton  <will.newton@linaro.org>
15105         * manual/install.texi: Bump required version of texinfo
15106         to 4.7 from 4.5.
15107         * INSTALL: Regenerated.
15108         * configure.ac: Check for makeinfo version 4.7 and above.
15109         * configure: Regenerated.
15111 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15113         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
15114         PREFIX, string constant to insert between directory and name.
15115         * sysdeps/posix/shm_open.c: Update caller.
15116         * sysdeps/posix/shm_unlink.c: Likewise.
15117         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
15118         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
15119         (SEM_SHM_PREFIX): New macro.
15120         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
15121         [$(have-thread-library) = no].
15122         * nptl/Makefile (libpthread-routines): Add shm-directory.
15123         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
15124         * sysdeps/nptl/shm-directory.h: New file.
15125         * sysdeps/posix/shm-directory.c
15126         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
15127         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15128         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
15129         INTERNAL_SYSCALL.
15130         (__where_is_shmfs): Function removed.
15131         (mountpoint, defaultmount, defaultdir, __namedsem_once):
15132         Variables removed.
15133         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
15134         Use SHM_GET_NAME.
15135         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
15137         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
15138         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
15139         unconditional for use inside libpthread.
15140         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
15142 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15144         * nptl/pthread_getaffinity.c: New file.
15145         * nptl/pthread_setaffinity.c: New file.
15146         * nptl/pthread_getname.c: New file.
15147         * nptl/pthread_setname.c: New file.
15149         * nptl/pthread_create.c (START_THREAD_DEFN)
15150         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
15152 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15153             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15155         * resolv/res_send.c (send_vc): Disable warning resplen may
15156         be used uninitialized.
15158 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15160         * nptl/tst-mutex6.c
15161         (ATTR_NULL): New define checks ATTR against NULL.
15162         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
15163         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
15165 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
15167         [BZ #17581]
15168         * malloc/hooks.c
15169         (mem2mem_check): Revert my previous change.
15170         (malloc_check_get_size): Revert my previous change.
15171         (mem2chunk_check): Revert my previous change.
15173 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15175         * sysdeps/posix/shm-directory.c: New file.
15176         * sysdeps/posix/shm-directory.h: New file.
15177         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
15178         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
15179         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
15180         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
15181         Transmute EPERM to EACCES.
15182         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
15183         from ...
15184         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
15185         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
15187 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15189         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
15190         pointer and cast to uintptr_t.
15191         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
15192         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
15193         Add cast to avoid warning.
15194         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
15196 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15198         * nptl/semaphore.h: Move to ...
15199         * sysdeps/pthread/semaphore.h: ... here.
15200         * Makefile (installed-headers): Change nptl/semaphore.h to
15201         sysdeps/pthread/semaphore.h.
15203 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15205         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
15206         generated error format strings.
15208         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
15209         -Wformat-extra-args warnings for scanf formats.
15210         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
15211         test of zero-length format (duh).
15212         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
15213         corner-case scanf format test.
15214         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
15215         generated fprintf format string.
15216         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
15217         corner-case sprintf format tests.
15218         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
15219         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
15220         -Wformat-extra-args warnings throughout.
15221         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
15222         (CFLAGS-scanf4.c): Likewise.
15223         (CFLAGS-scanf7.c): Likewise.
15224         (CFLAGS-tst-sprintf.c): Likewise.
15225         (CFLAGS-tst-printf.c): Likewise.
15226         (CFLAGS-tst-printfsz.c): Likewise.
15228 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15230         * include/cpio.h: New file.
15231         * include/fmtmsg.h: Likewise.
15233         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
15234         corresponding format argument to size_t.
15235         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
15236         arguments.
15237         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
15238         corresponding format argument to size_t.
15239         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
15240         arguments.
15241         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
15242         corresponding format argument to size_t.
15243         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
15244         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
15245         (CFLAGS-tst-mbswcs2.c): Likewise.
15246         (CFLAGS-tst-mbswcs3.c): Likewise.
15247         (CFLAGS-tst-mbswcs4.c): Likewise.
15248         (CFLAGS-tst-mbswcs5.c): Likewise.
15249         (CFLAGS-tst-trans.c): Likewise
15251 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15253         * posix/regexbug1.c (main): Use "%s" format with regerror results,
15254         rather than assuming they won't contain any '%'s.
15256 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
15258         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
15259         inhibit_loop_to_libcall to avoid recursive calls.
15260         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
15261         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
15263 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15265         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
15266         prototype.
15268 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15270         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
15271         integer value instead of boolean.
15273 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15275         * malloc/malloc.c: Fix powerof2 check.
15277 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15279         * locale/programs/locfile.h (maybe_swap_uint32):
15280         Remove inline and add unused attribute.
15282 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15284         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
15285         Truncating assembler expression to a .long expression.
15287 2014-12-11  Andreas Schwab  <schwab@suse.de>
15289         * elf/rtld.c (struct map_args): Constify str member.
15290         (do_preload): Constify fname argument.
15292 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15294         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
15295         constants definition.
15297 2014-12-11  Andreas Schwab  <schwab@suse.de>
15299         [BZ #16657]
15300         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
15301         FORCE_ELISION instead of DO_ELISION.
15302         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
15303         Remove.
15304         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
15305         Likewise.
15307         * iconvdata/gconv-modules: Remove duplicate entry.
15309 2014-12-11  Will Newton  <will.newton@linaro.org>
15311         Merge gettext 0.19.3 into intl/.
15313         This involves a number of cosmetic changes to comments
15314         and ANSI function definitions and prototypes throughout
15315         all the files. The gettext copyright header is used but
15316         with the date ranges taken from the glibc copy.
15318         * NEWS: Add gettext merge to 2.21.
15319         * intl/bindtextdom.c: Switch to gettext copyright.
15320         Use ANSI definitions and prototypes.
15321         Use gl_* locking primitives rather than __libc_* ones.
15322         Use __builtin_expect rather than __glibc_likely/unlikely.
15323         * intl/dcgettext.c: Switch to gettext copyright.
15324         Use ANSI definitions and prototypes.
15325         * intl/dcigettext.c: Switch to gettext copyright.
15326         Use ANSI definitions and prototypes.
15327         (INTDIV0_RAISES_SIGFPE): New define.
15328         Use gl_* locking primitives rather than __libc_* ones.
15329         Include eval-plural.h instead of plural-eval.c.
15330         Use __builtin_expect rather than __glibc_likely/unlikely.
15331         * intl/dcngettext.c: Switch to gettext copyright.
15332         Use ANSI definitions and prototypes.
15333         * intl/dgettext.c: Likewise.
15334         * intl/dngettext.c: Likewise.
15335         * intl/plural-eval.c: Renamed to...
15336         * intl/eval-plural.h: ...this.
15337         * intl/explodename.c: Switch to gettext copyright.
15338         Use ANSI definitions and prototypes.
15339         (_nl_explode_name): Use strchr instead of __rawmemchr.
15340         * intl/finddomain.c: Switch to gettext copyright.
15341         Use ANSI definitions and prototypes.
15342         Use gl_* locking primitives rather than __libc_* ones.
15343         (_nl_find_domain): Use malloc rather than alloca for
15344         allocation of temporary locale name.
15345         * intl/gettext.c: Switch to gettext copyright.
15346         Use ANSI definitions and prototypes.
15347         * intl/gettextP.h: Switch to gettext copyright.
15348         Use ANSI definitions and prototypes.
15349         Use gl_* locking primitives rather than __libc_* ones.
15350         * intl/gmo.h: Switch to gettext copyright.
15351         (struct sysdep_string): Move struct segment_pair outside of
15352         struct definition.
15353         * intl/hash-string.c: Use ANSI definitions and prototypes.
15354         * intl/hash-string.h: Switch to gettext copyright.
15355         Use ANSI definitions and prototypes.
15356         * intl/l10nflist.c: Switch to gettext copyright.
15357         Use ANSI definitions and prototypes.
15358         (_nl_normalize_codeset): Avoid integer overflow.
15359         * intl/loadinfo.h: Switch to gettext copyright.
15360         Use ANSI definitions and prototypes.
15361         (LIBINTL_DLL_EXPORTED): New define.
15362         (PATH_SEPARATOR): New define.
15363         * intl/loadmsgcat.c: Switch to gettext copyright.
15364         * intl/localealias.c: Switch to gettext copyright.
15365         Use ANSI definitions and prototypes.
15366         (_nl_expand_alias): Use PATH_SEPARATOR.
15367         * intl/ngettext.c: Switch to gettext copyright.
15368         Use ANSI definitions and prototypes.
15369         * intl/plural-exp.c: Likewise.
15370         * intl/plural-exp.h: Switch to gettext copyright.
15371         Use ANSI definitions and prototypes.
15372         (struct expression): Move definition of enum operator outside
15373         of struct definition.
15374         * intl/plural.c: Regenerate.
15375         * intl/plural.y: Switch to gettext copyright.
15376         Use ANSI definitions and prototypes.
15377         Port to bison 3.0.
15378         * intl/textdomain.c: Switch to gettext copyright.
15379         Use ANSI definitions and prototypes.
15380         Use gl_* locking primitives rather than __libc_* ones.
15382 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
15384         * debug/warning-nop.c: Add used atrribute.
15386 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15388         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
15390         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
15391         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
15392         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
15394 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15395             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15397         [BZ #17634]
15398         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
15399         Undefine after defining function.  Define as weak alias of
15400         __wcschr.  Use libc_hidden_weak.
15401         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
15402         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
15403         (libc_hidden_def): Also define __GI___wcschr alias.
15404         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
15405         __wcschr and define as weak alias of __wcschr.
15406         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
15407         __wcschr.
15408         [!WCSCHR] (DEFAULT_WCSCHR): Define.
15409         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
15410         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
15411         libc_hidden_weak.  Do not use libc_hidden_def.
15412         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
15413         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
15414         __GI___wcschr alias.
15415         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
15416         [IS_IN (libc)] (wcschr): Define as macro expanding to
15417         __redirect_wcschr.
15418         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
15419         [IS_IN (libc)] (__wcschr_power6): Likewise.
15420         [IS_IN (libc)] (__wcschr_power7): Likewise.
15421         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
15422         instead of wcschr.
15423         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
15424         __libc_wcschr.
15425         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
15426         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
15427         __wcschr and define as weak alias of __wcschr.  Use
15428         libc_hidden_builtin_def.
15429         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
15430         as weak alias of __wcschr.  Use libc_hidden_weak.
15431         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
15432         wcschr.
15433         * time/era.c (_nl_init_era_entries): Likewise.
15434         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
15435         variable.
15436         (test-xfail-XPG3/time.h/linknamespace): Likewise.
15437         (test-xfail-XPG4/time.h/linknamespace): Likewise.
15439 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15441         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
15442         format for long int variable.
15444 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
15446         [BZ #10672]
15447         * manual/search.texi: (Array Sort Function): Remove claim how to make
15448         qsort stable.
15450 2014-12-10  Andreas Schwab  <schwab@suse.de>
15452         [BZ #12847]
15453         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
15454         user-controlled locks.
15456 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
15458         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
15459         register.
15461 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15463         * configure.ac (--disable-werror): New configure option.
15464         (enable_werror): New AC_SUBST.
15465         * configure: Regenerated.
15466         * config.make.in (enable-werror): New variable.
15467         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
15468         -Wno-error=undef.
15469         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
15470         * manual/install.texi (Configuring and compiling): Document
15471         --disable-werror.
15472         * INSTALL: Regenerated.
15473         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
15474         (CFLAGS-tst-chk2.c): Likewise.
15475         (CFLAGS-tst-chk3.c): Likewise.
15476         (CFLAGS-tst-chk4.cc): Likewise.
15477         (CFLAGS-tst-chk5.cc): Likewise.
15478         (CFLAGS-tst-chk6.cc): Likewise.
15479         (CFLAGS-tst-lfschk1.c): Likewise.
15480         (CFLAGS-tst-lfschk2.c): Likewise.
15481         (CFLAGS-tst-lfschk3.c): Likewise.
15482         (CFLAGS-tst-lfschk4.cc): Likewise.
15483         (CFLAGS-tst-lfschk5.cc): Likewise.
15484         (CFLAGS-tst-lfschk6.cc): Likewise.
15486         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
15487         (main): Disable -Wdeprecated-declarations around calls to
15488         register_printf_function.
15490         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
15491         (do_test): Disable -Wdiv-by-zero around some calls to
15492         fwrite_unlocked and fread_unlocked.
15494         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
15495         (DIAG_POP_NEEDS_COMMENT): Likewise.
15496         (_DIAG_STR1): Likewise.
15497         (_DIAG_STR): Likewise.
15498         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
15499         * stdio-common/bug21.c: Include <libc-internal.h>.
15500         (do_test): Disable -Wformat around call to sscanf.
15501         * stdio-common/scanf14.c: Include <libc-internal.h>.
15502         (main): Disable -Wformat around some calls to scanf functions.
15504 2014-12-09  Torvald Riegel  <triegel@redhat.com>
15506         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
15508 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15510         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
15511         stack variable alignment.
15513 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
15515         [BZ #17682]
15516         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
15517         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
15518         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
15519         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
15520         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
15521         __getrlimit instead of getrlimit.
15522         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
15523         __gettimeofday instead of gettimeofday.
15524         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15525         Likewise.
15526         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15527         Likewise.
15528         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15529         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
15530         Remove variable.
15531         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
15532         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
15534 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15536         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
15537         for wide-character tests.
15539 2014-12-04  Roland McGrath  <roland@hack.frob.com>
15541         * io/openat64.c: #include <libc-internal.h>
15542         (__openat64): Prototypify.  Use ignore_value on MODE.
15543         * io/openat.c: Likewise.
15544         * misc/reboot.c: #include <libc-internal.h>
15545         (reboot): Prototypify.  Use ignore_value on HOWTO.
15546         * misc/ptrace.c: #include <libc-internal.h>
15547         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
15549 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
15551         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
15552         XPG4, UNIX98 and XOPEN2K.
15553         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
15554         Remove variable.
15555         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
15557 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15559         * libio/fileops.c: Use ISO C style for function definitions.
15560         * libio/iofopen.c: Likewise.
15561         * libio/wfileops.c: Likewise.
15563         [BZ #17653]
15564         * libio/fileops.c (_IO_new_file_underflow): Unset cached
15565         offset on EOF.
15566         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15567         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
15568         (fgets_func): Function pointer to fgets and fgetws.
15569         (do_ftell_test): Add test to verify ftell value after read
15570         EOF.
15571         (do_test): Set fgets_func.
15573         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
15574         O_TRUNC flag for w and w+ modes.
15575         (do_rewind_test): Likewise.
15576         (do_ftell_test): Likewise.
15577         (do_write_test): Likewise.
15579         [BZ #17647]
15580         * libio/fileops.c (do_ftell): Seek only when there are
15581         unflushed writes.
15582         * libio/wfileops.c (do_ftell_wide): Likewise.
15583         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
15584         test case.
15585         (do_one_test): Call it.
15587 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
15589         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
15590         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
15591         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
15592         Remove variable.
15593         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
15594         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
15595         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
15597 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15599         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
15600         Remove variable.
15601         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
15603         [BZ #17668]
15604         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
15605         as weak alias of __getifaddrs.  Use libc_hidden_weak.
15606         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15607         __freeifaddrs.  Use libc_hidden_weak.
15608         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
15609         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
15610         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15611         __freeifaddrs.  Use libc_hidden_weak.
15612         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
15613         __getifaddrs and define as weak alias of __getifaddrs.  Use
15614         libc_hidden_weak.
15615         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15616         __freeifaddrs.  Use libc_hidden_weak.
15617         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
15618         Remove variable.
15619         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
15620         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
15622 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15624         [BZ #17601]
15625         * sysdeps/mips/start.S (__start): Use indirect jump to call
15626         __libc_start_main.
15628 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15630         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
15632         * nptl/tst-mutex1.c: Include <stdbool.h>.
15633         [!ATTR] (ATTR_NULL): New macro.
15634         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
15635         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
15636         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
15638         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
15639         to char *.
15641         [BZ #17665]
15642         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
15643         Change conditional to [__USE_MISC].
15645         [BZ #17664]
15646         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
15647         fgets_unlocked.
15648         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
15649         __fgets_unlocked.
15650         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
15651         fgets_unlocked.
15652         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
15653         Remove variable.
15654         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
15655         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
15656         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
15657         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
15658         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
15659         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
15660         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
15661         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
15662         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
15664         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
15666 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15668         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15669         Remove strpbrk objects.
15670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15671         (__libc_ifunc_impl_list): Remove strpbrk implementation.
15672         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
15673         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
15674         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
15675         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
15677         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15678         Remove strcspn objects.
15679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15680         (__libc_ifunc_impl_list): Remove strcspn implementation.
15681         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
15682         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
15683         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
15684         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
15686         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15687         Remove strspn objetcs.
15688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15689         (__libc_ifunc_impl_list): Remove strspn implementation.
15690         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
15691         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15692         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
15693         * sysdeps/powerpc/powerpc64/strspn.S: New file.
15695 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
15697         [BZ #17581]
15698         * malloc/hooks.c
15699         (mem2mem_check): Add a terminator to the chain of checking blocks.
15700         (malloc_check_get_size): Use it here.
15701         (mem2chunk_check): Ditto.
15703 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15705         * sysdeps/powerpc/powerpc64/strtok.S: New file.
15706         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
15708 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
15710         * bits/ioctl-types.h: Indent preprocessor directives correctly.
15712         * nptl/nptl-init.c: Include libc-internal.h.
15713         (__pthread_initialize_minimal_internal): Use ROUND_UP.
15715         * elf/ldconfig.c (search_dir): Expand comment.
15717 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
15719         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
15720         variable.
15721         (linknamespace-symlist-stdlibs-tests): Likewise.
15722         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
15723         instead of $(objpfx)symlist-stdlibs.
15724         (linknamespace-libs-isoc): New variable.
15725         (linknamespace-libs): Use $(linknamespace-libs-isoc).
15726         (linknamespace-libs-ISO): New variable.
15727         (linknamespace-libs-ISO99): Likewise.
15728         (linknamespace-libs-ISO11): Likewise.
15729         (linknamespace-libs-XPG3): Likewise.
15730         (linknamespace-libs-XPG4): Likewise.
15731         (linknamespace-libs-POSIX): Likewise.
15732         (linknamespace-libs-UNIX98): Likewise.
15733         (linknamespace-libs-XOPEN2K): Likewise.
15734         (linknamespace-libs-POSIX2008): Likewise.
15735         (linknamespace-libs-XOPEN2K8): Likewise.
15736         ($(objpfx)symlist-stdlibs): Replace by
15737         $(linknamespace-symlist-stdlibs-tests).  Use
15738         $(linknamespace-libs-$*) as set of libraries.
15739         ($(linknamespace-header-tests)): Update dependencies.  Use
15740         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
15741         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
15742         * conform/linknamespace.pl: Remove comment about considering
15743         definitions of symbols from irrelevant libraries.
15745 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
15747         [BZ #13862]
15748         * elf/dl-tls.c: Include <atomic.h>.
15749         (oom): Remove #ifdef SHARED/#endif.
15750         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
15751         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
15752         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
15753         big enough.
15754         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
15755         * nptl/Makefile (tests): Add tst-stack4.
15756         (modules-names): Add tst-stack4mod.
15757         ($(objpfx)tst-stack4): New.
15758         (tst-stack4mod.sos): Likewise.
15759         ($(objpfx)tst-stack4.out): Likewise.
15760         ($(tst-stack4mod.sos)): Likewise.
15761         (clean): Likewise.
15762         * nptl/tst-stack4.c: New file.
15763         * nptl/tst-stack4mod.c: Likewise.
15765 2014-11-27  J. Brown  <jb999@gmx.de>
15767         * sysdeps/x86/bits/string.h: Add recent CPUs.
15769 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15771         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
15772         sigblock.
15774         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
15775         feof.
15777         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
15778         variable.
15780 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15782         * nscd/connections.c: Include libc-internal.h because of macro
15783         usage ignore_value.
15785 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15787         * string/bits/string3.h (__warn_memset_zero_len): Don't
15788         declare for gcc newer than 5.0.
15789         (memset): Don't test for zero-length __LEN for gcc newer than
15790         5.0.
15792 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15794         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
15795         size_t for %zu format.
15797         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
15798         difference, not %ju.
15800 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15802         * include/libc-internal.h (ignore_value): New macro.
15803         * nscd/connections.c (restart): Wrap calls to setuid and setgid
15804         with ignore_value.
15806         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
15807         definition.
15809         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
15810         pthread_cleanup_push to void *.
15812         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
15813         Undefine.
15815         [BZ #16619]
15816         [BZ #16740]
15817         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
15818         instead of 1L << 52.
15820         * libio/bug-rewind.c (do_test): Check fwscanf return values.
15821         * libio/bug-rewind2.c (do_test): Likewise.
15823         * debug/test-stpcpy_chk-ifunc.c: Remove file.
15824         * debug/test-strcpy_chk-ifunc.c: Likewise.
15825         * wcsmbs/test-wcschr-ifunc.c: Likewise.
15826         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15827         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15828         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15829         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15830         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15831         * Rules [$(multi-arch) = no] (tests): Do not filter out
15832         $(tests-ifunc).
15833         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
15834         * debug/Makefile (tests-ifunc): Remove variable.
15835         (tests): Do not add $(tests-ifunc).
15836         * wcsmbs/Makefile (tests-ifunc): Remove variable.
15837         (tests): Do not add $(tests-ifunc).
15838         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
15839         [TEST_IFUNC]: Remove conditionals.
15840         * string/test-string.h (TEST_IFUNC): Remove macro.
15841         [TEST_IFUNC]: Remove conditionals.
15843         * string/test-strchr.c [!WIDE] (L): New macro.
15844         [WIDE] (L): Likewise.
15845         (check1): Use CHAR instead of char.  Use L on string and character
15846         constants.
15848 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
15850         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
15851         tests.
15852         * sysdeps/powerpc/bits/atomic.h
15853         (__arch_atomic_exchange_and_add_32_acq): Add definition.
15854         (__arch_atomic_exchange_and_add_32_rel): Likewise.
15855         (atomic_exchange_and_add_acq): Likewise.
15856         (atomic_exchange_and_add_rel): Likewise.
15857         * sysdeps/powerpc/powerpc32/bits/atomic.h
15858         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15859         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15860         * sysdeps/powerpc/powerpc64/bits/atomic.h
15861         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15862         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15864 2014-11-26  Torvald Riegel  <triegel@redhat.com>
15866         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
15867         Change synchronization of __sched_fifo_min_prio and
15868         __sched_fifo_max_prio.
15869         * nptl/pthread_mutexattr_getprioceiling.c
15870         (pthread_mutexattr_getprioceiling): Likewise.
15871         * nptl/pthread_mutexattr_setprioceiling.c
15872         (pthread_mutexattr_setprioceiling): Likewise.
15873         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
15874         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
15875         Likewise.
15877 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15879         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
15880         void.
15882 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15884         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
15885         third argument const.
15887 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
15889         fnmatch: work around GCC compiler warning bug with uninit var
15890         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
15891         This works around a bug with x86-64 GCC 4.9.2 and earlier
15892         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
15893         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
15894         used uninitialized in this function [-Wmaybe-uninitialized]".
15896 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15898         * posix/bug-regex31.c (main): Return RES not 0.
15900 2014-11-25  Anton Blanchard <anton@samba.org>
15902         * sysdeps/powerpc/bits/atomic.h
15903         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
15905 2014-11-24  Sterling Augustine  <saugustine@google.com>
15907         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
15909 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
15911         [BZ #17608]
15912         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
15914 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
15916         [BZ #17633]
15917         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
15918         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
15919         variable.
15920         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
15921         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
15923 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15925         * string/strncpy.c (strncpy): Improve performance by using memset.
15927 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15929         * string/strcpy.c (strcpy):
15930         Improve performance by using strlen and memcpy.
15932 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
15934         * string/strcoll_l.c (get_next_seq): __always_inline.
15935         * string/strcoll_l.c (do_compare): __always_inline.
15937 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15939         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
15940         defined.
15941         * include/mqueue.h: Likewise.
15942         * include/stdlib.h: Likewise.
15944         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
15945         (get_null_defines): Adjust.
15946         * sunrpc/Makefile: Adjust comment.
15947         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
15948         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
15949         (CFLAGS-interp.c): Likewise.
15950         (CFLAGS-ldconfig.c): Likewise.
15951         (CPPFLAGS-.os): Likewise.
15952         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15953         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
15954         * extra-modules.mk (extra-modules.mk): Likewise.
15955         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
15956         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
15957         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
15958         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
15959         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
15960         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
15961         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
15962         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
15963         * iconvdata/Makefile (CPPFLAGS): Likewise.
15964         (cpp-srcs-left): Add libof for all iconvdata routines.
15965         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
15966         * include/assert.h: Likewise.
15967         * include/ctype.h: Likewise.
15968         * include/errno.h: Likewise.
15969         * include/libc-symbols.h: Likewise.
15970         * include/math.h: Likewise.
15971         * include/netdb.h: Likewise.
15972         * include/resolv.h: Likewise.
15973         * include/stdio.h: Likewise.
15974         * include/stdlib.h: Likewise.
15975         * include/string.h: Likewise.
15976         * include/sys/stat.h: Likewise.
15977         * include/wctype.h: Likewise.
15978         * intl/l10nflist.c: Likewise.
15979         * libidn/idn-stub.c: Likewise.
15980         * libio/libioP.h: Likewise.
15981         * nptl/libc_multiple_threads.c: Likewise.
15982         * nptl/pthreadP.h: Likewise.
15983         * posix/regex_internal.h: Likewise.
15984         * resolv/res_hconf.c: Likewise.
15985         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
15986         * sysdeps/arm/memmove.S: Likewise.
15987         * sysdeps/arm/sysdep.h: Likewise.
15988         * sysdeps/generic/_itoa.h: Likewise.
15989         * sysdeps/generic/symbol-hacks.h: Likewise.
15990         * sysdeps/gnu/errlist.awk: Likewise.
15991         * sysdeps/gnu/errlist.c: Likewise.
15992         * sysdeps/i386/i586/memcpy.S: Likewise.
15993         * sysdeps/i386/i586/memset.S: Likewise.
15994         * sysdeps/i386/i686/memcpy.S: Likewise.
15995         * sysdeps/i386/i686/memmove.S: Likewise.
15996         * sysdeps/i386/i686/mempcpy.S: Likewise.
15997         * sysdeps/i386/i686/memset.S: Likewise.
15998         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15999         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16000         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
16001         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
16002         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16003         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16004         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
16005         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16006         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16007         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16008         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16009         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16010         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16011         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16012         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16013         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16014         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
16015         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
16016         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
16017         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16018         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16019         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16020         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16021         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16022         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16023         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16024         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
16025         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16026         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
16027         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16028         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16029         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16030         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16031         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16032         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16033         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16034         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16035         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16036         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16037         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16038         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16039         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16040         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16041         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16042         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16043         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16044         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
16045         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
16046         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16047         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16048         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16049         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
16050         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
16051         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16052         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16053         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
16054         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16055         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
16056         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
16057         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16058         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16059         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16060         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
16061         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16062         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16063         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
16064         * sysdeps/posix/closedir.c: Likewise.
16065         * sysdeps/posix/opendir.c: Likewise.
16066         * sysdeps/posix/readdir.c: Likewise.
16067         * sysdeps/posix/rewinddir.c: Likewise.
16068         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
16069         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
16070         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16071         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16072         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16073         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
16074         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
16075         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
16076         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16077         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
16078         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16079         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16080         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16081         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
16082         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
16083         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
16084         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16085         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16086         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
16087         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
16088         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16089         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
16090         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
16091         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16092         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
16093         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
16094         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
16095         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16096         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16097         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
16098         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
16099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
16100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
16101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
16102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
16103         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
16104         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16105         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16106         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
16107         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
16108         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
16109         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
16110         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16111         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
16112         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
16113         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
16114         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
16115         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16116         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
16117         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
16118         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
16119         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16120         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16121         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16122         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16123         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
16124         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
16125         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16126         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16127         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
16128         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
16129         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16130         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16131         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16132         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
16133         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
16134         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
16135         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
16136         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
16137         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
16138         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
16139         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16140         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
16141         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16142         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16143         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
16144         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
16145         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16146         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
16147         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
16148         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16149         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16150         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
16151         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
16152         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16153         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
16154         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
16155         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16156         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16157         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16158         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
16159         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
16160         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
16161         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16162         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16163         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
16164         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16165         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16166         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
16167         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
16168         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16169         * sysdeps/unix/alpha/sysdep.S: Likewise.
16170         * sysdeps/unix/alpha/sysdep.h: Likewise.
16171         * sysdeps/unix/make-syscalls.sh: Likewise.
16172         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16173         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16174         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16175         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
16176         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16177         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16178         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
16179         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16180         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16181         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
16182         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16183         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16184         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16185         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16186         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16187         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16188         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16189         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16190         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16191         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16192         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16193         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16194         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16195         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16196         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16197         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16198         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16201         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
16202         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16203         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16204         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16206         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16207         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16208         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16209         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16210         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16211         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16212         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16213         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16214         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16215         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16216         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16217         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16218         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16219         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16220         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16221         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16222         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16223         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16224         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16225         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16226         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16227         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16228         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16230         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
16231         * sysdeps/x86_64/memcpy.S: Likewise.
16232         * sysdeps/x86_64/memmove.c: Likewise.
16233         * sysdeps/x86_64/memset.S: Likewise.
16234         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
16235         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16236         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16237         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
16238         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16239         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16240         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16241         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16242         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16243         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16244         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16245         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16246         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
16247         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16248         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16249         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
16250         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16251         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16252         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16253         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16254         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
16255         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16256         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16257         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16258         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16259         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16260         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16261         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
16262         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16263         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16264         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
16265         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16266         * sysdeps/x86_64/strcmp.S: Likewise.
16268         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
16270         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
16271         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
16272         * elf/rtld-Rules: Likewise.
16273         * elf/setup-vdso.h: Likewise.
16274         * include/assert.h: Likewise.
16275         * include/bits/stdlib-float.h: Likewise.
16276         * include/errno.h: Likewise.
16277         * include/sys/stat.h: Likewise.
16278         * include/unistd.h: Likewise.
16279         * sysdeps/aarch64/setjmp.S: Likewise.
16280         * sysdeps/alpha/setjmp.S: Likewise.
16281         * sysdeps/arm/__longjmp.S: Likewise.
16282         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
16283         * sysdeps/arm/setjmp.S: Likewise.
16284         * sysdeps/arm/sysdep.h: Likewise.
16285         * sysdeps/generic/_itoa.h: Likewise.
16286         * sysdeps/generic/dl-sysdep.h: Likewise.
16287         * sysdeps/generic/ldsodefs.h: Likewise.
16288         * sysdeps/i386/dl-tls.h: Likewise.
16289         * sysdeps/i386/setjmp.S: Likewise.
16290         * sysdeps/m68k/setjmp.c: Likewise.
16291         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
16292         * sysdeps/mach/hurd/opendir.c: Likewise.
16293         * sysdeps/posix/getcwd.c: Likewise.
16294         * sysdeps/posix/opendir.c: Likewise.
16295         * sysdeps/posix/profil.c: Likewise.
16296         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16297         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16298         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16299         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16300         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16301         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
16302         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16303         * sysdeps/s390/dl-tls.h: Likewise.
16304         * sysdeps/s390/s390-32/setjmp.S: Likewise.
16305         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16306         * sysdeps/sh/sh3/setjmp.S: Likewise.
16307         * sysdeps/sh/sh4/setjmp.S: Likewise.
16308         * sysdeps/unix/alpha/sysdep.h: Likewise.
16309         * sysdeps/unix/arm/sysdep.S: Likewise.
16310         * sysdeps/unix/i386/sysdep.S: Likewise.
16311         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16312         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16313         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16314         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16315         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16316         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16317         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16318         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16319         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16320         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16321         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16322         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16323         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16326         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16327         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16328         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16329         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16330         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16331         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16332         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16333         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16334         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16335         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16336         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16337         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16338         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16339         * sysdeps/x86_64/setjmp.S: Likewise.
16341         * include/math.h: Use IS_IN instead of IS_IN_libm.
16342         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
16343         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16344         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16345         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16346         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16347         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16348         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16349         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16350         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16351         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16352         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
16353         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
16354         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
16355         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
16356         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
16357         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
16358         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
16359         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
16360         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
16361         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
16362         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
16363         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
16364         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
16365         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
16366         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
16367         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16368         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
16369         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
16370         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
16371         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
16372         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
16373         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16374         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
16376         Likewise.
16377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16378         Likewise.
16379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
16380         Likewise.
16381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
16382         Likewise.
16383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
16384         Likewise.
16385         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16386         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
16387         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16388         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16389         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16390         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
16392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
16396         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
16397         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
16398         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16399         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16400         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16401         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16402         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16403         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16404         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16405         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
16406         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
16407         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
16408         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
16409         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
16410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16411         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
16413         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
16414         * nptl/pthreadP.h: Likewise.
16415         * nptl_db/structs.def: Likewise.
16416         * sysdeps/arm/sysdep.h: Likewise.
16417         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16418         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16419         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
16420         * sysdeps/unix/alpha/sysdep.h: Likewise.
16421         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16422         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16423         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16424         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16425         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16426         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16427         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16428         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16429         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16430         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16431         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16432         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16433         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16434         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16437         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16438         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16439         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16440         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16441         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16442         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16443         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16444         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16445         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16446         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16448         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
16449         * nptl/pthreadP.h: Likewise.
16450         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16451         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16452         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16453         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16454         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16455         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16456         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16457         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16458         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16459         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16460         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16461         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16463         Likewise.
16464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16465         Likewise.
16466         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16467         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16468         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16469         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16470         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16471         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16472         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16473         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16475         * dlfcn/dladdr.c: Use IS_IN.
16476         * dlfcn/dladdr1.c: Likewise.
16477         * dlfcn/dlclose.c: Likewise.
16478         * dlfcn/dlerror.c: Likewise.
16479         * dlfcn/dlinfo.c: Likewise.
16480         * dlfcn/dlmopen.c: Likewise.
16481         * dlfcn/dlopen.c: Likewise.
16482         * dlfcn/dlsym.c: Likewise.
16483         * dlfcn/dlvsym.c: Likewise.
16485         * include/ifaddrs.h: Use IS_IN.
16486         * inet/check_pf.c: Likewise.
16487         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16488         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
16490         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
16491         IS_IN_ldconfig.
16492         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
16493         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
16495         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
16496         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
16497         IS_IN (libc).
16499         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
16501         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
16502         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16503         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
16504         * include/libc-symbols.h (IS_IN_LIB): New macro.
16505         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
16506         * include/netdb.h: Likewise.
16507         * include/stap-probe.h: Remove all uses of IN_LIB.
16509         * Makeconfig (module-cppflags-real): Define MODULE_NAME
16510         instead of IN_MODULE.
16511         * include/libc-symbols.h (IN_MODULE): Define using
16512         MODULE_NAME.
16513         (PASTE_NAME, PASTE_NAME1): New macros.
16514         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
16515         of IN_LIB.
16516         (STAP_PROBE_ASM): Likewise.
16518 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16520         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
16521         __mach_init in dlopened libc.
16523 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
16525         * sysdeps/arm/preconfigure.ac: Delete EABI check.
16526         * sysdeps/arm/preconfigure: Regenerate.
16528 2014-11-21  Roland McGrath  <roland@hack.frob.com>
16530         * nptl/pthread_create.c (__pthread_create_2_1): Set
16531         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
16532         when copying values from IATTR into PD.
16534 2014-11-21  Will Newton  <will.newton@linaro.org>
16535             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
16537         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
16538         Refactor inline-asm.  Also add comment.
16540         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
16541         ElfW macro instead of hardcoded Elf64 types.
16542         (la_aarch64_gnu_pltenter): Likewise.
16543         * sysdeps/aarch64/dl-machine.h
16544         (elf_machine_runtime_setup): Use ElfW(Addr).
16546         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
16547         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
16548         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
16549         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
16550         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
16551         (R_AARCH64_TLS_DTPMOD64): Rename to ..
16552         (R_AARCH64_TLS_DTPMOD): This.
16553         (R_AARCH64_TLS_DTPREL64): Rename to ...
16554         (R_AARCH64_TLS_DTPREL): This.
16555         (R_AARCH64_TLS_TPREL64): Rename to ...
16556         (R_AARCH64_TLS_TPREL): This.
16557         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
16558         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
16559         R_AARCH64_TLS_TPREL64.
16560         (elf_machine_rela): Likewise.
16562 2014-11-21  Torvald Riegel  <triegel@redhat.com>
16564         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
16565         by setting it to 0.  64b atomics are not supported currently.
16567 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16569         [BZ #16469]
16570         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
16571         search domain names.
16573 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16575         [BZ #16469]
16576         * NEWS: Update.
16577         * resolv/res_query.c (__libc_res_nquerydomain): Retain
16578         trailing dot.
16579         * posix/tst-getaddrinfo5.c: New.
16580         * posix/Makefile (tests): Add it.
16582 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16584         [BZ #14498]
16585         * NEWS: Fixed.
16586         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
16587         after parsing line but before break_if_match.
16588         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
16589         if there is a protocol mismatch.
16591 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
16593         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
16594         because the potential race is on the user-supplied stream.
16596 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16598         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
16599         string literal if not passed a buffer.
16600         * manual/job.texi (ctermid): Update reasoning, note deviation
16601         from posix, suggest mtasurace when not passed a buffer, for
16602         future non-preliminary safety notes.
16604 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16606         * manual/users.texi (cuserid): Fix MT-Safety note for the case
16607         of not passing it a buffer.
16608         Reported by Peng Haitao.
16610 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16612         * manual/Makefile ($(objpfx)stamp-summary): Require
16613         check-safety.sh to pass.
16614         * manual/check-safety.sh: Wish for verification that every
16615         @deftypefn and @deftypefun is followed by a @safety remark.
16617 2014-11-20  Roland McGrath  <roland@hack.frob.com>
16619         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
16621         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
16622         PTHREAD_CANCEL_ASYNCHRONOUS.
16623         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
16624         send SIGCANCEL.
16626         * nptl/default-sched.h: New file.
16627         * sysdeps/unix/sysv/linux/default-sched.h: New file.
16628         * nptl/pthread_create.c: Include it.
16629         (__pthread_create_2_1): Use collect_default_sched instead of making
16630         Linux syscalls here directly.
16632 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16634         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
16635         __pthread_once): Use C11 atomics.
16637 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16639         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
16641 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16643         * include/atomic.h (__atomic_link_error, __atomic_check_size,
16644         atomic_thread_fence_acquire, atomic_thread_fence_release,
16645         atomic_thread_fence_seq_cst, atomic_load_relaxed,
16646         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
16647         atomic_compare_exchange_weak_relaxed,
16648         atomic_compare_exchange_weak_acquire,
16649         atomic_compare_exchange_weak_release,
16650         atomic_exchange_acquire, atomic_exchange_release,
16651         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
16652         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
16653         atomic_fetch_and_acquire,
16654         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
16656 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16658         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
16659         USE_ATOMIC_COMPILER_BUILTINS): Define.
16660         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
16661         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16662         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
16663         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16664         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
16665         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16666         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
16667         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16668         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
16669         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16670         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
16671         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16672         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
16673         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16674         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
16675         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16676         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16677         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16678         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16679         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16680         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
16681         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16682         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16683         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16684         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
16685         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16686         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16687         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16688         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
16689         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16690         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
16691         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16692         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
16693         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16694         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16695         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16696         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
16697         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16698         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
16699         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16701 2014-11-19  Roland McGrath  <roland@hack.frob.com>
16703         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
16704         the sched_priority value here.  It was already checked when the user
16705         called pthread_attr_setschedparam.
16707         * nptl/tst-bad-schedattr.c: New file.
16708         * nptl/Makefile (tests): Add it.
16710 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
16711             Florian Weimer  <fweimer@redhat.com>
16712             Joseph Myers  <joseph@codesourcery.com>
16713             Adam Conrad  <adconrad@0c3.net>
16714             Andreas Schwab  <schwab@suse.de>
16715             Brooks  <bmoses@google.com>
16717         [BZ #17625]
16718         * wordexp-test.c (__dso_handle): Add prototype.
16719         (__register_atfork): Likewise.
16720         (__app_register_atfork): New function.
16721         (registered_forks): New global.
16722         (register_fork): New function.
16723         (test_case): Add 3 new tests for WRDE_CMDSUB.
16724         (main): Call __app_register_atfork.
16725         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
16726         fork count is non-zero fail the test.
16727         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
16728         is set.
16729         (parse_dollars): Remove check for WRDE_NOCMD.
16730         (parse_dquote): Likewise.
16732 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16734         * Makeconfig (built-modules): List non-library modules to be
16735         built.
16736         (module-cppflags): Include libc-modules.h for
16737         everything except shlib-versions.v.i.
16738         (CPPFLAGS): Use it.
16739         (before-compile): Add libc-modules.h.
16740         ($(common-objpfx)libc-modules.h,
16741         $(common-objpfx)libc-modules.stmp): New targets.
16742         (common-generated): Add libc-modules.h and libc-modules.stmp.
16743         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
16744         * include/libc-symbols.h: Don't include libc-modules.h.
16745         * include/libc-modules.h: Remove file.
16746         * scripts/gen-libc-modules.awk: New script to generate
16747         libc-modules.h.
16748         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
16749         Depend on libc-modules.stmp.
16751         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
16753         * Makeconfig (in-module): Get value of libof set for the
16754         translation unit.
16755         (CPPFLAGS): Use $(in-module).
16756         * Makerules: Don't suffix routine names for nonlib.
16757         * include/libc-modules.h: New file.
16758         * include/libc-symbols.h: Include libc-modules.h
16759         (IS_IN): New macro to replace IS_IN_* macros.
16760         * elf/Makefile: Set libof-* for each routine.
16761         * elf/rtld-Rules: Likewise.
16762         * extra-modules.mk: Likewise.
16763         * iconv/Makefile: Likewise.
16764         * iconvdata/Makefile: Likewise.
16765         * locale/Makefile: Likewise.
16766         * malloc/Makefile: Likewise.
16767         * nss/Makefile: Likewise.
16768         * sysdeps/gnu/Makefile: Likewise.
16769         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
16770         * sysdeps/unix/sysv/linux/Makefile: Likewise.
16771         * sysdeps/s390/s390-64/Makefile: Likewise.
16772         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
16773         CPPFLAGS for nscd instead of nonlib.
16775 2014-11-18  Roland McGrath  <roland@hack.frob.com>
16777         * nptl/createthread.c: New file.
16779         * nptl/createthread.c: Moved ...
16780         * sysdeps/unix/sysv/linux/createthread.c: ... here.
16782         * nptl/createthread.c: Add proper top-line comment.
16783         (do_clone): Folded into ...
16784         (create_thread): ... here.  Take new arguments STOPPED_START and
16785         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
16786         increment __nptl_threads, do event-reporting logic, do
16787         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
16788         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
16789         resource cleanup if sched_setaffinity or sched_setscheduler fails,
16790         just send SIGCANCEL.
16791         * nptl/pthread_create.c: Forward-declare create_thread before
16792         including createthread.c.
16793         (start_thread): Use new macro START_THREAD_DEFN to replace defining
16794         declaration, and new macro START_THREAD_SELF to replace argument.
16795         Remove return statement.
16796         (report_thread_creation): New function.
16797         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
16798         synchronization logic, and __nptl_nthreads increment here, around
16799         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
16800         PD->parent_cancelhandling here, before create_thread.  When
16801         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
16802         __deallocate_stack, and ENOMEM translation here.
16804 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
16806         [BZ #17616]
16807         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
16808         (mptwo): Rename to __mptwo.
16809         (__inv): Use __mptwo instead of mptwo.
16810         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
16811         (mptwo): Rename to __mptwo.
16812         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
16813         of mpone and __mptwo instead of mptwo.
16814         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
16815         instead of mpone.
16816         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16817         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
16818         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
16819         of mpone and __mptwo instead of mptwo.
16820         (__mpranred): Use __mpone instead of mpone.
16821         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
16822         variable.
16823         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16824         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16825         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16826         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16827         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16828         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16829         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16830         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16831         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16832         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16833         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16834         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16835         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16836         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16837         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16838         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16839         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16840         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16841         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16843 2014-11-18  Tom de Vries  <tom@codesoucery.com>
16845         * manual/signal.texi (Primitives Interrupted by Signals): In section,
16846         replace BSD Handler xref with BSD Signal Handling.
16848 2014-11-17  Richard Henderson  <rth@redhat.com>
16850         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
16851         (_FP_PACK_RAW_2): Remove.
16852         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
16853         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
16854         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
16855         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
16856         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
16857         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
16858         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
16859         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
16860         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
16861         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
16862         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
16863         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
16864         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
16865         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
16866         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
16867         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
16869 2014-11-14  Roland McGrath  <roland@hack.frob.com>
16871         * signal/signal.h [__USE_MISC]
16872         (struct sigvec): Remove type.
16873         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
16874         (sigvec): Remove declaration.
16875         * sysdeps/posix/sigvec.c: Moved ...
16876         * signal/sigvec.c: ... here, replacing old file.
16877         (struct sigvec): New type, copied from old signal.h definition.
16878         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
16879         (__sigvec): Convert definition to prototype.
16880         (sigvec): Replace weak_alias with compat_symbol.
16881         * signal/Versions (libc: GLIBC_2.21): New version set.
16882         * include/signal.h: Remove __sigvec declaration.
16883         * sysdeps/unix/bsd/sigvec.c: Remove file.
16884         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
16885         * manual/signal.texi (BSD Handler): Remove subsection.
16886         Move siginterrupt up to ...
16887         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
16888         (Blocking in BSD): Fold subsection into its parent.
16889         * NEWS: Mention sigvec removal.
16891 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16893         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
16894         (DLA_FMS): Make definition conditional only on [__FMA4__].
16895         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
16896         definition.
16898         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
16899         Make definition conditional only on [PROF].
16900         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
16901         definition.
16902         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
16903         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
16905         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
16906         !__GNUC__].
16907         * include/signal.h (__sigpause): Move declaration above call to
16908         libc_hidden_proto.
16909         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
16910         variable.
16911         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16912         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16914 2014-11-14  David S. Miller  <davem@davemloft.net>
16916         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
16917         Define before including <string/memcpy.c> and <string/mempcpy.c>.
16919 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16921         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
16922         * configure: Regenerated.
16923         * manual/install.texi (Tools for Compilation): Document a
16924         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
16925         compiler verified to work.
16926         * INSTALL: Regenerated.
16928         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
16929         redeclare with asm name.
16930         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
16931         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
16932         including <string.h>.
16933         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16934         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
16935         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16936         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
16937         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16938         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16939         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16941 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
16943         * stdlib/strtol.c (__strtol): Use prototype definition.
16945         [BZ #17594]
16946         * stdlib/strtol.c (SYM__): New macro.
16947         (SYM__1): Likewise.
16948         (__strtol): Likewise.
16949         (strtol): Rename to __strtol and define as weak alias of
16950         __strtol.  Use libc_hidden_weak.
16952 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16954         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
16955         Use numbered labels in inline assembly.
16957 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16959         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
16960         Add setjmp LIBC_PROBE.
16961         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
16962         Likewise.
16963         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
16964         Add longjmp, longjmp_target LIBC_PROBE.
16965         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
16966         Likewise.
16968 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16970         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16971         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
16972         to get rid of unused variable warning.
16974 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16976         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
16977         Check for unwind_backtrace ==  NULL only in SHARED case.
16978         (__backchain_backtrace): Compile only in SHARED case.
16979         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
16980         Likewise.
16981         (__backchain_backtrace): Declare as static.
16983 2014-11-12  Roland McGrath  <roland@hack.frob.com>
16985         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
16986         (__libc_multiple_threads_ptr): Variable moved ...
16987         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
16989 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
16991         * conform/GlibcConform.pm: New file.
16992         * conform/conformtest.pl: Use GlibcConform module.
16993         * conform/linknamespace.pl: New file.
16994         * conform/list-header-symbols.pl: Likewise.
16995         * conform/Makefile (linknamespace-symlists-base): New variable.
16996         (linknamespace-symlists-tests): Likewise.
16997         (linknamespace-header-base): Likewise.
16998         (linknamespace-header-tests): Likewise.
16999         (tests-special): Add new tests.
17000         ($(linknamespace-symlists-tests)): New rule.
17001         (linknamespace-libs): New variable.
17002         ($(objpfx)symlist-stdlibs): New rule.
17003         ($(linknamespace-header-tests)): Likewise.
17004         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
17005         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
17006         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
17007         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
17008         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
17009         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
17010         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
17011         (test-xfail-ISO/math.h/linknamespace): Likewise.
17012         (test-xfail-ISO/signal.h/linknamespace): Likewise.
17013         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
17014         (test-xfail-ISO/time.h/linknamespace): Likewise.
17015         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
17016         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
17017         (test-xfail-ISO99/math.h/linknamespace): Likewise.
17018         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
17019         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17020         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
17021         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
17022         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17023         (test-xfail-ISO11/math.h/linknamespace): Likewise.
17024         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
17025         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17026         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
17027         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17028         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
17029         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
17030         (test-xfail-XPG3/math.h/linknamespace): Likewise.
17031         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
17032         (test-xfail-XPG3/search.h/linknamespace): Likewise.
17033         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
17034         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17035         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
17036         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17037         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17038         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
17039         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17040         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17041         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
17042         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
17043         (test-xfail-XPG4/math.h/linknamespace): Likewise.
17044         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
17045         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17046         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17047         (test-xfail-XPG4/search.h/linknamespace): Likewise.
17048         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17049         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
17050         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
17051         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
17052         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
17053         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17054         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
17055         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17056         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
17057         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17058         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17059         (test-xfail-POSIX/math.h/linknamespace): Likewise.
17060         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
17061         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
17062         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17063         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17064         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
17065         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17066         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17067         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
17068         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17069         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17070         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17071         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17072         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17073         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17074         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17075         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17076         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
17077         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
17078         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17079         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17080         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17081         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
17082         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17083         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17084         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
17085         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17086         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17087         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17088         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17089         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17090         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17091         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
17092         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
17093         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17094         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
17095         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
17096         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
17097         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17098         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17099         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17100         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
17101         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17102         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
17103         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17104         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
17105         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
17106         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
17107         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17108         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17109         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17110         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17111         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
17112         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
17113         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17114         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17115         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17116         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17117         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17118         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
17119         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17120         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17121         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17122         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17123         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
17124         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
17125         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17126         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
17127         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17128         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17129         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
17130         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17131         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17132         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17133         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17134         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17135         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17136         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17137         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17138         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17139         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
17140         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17141         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
17142         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17143         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
17144         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17145         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17146         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17147         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
17148         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17149         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
17150         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17151         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17152         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17153         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17154         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17155         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17156         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
17157         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17158         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17159         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17160         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17161         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
17162         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
17163         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17164         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17166         [BZ #17589]
17167         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
17168         of fgets_unlocked.
17170         [BZ #17585]
17171         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
17172         (memmem): Rename to __memmem and define as weak alias of
17173         __memmem.  Use libc_hidden_weak.
17174         (__memmem): Use libc_hidden_def.
17175         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
17176         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
17177         memmem.
17179         [BZ #17582]
17180         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
17181         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
17182         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
17183         and define as weak alias of __fgets_unlocked.  Use
17184         libc_hidden_weak.
17185         (__fgets_unlocked): Use libc_hidden_def.
17186         * include/stdio.h (__fgets_unlocked): Declare.  Use
17187         libc_hidden_proto.
17188         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
17189         __fgets_unlocked instead of fgets_unlocked.
17190         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
17191         (GET_NPROCS_CONF_PARSER): Likewise.
17192         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
17193         (GET_NPROCS_CONF_PARSER): Likewise.
17195         [BZ #17574]
17196         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
17197         weak alias of __wmemset.  Use libc_hidden_weak.
17198         (__wmemset): Use libc_hidden_def.
17199         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
17200         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
17201         of wmemset.
17203         [BZ #17573]
17204         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
17205         with asm name __mempcpy.
17206         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
17208         [BZ #17572]
17209         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
17210         and define as weak alias of __rawmemchr.
17211         (__rawmemchr): Do not define as strong alias of rawmemchr.
17213         [BZ #17571]
17214         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
17215         alias of __qsort_r.
17216         (qsort): Call __qsort_r instead of qsort_r.
17217         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
17218         (__qsort_r): Declare.  Call libc_hidden_proto.
17219         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
17220         instead of qsort_r.
17221         * nscd/gai.c (__qsort_r): Define to qsort_r.
17222         * posix/tst-rfc3484.c (__qsort_r): Likewise.
17223         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
17224         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
17226         [BZ #17570]
17227         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
17228         define as weak alias of __malloc_info.
17230         [BZ #17584]
17231         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
17232         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17233         (__rewinddir): Use libc_hidden_def.
17234         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
17235         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17236         (__rewinddir): Use libc_hidden_def.
17237         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
17238         weak alias of __rewinddir.  Don't use libc_hidden_def.
17239         (__rewinddir): Use libc_hidden_def.
17240         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
17241         (__rewinddir): Use libc_hidden_proto.
17242         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
17243         rewinddir.
17244         (__getcwd): Use __rewinddir instead of rewinddir.
17246         [BZ #17583]
17247         * libio/fileno.c (fileno): Rename to __fileno and define as weak
17248         alias of __fileno.  Use libc_hidden_weak.
17249         (__fileno): Use libc_hidden_def.
17250         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
17251         * libio/ftello.c (ftello): Rename to __ftello and define as weak
17252         alias of __ftello.
17253         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
17254         __ftello.
17255         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
17256         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
17257         libc_hidden_def.
17258         (fread_unlocked): Don't use libc_hidden_ver.
17259         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
17260         and define as weak alias of __fread_unlocked.  Don't use
17261         libc_hidden_def.
17262         (__fread_unlocked): Use libc_hidden_def.
17263         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
17264         (ftello): Don't use libc_hidden_proto.
17265         (__ftello): Declare.  Use libc_hidden_proto.
17266         (fread_unlocked): Don't use libc_hidden_proto.
17267         (__fread_unlocked): Declare.  Use libc_hidden_proto.
17268         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
17269         and __ftello instead of fileno, fread_unlocked and ftello.
17271 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17273         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
17274         GOT12.
17275         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17276         Likewise.
17277         (_dl_start_user): Likewise.
17278         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
17280 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
17281             Siddhesh Poyarekar  <siddhesh@redhat.com>
17283         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
17284         Move argv and envp down instead of moving argc up.
17285         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
17287 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
17289         [BZ #17506]
17290         * test-skeleton.c (main): Return successful if one of
17291         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
17292         * string/tst-strcoll-overflow.c: Define expected status.
17294 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
17296         [BZ #17475]
17297         * locale/iso-639.def: Define Bhili and Tulu language codes.
17299 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
17301         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
17303 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
17305         [BZ #17555]
17306         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
17308 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17310         * configure.ac: Updated check of minimal required version to
17311         2.22.
17312         * manual/install.texi (Tools for Compilation): Updated version
17313         number.
17314         * configure: Regenerated.
17315         * INSTALL: Likewise.
17317 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
17319         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
17320         __tls_get_addr.
17322 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
17324         * include/sys/wait.h (__libc_waitpid): Remove declaration.
17325         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
17326         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17327         libc_hidden_weak.
17328         (waitpid): Define as alias of __waitpid.
17329         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
17330         __waitpid.
17331         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17332         libc_hidden_weak.
17333         (waitpid): Define as alias of __waitpid.
17334         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
17335         __libc_waitpid alias.
17336         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
17337         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
17338         Likewise.
17339         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
17340         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
17341         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
17342         alias.
17343         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
17344         __waitpid.
17345         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17346         libc_hidden_weak.
17347         (waitpid): Define as alias of __waitpid.
17349 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
17351         * manual/llio.texi: Add comment that write safety has been
17352         fixed in Linux.
17354         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
17355         (localplt-build-dso): Add elf/ld.so.
17356         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
17357         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
17358         and free for ld.so.
17359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
17360         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
17361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
17362         Likewise.
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17364         Likewise.
17365         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
17366         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
17367         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
17368         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
17369         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17370         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
17371         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
17372         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
17373         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17374         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
17375         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17377 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
17379         [BZ #14132]
17380         * include/libc-symbols.h (INTUSE): Remove macro.
17381         (INTDEF): Likewise.
17382         (INTVARDEF): Likewise.
17383         (_INTVARDEF): Likewise.
17384         (INTDEF2): Likewise.
17385         (INTVARDEF2): Likewise.
17386         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
17387         rtld_hidden_def instead of INTVARDEF.
17388         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
17389         (_dl_starting_up_internal): Remove declaration.
17390         (_dl_starting_up): Use rtld_hidden_proto.
17391         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
17392         declaration.
17393         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
17394         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
17395         _dl_starting_up.
17396         * elf/dl-writev.h (_dl_writev): Likewise.
17397         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
17398         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
17399         _dl_starting_up_internal.
17401 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17403         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17404         test-skeleton.c.
17406 2014-11-05  Will Newton  <will.newton@linaro.org>
17408         * benchtests/Makefile: (bench-malloc): Add malloc thread
17409         scalability benchmark.
17410         * benchtests/bench-malloc-threads.c: New file.
17412 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
17414         * sysdeps/aarch64/strchrnul.S: New file.
17416 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17418         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
17419         definition.
17420         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17421         Likwise.
17422         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17423         Likewise.
17424         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17425         Likewise.
17426         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17427         Likewise.
17428         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17429         Likewise.
17431 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
17433         * catgets/test-gencat.c: Use test-skeleton.c.
17434         * catgets/tst-catgets.c: Likewise.
17435         * csu/tst-empty.c: Likewise.
17436         * elf/tst-audit2.c: Likewise.
17437         * elf/tst-global1.c: Likewise.
17438         * elf/tst-pathopt.c: Likewise.
17439         * elf/tst-piemod1.c: Likewise.
17440         * elf/tst-tls10.c: Likewise.
17441         * elf/tst-tls11.c: Likewise.
17442         * elf/tst-tls12.c: Likewise.
17443         * gnulib/tst-gcc.c: Likewise.
17444         * iconvdata/tst-e2big.c: Likewise.
17445         * iconvdata/tst-loading.c: Likewise.
17446         * iconv/tst-iconv1.c: Likewise.
17447         * iconv/tst-iconv2.c: Likewise.
17448         * inet/test-inet6_opt.c: Likewise.
17449         * inet/tst-gethnm.c: Likewise.
17450         * inet/tst-network.c: Likewise.
17451         * inet/tst-ntoa.c: Likewise.
17452         * intl/tst-codeset.c: Likewise.
17453         * intl/tst-gettext2.c: Likewise.
17454         * intl/tst-gettext3.c: Likewise.
17455         * intl/tst-ngettext.c: Likewise.
17456         * intl/tst-translit.c: Likewise.
17457         * io/test-stat.c: Likewise.
17458         * libio/test-fmemopen.c: Likewise.
17459         * libio/tst-freopen.c: Likewise.
17460         * libio/tst-sscanf.c: Likewise.
17461         * libio/tst-ungetwc1.c: Likewise.
17462         * libio/tst-ungetwc2.c: Likewise.
17463         * libio/tst-widetext.c: Likewise.
17464         * localedata/tst-ctype.c: Likewise.
17465         * localedata/tst-digits.c: Likewise.
17466         * localedata/tst-leaks.c: Likewise.
17467         * localedata/tst-mbswcs1.c: Likewise.
17468         * localedata/tst-mbswcs2.c: Likewise.
17469         * localedata/tst-mbswcs3.c: Likewise.
17470         * localedata/tst-mbswcs4.c: Likewise.
17471         * localedata/tst-mbswcs5.c: Likewise.
17472         * localedata/tst-setlocale.c: Likewise.
17473         * localedata/tst-trans.c: Likewise.
17474         * localedata/tst-wctype.c: Likewise.
17475         * localedata/tst-xlocale1.c: Likewise.
17476         * login/tst-grantpt.c: Likewise.
17477         * malloc/tst-calloc.c: Likewise.
17478         * malloc/tst-malloc.c: Likewise.
17479         * malloc/tst-mallocstate.c: Likewise.
17480         * malloc/tst-mcheck.c: Likewise.
17481         * malloc/tst-mtrace.c: Likewise.
17482         * malloc/tst-obstack.c: Likewise.
17483         * math/atest-exp2.c: Likewise.
17484         * math/atest-exp.c: Likewise.
17485         * math/atest-sincos.c: Likewise.
17486         * math/test-matherr.c: Likewise.
17487         * math/test-misc.c: Likewise.
17488         * math/test-powl.c: Likewise.
17489         * math/tst-definitions.c: Likewise.
17490         * misc/tst-dirname.c: Likewise.
17491         * misc/tst-efgcvt.c: Likewise.
17492         * misc/tst-fdset.c: Likewise.
17493         * misc/tst-hsearch.c: Likewise.
17494         * misc/tst-mntent2.c: Likewise.
17495         * nptl/tst-sem7.c: Likewise.
17496         * nptl/tst-sem8.c: Likewise.
17497         * nptl/tst-sem9.c: Likewise.
17498         * nss/test-netdb.c: Likewise.
17499         * posix/tst-fnmatch.c: Likewise.
17500         * posix/tst-getlogin.c: Likewise.
17501         * posix/tst-gnuglob.c: Likewise.
17502         * posix/tst-mmap.c: Likewise.
17503         * pwd/tst-getpw.c: Likewise.
17504         * resolv/tst-inet_ntop.c: Likewise.
17505         * rt/tst-timer.c: Likewise.
17506         * stdio-common/test-fseek.c: Likewise.
17507         * stdio-common/test-popen.c: Likewise.
17508         * stdio-common/test-vfprintf.c: Likewise.
17509         * stdio-common/tst-cookie.c: Likewise.
17510         * stdio-common/tst-fileno.c: Likewise.
17511         * stdio-common/tst-gets.c: Likewise.
17512         * stdio-common/tst-obprintf.c: Likewise.
17513         * stdio-common/tst-perror.c: Likewise.
17514         * stdio-common/tst-sprintf2.c: Likewise.
17515         * stdio-common/tst-sprintf3.c: Likewise.
17516         * stdio-common/tst-sprintf.c: Likewise.
17517         * stdio-common/tst-swprintf.c: Likewise.
17518         * stdio-common/tst-tmpnam.c: Likewise.
17519         * stdio-common/tst-unbputc.c: Likewise.
17520         * stdio-common/tst-wc-printf.c: Likewise.
17521         * stdlib/tst-environ.c: Likewise.
17522         * stdlib/tst-fmtmsg.c: Likewise.
17523         * stdlib/tst-limits.c: Likewise.
17524         * stdlib/tst-rand48-2.c: Likewise.
17525         * stdlib/tst-rand48.c: Likewise.
17526         * stdlib/tst-random2.c: Likewise.
17527         * stdlib/tst-random.c: Likewise.
17528         * stdlib/tst-strtol.c: Likewise.
17529         * stdlib/tst-strtoll.c: Likewise.
17530         * stdlib/tst-tls-atexit.c: Likewise.
17531         * stdlib/tst-xpg-basename.c: Likewise.
17532         * string/test-ffs.c: Likewise.
17533         * string/tst-bswap.c: Likewise.
17534         * string/tst-inlcall.c: Likewise.
17535         * string/tst-strtok.c: Likewise.
17536         * string/tst-strxfrm.c: Likewise.
17537         * sysdeps/x86_64/tst-audit10.c: Likewise.
17538         * sysdeps/x86_64/tst-audit3.c: Likewise.
17539         * sysdeps/x86_64/tst-audit4.c: Likewise.
17540         * sysdeps/x86_64/tst-audit5.c: Likewise.
17541         * time/tst-ftime_l.c: Likewise.
17542         * time/tst-getdate.c: Likewise.
17543         * time/tst-mktime3.c: Likewise.
17544         * time/tst-mktime.c: Likewise.
17545         * time/tst-posixtz.c: Likewise.
17546         * time/tst-strptime2.c: Likewise.
17547         * time/tst-strptime3.c: Likewise.
17548         * wcsmbs/tst-btowc.c: Likewise.
17549         * wcsmbs/tst-mbrtowc.c: Likewise.
17550         * wcsmbs/tst-mbsrtowcs.c: Likewise.
17551         * wcsmbs/tst-wchar-h.c: Likewise.
17552         * wcsmbs/tst-wcpncpy.c: Likewise.
17553         * wcsmbs/tst-wcrtomb.c: Likewise.
17554         * wcsmbs/tst-wcsnlen.c: Likewise.
17555         * wcsmbs/tst-wcstof.c: Likewise.
17557 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
17559         [BZ #14132]
17560         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
17561         INTDEF.
17562         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
17563         declaration.
17564         (_dl_mcount): Use rtld_hidden_proto.
17565         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
17566         _dl_mcount.
17567         * elf/rtld.c (_rtld_global_ro): Likewise.
17569         [BZ #14132]
17570         * elf/dl-init.c (_dl_init): Don't use INTDEF.
17571         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
17572         of _dl_init_internal.
17573         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
17574         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
17575         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
17576         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
17577         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
17578         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
17579         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
17580         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
17581         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
17582         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
17583         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
17584         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
17585         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17586         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17587         * sysdeps/tile/dl-start.S (_start): Likewise.
17588         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
17589         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
17591         [BZ #14132]
17592         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
17593         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
17594         (rtld_progname): Make macro definition unconditional.
17595         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
17596         INTDEF.
17597         (dlmopen_doit): Do not use INTUSE with _dl_argv.
17598         (dl_main): Likewise.
17599         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17600         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
17601         instead of _dl_argv_internal.
17602         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17603         __GI__dl_argv instead of INTUSE(_dl_argv).
17604         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
17605         __GI__dl_argv instead of _dl_argv_internal.
17607         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
17608         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
17609         macro.
17610         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
17611         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
17612         New macro.
17613         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
17614         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
17615         macro.
17616         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
17617         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
17619 2014-11-04  Andreas Schwab  <schwab@suse.de>
17621         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
17623 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17625         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
17626         mtvsrd instruction in binary form.
17628 2014-11-03  Andreas Schwab  <schwab@suse.de>
17630         [BZ #17522]
17631         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
17632         for less than MB_LEN_MAX use a local buffer of that size.
17633         * libio/tst-fputws.c: New file.
17634         * libio/Makefile (tests): Add tst-fputws.
17636 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
17638         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
17639         the size of the fpu_fr.fpu_dregs[] array.
17641 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
17643         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
17644         (__nanosleep): Do not define as alias.
17645         (nanosleep): Define as alias of __nanosleep.
17646         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
17647         __libc_nanosleep name.
17649 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17651         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
17652         install.texi in comment.
17654 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17656         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
17657         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
17658         ... add here and use lwsync or sync ...
17659         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
17660         ... and add here using lwsync.
17662 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17664         * elf/dl-machine-reject-phdr.h: New file.
17665         * elf/dl-load.c: #include that.
17666         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
17667         if that returned true.
17669 2014-10-31  Roland McGrath  <roland@hack.frob.com>
17671         [BZ #17496]
17672         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
17673         gen-as-const-headers chunk.  Add a big scare comment after the last
17674         safe place to touch before-compile.
17676 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17678         * manual/install.texi (Tools for Compilation): Update autoconf
17679         version requirements.
17680         * INSTALL: Regenerated.
17682         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
17683         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
17684         (__libc_pselect): Likewise.
17686         [BZ #14138]
17687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
17688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17692 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17694         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
17695         correct barrier instruction.
17696         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
17697         Likewise.
17698         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
17699         Likewise.
17701 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17703         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
17704         after defining inlines.  Instead, just use parens to defeat macro
17705         expansion of __isctype in its declaration.
17707 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17709         * include/sys/uio.h (__libc_readv): Remove declaration.
17710         (__libc_writev): Likewise.
17711         * misc/readv.c (__libc_readv): Rename to __readv.
17712         (__readv): Do not define as alias.
17713         (readv): Define as alias of __readv.
17714         * misc/writev.c (__libc_writev): Rename to __writev.
17715         (__writev): Do not define as alias.
17716         (writev): Define as alias of __writev.
17717         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
17718         (__readv): Do not define as alias.
17719         (readv): Define unconditionally as alias of __readv.
17720         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
17721         (__writev): Do not define as alias.
17722         (writev): Define unconditionally as alias of __writev.
17723         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
17724         name.
17725         (writev): Do not define __libc_writev name.
17727 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17729         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
17730         (convert_charseq): New function, broken out of ...
17731         (use_from_charmap): ... here.  Call it.
17732         (use_to_charmap): Use convert_charseq and free instead of duplicating
17733         its code with a variable-length stack struct.
17735 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17737         * include/fcntl.h (__libc_creat): Remove declaration.
17738         * io/creat.c (__libc_creat): Rename to creat.
17739         (creat): Do not define as alias.
17740         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
17741         of creat instead of __libc_creat.
17742         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
17743         to creat.
17744         (creat): Do not define as alias.
17745         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
17746         __libc_creat.
17747         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
17748         __libc_creat name.
17749         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
17750         Likewise.
17752 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
17754         * manual/llio.texi: Add comments discussing why write() may be
17755         considered MT-unsafe on Linux.
17757 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
17759         * dl-load.c (local_strdup): Remove.
17760         (expand_dynamic_string_token): Use __strdup.
17761         (decompose_rpath): Likewise.
17762         (_dl_map_object): Likewise.
17764 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
17766         [BZ #14132]
17767         * sysdeps/generic/unwind-dw2-fde.c
17768         (__register_frame_info_bases_internal): Do not declare.
17769         (__register_frame_info_table_bases_internal): Likewise.
17770         (__deregister_frame_info_bases_internal): Likewise.
17771         (__register_frame_info_bases): Declare and use hidden_proto before
17772         definition.  Use hidden_def instead of INTDEF.
17773         (__register_frame_info_table_bases): Likewise.
17774         (__deregister_frame_info_bases): Likewise.
17775         (__register_frame_info): Do not use INTUSE.
17776         (__register_frame): Likewise.
17777         (__register_frame_info_table): Likewise.
17778         (__register_frame_table): Likewise.
17779         (__deregister_frame_info): Likewise.
17780         (__deregister_frame): Likewise.
17782 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
17784         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17785         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
17786         not undefine.
17787         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
17788         Likewise.
17789         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
17790         Likewise.
17792 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
17794         [BZ #14138]
17795         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
17796         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
17797         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
17798         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
17799         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
17800         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
17801         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
17802         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
17803         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
17804         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
17805         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
17806         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
17807         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
17808         syscall.
17809         (setfsuid): Likewise.
17810         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
17811         (setfsuid): Likewise.
17812         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
17813         (setfsuid): Likewise.
17814         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
17815         Likewise.
17816         (setfsuid): Likewise.
17817         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
17818         (setfsuid): Likewise.
17819         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
17820         Likewise.
17821         (setfsuid): Likewise.
17823 2014-10-27  Andreas Schwab  <schwab@suse.de>
17825         [BZ #17501]
17826         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
17827         check for Slow_SSE4_2 feature bit.
17828         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
17829         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17830         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
17831         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
17833 2014-10-24  Roland McGrath  <roland@hack.frob.com>
17835         * configure.ac: Validate compiler version with a empirical test of
17836         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
17837         $CC -v output.
17838         * configure: Regenerated.
17840         * inet/htons.c (htons): Prototypify.
17841         * inet/htonl.c (htonl): Likewise.
17843 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17845         * string/strncat.c (strncat): Improve performance by using strlen.
17847 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17849         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
17851 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17853         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
17854         Call libc_fetestexcept_aarch64.
17856 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17858         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
17859         Call libc_feholdexcept_aarch64.
17861 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17863         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
17864         Call get_rounding_mode.
17866 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17868         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17869         Simplify logic.
17871 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17873         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
17874         Simplify logic.
17876 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
17878         [BZ #14138]
17879         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
17880         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
17881         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
17882         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
17883         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
17884         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
17885         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
17886         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
17887         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
17888         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
17889         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17890         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
17891         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
17892         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
17893         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
17894         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
17895         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
17896         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
17897         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
17898         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
17899         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
17900         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
17901         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
17902         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
17903         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
17904         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
17905         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
17906         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
17907         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
17908         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
17909         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
17910         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
17911         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
17912         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
17913         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
17914         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
17915         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
17916         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
17917         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
17918         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
17919         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
17920         syscall.
17921         (geteuid): Likewise.
17922         (getgid): Likewise.
17923         (getuid): Likewise.
17924         (getresgid): Likewise.
17925         (getresuid): Likewise.
17926         (getgroups): Likewise.
17927         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
17928         (geteuid): Likewise.
17929         (getgid): Likewise.
17930         (getuid): Likewise.
17931         (getresgid): Likewise.
17932         (getresuid): Likewise.
17933         (getgroups): Likewise.
17934         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
17935         (geteuid): Likewise.
17936         (getgid): Likewise.
17937         (getuid): Likewise.
17938         (getresgid): Likewise.
17939         (getresuid): Likewise.
17940         (getgroups): Likewise.
17941         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
17942         Likewise.
17943         (geteuid): Likewise.
17944         (getgid): Likewise.
17945         (getuid): Likewise.
17946         (getresgid): Likewise.
17947         (getresuid): Likewise.
17948         (getgroups): Likewise.
17949         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
17950         (geteuid): Likewise.
17951         (getgid): Likewise.
17952         (getuid): Likewise.
17953         (getresgid): Likewise.
17954         (getresuid): Likewise.
17955         (getgroups): Likewise.
17956         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
17957         Likewise.
17958         (geteuid): Likewise.
17959         (getgid): Likewise.
17960         (getuid): Likewise.
17961         (getgroups): Likewise.
17963         [BZ #14138]
17964         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
17965         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
17966         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
17967         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17968         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
17969         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
17970         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
17971         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
17972         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
17973         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
17974         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
17975         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
17976         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
17977         __chown.
17978         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
17979         (lchown): Likewise.
17980         (fchown): Likewise.
17981         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
17982         Likewise.
17983         (lchown): Likewise.
17984         (fchown): Likewise.
17985         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
17986         (lchown): Likewise.
17987         (fchown): Likewise.
17988         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
17989         Likewise.
17990         (lchown): Likewise.
17991         (fchown): Likewise.
17993 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17995         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
17996         Simplify logic.
17998 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18000         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
18001         Cleanup logic.
18003 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18005         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
18006         Remove unused include.
18008 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18010         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
18011         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
18012         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
18013         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
18015 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
18016             Helge Deller <deller@gmx.de>
18018         [BZ #17508]
18019         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
18020         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
18021         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
18023 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
18025         [BZ #14132]
18026         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
18027         Remove macro definition.
18028         (__ashrdi3_v_glibc20): Likewise.
18029         (__lshrdi3_v_glibc20): Likewise.
18030         (__cmpdi2_v_glibc20): Likewise.
18031         (__ucmpdi2_v_glibc20): Likewise.
18032         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
18033         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18034         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18035         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18036         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18037         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
18039 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18041         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
18042         old GNU extension [0] syntax.
18043         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
18044         alloca rather than an array member with variable length.
18045         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
18046         * nscd/nscd.c (invalidate_db): New function, broken out of ...
18047         (parse_opt): ... here.  Likewise use alloca there.
18048         Validate the -i argument before checking for rootness.
18049         (send_shutdown): New function, broken out of ...
18050         (parse_opt): ... here.
18052 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18054         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
18055         macro to get at the _rt_local_ro field.
18056         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
18057         ([PIC] case) or _dl_hwcap ([!PIC] case).
18058         * sysdeps/arm/setjmp.S: Likewise.
18060         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
18061         * sysdeps/arm/configure.ac: New check to define it.
18062         * sysdeps/arm/configure: Regenerated.
18063         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
18064         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
18065         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
18066         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
18067         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
18068         Use move/movt pair instead of a load.
18069         (LDST_GLOBAL): Macro removed.
18070         (LDR_GLOBAL): New macro replaces it.
18071         (LDR_HIDDEN): New macro.
18072         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
18073         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
18075         * setjmp/tst-setjmp-static.c: New file.
18076         * setjmp/Makefile (tests): Add it.
18077         (tests-static): New variable.
18079 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
18081         [BZ #17485]
18082         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
18084 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
18086         [BZ #14132]
18087         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
18089 2014-10-21  Roland McGrath  <roland@hack.frob.com>
18091         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
18093 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18095         * io/fts.c (dirent_not_directory): New function.
18096         (fts_build): Call it.
18098 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18100         * nptl/version.c (__nptl_main): Use normal __write rather than
18101         INTERNAL_SYSCALL.
18102         (banner): Update copyright years.
18104         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
18105         gettimeofday.
18106         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18107         * nptl/pthread_cond_timedwait.c: Likewise.
18108         * nptl/pthread_mutex_timedlock.c: Likewise.
18109         * nptl/sem_timedwait.c: Likewise.
18111         * sysdeps/nptl/bits/libc-lock.h
18112         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18113         (__libc_lock_init_recursive): Return void, not 0.
18114         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
18115         (__libc_rwlock_init): Likewise.
18116         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
18118 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18120         [BZ #15215]
18121         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
18122         (__pthread_once_slow): ... here.
18123         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
18124         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
18126 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18128         [BZ #15215]
18129         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
18130         __PTHREAD_ONCE_FORK_GEN_INCR): New.
18131         * sysdeps/nptl/fork.c (__libc_fork): Use them.
18132         * nptl/pthread_once.c (__pthread_once): Likewise.
18133         Update comments.
18135 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
18137         [BZ #14138]
18138         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
18139         name.
18140         (writev): Use __libc_writev as strong name.
18141         * sysdeps/unix/sysv/linux/readv.c: Remove file.
18142         * sysdeps/unix/sysv/linux/writev.c: Likewise.
18144 2014-10-17  Roland McGrath  <roland@hack.frob.com>
18146         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
18148         * sysdeps/i386/nptl/tls.h
18149         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
18150         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
18151         New macros.
18152         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
18153         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
18154         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
18155         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
18156         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
18157         Call CHECK_THREAD_SYSINFO instead of doing an assert.
18159         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18160         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
18161         on [__NR_futex].
18162         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
18163         broken out of ...
18164         (__pthread_mutex_init): ... here.  Call it.
18165         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
18166         Conditionalize PI cases on [__NR_futex].
18167         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
18168         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
18169         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18171         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
18172         conditional on [SIGSETXID].
18173         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
18174         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
18175         is defined.  Likewise for SIGSETXID.
18176         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
18177         Conditionalize definitions on [SIGSETXID].
18178         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
18179         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
18180         unblocking on [SIGCANCEL].
18182         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
18183         [__NR_set_robust_list].
18185 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18187         * string/strcoll_l.c (get_next_seq): Fix up formatting.
18188         (do_compare): Likewise.
18190 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
18192         [BZ #15884]
18193         * string/strcoll_l.c: Don't include stdio.h.
18194         (coll_seq): Remove members idxarr and rulearr.
18195         (get_next_seq_cached): Remove function.
18196         (get_next_seq): Likewise.
18197         (get_next_seq_nocache): Rename to get_next_seq.
18198         (do_compare): Remove function.
18199         (do_compare_nocache): Rename to do_compare.
18200         (STRCOLL): Remove weight and rules cache.
18202 2014-10-16  Roland McGrath  <roland@hack.frob.com>
18204         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
18205         * sysdeps/arm/sfp-machine.h: ... to here.
18206         * sysdeps/arm/Implies: Remove arm/soft-fp.
18208 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
18210         * conform/data/sys/utsname.h-data (*_t): Allow.
18211         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
18212         [POSIX] (WEXITED): Do not expect constant.
18213         [POSIX] (WSTOPPED): Likewise.
18214         [POSIX] (WNOHANG): Likewise.
18215         [POSIX] (WNOWAIT): Likewise.
18216         [POSIX] (siginfo_t): Do not expect type or elements.
18217         [POSIX] (pid_t): Do not expect type.
18218         [POSIX] (signal.h): Do not allow header.
18219         [POSIX] (sys/resource.h): Likewise.
18220         [POSIX] (si_*): Do not allow pattern.
18221         [POSIX] (W*): Likewise.
18222         [POSIX] (P_*): Likewise.
18223         [POSIX] (BUS_*): Likewise.
18224         [POSIX] (CLD_*): Likewise.
18225         [POSIX] (FPE_*): Likewise.
18226         [POSIX] (ILL_*): Likewise.
18227         [POSIX] (POLL_*): Likewise.
18228         [POSIX] (SEGV_*): Likewise.
18229         [POSIX] (SI_*): Likewise.
18230         [POSIX] (TRAP_*): Likewise.
18231         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
18232         variable.
18234 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18236         [BZ #12926]
18237         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
18238         infinite loop when __recvmsg returns 0.
18240 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
18242         * CANCEL-FCT-WAIVE: Remove file.
18243         * CANCEL-FILE-WAIVE: Likewise.
18245         [BZ #14132]
18246         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
18247         instead of INTVARDEF.
18248         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18249         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
18250         rtld_hidden_data_def instead of INTVARDEF.
18251         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18252         * elf/dl-deps.c (expand_dst): Likewise.
18253         * elf/dl-load.c (_dl_dst_count): Likewise.
18254         (_dl_dst_substitute): Likewise.
18255         (decompose_rpath): Likewise.
18256         (_dl_init_paths): Likewise.
18257         (open_path): Likewise.
18258         (_dl_map_object): Likewise.
18259         * elf/rtld.c (dl_main): Likewise.
18260         (process_dl_audit): Likewise.
18261         (process_envvars): Likewise.
18262         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
18263         Remove declaration.
18264         (__libc_enable_secure): Use rtld_hidden_proto.
18266 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18268         * elf/dl-load.c
18269         (add_path): New function broken out of _dl_rtld_di_serinfo.
18270         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
18272 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18274         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
18275         parentheses around macro arguments.
18276         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
18277         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
18278         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
18279         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
18280         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
18281         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18282         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18283         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
18284         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
18285         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
18286         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
18287         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
18288         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
18289         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
18290         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
18291         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
18292         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
18293         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
18294         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
18295         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
18296         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
18297         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
18298         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
18299         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18300         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18301         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
18302         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
18303         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
18304         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
18305         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
18306         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
18307         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
18308         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
18309         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
18310         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
18311         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
18312         Likewise.
18313         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
18314         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18315         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18316         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
18317         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
18318         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
18319         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
18320         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
18321         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
18322         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
18323         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
18324         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
18325         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
18326         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
18327         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
18328         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18329         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18330         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
18331         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
18332         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
18333         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
18334         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
18335         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
18336         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
18337         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
18338         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
18339         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
18340         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
18341         (_FP_FRAC_SRS_1): Likewise.
18342         (_FP_FRAC_CLZ_1): Likewise.
18343         (_FP_MUL_MEAT_1_imm): Likewise.
18344         (_FP_MUL_MEAT_1_wide): Likewise.
18345         (_FP_MUL_MEAT_1_hard): Likewise.
18346         (_FP_SQRT_MEAT_1): Likewise.
18347         (_FP_FRAC_ASSEMBLE_1): Likewise.
18348         (_FP_FRAC_DISASSEMBLE_1): Likewise.
18349         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
18350         (__FP_CLZ_2): Likewise.
18351         (_FP_MUL_MEAT_2_wide): Likewise.
18352         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18353         (_FP_MUL_MEAT_2_gmp): Likewise.
18354         (_FP_MUL_MEAT_2_120_240_double): Likewise.
18355         (_FP_SQRT_MEAT_2): Likewise.
18356         (_FP_FRAC_ASSEMBLE_2): Likewise.
18357         (_FP_FRAC_DISASSEMBLE_2): Likewise.
18358         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
18359         (_FP_FRAC_CLZ_4): Likewise.
18360         (_FP_MUL_MEAT_4_wide): Likewise.
18361         (_FP_MUL_MEAT_4_gmp): Likewise.
18362         (_FP_SQRT_MEAT_4): Likewise.
18363         (_FP_FRAC_ASSEMBLE_4): Likewise.
18364         (_FP_FRAC_DISASSEMBLE_4): Likewise.
18365         * soft-fp/op-common.h (_FP_CMP): Likewise.
18366         (_FP_CMP_EQ): Likewise.
18367         (_FP_CMP_UNORD): Likewise.
18368         (_FP_TO_INT): Likewise.
18369         (_FP_FROM_INT): Likewise.
18370         [!__FP_CLZ] (__FP_CLZ): Likewise.
18371         (_FP_DIV_HELP_imm): Likewise.
18372         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
18373         Likewise.
18374         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
18375         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
18376         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
18377         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
18378         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
18379         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18380         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18381         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
18382         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
18383         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
18384         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
18385         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
18386         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
18387         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
18388         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
18389         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
18390         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
18391         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
18392         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
18393         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
18394         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
18395         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
18396         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
18397         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18398         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18399         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
18400         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
18401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
18402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
18403         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
18404         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
18405         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
18406         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
18407         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
18408         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
18409         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
18410         (FP_UNPACK_RAW_SP): Likewise.
18411         (FP_PACK_RAW_S): Likewise.
18412         (FP_PACK_RAW_SP): Likewise.
18413         (FP_UNPACK_S): Likewise.
18414         (FP_UNPACK_SP): Likewise.
18415         (FP_UNPACK_SEMIRAW_S): Likewise.
18416         (FP_UNPACK_SEMIRAW_SP): Likewise.
18417         (FP_PACK_S): Likewise.
18418         (FP_PACK_SP): Likewise.
18419         (FP_PACK_SEMIRAW_S): Likewise.
18420         (FP_PACK_SEMIRAW_SP): Likewise.
18421         (_FP_SQRT_MEAT_S): Likewise.
18422         (FP_CMP_S): Likewise.
18423         (FP_CMP_EQ_S): Likewise.
18424         (FP_CMP_UNORD_S): Likewise.
18425         (FP_TO_INT_S): Likewise.
18426         (FP_FROM_INT_S): Likewise.
18428         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
18430         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
18431         (FP_EX_INVALID_IMZ): Likewise.
18432         (FP_EX_INVALID_IMZ_FMA): Likewise.
18433         (FP_EX_INVALID_ISI): Likewise.
18434         (FP_EX_INVALID_ZDZ): Likewise.
18435         (FP_EX_INVALID_IDI): Likewise.
18436         (FP_EX_INVALID_SQRT): Likewise.
18437         (FP_EX_INVALID_CVI): Likewise.
18438         (FP_EX_INVALID_VC): Likewise.
18439         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
18440         "invalid" exceptions.
18441         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
18442         (_FP_ADD_INTERNAL): Likewise.
18443         (_FP_MUL): Likewise.
18444         (_FP_FMA): Likewise.
18445         (_FP_DIV): Likewise.
18446         (_FP_CMP_CHECK_NAN): Likewise.
18447         (_FP_SQRT): Likewise.
18448         (_FP_TO_INT): Likewise.
18449         (FP_EXTEND): Likewise.
18451 2014-10-09  Allan McRae  <allan@archlinux.org>
18453         * po/fr.po: Update French translation from translation project.
18455 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18457         [BZ #14132]
18458         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
18459         of INTDEF.
18460         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
18461         (__cxa_atexit): Use libc_hidden_proto.
18462         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
18464         [BZ #14132]
18465         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
18466         declaration.
18467         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
18468         [!_ISOMAC] (__iswspace_l_internal): Likewise.
18469         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
18470         [!_ISOMAC] (__iswctype_internal): Likewise.
18471         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
18472         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
18473         alias.
18474         (fcntl): Remove __fcntl_internal alias.
18475         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
18476         __connect_internal alias.
18477         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
18478         Likewise.
18480         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
18481         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
18482         FP_DENORM_ZERO.
18483         (_FP_CHECK_FLUSH_ZERO): New macro.
18484         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
18485         (_FP_CMP): Likewise.
18486         (_FP_CMP_EQ): Likewise.
18487         (_FP_TO_INT): Do not set inexact for subnormal arguments if
18488         FP_DENORM_ZERO.
18489         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
18490         (FP_TRUNC): Likewise.
18492         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
18493         treated as invalid conversion, not as normal exponent.
18495         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
18496         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
18497         (_FP_CMP_EQ): Likewise.
18498         (_FP_CMP_UNORD): Likewise.
18499         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
18500         (FP_CMP_EQ_D): Likewise.
18501         (FP_CMP_UNORD_D): Likewise.
18502         * soft-fp/extended.h (FP_CMP_E): Likewise.
18503         (FP_CMP_EQ_E): Likewise.
18504         (FP_CMP_UNORD_E): Likewise.
18505         * soft-fp/quad.h (FP_CMP_Q): Likewise.
18506         (FP_CMP_EQ_Q): Likewise.
18507         (FP_CMP_UNORD_Q): Likewise.
18508         * soft-fp/single.h (FP_CMP_S): Likewise.
18509         (FP_CMP_EQ_S): Likewise.
18510         (FP_CMP_UNORD_S): Likewise.
18511         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
18512         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
18513         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
18514         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
18515         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
18516         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
18517         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
18518         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
18519         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
18520         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
18521         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
18522         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
18523         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
18524         to FP_CMP_Q.
18525         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
18526         FP_CMP_Q.
18527         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
18528         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
18529         FP_CMP_EQ_Q.
18530         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
18531         FP_CMP_Q.
18532         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
18533         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
18534         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
18535         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
18536         FP_CMP_EQ_Q.
18537         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
18538         FP_CMP_Q.
18539         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
18540         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
18541         FP_CMP_EQ_Q.
18542         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
18543         FP_CMP_Q.
18544         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
18545         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
18546         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
18547         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
18548         FP_CMP_EQ_Q.
18550         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
18551         a subnormal result, set the underflow exception if trapping on
18552         underflow is enabled.
18553         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
18554         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
18555         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
18556         redefine to 0.
18557         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
18558         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18559         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18560         * soft-fp/extendxftf2.c (__extendxftf2): Use
18561         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
18563         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
18564         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
18565         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18566         FP_HANDLE_EXCEPTIONS.
18567         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
18568         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18569         FP_HANDLE_EXCEPTIONS.
18570         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
18571         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18572         FP_HANDLE_EXCEPTIONS.
18573         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
18574         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18575         FP_HANDLE_EXCEPTIONS.
18577 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
18579         [BZ #14132]
18580         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
18581         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
18582         use INTUSE.
18583         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
18584         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
18585         Remove alias.
18586         (__adjtimex): Define using libc_hidden_ver.
18587         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
18588         Remove declaration.
18589         (ntp_gettime): Call __adjtimex directly.
18590         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
18591         Remove declaration.
18592         (ntp_gettimex): Call __adjtimex directly.
18593         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
18594         __adjtimex_internal alias.
18596 2014-10-08  Roland McGrath  <roland@hack.frob.com>
18598         [BZ #17460]
18599         * nscd/nscd.c (more_help): Rewrite list of tables collection
18600         using xstrdup and asprintf.
18602         * nscd/nscd_conf.c: Remove local xstrdup declaration.
18604 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18605             Roland McGrath  <roland@hack.frob.com>
18607         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
18608         (do_lookup_unique): ... local function 'enter' here; update callers.
18610 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
18612         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
18613         compat_symbol calls on [SHARED].
18614         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
18615         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
18616         Remove.
18617         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18618         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
18619         (oldsetrlimit): Remove.
18620         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18622         (lchown): New syscall entry.
18623         (oldsetrlimit): Remove.
18624         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18625         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
18626         (oldsetrlimit): Remove.
18627         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18629         [BZ #14138]
18630         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
18631         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
18632         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
18633         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
18634         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18635         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
18636         (fchown): Likewise.
18637         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
18638         (fchown): Likewise.
18639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
18640         Likewise.
18642 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18644         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
18645         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
18646         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
18647         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
18648         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
18649         Likewise.
18650         (__old_sem_post): Likewise.
18652 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
18654         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
18655         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
18656         HAVE_CLOCK_GETTIME_VSYSCALL macros.
18657         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
18658         Use INLINE_VSYSCALL macro.
18659         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
18660         __vdso_clock_gettime.
18661         * sysdeps/unix/sysv/linux/tile/init-first.c
18662         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
18663         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
18664         __vdso_clock_gettime.
18666         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
18667         to set up frame more cleanly.
18669         * sysdeps/tile/memcmp.c: New file.
18671         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
18673         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
18674         * sysdeps/tile/tilegx/strcasestr.c: New file.
18675         * sysdeps/tile/tilegx/strnlen.c: New file.
18676         * sysdeps/tile/tilegx/strstr.c: New file.
18678         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
18680 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
18682         * nptl/tst-setuid3.c: Write errors to stdout.
18684 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18686         * elf/dl-deps.c
18687         (preload): New functions broken out of _dl_map_object_deps.
18688         (_dl_map_object_deps):  Remove a nested function. Update call sites.
18690 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
18692         [BZ #14138]
18693         * sysdeps/unix/sysv/linux/execve.c: Remove file.
18694         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
18696 2014-10-01  Steve Ellcey  <sellcey@mips.com>
18698         * sysdeps/mips/strcmp.S: New.
18700 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
18702         [BZ #14138]
18703         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
18704         (linkat): Likewise.
18705         (mkdirat): Likewise.
18706         (readlinkat): Likewise.
18707         (renameat): Likewise.
18708         (symlinkat): Likewise.
18709         (unlinkat): Likewise.
18710         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
18711         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
18712         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
18713         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
18714         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
18715         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
18716         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
18718 2014-09-30  Will Newton  <will.newton@linaro.org>
18720         * math/math.h: Define long double math functions if
18721         _LIBC_TEST is defined.
18722         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
18724         * localedata/Makefile: Move assignment to tests-special
18725         into an ifdef testing run-built-tests.
18726         * timezone/Makefile: Likewise.
18728 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
18730         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
18731         with $(BASH) not $(SHELL).
18733 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
18734             Matthew LeGendre  <legendre1@llnl.gov>
18736         [BZ #17411]
18737         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
18738         l_reloc_result.
18740 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18742         * stdio-common/printf_fp.c
18743         (hack_digit): New function, broken out of ...
18744         (__printf_fp): ... local function here.  Update call sites.
18745         hack_digit now takes an additional parameter that is a pointer
18746         to a struct of the referenced locals.  Those locals moved inside
18747         the struct and references updated.
18749 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
18751         * aclocal.m4: Require autoconf 2.69.
18752         * configure: Regenerated.
18753         * sysdeps/aarch64/configure: Likewise.
18754         * sysdeps/alpha/configure: Likewise.
18755         * sysdeps/arm/armv7/configure: Likewise.
18756         * sysdeps/arm/configure: Likewise.
18757         * sysdeps/ia64/configure: Likewise.
18758         * sysdeps/mach/configure: Likewise.
18759         * sysdeps/mips/configure: Likewise.
18760         * sysdeps/s390/configure: Likewise.
18761         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
18762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
18764         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
18765         file.
18766         * sysdeps/ia64/configure.ac: Likewise.
18768 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
18770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
18771         specify symbol version for ld.so.  Do not include entry for
18772         libpthread.
18773         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18774         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18775         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18777         [BZ #14171]
18778         * Makeconfig [$(build-shared) = yes]
18779         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
18780         makefiles.
18781         [$(build-shared) = yes && $(soversions.mk-done) = t]
18782         ($(common-objpfx)gnu/lib-names.h): Remove rule.
18783         [$(build-shared) = yes && $(soversions.mk-done) = t]
18784         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
18785         to Makerules.
18786         [$(build-shared) = yes && $(soversions.mk-done) = t]
18787         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
18788         here.
18789         [$(build-shared) = yes && $(soversions.mk-done) = t]
18790         (common-generated): Don't append gnu/lib-names.h and
18791         gnu/lib-names.stmp here.
18792         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
18793         (lib-names-h-abi): New variable.
18794         [$(build-shared) = yes && $(soversions.mk-done) = t]
18795         (lib-names-stmp-abi): Likewise.
18796         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18797         abi-variants] (before-compile): Append
18798         $(common-objpfx)$(lib-names-h-abi).
18799         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18800         abi-variants] (common-generated): Append gnu/lib-names.h.
18801         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18802         abi-variants] (install-others-nosubdir): Depend on
18803         $(inst_includedir)/$(lib-names-h-abi).
18804         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18805         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
18806         [$(build-shared) = yes && $(soversions.mk-done) = t]
18807         ($(common-objpfx)$(lib-names-h-abi)): New rule.
18808         [$(build-shared) = yes && $(soversions.mk-done) = t]
18809         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
18810         [$(build-shared) = yes && $(soversions.mk-done) = t]
18811         (common-generated): Append $(lib-names-h-abi) and
18812         $(lib-names-stmp-abi).
18813         * scripts/lib-names.awk: Do not handle multi being set.
18814         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
18815         Remove variable.
18816         (abi-lp64_be-ld-soname): Likewise.
18817         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
18818         Likewise.
18819         (abi-hard-ld-soname): Likewise.
18820         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
18821         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
18822         Remove variable.
18823         (abi-o32_hard-ld-soname): Likewise.
18824         (abi-o32_soft_2008-ld-soname): Likewise.
18825         (abi-o32_hard_2008-ld-soname): Likewise.
18826         (abi-n32_soft-ld-soname): Likewise.
18827         (abi-n32_hard-ld-soname): Likewise.
18828         (abi-n32_soft_2008-ld-soname): Likewise.
18829         (abi-n32_hard_2008-ld-soname): Likewise.
18830         (abi-n64_soft-ld-soname): Likewise.
18831         (abi-n64_hard-ld-soname): Likewise.
18832         (abi-n64_soft_2008-ld-soname): Likewise.
18833         (abi-n64_hard_2008-ld-soname): Likewise.
18834         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
18835         Likewise.
18836         (abi-64-v2-ld-soname): Likewise.
18837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
18838         ld.so entries.
18839         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
18840         variable.
18841         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
18842         entry.
18843         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
18844         variable.
18845         (abi-64-ld-soname): Likewise.
18846         (abi-x32-ld-soname): Likewise.
18847         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
18848         entry.
18849         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18851 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
18853         [BZ #14138]
18854         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
18855         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
18856         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
18857         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
18858         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
18859         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
18860         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
18861         syscall entry for GLIBC_2.2 symbol version.
18862         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
18863         Likewise.
18864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18865         (setrlimit): Likewise.
18866         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
18867         Likewise.
18869 2014-09-23  Will Newton  <will.newton@linaro.org>
18871         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
18872         _LINUX_ARM_SYSDEP_H include guard too.
18873         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
18874         define.
18876 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18878         * sysdeps/unix/sysv/linux/eventfd.c:
18879         Make first argument unsigned.
18880         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
18881         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
18883 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
18885         * socket/recvmmsg.c (recvmmsg): Drop const argument.
18886         * socket/sys/socket.h: Likewise
18887         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
18889 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18891         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
18893 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
18895         * time/tst-ftime.c: New test.
18896         * time/Makefile (tests): Add tst-ftime.
18898 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
18900         * soft-fp/extended.h: Fix comment formatting.
18901         * soft-fp/op-1.h: Likewise.
18902         * soft-fp/op-2.h: Likewise.
18903         * soft-fp/op-4.h: Likewise.
18904         * soft-fp/op-8.h: Likewise.
18905         * soft-fp/op-common.h: Likewise.
18906         * soft-fp/soft-fp.h: Likewise.
18908         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
18910 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
18912         [BZ #6652]
18913         * Makeconfig (soversions-default-setname): Remove variable.
18914         ($(common-objpfx)soversions.i): Don't pass default_setname to
18915         soversions.awk.
18916         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
18917         oldest_abi to abi-versions.awk.
18918         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
18919         * config.make.in (oldest-abi): Remove variable.
18920         * configure.ac (--enable-oldest-abi): Remove configure option.
18921         * configure: Regenerated.
18922         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
18923         text.
18924         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
18925         * scripts/soversions.awk: Do not handle default_setname variable.
18926         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
18927         variable.
18928         * sysdeps/mach/hurd/configure: Regenerated.
18929         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
18930         variable.
18931         * sysdeps/unix/sysv/linux/configure: Regenerated.
18933 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18935         * elf/Makefile (CFLAGS-interp.c): Remove.
18936         ($(elf-objpfx)runtime-linker.h): Generate header with linker
18937         path string.
18938         * elf/interp.c: Include generated runtime-linker.h
18940         * Makerules (lib%.so): Don't include $(+interp) in
18941         prerequisites.
18942         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
18943         * dlfcn/eval.c: Remove file.
18945         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
18946         macros.
18948         [BZ #17266]
18949         * misc/sys/cdefs.h: Define __extern_always_inline for clang
18950         4.2 and newer.
18952         [BZ #17370]
18953         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
18955 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18956             Jakub Jelinek  <jakub@redhat.com>
18958         [BZ #17266]
18959         * libio/stdio.h: Check definition of __fortify_function
18960         instead of __extern_always_inline to include bits/stdio2.h.
18961         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
18962         check if __extern_always_inline is defined.
18963         [__USE_MISC || __USE_XOPEN]: Likewise.
18964         [__USE_ISOC99] Likewise.
18965         * misc/sys/cdefs.h (__fortify_function): Define only if
18966         __extern_always_inline is defined.
18967         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
18968         __extern_always_inline and __extern_inline only for g++-4.3
18969         and newer or a compatible gcc.
18971 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
18973         [BZ #17371]
18974         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18975         last change to handle zero prefix length.
18977 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18979         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
18980         _SC_REGEX_VERSION.
18982         * posix/getconf.c (vars): Add _POSIX_IPV6 and
18983         _POSIX_RAW_SOCKETS.
18985 2014-09-13  Allan McRae  <allan@archlinux.org>
18987         * po/ru.po: Update Russian translation from translation project.
18989 2014-09-12  Roland McGrath  <roland@hack.frob.com>
18991         * locale/programs/locale.c (show_locale_vars): Inline local function
18992         into its sole call site.  Clean up some style nits.
18993         (print_item): New function, broken out of ...
18994         (show_info): ... local function here.  Clean up style nits.
18996         * locale/programs/ld-ctype.c (set_one_default): New function, broken
18997         out of ...
18998         (set_class_defaults): ... local function set_default here.
18999         Define set_default as a macro locally to pass constant parameters.
19000         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
19001         rather than a shared local.
19003         * stdlib/rpmatch.c (try): New function, broken out of ...
19004         (rpmatch): ... local function here.  Also, prototypify definition.
19006 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
19008         * scripts/soversions.awk: Do not handle configuration names.
19009         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
19010         vendor and os variables to soversions.awk.
19011         * configure.ac: Do not modify gnu-* host_os.
19012         * configure: Regenerated
19013         * shlib-versions: Remove first column with configuration names.
19014         * nptl/shlib-versions: Likewise.
19015         * nptl_db/shlib-versions: Likewise.
19016         * sysdeps/hppa/shlib-versions: Likewise.
19017         * sysdeps/m68k/shlib-versions: Likewise.
19018         * sysdeps/mach/hurd/shlib-versions: Likewise.
19019         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
19020         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
19021         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
19022         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
19023         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
19024         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
19025         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
19026         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
19027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19028         Likewise.
19029         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19030         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19031         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19032         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19033         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19034         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
19035         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
19036         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19039         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
19040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19041         Regenerated.
19042         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
19043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19044         Condition symbol version definitions on [HAVE_ELFV2_ABI].
19046         * shlib-versions: Remove OS-specific entries.  Moved to files in
19047         sysdeps.
19048         * sysdeps/mach/hurd/shlib-versions: New file.
19049         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19051         * nptl/shlib-versions: Remove architecture-specific entries.
19052         Moved to files in sysdeps.
19053         * shlib-versions: Likewise.
19054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
19055         file.
19056         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19057         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19058         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19059         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19061         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
19062         (UDP_NO_CHECK6_RX): Likewise.
19064 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19066         * sysdeps/posix/sysconf.c (__sysconf): Spell
19067         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
19069 2014-08-12  Florian Weimer  <fweimer@redhat.com>
19071         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
19072         loading.
19073         * iconv/Versions (__gconv_transliterate): Export for use from
19074         gconv modules.
19075         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
19076         (struct __gconv_trans_data, __gconv_trans_fct,
19077         __gconv_trans_context_fct, __gconv_trans_query_fct,
19078         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
19079         definitions.
19080         (struct __gconv_step_data): Remove __trans member.
19081         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
19082         longer hidden.  Remove unused trans_data argument.
19083         * iconv/gconv_int.h (struct trans_struct): Remove definition.
19084         (__gconv_translit_find): Remove declaration.
19085         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
19086         prototype.
19087         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
19088         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
19089         trans_data argument.  Add hidden definition.
19090         (__gconv_translit_find): Remove.
19091         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
19092         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
19093         * iconv/skeleton.c: Remove transliteration initialization.
19094         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
19095         __gconv_step_data initialization.
19096         * libio/iofwide.c (__libio_translit_): Remove.
19097         (_IO_fwide): Adjust struct __gconv_step_data initialization.
19098         * wcsmbs/btowc.c (__btowc): Likewise.
19099         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19100         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19101         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19102         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19103         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
19104         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19105         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19106         * wcsmbs/wctob.c (wctob): Likewise.
19108 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19110         [BZ #16194]
19111         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
19112         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
19113         register usage.
19114         * sysdeps/x86/Makefile: Adjust.
19116 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19117             Roland McGrath  <roland@hack.frob.com>
19119         * locale/weight.h: Add include guard.
19120         (findidx): Make static rather than auto; take new parameters
19121         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
19122         * locale/weightwc.h: Likewise.
19123         * posix/fnmatch_loop.c
19124         (FCT): Change type of EXTRA from int32_t to wint_t.
19125         Don't include either header inside the function.
19126         Call FINDIDX rather than findidx, and pass new arguments.
19127         #undef FINDIDX at the end of the file.
19128         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
19129         FINDIDX before including fnmatch_loop.c for the non-wide version.
19130         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
19131         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
19132         for the wide version.
19133         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
19134         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
19135         Pass new arguments to findidx.
19136         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
19137         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
19138         Don't #include it inside the function.  Pass new arguments to findidx.
19139         * posix/regex_internal.h
19140         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
19141         (re_string_elem_size_at): Don't #include it inside the function.
19142         Pass new arguments to findidx.
19143         * string/strcoll_l.c: #include WEIGHT_H at top level.
19144         (get_next_seq): Don't #include it inside the function.
19145         Pass new arguments to findidx.
19146         (get_next_seq_nocache): Likewise.
19147         * string/strxfrm_l.c: #include WEIGHT_H at top level.
19148         (STRXFRM): Don't #include it inside the function.
19149         Pass new arguments to findidx.
19151 2014-09-11  Florian Weimer  <fweimer@redhat.com>
19153         [BZ #17344]
19154         * malloc/malloc.c (unlink): Turn asserts into a call to
19155         malloc_printerr.
19157 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
19159         [BZ #17370]
19160         * libio/wfileops (do_ftell_wide): Free OUT.
19162 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
19164         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
19166 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19168         [BZ #17363]
19169         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
19170         group if the current group is empty.
19172 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19174         * benchtests/bench-memset.c (test_main): Add more test from size
19175         from 32 to 512 bytes.
19176         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19177         Add POWER8 memset object.
19178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19179         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
19180         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
19181         implementation.
19182         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
19183         Likewise.
19184         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
19185         multiarch POWER8 memset optimization.
19186         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
19187         POWER8 memset optimization.
19189         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19190         Remove bzero multiarch objects.
19191         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
19192         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
19193         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
19194         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
19195         Remove define.
19196         [__bzero]: Redefine to specific name.
19197         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
19198         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
19199         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
19200         define.
19201         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19202         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19204 2014-09-10  Florian Weimer  <fweimer@redhat.com>
19206         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
19207         warnings into errors.
19209         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
19210         __cxa_thread_atexit_impl prototype.
19212 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19214         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
19215         Fix capitalization of error message.
19217 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19219         * sysdeps/mips/preconfigure: Modify ABI tests.
19221 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
19223         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
19225 2014-09-07  Roland McGrath  <roland@hack.frob.com>
19226             Carlos O'Donell  <carlos@systemhalted.org>
19228         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
19229         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
19230         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
19231         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
19232         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
19233         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
19234         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
19235         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
19236         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
19237         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
19238         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
19239         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
19240         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
19241         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
19242         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
19243         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
19244         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
19245         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
19246         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
19247         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
19248         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
19249         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
19250         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
19251         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
19252         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
19253         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
19254         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
19255         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
19256         Deconditionalize the code that was previously under [RESET_PID].
19257         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
19258         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
19259         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
19260         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
19261         include sysdep.h.
19263 2014-09-08  Allan McRae  <allan@archlinux.org>
19265         * version.h (RELEASE): Set to "development".
19266         (VERSION): Set to "2.20.90"
19268 2014-09-07  Allan McRae  <allan@archlinux.org
19270         * version.h (RELEASE): Set to "stable".
19271         (VERSION): Set to "2.20"
19272         * include/features.h (__GLIBC_MINOR__): Set to 20.
19274         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
19275         Liebler.
19277         * po/ko.po: Update Korean translation from translation project.
19279 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
19281         [BZ #17354]
19282         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
19283         macro for handling signed relocations.
19285 2014-09-03  Florian Weimer  <fweimer@redhat.com>
19287         [BZ #17325]
19288         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
19289         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
19290         assert.
19291         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
19292         * iconvdata/ibm935.c (BODY): Likewise.
19293         * iconvdata/ibm937.c (BODY): Likewise.
19294         * iconvdata/ibm939.c (BODY): Likewise.
19295         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
19296         assert.
19297         * iconvdata/Makefile (iconv-test.out): Pass module list to test
19298         script.
19299         * iconvdata/run-iconv-test.sh: New test loop for checking for
19300         decoder crashers.
19302 2014-09-02  Khem Raj  <raj.khem@gmail.com>
19304         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
19305         libm_hidden_ver.
19307 2014-09-01  Allan McRae  <allan@archlinux.org>
19309         * po/eo.po: Update Esperanto translation from translation project.
19311         * po/ca.po: Update Catalan translation from translation project.
19313 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19315         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
19316         __proc_dostop call.
19318 2014-08-27  Mark Wielaard  <mjw@redhat.com>
19320         [BZ #17319]
19321         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
19322         to call set_thread_area instead of hand written asm.
19323         (__NR_set_thread_area): Removed define.
19324         (TLS_FLAG_WRITABLE): Likewise.
19325         (__ASSUME_SET_THREAD_AREA): Remove check.
19326         (TLS_EBX_ARG): Remove define.
19327         (TLS_LOAD_EBX): Likewise.
19329 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19331         Simplify atomicity of socket creation in bind.
19333         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
19334         looking up the name after linking the file.
19336 2014-08-27  Allan McRae  <allan@archlinux.org>
19338         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19340 2014-08-26  Florian Weimer  <fweimer@redhat.com>
19342         [BZ #17187]
19343         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
19344         trans_compare, open_translit, __gconv_translit_find):
19345         Remove module loading code.
19347 2014-08-26  Allan McRae  <allan@archlinux.org>
19349         * po/vi.po: Update Vietnamese translation from translation project.
19351         * po/uk.po: Update Ukrainian translation from translation project.
19353         * po/fr.po: Update French translation from translation project.
19355         * po/ru.po: Update Russian translation from translation project.
19357         * po/pl.po: Update Polish translation from translation project.
19359         * po/cs.po: Update Czech translation from translation project.
19361         * po/de.po: Update German translation from translation project.
19363         * po/bg.po: Update Bulgarian translation from translation project.
19365         * po/sv.po: Update Sweedish translation from translation project.
19367         * po/nl.po: Update Dutch translation from translation project.
19369         * po/es.po: Update Spanish translation from translation project.
19371 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19373         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
19375         * catgets/Makefile (CPPFLAGS-gencat): Remove.
19376         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
19377         (CPPFLAGS-iconvconfig): Likewise.
19378         * timezone/Makefile (CPPFLAGS-zic): Likewise.
19380         * include/libc-symbols.h: Remove unnecessary check for
19381         NOT_IN_libc.
19382         * nptl/pthreadP.h: Likewise.
19383         * sysdeps/aarch64/setjmp.S: Likewise.
19384         * sysdeps/alpha/setjmp.S: Likewise.
19385         * sysdeps/arm/sysdep.h: Likewise.
19386         * sysdeps/i386/setjmp.S: Likewise.
19387         * sysdeps/m68k/setjmp.c: Likewise.
19388         * sysdeps/posix/getcwd.c: Likewise.
19389         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19390         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19391         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19392         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19393         * sysdeps/sh/sh3/setjmp.S: Likewise.
19394         * sysdeps/sh/sh4/setjmp.S: Likewise.
19395         * sysdeps/unix/alpha/sysdep.h: Likewise.
19396         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19397         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19398         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19399         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19402         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19403         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19404         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19405         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19406         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19407         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19408         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19409         * sysdeps/x86_64/setjmp.S: Likewise.
19411 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
19413         [BZ #17263]
19414         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
19415         <stdint.h>.
19416         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
19417         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
19419 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19421         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
19423         [BZ #17262]
19424         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
19425         and __x86_64__ when disabling x87 inline functions.
19427 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
19429         [BZ #17259]
19430         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
19431         asm statement with __cpuid_count.
19433 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
19435         * configure.ac: Change __ehdr_start code to dereference the struct.
19436         Run readelf on the output to look for relocations.
19437         * configure: Regenerated.
19439 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
19441         [BZ #17261]
19442         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
19443         value to 0.
19444         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
19446 2014-08-12  Roland McGrath  <roland@hack.frob.com>
19448         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
19450 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
19452         [BZ #16892]
19453         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
19454         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
19456 2014-08-12  Sean Anderson  <seanga2@gmail.com>
19458         * malloc/malloc.c: Fix typo in comment.
19460 2014-08-09  Allan McRae  <allan@archlinux.org>
19462         * Regenerate libc.po.
19464 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
19466         * intl/tst-gettext2.sh: Check every lang file for creation.
19468 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19470         * sysdeps/aarch64/fpu/math_private.h
19471         (libc_feholdsetround_noex_aarch64_ctx): New function.
19473 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19475         * sysdeps/arm/armv6/strcpy.S (strcpy):
19476         Fix performance issue in misaligned cases.
19478 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19480         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
19481         Move definition from termios.h.
19482         (struct termio): Likewise.
19483         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19484         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19485         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19486         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19487         Likewise.
19488         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
19489         Move definition to ioctl-types.h
19490         (struct termio): Likewise.
19491         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19492         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19493         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19494         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19495         Likewise.
19497 2014-08-05  Richard Henderson  <rth@redhat.com>
19499         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
19500         exceptions.
19501         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
19502         Add fraiseexcpt.
19503         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
19504         Use __feraiseexcept.
19505         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
19506         Protect libm symbols with IS_IN_libm.
19508         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
19510 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
19512         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
19514 2014-08-04  Will Newton  <will.newton@linaro.org>
19516         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
19517         file.
19519 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
19521         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
19522         variants for each function.
19524 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19526         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
19527         appended ...
19528         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
19529         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
19530         appended ...
19531         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
19532         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
19533         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
19534         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
19535         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
19536         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
19537         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
19538         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
19539         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
19540         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
19541         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
19542         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
19543         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
19544         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
19545         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
19546         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
19547         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
19548         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
19549         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
19550         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
19551         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
19552         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
19553         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
19554         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
19555         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
19556         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
19557         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
19558         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
19559         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
19560         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
19561         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
19562         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
19563         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
19564         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
19565         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
19566         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
19567         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
19568         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
19569         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
19570         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
19571         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
19572         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
19573         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
19574         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
19575         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
19576         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
19577         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
19578         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
19579         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
19580         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
19581         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
19582         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
19583         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
19584         Update #include.
19585         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
19586         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
19588 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19590         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
19591         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
19592         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
19593         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
19594         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
19595         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
19597 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19599         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
19600         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
19601         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19602         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
19604 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19606         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
19607         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
19608         (__libc_vfork): Define function under this name.
19609         (__vfork): Define as an alias.
19610         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
19611         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
19613 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19615         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
19616         that was previously under [RESET_PID].
19617         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
19619 2014-08-04  Andreas Schwab  <schwab@suse.de>
19621         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
19623 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
19625         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
19626         (main): Likewise.
19628 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19630         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
19632 2014-08-01  Richard Henderon  <rth@redhat.com>
19634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
19635         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
19636         typo in exact zero test.
19637         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19638         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19639         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19641 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19643         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
19644         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
19645         * sysdeps/arm/sysdep.h: ... here.
19646         [!__ASSEMBLER__]: Include <stdint.h>.
19648 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19650         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
19651         (HAVE_WCTYPE_H): Likewise.
19652         (HAVE_ISWCTYPE): Likewise.
19653         (ENABLE_NLS): Likewise.
19654         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
19655         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
19657         * posix/regex_internal.c: Check if DEBUG is defined and is
19658         set.
19660         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
19661         (HAVE_MBSRTOWCS): Likewise.
19662         * posix/fnmatch.c: Include string.h unconditionally.
19664 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19666         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
19667         reversal.
19669 2014-07-31  Roland McGrath  <roland@hack.frob.com>
19671         * sysdeps/generic/safe-fatal.h: New file.
19672         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
19673         * nptl/forward.c: Include it.
19674         (__pthread_unwind): Use __safe_fatal as default action, rather
19675         than a bogus use of INTERNAL_SYSCALL that could never work.
19677         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
19678         * configure.ac (libc_cv_builtin_trap): New test.
19679         * configure: Regenerated.
19680         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
19681         (ABORT_INSTRUCTION): Define using __builtin_trap.
19683         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
19684         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
19685         * sysdeps/nptl/nptl-signals.h: New file.
19686         * nptl/pthreadP.h: Include <nptl-signals.h>.
19688 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19690         * sysdeps/s390/s390-64/utf16-utf32-z9.c
19691         (ONE_DIRECTION): Define.
19692         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19693         (ONE_DIRECTION): Define.
19694         * sysdeps/s390/s390-64/utf8-utf32-z9.c
19695         (ONE_DIRECTION): Define.
19697 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19699         * sysdeps/s390/Makefile: Delete file.
19700         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
19701         * sysdeps/s390/__longjmp.c: Delete file.
19702         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
19703         Remove fields __flags and __reserved.
19704         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
19705         and add versioning.
19706         * sysdeps/s390/rtld-__longjmp.c: Delete file.
19707         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
19708         * sysdeps/s390/rtld-setjmp.S: Likewise.
19709         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
19710         * sysdeps/s390/s390-32/__longjmp.c: ... here.
19711         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
19712         * sysdeps/s390/s390-32/setjmp.S: ... here.
19713         Add versioning.
19714         (__sigsetjmp): Remove setting __flags field.
19715         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
19716         * sysdeps/s390/s390-64/__longjmp.c: ... here.
19717         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
19718         * sysdeps/s390/s390-64/setjmp.S: ... here.
19719         Add versioning.
19720         (__sigsetjmp): Remove setting __flags field.
19721         * sysdeps/s390/setjmp.S: Delete file.
19722         * sysdeps/s390/sigjmp.c: Likewise.
19723         * sysdeps/s390/v1-longjmp.c: Likewise.
19724         * sysdeps/s390/v1-setjmp.h: Likewise.
19725         * sysdeps/s390/v1-sigjmp.c: Likewise.
19726         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
19727         Remove v1-longjmp_chk.
19728         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
19729         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
19730         Include debug/longjmp_chk.c and add versioning.
19731         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
19732         Include nptl/pt-longjmp.c and add versioning.
19733         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
19734         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
19735         Include __longjmp.c.
19736         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19737         Move to ...
19738         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
19739         (__getcontext): Remove setting __flags field.
19740         Add versioning.
19741         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19742         Don't restore upper high grps.
19743         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
19744         Likewise.
19745         (__swapcontext): Remove setting uc_flags field.
19746         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
19747         Delete file.
19748         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19749         Include __longjmp.c.
19750         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19751         Move to ...
19752         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
19753         (__getcontext): Remove setting __flags field.
19754         Add versioning.
19755         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
19756         (__swapcontext): Remove setting uc_flags field.
19757         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
19758         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
19759         Remove fields uc_high_gprs and __reserved.
19760         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
19761         New file with reverted content.
19762         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
19763         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
19764         Regenerated.
19765         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
19766         Regenerated.
19768 2014-07-31  Andreas Schwab  <schwab@suse.de>
19770         * config.h.in (HAVE_IFUNC): Define to 0.
19771         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
19772         definedness.
19774 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
19776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19777         memmove-avx-unaligned, memcpy-avx-unaligned and
19778         mempcpy-avx-unaligned.
19779         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19780         Add tests for AVX memcpy functions.
19781         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
19782         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
19783         memcpy_chk.
19784         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
19785         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
19786         memmove_chk.
19787         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
19788         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
19789         mempcpy_chk.
19790         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
19791         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
19792         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
19794 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19796         [BZ #17213]
19797         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
19798         powerpc64le.
19800 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
19802         [BZ #16839]
19803         * manual/llio.texi: Add section about open file description locks.
19804         * manual/examples/ofdlocks.c: Example of open file description
19805         lock usage.
19806         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
19807         F_OFD_SETLK, and F_OFD_SETLKW.
19809 2014-07-23  Allan McRae  <allan@archlinux.org>
19811         * po/es.po: Update Spanish translation from translation project.
19813 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
19815         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
19817 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
19819         [BZ #17078]
19820         * sysdeps/arm/dl-machine.h (elf_machine_rela)
19821         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
19822         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
19824 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
19826         [BZ #17088]
19827         * math/fesetenv.c (__fesetenv)
19828         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
19829         * math/feupdateenv.c (__feupdateenv)
19830         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
19832         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
19833         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19834         (__ASSUME_SOCKETCALL): Do not define.
19836         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
19837         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
19838         (__ASSUME_SOCKETCALL): Do not define.
19839         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
19840         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19841         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19842         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19843         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19844         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
19845         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19846         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19848         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
19849         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
19850         (__ASSUME_SOCKETCALL): Do not define.
19851         (__ASSUME_IPC64): Define unconditionally.
19852         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19853         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19854         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19855         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19856         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
19857         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19858         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
19859         Likewise.
19861         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
19862         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
19863         (__ASSUME_SOCKETCALL): Do not define.
19864         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
19865         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19866         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19867         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19868         (__ASSUME_REQUEUE_PI): Define unconditionally.
19869         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
19870         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19871         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19872         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
19873         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19874         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19876         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
19877         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
19878         (__ASSUME_SOCKETCALL): Do not define.
19879         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
19880         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19881         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19882         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
19883         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19884         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19886         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
19887         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
19888         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19889         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
19890         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19891         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
19892         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19893         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
19894         (__ASSUME_GETCPU_SYSCALL): Likewise.
19896         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
19897         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
19898         cases for individual architectures.
19899         * sysdeps/gnu/configure: Regenerated.
19900         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
19901         LIBC_SLIBDIR_RTLDDIR.
19902         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
19903         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
19904         LIBC_SLIBDIR_RTLDDIR.
19905         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
19906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
19907         LIBC_SLIBDIR_RTLDDIR.
19908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19909         Regenerated.
19910         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
19911         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
19912         file.
19913         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
19914         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
19915         file.
19916         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
19917         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
19918         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
19919         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
19921         * sysdeps/aarch64/shlib-versions: Move to ...
19922         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
19923         * sysdeps/alpha/shlib-versions: Move to ...
19924         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
19925         * sysdeps/arm/shlib-versions: Move to ...
19926         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
19927         * sysdeps/hppa/shlib-versions: Move all contents except for
19928         libgcc_s entry to ...
19929         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
19930         entry from ...
19931         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
19932         * sysdeps/ia64/shlib-versions: Move to ...
19933         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
19934         entry from ...
19935         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
19936         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
19937         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
19938         * sysdeps/microblaze/shlib-versions: Move to ...
19939         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
19940         * sysdeps/mips/shlib-versions: Move to ...
19941         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
19942         entry from ...
19943         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
19944         * sysdeps/tile/shlib-versions: Move to ...
19945         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
19946         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
19947         from ...
19948         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
19949         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
19950         entry from ...
19951         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
19953 2014-07-17  Will Newton  <will.newton@linaro.org>
19955         * sysdeps/arm/bits/atomic.h
19956         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
19957         (__arch_compare_and_exchange_bool_16_int): Likewise.
19958         (__arch_compare_and_exchange_bool_64_int): Likewise.
19960         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
19961         into an #else block.
19963 2014-07-16  Roland McGrath  <roland@hack.frob.com>
19965         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
19966         just Linux configurations.  Test empirically that the compiler sets
19967         __ARM_EABI__, rather than using the tuple to decide.
19968         * sysdeps/arm/preconfigure: Regenerated.
19969         * sysdeps/unix/sysv/linux/arm/configure: File removed.
19970         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
19971         contents appended ...
19972         * sysdeps/arm/configure.ac: ... here.
19973         * sysdeps/arm/configure: Regenerated.
19975 2014-07-15  Roland McGrath  <roland@hack.frob.com>
19977         * nptl/pthread_kill.c: New file.
19978         * nptl/pthread_sigmask.c: New file.
19979         * nptl/pthread_sigqueue.c: New file.
19981         * sysdeps/nptl/lowlevellock.h: New file.
19982         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
19983         * sysdeps/nptl/lowlevellock-futex.h: New file.
19985         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
19986         Remove dead declarations.
19988 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
19990         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
19991         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
19992         config-cflags-avx2.
19993         * sysdeps/x86_64/configure.ac: Likewise.
19994         * sysdeps/i386/configure: Regenerated.
19995         * sysdeps/x86_64/configure: Likewise.
19996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19997         memset-avx2 only if config-cflags-avx2 is yes.
19998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19999         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
20000         defined.
20001         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
20002         only if HAVE_AVX2_SUPPORT is defined.
20003         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20005 2014-07-14  Alan Modra  <amodra@gmail.com>
20007         [BZ #17153]
20008         * elf/elf.h (DT_PPC64_NUM): Correct value.
20009         * NEWS: Add to fixed bug list.
20011 2014-07-13  Jim Meyering  <meyering@fb.com>
20013         [BZ 17150]
20014         regex: don't deref NULL upon heap allocation failure
20015         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
20016         failure in one more place.
20017         To trigger the segfault, configure grep -with-included-regex,
20018         build it, and run these commands:
20019         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
20021 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
20023         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20025 2014-07-11  Richard Henderson  <rth@redhat.com>
20027         * sysdeps/aarch64/libm-test-ulps: Update.
20029 2014-07-10  Florian Weimer  <fweimer@redhat.com>
20031         [BZ #17135]
20032         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
20033         * nptl/allocatestack.c (__nptl_setxid_error): New function.
20034         (__nptl_setxid): Initialize error member.  Call
20035         __nptl_setxid_error.
20036         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
20037         * nptl/descr.h (struct xid_command): Add error member.
20038         * nptl/tst-setuid3.c: New file.
20039         * nptl/Makefile (tests): Add it.
20041 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20043         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
20044         New define.
20045         (__lll_trylock): Use __lll_base_trylock.
20046         (__lll_cond_trylock): Likewise.
20048 2014-07-10  Roland McGrath  <roland@hack.frob.com>
20050         * nptl/pthread_create.c (start_thread): Use atomic_or and
20051         lll_futex_wake directly rather than lll_robust_dead.
20052         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20053         (lll_robust_dead): Macro removed.
20054         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
20055         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20056         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20057         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20058         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20059         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20060         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20061         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20062         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20063         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20064         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20065         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20066         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20067         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20068         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20070         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20071         Use atomic_compare_and_exchange_val_acq directly rather than
20072         lll_robust_trylock.
20073         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20074         (__lll_robust_trylock, lll_robust_trylock): Removed.
20075         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20076         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20077         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20078         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20079         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20080         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20081         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20082         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20083         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20084         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20085         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20086         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20087         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20088         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20090 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20092         * manual/locale.texi (Locale Names): New section documenting
20093         locale name syntax.  Adjust menu and node chaining accordingly.
20094         (Choosing Locale): Reference Locale Names, Locale Categories.
20095         Mention setting LC_ALL=C.  Reflect that name syntax is now
20096         documented.
20097         (Locale Categories): New section title.  Reference Locale Names.
20098         LC_ALL is an environment variable, but not a category.
20099         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
20100         description, now in Locale Name.  Reference that section.  Locale
20101         name syntax is now documented.
20103 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20105         [BZ #17137]
20106         * locale/findlocale.c (name_present, valid_locale_name): New
20107         functions.
20108         (_nl_find_locale): Use the loc_name variable to store name
20109         candidates.  Call name_present and valid_locale_name to check and
20110         validate locale names.  Return an error if the locale is invalid.
20112 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20114         * locale/setlocale.c (setlocale): Use strdup for allocating
20115         composite name copy.
20117 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20119         Sync up with gnulib.
20120         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
20121         [!_LIBC && ENABLE_NLS]: Include gettext.h.
20122         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
20123         and _GL_ARG_NONNULL.
20124         [USE_UNLOCKED_IO]: Include unlocked-io.h.
20125         [!_LIBC]: Include code for Windows and Cygwin.
20126         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
20127         Include prototype for int strerror_r.
20128         [!_LIBC] (is_open): New function.
20129         (flush_stdout): New function.
20130         (print_errno_message): Use it.
20131         (error): Likewise.
20132         (error_at_line): Likewise.
20133         (error_tail) Add function attribute macros.  Use
20134         __builtin_expect.
20136         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
20138         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
20140         * io/ftw.c: Include sys/param.h unconditionally.
20142         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
20144         [BZ #17125]
20145         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
20146         libc_freeres_ptr.
20147         (freecache): New function to free CACHE on exit.
20149         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
20150         initialization.
20152 2014-07-09  David S. Miller  <davem@davemloft.net>
20154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20156         * sysdeps/sparc/nptl/internaltypes.h: Delete.
20157         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
20158         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
20159         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
20160         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
20161         * sysdeps/sparc/nptl/sem_init.c: Likewise.
20162         * sysdeps/sparc/nptl/sem_post.c: Likewise.
20163         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
20164         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
20165         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
20166         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
20167         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
20168         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
20170 2014-07-09  Andreas Schwab  <schwab@suse.de>
20172         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
20173         output.
20174         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
20175         (do_test): Likewise.
20177         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20179 2014-07-09  Will Newton  <will.newton@linaro.org>
20181         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
20182         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
20183         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
20184         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
20185         * sysdeps/hppa/start.S (_start): Likewise.
20187 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20189         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
20191         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
20192         defined.
20194 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20196         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
20197         after checking that it is non-NULL.
20199         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
20201 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20203         * sysdeps/powerpc/memmove.c: Remove file.
20204         * sysdeps/powerpc/powerpc32/power4/memcopy.h
20205         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
20206         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20207         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
20208         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
20209         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
20210         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
20211         string memmove instead of removed powerpc one.
20213         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20214         [weak_alias]: Fix compiler warning due trailing data.
20215         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
20216         [weak_alias]: Likewise.
20217         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
20218         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
20220         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20221         (__libc_ifunc_impl_list): Add memmove functions.
20223 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20225         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
20226         Remove code.
20227         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
20228         Likewise
20229         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
20230         Likewise
20231         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
20232         Likewise
20233         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
20234         Likewise
20235         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
20236         Likewise
20237         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
20238         Likewise
20239         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
20240         Likewise
20241         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
20242         Likewise
20243         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
20244         Likewise
20245         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
20246         Likewise
20247         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
20248         Likewise
20249         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
20250         Likewise
20251         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
20252         Likewise
20253         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
20254         Likewise
20255         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
20256         Likewise
20257         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
20258         Likewise
20260 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20262         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
20263         to avoid alignment traps in non-cacheable memory.
20264         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20266         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
20267         multiarch objects.
20268         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
20269         file: multiarch power7 memmove.
20270         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
20271         multiarch default memmove.
20272         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
20273         multiarch memove for powerpc32/power4.
20275         * string/bcopy.c: Use full path to include memmove.c.
20276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
20277         multiarch objects.
20278         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
20279         bcopy for powerpc64.
20280         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
20281         bcopy for powerpc64.
20282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
20283         and memmove implementations.
20284         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
20285         optimized multiarch memmove for POWER7/powerpc64.
20286         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
20287         default multiarch memmove for powerpc64.
20288         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
20289         multiarch for powerpc64.
20290         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
20291         for POWER7/powerpc64.
20292         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
20293         memmove for POWER7/powerpc64.
20295         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
20296         glibc default one.
20298         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
20299         __ELF_NATIVE_CLASS equal to 64.
20301 2014-07-07  Roland McGrath  <roland@hack.frob.com>
20303         * sysdeps/nptl/lowlevellock.h: File removed.
20305         * NEWS: NPTL is no longer an add-on!
20306         * nptl/internaltypes.h: Moved ...
20307         * sysdeps/nptl/internaltypes.h: ... here.
20308         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
20309         * sysdeps/nptl/fork.c: Likewise.
20310         * sysdeps/nptl/gai_misc.h: Likewise.
20311         * sysdeps/nptl/librt-cancellation.c: Likewise.
20312         * sysdeps/nptl/jmp-unwind.c: Likewise.
20313         * sysdeps/nptl/setxid.h: Likewise.
20314         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
20315         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
20316         * sysdeps/unix/sysv/linux/arm/Implies: New file.
20317         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
20318         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
20319         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
20320         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
20321         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
20322         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
20323         * sysdeps/unix/sysv/linux/mips/Implies: New file.
20324         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
20325         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
20326         * sysdeps/unix/sysv/linux/sh/Implies: New file.
20327         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
20328         * sysdeps/unix/sysv/linux/tile/Implies: New file.
20329         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
20330         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
20331         * nptl/Makeconfig: Moved ...
20332         * sysdeps/nptl/Makeconfig: ... here.
20333         * nptl/configure: File removed.
20334         * nptl/ANNOUNCE: File removed.
20335         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
20336         * sysdeps/unix/sysv/linux/configure: Regenerated.
20338         * nptl/Makefile (routines): Add libc_pthread_init,
20339         libc_multiple_threads, register-atfork and unregister-atfork.
20340         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
20341         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
20342         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
20343         pthread-pi-defines.sym, structsem.sym.
20344         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
20345         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
20346         [$(subdir) = nptl] (tests): Add tst-setgetname.
20347         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
20348         * sysdeps/unix/sysv/linux/sigaction.c: Just include
20349         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
20350         [!LIBC_SIGACTION]: Remove aliases.
20351         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
20352         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
20353         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
20354         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
20355         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
20356         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
20357         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20358         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20359         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
20360         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
20361         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
20362         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
20363         __libc_allocate_rtsig_private.
20364         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
20365         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
20366         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
20367         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
20368         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
20369         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
20370         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
20371         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
20372         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
20373         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
20374         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
20375         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
20376         * nptl/internaltypes.h: ... here.
20377         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
20378         * sysdeps/nptl/jmp-unwind.c: ... here.
20379         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
20380         * nptl/libc-lowlevellock.c: ... here.
20381         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
20382         * nptl/libc_multiple_threads.c: ... here.
20383         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
20384         * nptl/libc_pthread_init.c: ... here.
20385         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
20386         * nptl/lowlevelbarrier.sym: ... here.
20387         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
20388         * nptl/lowlevelcond.sym: ... here.
20389         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
20390         * nptl/lowlevellock.c: ... here.
20391         * nptl/lowlevellock.h: Moved ...
20392         * sysdeps/nptl/lowlevellock.h: ... here.
20393         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
20394         * nptl/lowlevelrobustlock.c: ... here.
20395         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
20396         * nptl/lowlevelrobustlock.sym: ... here.
20397         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
20398         * nptl/lowlevelrwlock.sym: ... here.
20399         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
20400         * nptl/pt-fork.c: ... here.
20401         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
20402         * nptl/pthread-pi-defines.sym: ... here.
20403         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
20404         * nptl/pthread_attr_getaffinity.c: ... here.
20405         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
20406         * nptl/pthread_attr_setaffinity.c: ... here.
20407         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
20408         * nptl/pthread_mutex_cond_lock.c: ... here.
20409         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20410         Update #include.
20411         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
20412         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
20413         * nptl/pthread_once.c: ... here, replacing old file.
20414         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
20415         * nptl/pthread_yield.c: ... here.
20416         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
20417         * nptl/register-atfork.c: ... here.
20418         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
20419         * nptl/sem_post.c: ... here.
20420         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
20421         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
20422         * nptl/sem_timedwait.c: ... here.
20423         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
20424         * nptl/sem_trywait.c: ... here.
20425         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
20426         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
20427         * nptl/sem_wait.c: ... here.
20428         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
20429         * nptl/structsem.sym: ... here.
20430         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
20431         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
20432         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
20433         * nptl/unregister-atfork.c: ... here.
20434         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
20435         * nptl/unwindbuf.sym: ... here.
20436         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
20437         * sysdeps/nptl/fork.c: ... here.
20438         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
20439         * sysdeps/nptl/fork.h: ... here.
20440         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
20441         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
20442         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
20443         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
20444         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
20445         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
20446         * sysdeps/unix/sysv/linux/getpid.c: ... here.
20447         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
20448         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
20449         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
20450         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
20451         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
20452         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
20453         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
20454         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
20455         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
20456         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
20457         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
20458         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
20459         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
20460         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
20461         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
20462         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
20463         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
20464         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
20465         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
20466         * sysdeps/unix/sysv/linux/raise.c: ... here.
20467         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
20468         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
20469         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
20470         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
20471         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
20472         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
20473         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
20474         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
20475         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
20476         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
20477         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
20478         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
20479         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
20480         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
20481         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
20483 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20485         * sysdeps/generic/memcopy.h: Add comment for
20486         MEMCPY_OK_FOR_FWD_MEMMOVE.
20488 2014-07-04  Will Newton  <will.newton@linaro.org>
20490         * string/memchr.c: Merge from gnulib.
20491         [_LIBC]: Remove conditionals.
20492         (__ptr_t): Remove define.
20493         (LONG_MAX_32_BITS): Likewise.
20494         (LONG_MAX): Likewise.
20495         (MEMCHR): Use ANSI prototype and optimize algorithm.
20497         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
20499 2014-07-03  Roland McGrath  <roland@hack.frob.com>
20501         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
20502         (lll_futex_timed_wait_bitset): Fix syscall argument count.
20504         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
20505         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
20506         in a bare environment with no <stdlib.h> installed.
20507         * sysdeps/nptl/configure: Regenerated.
20509         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
20511         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
20512         AC_EGREP_CPP for kernel header checks, so they only succeed if
20513         including <linux/version.h> actually works right.
20514         * sysdeps/unix/sysv/linux/configure: Regenerated.
20516         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
20517         value so it's not diagnosed as unused.
20519         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
20520         thing) with "ifeq ($(subdir),rt)".
20522 2014-07-03  Richard Henderson  <rth@redhat.com>
20524         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
20525         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
20526         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
20528         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
20529         (math_force_eval): New.
20531         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
20532         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
20534         * sysdeps/alpha/fpu/s_round.c: Remove file.
20535         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
20537         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
20538         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
20539         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
20540         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
20541         (_dl_start, print_statistics): Likewise.
20542         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
20543         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
20545         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20546         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20547         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20548         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20549         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20550         (HP_SMALL_TIMING_AVAIL): Define.
20551         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20552         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20553         (HP_SMALL_TIMING_AVAIL): Define.
20554         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20555         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20557         * sysdeps/aarch64/hp-timing.h: New file.
20559         * sysdeps/generic/hp-timing.h: Remove dead comment.
20560         * sysdeps/generic/hp-timing-common.h: New file.
20561         * sysdeps/alpha/hp-timing.h: Include it.
20562         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
20563         * sysdeps/i386/i686/hp-timing.h: Likewise.
20564         * sysdeps/ia64/hp-timing.h: Likewise.
20565         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20566         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20567         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20568         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20569         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
20570         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
20571         (hp_timing_t): New.
20573         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
20574         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
20575         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
20576         * elf/rtld.c (_dl_start_final): Likewise.
20577         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
20578         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20579         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20580         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20581         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20582         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20583         (HP_TIMING_DIFF_INIT): Remove.
20584         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20585         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20586         (HP_TIMING_DIFF_INIT): Remove.
20587         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20588         * sysdeps/i386/i686/hp-timing.c: Remove file.
20589         * sysdeps/x86_64/hp-timing.c: Remove file.
20590         * sysdeps/ia64/hp-timing.c: Remove file.
20591         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
20592         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
20593         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
20594         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
20596         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
20597         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
20598         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
20599         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20601         (HP_TIMING_ACCUM): Remove.
20602         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20603         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
20604         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20606         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
20607         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
20608         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
20609         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
20610         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
20611         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20612         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
20613         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20615         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
20617 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
20619         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
20621 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20623         Sync up with gettext.
20624         * intl/loadmsgcat.c: Define O_BINARY if not defined.
20625         [_MSC_VER]: Include malloc.h
20626         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
20627         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
20628         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
20629         TEMP_FAILURE_RETRY.  Cast return of alloca.
20630         [!_LIBC] Call gl_rwlock_init.
20631         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
20633 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20635         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
20636         before checking its value.
20638 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20640         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
20642         * debug/memcpy_chk.c: Don't include pagecopy.h.
20643         * debug/mempcpy_chk.c: Likewise.
20644         * string/memcpy.c: Likewise.
20645         * string/memmove.c: Likewise.
20646         * sysdeps/powerpc/memmove.c: Likewise.
20647         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
20648         definition of PAGE_COPY_FWD_MAYBE here...
20649         * sysdeps/generic/pagecopy.h: ... from here.
20650         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
20652 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20653             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20655         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
20656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
20657         optimizations.
20658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20659         (__libc_ifunc_impl_list): Likewise.
20660         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
20661         multiarch strcat for PPC64.
20662         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
20663         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
20665 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20667         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
20669 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20671         * intl/loadmsgcat.c: Remove declaration of
20672         get_sysdep_segment_value.
20673         (get_sysdep_segment_value): Use ISO C style.
20674         (_nl_load_domain): Use ISO C style.  Get rid of redundant
20675         semicolon.  Fix typo and formatting in comment.
20676         (_nl_unload_domain): Use ISO C style.
20678         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
20680 2014-07-02  Will Newton  <will.newton@linaro.org>
20682         * malloc/obstack.c: Merge from gnulib master.
20683         [HAVE_CONFIG_H]: Remove conditional code.
20684         [!_LIBC]: Include config.h.
20685         [!ELIDE_CODE]: Don't include inttypes.h, include
20686         stdint.h unconditionally.
20687         (print_and_abort): Mark as _Noreturn.
20688         (_obstack_allocated_p): Mark as __attribute_pure__.
20689         (obstack_free): Rename to __obstack_free.
20690         [!__attribute__]: Remove conditional code.
20691         * malloc/obstack.h: Merge from gnulib master.
20692         [__cplusplus]: Move conditional down.
20693         [!__attribute_pure__]: Define __attribute_pure__ here
20694         if it is not already defined.
20695         (_obstack_memory_used): Mark as __attribute_pure__.
20696         [!__obstack_free]: Define as obstack_free.
20697         [__GNUC__]: Remove check for ancient NeXT gcc.
20699 2014-07-02  Will Newton  <will.newton@linaro.org>
20700             Paul Eggert  <eggert@cs.ucla.edu>
20702         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
20704 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20706         * resolv/gethnamaddr.c: Add comment warning that the file is
20707         not maintained.
20709 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
20711         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
20712         entries.
20714         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
20715         entry for aio_cancel and aio_cancel64.
20716         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
20717         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
20718         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
20719         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
20720         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
20721         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
20722         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
20723         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
20724         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
20725         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
20726         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
20727         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
20728         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
20730 2014-07-01  Roland McGrath  <roland@hack.frob.com>
20732         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
20733         * nptl/pthread_mutex_lock.c: Likewise.
20734         * nptl/pthread_mutex_timedlock.c: Likewise.
20735         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
20737 2014-07-01  Richard henderson  <rth@redhat.com>
20739         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
20740         (__isnan, __isnanl): Remove.
20741         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
20743         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20745 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20747         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20749 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20751         * resolv/nss_dns/dns-host.c (getanswer_r)
20752         [MULTI_PTRS_ARE_ALIASES]: Remove code.
20754 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
20756         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20757         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
20758         undefine.
20759         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
20760         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
20762 2014-07-01  Roland McGrath <roland@hack.frob.com>
20764         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
20765         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
20767         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
20768         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
20770         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
20771         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
20772         ... here.
20773         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
20774         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
20776         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
20777         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
20778         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
20779         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
20781         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
20782         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
20783         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
20784         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
20785         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
20786         Moved ...
20787         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
20788         ... here.
20789         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
20790         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
20791         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
20792         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
20793         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
20794         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
20795         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
20796         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
20797         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
20798         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
20799         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
20800         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
20801         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
20802         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
20803         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
20804         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
20805         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
20806         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
20807         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
20808         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
20809         ... here.
20810         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
20811         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
20812         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
20813         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
20814         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
20815         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
20816         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
20817         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
20819 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
20821         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
20822         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
20823         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
20824         Add sysdep.
20826 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20830 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20832         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20833         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20835         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20837         * sysdeps/arm/libm-test-ulps: Regenerated.
20839 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20840             Roland McGrath <roland@hack.frob.com>
20842         * test-skeleton.c (signal_handler): Kill the whole process group
20843         before killing the child individually.
20844         (main): Report any failure on `setpgid'.
20846 2014-06-30  Roland McGrath  <roland@hack.frob.com>
20848         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
20849         from _TLS_H to _ARM_NPTL_TLS_H.
20850         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
20851         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
20853 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20855         [BZ #16539]
20856         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
20857         (__expm1l): Return argument unchanged when small but not
20858         subnormal.
20860         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
20861         include macro name.
20862         (_FP_UNPACK_RAW_1_P): Likewise.
20863         (_FP_PACK_RAW_1): Likewise.
20864         (_FP_PACK_RAW_1_P): Likewise.
20865         (_FP_MUL_MEAT_1_wide): Likewise.
20866         (_FP_MUL_MEAT_DW_1_hard): Likewise.
20867         (_FP_MUL_MEAT_1_hard): Likewise.
20868         (_FP_DIV_MEAT_1_imm): Likewise.
20869         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
20870         (_FP_DIV_MEAT_1_udiv): Likewise.
20871         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
20872         (_FP_UNPACK_RAW_2): Likewise.
20873         (_FP_UNPACK_RAW_2_P): Likewise.
20874         (_FP_PACK_RAW_2): Likewise.
20875         (_FP_PACK_RAW_2_P): Likewise.
20876         (_FP_MUL_MEAT_DW_2_wide): Likewise.
20877         (_FP_MUL_MEAT_2_wide): Likewise.
20878         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
20879         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20880         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
20881         (_FP_MUL_MEAT_2_gmp): Likewise.
20882         (_FP_DIV_MEAT_2_udiv): Likewise.
20883         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
20884         (_FP_FRAC_SRL_4): Likewise.
20885         (_FP_FRAC_SRST_4): Likewise.
20886         (_FP_FRAC_SRS_4): Likewise.
20887         (_FP_UNPACK_RAW_4): Likewise.
20888         (_FP_UNPACK_RAW_4_P): Likewise.
20889         (_FP_PACK_RAW_4): Likewise.
20890         (_FP_PACK_RAW_4_P): Likewise.
20891         (_FP_MUL_MEAT_DW_4_wide): Likewise.
20892         (_FP_MUL_MEAT_4_wide): Likewise.
20893         (_FP_MUL_MEAT_4_gmp): Likewise.
20894         (umul_ppppmnnn): Likewise.
20895         (_FP_DIV_MEAT_4_udiv): Likewise.
20896         (__FP_FRAC_ADD_4): Likewise.
20897         (__FP_FRAC_SUB_3): Likewise.
20898         (__FP_FRAC_SUB_4): Likewise.
20899         (__FP_FRAC_DEC_3): Likewise.
20900         (__FP_FRAC_DEC_4): Likewise.
20901         (__FP_FRAC_ADDI_4): Likewise.
20902         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
20903         (_FP_FRAC_SRL_8): Likewise.
20904         (_FP_FRAC_SRS_8): Likewise.
20906         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
20907         include macro name.
20908         (FP_UNPACK_RAW_EP): Likewise.
20909         (FP_PACK_RAW_E): Likewise.
20910         (FP_PACK_RAW_EP): Likewise.
20911         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
20912         (_FP_ISSIGNAN): Likewise.
20913         (_FP_ADD_INTERNAL): Likewise.
20914         (_FP_FMA): Likewise.
20915         (_FP_CMP): Likewise.
20916         (_FP_SQRT): Likewise.
20917         (_FP_TO_INT): Likewise.
20918         (_FP_FROM_INT): Likewise.
20919         (FP_EXTEND): Likewise.
20920         (_FP_DIV_MEAT_N_loop): Likewise.
20922 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20924         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
20925         throughout.
20927 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
20929         [BZ #17097]
20930         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
20931         result with correct sign in case of exponents that produce
20932         overflow except for X very close to 1.
20934 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
20936         mktime: merge #if/#ifdef usage from glibc
20937         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
20938         as that works with both Glibc's and Gnulib's style.
20939         See thread starting at Siddhesh Poyarekar's bug report at:
20940         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
20942 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20944         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
20945         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
20946         * sysdeps/tile/tilegx/memmove.c: Remove file.
20948 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20950         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
20951         abi-name definition.
20952         * scripts/soversions.awk: Do not handle or generate ABI lines.
20953         * shlib-versions: Remove ABI entries.
20954         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
20955         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
20957 2014-06-27  Roland McGrath  <roland@hack.frob.com>
20959         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
20960         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
20961         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
20962         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
20963         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
20964         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
20965         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
20966         Moved ...
20967         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
20968         ... here.
20969         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
20970         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
20971         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
20972         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
20973         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
20974         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
20975         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
20976         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
20977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
20978         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
20979         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
20980         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
20981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
20982         Moved ...
20983         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
20984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
20985         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
20986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
20987         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
20988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
20989         Moved ...
20990         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
20991         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
20992         Moved ...
20993         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
20994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
20995         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
20996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
20997         Moved ...
20998         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
20999         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
21000         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
21001         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
21002         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
21003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
21004         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
21005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
21006         Moved ...
21007         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
21008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
21009         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
21010         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
21011         Moved ...
21012         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
21013         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
21014         Moved ...
21015         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
21016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
21017         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
21018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
21019         Moved ...
21020         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
21021         ... here.
21022         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
21023         Identical file removed.
21024         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
21025         Moved ...
21026         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
21027         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
21028         Identical file removed.
21029         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
21030         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
21031         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
21032         Moved ...
21033         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
21034         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
21035         Identical file removed.
21036         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
21037         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
21038         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
21039         Identical file removed.
21040         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
21041         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
21042         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
21043         Identical file removed.
21044         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
21045         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
21046         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
21047         Identical file removed.
21048         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
21049         Moved ...
21050         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
21051         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
21052         Identical file removed.
21053         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
21054         Moved ...
21055         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
21056         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
21057         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
21058         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
21059         Identical file removed.
21060         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
21061         Moved ...
21062         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
21063         ... here.
21064         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
21065         Identical file removed.
21066         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
21067         Moved ...
21068         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
21069         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
21070         Identical file removed.
21071         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
21072         Moved ...
21073         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
21074         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
21075         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
21076         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
21077         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
21078         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
21079         Moved ...
21080         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
21081         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
21082         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
21084         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
21085         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
21086         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
21087         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
21088         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
21090 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
21092         [BZ #17092]
21093         * nscd/nscd.c (monitor_child): Return exit status of child
21094         instead of return value from wait syscall.
21096 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
21098         * configure.ac (libc_commonpagesize): Remove variable.
21099         (libc_relro_required): Likewise.
21100         (libc_cv_z_relro): Remove configure test.
21101         * configure: Regenerated.
21102         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
21103         variable.
21104         (libc_relro_required): Likewise.
21105         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
21106         (libc_relro_required): Likewise.
21107         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
21108         (libc_relro_required): Likewise.
21109         * sysdeps/arm/preconfigure: Regenerated.
21110         * sysdeps/ia64/preconfigure: Remove file.
21111         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
21112         variable.
21113         (libc_relro_required): Likewise.
21115         [BZ #16561]
21116         [BZ #16562]
21117         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
21118         (__ieee754_yn): Set FE_TONEAREST mode internally and then
21119         recompute overflowing results in original rounding mode.
21120         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
21121         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
21122         recompute overflowing results in original rounding mode.
21123         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
21124         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21125         recompute overflowing results in original rounding mode.
21126         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
21127         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21128         recompute overflowing results in original rounding mode.
21129         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
21130         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21131         recompute overflowing results in original rounding mode.
21132         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
21133         (libc_feholdsetround_ctx): New macro.
21134         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
21135         * sysdeps/i386/fpu/libm-test-ulps: Update.
21136         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
21138 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21140         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
21141         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
21142         corresponding .cpsetup call.
21144 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21146         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
21147         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
21148         * sysdeps/arm/Makefile [$(subdir) = csu]
21149         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
21150         (static-only-routines): Add aeabi_read_tp here.
21151         (shared-only-routines): Add libc-aeabi_read_tp here.
21152         (CFLAGS-libc-start.c): Add -fexceptions here.
21153         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
21154         (sysdep_routines, static-only-routines, shared-only-routines):
21155         Don't add to these here.
21156         (CFLAGS-libc-start.c): Likewise.
21158         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
21159         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21160         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
21161         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21162         * sysdeps/arm/Makefile [$(subdir) = rt]
21163         (librt-sysdep_routines, librt-shared-only-routines):
21164         Append rt-aeabi_unwind_cpp_pr1 here.
21165         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
21166         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
21167         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
21168         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21169         Append nptl-aeabi_unwind_cpp_pr1 here.
21170         (tests): Filter out tst-cleanupx4 here.
21171         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
21172         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
21173         Don't do those here.
21175 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21177         * scripts/list-sources.sh: Do not handle ports specially.
21179 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21181         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
21182         * sysdeps/arm/feupdateenv.c: Likewise.
21184         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
21186 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21188         * manual/texinfo.tex: Update to version 2014-05-05.10 with
21189         trailing whitespace removed.
21190         * scripts/config.guess: Update to version 2014-03-23.
21191         * scripts/config.sub: Update to version 2014-05-01
21192         * scripts/install-sh: Update to version 2013-12-25.23.
21193         * scripts/move-if-change: Update from gnulib.
21195 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21197         * debug/memmove_chk.c: Remove pagecopy.h include.
21199 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
21201         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
21202         identical to gnulib mktime.
21204 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21206         * configure.ac: Do not test for machine being rs6000.  Do not test
21207         for powerpc*-*soft.
21208         * configure: Regenerated.
21210         [BZ #11505]
21211         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
21212         test.
21213         * configure: Regenerated.
21214         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
21215         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
21216         Remove configure test.
21217         * sysdeps/arm/configure: Regenerated.
21218         * sysdeps/nptl/configure.ac: Do not check
21219         libc_cv_asm_cfi_directives.
21220         * sysdeps/nptl/configure: Regenerated.
21221         * sysdeps/x86_64/nptl/configure.ac: Remove file.
21222         * sysdeps/x86_64/nptl/configure: Remove generated file.
21223         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
21224         unconditional.
21225         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
21227 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21229         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
21230         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
21231         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
21232         it is defined.
21234         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
21235         instead of whether it is defined.
21236         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
21237         * sysdeps/hppa/dl-machine.h: Likewise.
21238         * sysdeps/ia64/dl-machine.h: Likewise.
21239         * sysdeps/m68k/dl-machine.h: Likewise.
21240         * sysdeps/microblaze/dl-machine.h: Likewise.
21241         * sysdeps/mips/dl-machine.: Likewise.
21242         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21243         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21244         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21245         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21246         * sysdeps/sh/dl-machine.h: Likewise.
21247         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21248         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21249         * sysdeps/tile/dl-machine.h: Likewise.
21250         * sysdeps/x86_64/dl-machine.h: Likewise.
21252         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
21253         code.
21254         (verify_persistent_db): Likewise.
21256 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
21259         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
21260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
21261         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
21262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21263         Moved ...
21264         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
21265         ... here.
21266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
21267         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
21268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
21269         Identical file removed.
21270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
21271         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
21272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
21273         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
21274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
21275         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
21276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
21277         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
21278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
21279         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
21280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21281         Moved ...
21282         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
21283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
21284         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
21285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
21286         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
21287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21288         Moved ...
21289         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
21290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
21291         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
21292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
21293         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
21294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21295         Identical file removed.
21296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
21297         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
21298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
21299         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
21300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21301         Moved ...
21302         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
21303         ... here.
21304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
21305         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
21306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
21307         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
21308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
21309         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
21310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
21311         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
21312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
21313         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
21314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21315         Moved ...
21316         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
21317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
21318         Moved ...
21319         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
21320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
21321         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
21322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21323         Moved ...
21324         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
21325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
21326         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
21328         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
21329         folded into ...
21330         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
21331         * sysdeps/unix/sysv/linux/s390/Versions
21332         (libpthread: GLIBC_2.19): New version set.
21333         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
21334         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
21335         (librt: GLIBC_2.3.3): New version set.
21336         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
21337         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
21338         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
21339         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
21340         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
21341         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
21342         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
21343         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
21344         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
21345         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
21346         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
21347         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
21348         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
21349         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
21350         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
21351         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
21352         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
21353         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
21354         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
21355         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
21356         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
21357         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
21358         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
21359         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
21360         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
21361         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
21362         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
21363         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
21364         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
21365         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
21366         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
21367         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
21368         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
21369         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
21370         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
21371         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
21372         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
21373         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
21374         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
21375         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
21376         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
21377         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
21378         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
21379         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
21380         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
21382         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
21383         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
21384         (__libc_vfork): Define the function under this name.
21385         [!NOT_IN_libc] (__vfork): Make this an alias.
21386         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21387         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
21388         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
21389         (__libc_vfork): Define the function under this name.
21390         [!NOT_IN_libc] (__vfork): Make this an alias.
21391         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21392         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
21393         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
21394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
21395         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
21396         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21398         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
21399         code that was previously under [RESET_PID].
21400         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
21401         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
21402         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
21404         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
21405         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
21406         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
21407         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
21408         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
21409         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
21410         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
21411         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
21412         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
21413         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
21414         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
21415         Moved ...
21416         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
21417         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
21418         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
21419         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
21420         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
21421         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
21422         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
21423         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
21424         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
21425         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
21426         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
21427         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
21428         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
21429         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
21430         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
21431         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
21432         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
21433         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
21434         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
21435         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
21436         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
21437         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
21438         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
21439         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
21440         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
21441         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
21442         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
21443         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
21444         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
21446 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21448         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
21449         that was previously under [RESET_PID].
21450         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
21452 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21454         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
21455         not undefine and redefine.
21456         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
21457         [O_CLOEXEC]: Make code unconditional.
21458         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
21459         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
21460         <kernel-features.h>.
21461         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
21462         conditional variable definition.
21463         (shm_open) [O_CLOEXEC]: Make code unconditional.
21464         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
21465         code.
21467         * configure.ac (USE_REGPARMS): Don't define here.
21468         * configure: Regenerated.
21469         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
21470         * sysdeps/i386/configure: Regenerated.
21472         * nptl/createthread.c: Don't include kernel-features.h.
21473         * nptl/pthread_cancel.c: Likewise.
21474         * nptl/pthread_condattr_setclock.c: Likewise.
21475         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
21476         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
21477         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
21478         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
21479         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
21480         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
21481         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21482         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
21483         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21484         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
21485         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
21486         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
21487         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
21488         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
21489         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
21490         * nscd/gai.c: Likewise.
21491         * nss/nss_db/db-open.c: Likewise.
21492         * sysdeps/generic/ldsodefs.h: Likewise.
21493         * sysdeps/sh/nptl/tls.h: Likewise.
21494         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21495         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
21496         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
21497         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
21498         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
21499         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21500         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
21501         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21502         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21503         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21504         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21505         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21506         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
21507         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
21508         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
21509         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
21510         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
21511         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
21512         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
21513         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
21514         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21515         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21516         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
21517         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
21518         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21519         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21520         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
21521         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
21522         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21523         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
21524         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
21525         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
21526         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
21527         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21528         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21529         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21530         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21531         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
21532         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
21533         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21534         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21535         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
21536         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
21537         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21538         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
21539         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
21540         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
21541         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
21542         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
21543         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21544         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21545         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21546         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21547         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21548         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
21549         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21550         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21551         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
21552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
21554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
21555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
21556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
21557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
21563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
21564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
21565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
21566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
21572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
21573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
21574         * sysdeps/unix/sysv/linux/pread.c: Likewise.
21575         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
21576         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
21577         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
21578         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
21579         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
21580         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
21581         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
21582         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
21583         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21584         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
21585         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21586         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
21587         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
21588         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
21589         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
21590         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21591         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
21592         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
21593         * sysdeps/unix/sysv/linux/system.c: Likewise.
21594         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
21595         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21596         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21597         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21598         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21599         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21600         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21602         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
21603         * configure: Regenerated.
21604         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
21606         * configure.ac (base_machine): Do not set specially for particular
21607         machines here.
21608         * configure: Regenerated.
21609         * sysdeps/powerpc/preconfigure: Move machine and base_machine
21610         settings from configure.ac.
21611         * sysdeps/i386/preconfigure: New file.
21612         * sysdeps/s390/preconfigure: Likewise.
21613         * sysdeps/sh/preconfigure: Likewise.
21614         * sysdeps/sparc/preconfigure: Likewise.
21616 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21618         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
21619         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
21620         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
21621         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
21622         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
21623         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
21624         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
21625         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
21626         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
21627         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
21628         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
21629         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
21630         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
21631         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
21632         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
21633         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
21634         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
21635         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
21636         * sysdeps/sparc/sparc64/Makefile: ... appended here.
21638         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
21639         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
21640         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
21641         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
21642         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
21643         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
21644         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
21645         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
21646         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
21647         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
21648         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
21649         * sysdeps/sparc/sparc32/sem_post.c: ... here.
21650         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
21651         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
21652         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
21653         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
21654         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
21655         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
21656         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
21657         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
21658         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
21659         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
21660         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
21661         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
21662         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
21663         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
21664         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
21665         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
21666         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
21667         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
21668         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
21669         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
21670         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
21671         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
21672         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
21673         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
21674         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
21675         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
21677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
21678         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
21679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
21680         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
21681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21682         Moved ...
21683         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
21684         ... here.
21685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
21686         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
21687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
21688         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
21689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
21690         Moved ...
21691         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
21692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
21693         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
21694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
21695         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
21696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
21697         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
21698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21699         Moved ...
21700         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
21701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21702         Moved ...
21703         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
21704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
21705         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
21706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21707         Moved ...
21708         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
21709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
21710         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
21711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
21712         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
21713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
21714         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
21715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
21716         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
21717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21718         Moved ...
21719         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
21720         ... here.
21721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
21722         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
21723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
21724         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
21725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
21726         Moved ...
21727         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
21728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
21729         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
21730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
21731         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
21732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
21733         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
21734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21735         Moved ...
21736         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
21737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21738         Moved ...
21739         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
21740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
21741         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
21742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21743         Moved ...
21744         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
21745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
21746         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
21747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
21748         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
21750 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21752         * timezone/checktab.awk: Update from tzcode 2014e.
21753         * timezone/private.h: Likewise.
21754         * timezone/tzfile.h: Likewise.
21755         * timezone/zdump.c: Likewise.
21756         * timezone/zic.c: Likewise.
21758         * sysdeps/unix/sysv/linux/kernel-features.h
21759         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
21760         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
21761         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
21762         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21763         Remove conditional code.
21765 2014-06-25  Will Newton  <will.newton@linaro.org>
21767         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
21768         (_dl_arm_cap_flags): Add HWCAP2 values.
21769         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
21770         (_DL_HWCAP_COUNT): Increase to 37.
21771         (_DL_HWCAP_LAST): New define.
21772         (_DL_HWCAP2_LAST): New define.
21773         (_dl_procinfo): Add support for printing
21774         AT_HWCAP2 entries.
21775         (_dl_string_hwcap): Use _dl_hwcap_string.
21777 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21781 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21783         * README: Do not mention ports directory.
21785         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
21786         Remove macro.
21787         * sysdeps/unix/sysv/linux/futimes.c: Do not include
21788         <kernel-features.h>.
21789         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
21790         conditional variable definition.
21791         (__futimes): Update comment.
21792         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
21793         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
21795         [BZ #16560]
21796         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
21797         arguments close to 0.
21798         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
21799         Likewise.
21800         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
21801         Likewise.
21802         * math/auto-libm-test-in: Add more tests of exp10.
21803         * math/auto-libm-test-out: Regenerated.
21804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21806         * sysdeps/unix/sysv/linux/kernel-features.h
21807         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
21808         * sysdeps/unix/sysv/linux/readv.c: Do not include
21809         <kernel-features.h>.
21810         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21811         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21812         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21813         unconditional.
21814         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21815         conditional code.
21816         * sysdeps/unix/sysv/linux/writev.c: Do not include
21817         <kernel-features.h>.
21818         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21819         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21820         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21821         unconditional.
21822         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21823         conditional code.
21825 2014-06-25  Will Newton  <will.newton@linaro.org>
21827         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
21828         comment changes throughout the file.  Remove checks
21829         for HAVE_*_H definitions that are not required.
21830         (__gen_tempname): Call abort if an unknown kind value is
21831         passed.
21833 2014-06-25  Andreas Schwab  <schwab@suse.de>
21835         [BZ #17086]
21836         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
21837         scalbln, scalblnf, scalblnl in libc.
21839 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21841         [BZ #17086]
21842         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
21843         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
21844         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
21846 2014-06-24  Roland McGrath  <roland@hack.frob.com>
21848         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
21849         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
21850         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
21851         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
21852         Update #include.
21853         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
21854         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
21855         Update #include.
21856         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
21857         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
21858         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
21859         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
21860         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
21861         * sysdeps/x86/bits/pthreadtypes.h: ... here.
21862         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
21863         * sysdeps/x86/bits/semaphore.h: ... here.
21864         * sysdeps/x86/nptl/elide.h: Moved ...
21865         * sysdeps/x86/elide.h: ... here.
21866         * sysdeps/x86_64/nptl/Implies: File removed.
21867         * sysdeps/i386/nptl/Implies: File removed.
21869 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
21871         [BZ #16539]
21872         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
21873         return the argument for normal arguments with exponent below -64.
21874         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21875         Likewise.
21876         * math/auto-libm-test-in: Add another test of expm1.
21877         * math/auto-libm-test-out: Regenerated.
21879         [BZ #16287]
21880         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
21881         calling __erfcl for arguments at least 16.
21882         * math/auto-libm-test-in: Add more tests of erf.
21883         * math/auto-libm-test-out: Regenerated.
21885         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
21886         individual architectures.
21887         * sysdeps/unix/sysv/linux/configure: Regenerated.
21888         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
21889         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
21890         * sysdeps/unix/sysv/linux/powerpc/configure.ac
21891         (ldd_rewrite_script): Define variable.
21892         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
21894         file.
21895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
21896         generated file.
21897         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
21898         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
21899         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
21900         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
21901         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
21902         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
21903         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
21904         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
21906 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21908         [BZ #17084]
21909         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
21910         Rename member __data.d to __data.__elision_data.
21912 2014-06-24  Wilco  <wdijkstr@arm.com>
21914         * NEWS: Add 16918 to fixed bug list.
21916 2014-06-24  Wilco  <wdijkstr@arm.com>
21918         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
21920 2014-06-24  Wilco  <wdijkstr@arm.com>
21922         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
21923         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
21924         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
21925         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
21926         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
21927         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
21928         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
21929         Use _FPU_MASK_RM.
21931 2014-06-24  Wilco  <wdijkstr@arm.com>
21933         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
21935 2014-06-24  Wilco  <wdijkstr@arm.com>
21937         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
21938         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
21939         * sysdeps/arm/fesetround.c (fesetround): Remove space.
21940         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
21942 2014-06-24  Wilco  <wdijkstr@arm.com>
21944         [BZ #16918]
21945         * sysdeps/arm/feupdateenv.c (feupdateenv):
21946         Rewrite to reduce FPSCR accesses and fix return value.
21948 2014-06-24  Wilco  <wdijkstr@arm.com>
21950         * sysdeps/arm/fclrexcpt.c (feclearexcept):
21951         Optimize to avoid unnecessary FPSCR writes.
21952         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
21953         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
21954         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
21955         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
21957 2014-06-24  Wilco  <wdijkstr@arm.com>
21959         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
21960         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
21961         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
21962         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
21963         Call libc_fetestexcept_vfp.
21964         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
21965         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
21966         __SOFTFP__ ifdef so that they can be built for softfp.
21968 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21970         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
21971         argument type signed char.
21973         * Makerules (check-abi): Dump diff of symlist if the test
21974         fails.
21976 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21978         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
21979         using abort.
21981         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21982         Remove unused variable ST.
21984 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
21986         [BZ #16354]
21987         [BZ #17061]
21988         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
21989         small arguments before calling __expm1.
21990         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
21991         small arguments before calling __expm1f.
21992         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
21993         small arguments before calling __expm1l.
21994         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21995         Likewise.
21996         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
21997         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
21998         spurious underflow for some cosh tests.
21999         * math/auto-libm-test-out: Regenerated.
22000         * sysdeps/i386/fpu/libm-test-ulps: Update.
22002         [BZ #17050]
22003         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
22004         (__ieee754_y1): Set errno if return value overflows.
22005         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
22006         (__ieee754_y1f): Set errno if return value overflows.
22007         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
22008         (__ieee754_y1l): Set errno if return value overflows.
22009         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
22010         (__ieee754_y1l): Set errno if return value overflows.
22011         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
22012         * math/auto-libm-test-out: Regenerated.
22014         * math/gen-auto-libm-tests.c: Document use of
22015         ignore-zero-inf-sign.
22016         (input_flag_type): Add value flag_ignore_zero_inf_sign.
22017         (input_flags): Add ignore-zero-inf-sign.
22018         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
22019         * math/gen-libm-test.pl (generate_testfile): Handle
22020         ignore-zero-inf-sign.
22021         * math/auto-libm-test-in: Mark some cpow tests with
22022         ignore-zero-inf-sign and some with xfail-rounding.
22023         * math/auto-libm-test-out: Regenerated.
22024         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
22025         * sysdeps/i386/fpu/libm-test-ulps: Update.
22026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22028         [BZ #16315]
22029         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
22030         overflowing or underflowing operations take place with sign of
22031         result.
22032         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22033         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22034         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
22035         (__ieee754_pow): Recompute overflowing and underflowing results in
22036         original rounding mode.
22037         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
22038         (__powl_helper): Allow negative argument X and scale negated value
22039         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
22040         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
22041         overflowing or underflowing operations take place with sign of
22042         result.
22043         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
22044         Include <math.h>.
22045         * math/auto-libm-test-in: Add more tests of pow.
22046         * math/auto-libm-test-out: Regenerated.
22047         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
22048         (pow_tonearest_test_data): Remove.
22049         (pow_test_tonearest): Likewise.
22050         (pow_towardzero_test_data): Likewise.
22051         (pow_test_towardzero): Likewise.
22052         (pow_downward_test_data): Likewise.
22053         (pow_test_downward): Likewise.
22054         (pow_upward_test_data): Likewise.
22055         (pow_test_upward): Likewise.
22056         (main): Don't call removed functions.
22057         * sysdeps/i386/fpu/libm-test-ulps: Update.
22058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22060 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
22063         Moved ...
22064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
22065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22066         Moved ...
22067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
22068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22069         Moved ...
22070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
22071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22072         Moved ...
22073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
22074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22075         File removed.
22076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22077         File removed.
22078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
22079         File removed.
22080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
22081         File removed.
22082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
22083         File removed.
22084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
22085         File removed.
22086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
22087         File removed.
22088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22089         File removed.
22090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
22091         File removed.
22092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22093         File removed.
22094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
22095         File removed.
22096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
22097         File removed.
22098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
22099         Moved ...
22100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
22101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
22102         Moved ...
22103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
22104         ... here.
22105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
22106         Moved ...
22107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
22108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
22109         Moved ...
22110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
22111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
22112         Moved ...
22113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
22114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
22115         Moved ...
22116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
22117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
22118         Moved ...
22119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
22120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
22121         Moved ...
22122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
22123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
22124         Moved ...
22125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
22126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
22127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
22128         ... here.
22129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
22130         Moved ...
22131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
22132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22133         Moved ...
22134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22135         ... here.
22136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
22137         Moved ...
22138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22139         ... here.
22140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22141         Moved ...
22142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22143         ... here.
22144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22145         Moved ...
22146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
22147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22148         Moved ...
22149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
22150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
22151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
22152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22153         Moved ...
22154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
22155         ... here.
22156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22157         Moved ...
22158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
22159         ... here.
22160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22161         Moved ...
22162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
22163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22164         Moved ...
22165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
22166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22167         Moved ...
22168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
22169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22170         Moved ...
22171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
22172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22173         Moved ...
22174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
22175         ... here.
22176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22177         Moved ...
22178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
22179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22180         Moved ...
22181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
22182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22183         Moved ...
22184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
22185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22186         Moved ...
22187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
22188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
22189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
22190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22191         Moved ...
22192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
22193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22194         Moved ...
22195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
22196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22197         Moved ...
22198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
22199         ... here.
22200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22201         Moved ...
22202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
22203         ... here.
22204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22205         Moved ...
22206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
22207         ... here.
22208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22209         Moved ...
22210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
22211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22212         Moved ...
22213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
22214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22215         Moved ...
22216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
22217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22218         Moved ...
22219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
22220         ... here.
22221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22222         Moved ...
22223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
22224         ... here.
22225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22226         Moved ...
22227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
22228         ... here.
22229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22230         Moved ...
22231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
22232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22233         Moved ...
22234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
22236 2014-06-23  Will Newton  <will.newton@linaro.org>
22237             Wilco  <wdijkstr@arm.com>
22239         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
22240         implementation.  Include get-rounding-mode.h.
22241         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
22242         [!libc_feholdsetround_noex_ctx]: Define
22243         libc_feholdsetround_noex_ctx.
22244         [!libc_feholdsetround_noexf_ctx]: Define
22245         libc_feholdsetround_noexf_ctx.
22246         [!libc_feholdsetround_noexl_ctx]: Define
22247         libc_feholdsetround_noexl_ctx.
22248         (libc_feholdsetround_ctx): New function.
22249         (libc_feresetround_ctx): New function.
22250         (libc_feholdsetround_noex_ctx): New function.
22251         (libc_feresetround_noex_ctx): New function.
22253 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22255         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
22256         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
22257         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
22258         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
22259         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
22260         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
22262         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
22263         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
22264         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
22265         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
22266         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
22267         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
22268         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
22269         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
22270         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
22271         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
22272         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
22273         Moved ...
22274         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
22275         ... here.
22276         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
22277         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
22278         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
22279         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
22280         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
22281         Moved ...
22282         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
22283         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
22284         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
22285         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
22286         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
22287         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
22288         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
22289         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
22290         Moved ...
22291         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
22292         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
22293         Moved ...
22294         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
22295         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
22296         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
22297         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
22298         Moved ...
22299         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
22300         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
22301         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
22302         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
22303         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
22304         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
22305         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
22306         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
22307         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
22308         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
22309         Moved ...
22310         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
22311         ... here.
22312         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
22313         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
22314         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
22315         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
22316         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
22317         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
22318         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
22319         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
22320         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
22321         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
22322         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
22323         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
22324         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
22325         Moved ...
22326         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
22327         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
22328         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
22329         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
22330         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
22331         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
22332         Moved ...
22333         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
22334         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
22335         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
22336         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
22337         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
22339         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
22340         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
22341         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
22342         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
22343         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
22344         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
22345         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
22346         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
22347         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
22348         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
22349         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
22350         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
22351         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
22352         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
22353         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
22354         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
22355         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
22356         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
22357         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
22358         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
22359         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
22360         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
22361         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
22362         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
22363         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
22364         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
22365         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
22366         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
22368 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
22370         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
22371         (FALLOC_FL_COLLAPSE_RANGE): New macro.
22372         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
22373         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
22374         (IPV6_PMTUDISC_INTERFACE): Likewise.
22375         (IPV6_PMTUDISC_OMIT): Likewise.
22377 2014-06-23  Andreas Schwab  <schwab@suse.de>
22379         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
22380         Remove unused errout label.
22382 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22384         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
22385         macro: hardware supports Vector Crypto instructions.
22387 2014-06-23  Will Newton  <will.newton@linaro.org>
22389         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
22390         rather than __builtin_expect.
22392         * elf/dl-lookup.c (undefined_msg): Remove variable.
22393         (_dl_lookup_symbol_x): Replace undefined_msg with string
22394         literal.
22396         * elf/dl-lookup.c (do_lookup_unique): New function.
22397         (do_lookup_x): Move STB_GNU_UNIQUE handling code
22398         to a separate function.
22400 2014-06-23  Andreas Schwab  <schwab@suse.de>
22402         [BZ #17079]
22403         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
22404         before reading the next line.
22406 2014-06-23  Will Newton  <will.newton@linaro.org>
22408         * test-skeleton.c (signal_handler): Use printf and %m
22409         rather than perror.  Use printf rather than fprintf to
22410         stderr.  Use puts rather than fputs to stderr.
22411         (main): Likewise.
22413 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
22415         * nscd/nscd.c (thread_info_t): Remove typedef.
22416         (thread_info): Remove variable.
22418 2014-06-21  Allan McRae  <allan@archlinux.org>
22420         * NEWS: Mention CVE-2014-4043.
22422 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22424         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
22425         * nptl/smp.h: ... here.
22427         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
22429         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
22430         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
22431         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
22432         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
22434         * nptl/allocatestack.c: Include <stack-aliasing.h>.
22435         * nptl/stack-aliasing.h: New file.
22436         * sysdeps/i386/i686/stack-aliasing.h: New file.
22437         * sysdeps/i386/i686/nptl/Makefile: File removed.
22438         * sysdeps/x86_64/stack-aliasing.h: New file.
22439         * sysdeps/x86_64/nptl/Makefile
22440         (CFLAGS-pthread_create.c): Variable removed.
22442         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
22443         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
22444         old file.
22445         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
22446         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
22447         old file.
22449 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
22451         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22452         (__ASSUME_SIGFRAME_V2): Remove macro.
22453         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
22454         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
22455         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
22456         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
22457         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
22458         Declare as function.  Remove conditional macro definitions.
22459         (__default_rt_sa_restorer): Likewise.
22460         (__default_sa_restorer_v1): Remove declaration.
22461         (__default_sa_restorer_v2): Likewise.
22462         (__default_rt_sa_restorer_v1): Likewise.
22463         (__default_rt_sa_restorer_v2): Likewise.
22464         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
22465         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
22466         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
22468 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22470         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
22471         (libpthread-routines): Add sysdep.
22472         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
22473         * sysdeps/unix/sysv/linux/sparc/Versions
22474         (libpthread: GLIBC_2.3.3): New version set.
22475         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
22476         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
22477         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
22478         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
22479         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
22480         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
22481         Moved ...
22482         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
22483         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
22484         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
22485         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
22486         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
22487         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
22488         * sysdeps/sparc/nptl/sem_init.c: ... here.
22489         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
22490         * sysdeps/sparc/nptl/sem_post.c: ... here.
22491         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
22492         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
22493         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
22494         * sysdeps/sparc/nptl/sem_wait.c: ... here.
22495         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
22496         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
22497         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
22498         (libpthread-routines): Add cpu_relax.
22499         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
22500         File removed.
22501         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
22502         (librt: GLIBC_2.3.3): New version set.
22503         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
22504         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
22505         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
22506         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
22507         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
22508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
22509         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
22510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
22511         Moved ...
22512         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
22513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
22514         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
22515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
22516         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
22517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
22518         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
22519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
22520         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
22521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
22522         Moved ...
22523         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
22524         Update #include.
22525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
22526         Moved ...
22527         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
22528         Update #include.
22529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
22530         Moved ...
22531         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
22532         Update #include.
22533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
22534         Moved ...
22535         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
22536         Update #include.
22537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
22538         Moved ...
22539         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
22540         Update #include.
22541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
22542         Moved ...
22543         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
22544         Update #include.
22545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
22546         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
22547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
22548         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
22549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
22550         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
22551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
22552         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
22553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
22554         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
22555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22556         Moved ...
22557         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
22558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
22559         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
22560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
22561         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
22563 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22565         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
22566         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
22567         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22568         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
22569         * nscd/nscd.c: Likewise.
22570         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
22571         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
22572         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
22573         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
22575         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
22576         <kernel-features.h>.
22577         (init_mq_netlink): Remove conditional have_sock_cloexec
22578         definitions.  Remove code conditional on have_sock_cloexec < 0.
22579         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
22580         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
22581         * sysdeps/unix/sysv/linux/opensock.c: Do not include
22582         <kernel-features.h>.
22583         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
22584         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
22586 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22588         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22589         Add tests for memset_chk and memset.
22591         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
22592         with AVX2_Usable.
22594 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22596         [BZ #16046]
22597         * elf/tst-dl-iter-static.c: New file.
22598         * elf/Makefile (tests-static): Add tst-dl-iter-static.
22600         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
22601         error.
22603 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22605         * sysdeps/unix/sysv/linux/kernel-features.h
22606         (__ASSUME_F_GETOWN_EX): Remove macro.
22607         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
22608         <kernel-features.h>.
22609         (miss_F_GETOWN_EX): Remove variable or macro.
22610         (do_fcntl): Do not check miss_F_GETOWN_EX.
22611         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
22613         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
22614         Remove macro.
22615         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
22616         [!__ASSUME_AT_RANDOM]: Remove conditional code.
22617         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
22619         * sysdeps/unix/sysv/linux/kernel-features.h
22620         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
22621         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
22622         [ADJ_OFFSET_SS_READ]: Make code unconditional.
22623         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
22625 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22627         [BZ #17075]
22628         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
22629         Fix calculation of the symbol's value.
22630         * sysdeps/arm/tst-armtlsdescloc.c: New file.
22631         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
22632         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
22633         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
22634         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
22635         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
22636         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
22637         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
22638         (modules-names): Add `tst-armtlsdescmod',
22639         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
22640         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
22641         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22642         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
22643         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
22644         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22645         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
22646         ($(objpfx)tst-armtlsdescloc): New dependency.
22647         ($(objpfx)tst-armtlsdescextnow): Likewise.
22648         ($(objpfx)tst-armtlsdescextlazy): Likewise.
22649         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
22650         TLS scheme support.
22651         * sysdeps/arm/configure: Regenerate.
22653 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22655         * include/fcntl.h (__atfct_seterrno): Remove prototype.
22656         (__atfct_seterrno_2): Likewise.
22657         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
22658         <kernel-features.h>.
22659         (__ASSUME_ATFCTS): Do not undefine and redefine.
22660         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
22661         (__have_atfcts): Remove conditional definition.
22662         (__fxstatat([__NR_fstatat64]: Make code unconditional.
22663         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
22664         unreachable if [__ASSUME_ATFCTS].
22665         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
22666         not undefine and redefine.
22667         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
22668         <kernel-features.h>.
22669         (faccessat) [__NR_faccessat]: Make code unconditional.
22670         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
22671         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
22672         <kernel-features.h>.
22673         (fchmodat) [__NR_fchmodat]: Make code unconditional.
22674         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22675         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
22676         <kernel-features.h>.
22677         (fchownat) [__NR_fchownat]: Make code unconditional.
22678         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
22679         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
22680         <kernel-features.h>.
22681         (futimesat) [__NR_futimesat]: Make code unconditional.
22682         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
22683         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22684         <kernel-features.h>.
22685         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22686         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22687         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22688         <kernel-features.h>.
22689         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
22690         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22691         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
22692         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22693         <kernel-features.h>.
22694         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
22695         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22696         * sysdeps/unix/sysv/linux/linkat.c: Do not include
22697         <kernel-features.h>.
22698         (linkat) [__NR_linkat]: Make code unconditional.
22699         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22700         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
22701         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
22702         <kernel-features.h>.
22703         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
22704         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22705         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
22706         <kernel-features.h>.
22707         (mkdirat) [__NR_mkdirat]: Make code unconditional.
22708         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
22709         * sysdeps/unix/sysv/linux/openat.c: Do not include
22710         <kernel-features.h>.
22711         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
22712         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
22713         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
22714         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
22715         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
22716         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
22717         <kernel-features.h>.
22718         (readlinkat) [__NR_readlinkat]: Make code unconditional.
22719         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
22720         result of INLINE_SYSCALL directly, not via int variable.
22721         * sysdeps/unix/sysv/linux/renameat.c: Do not include
22722         <kernel-features.h>.
22723         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
22724         (renameat) [__NR_renameat]: Make code unconditional.
22725         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
22726         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
22727         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
22728         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
22729         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
22730         (__ASSUME_ATFCTS): Do not undefine and redefine.
22731         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
22732         <kernel-features.h>.
22733         (symlinkat) [__NR_symlinkat]: Make code unconditional.
22734         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22735         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
22736         <kernel-features.h>.
22737         (unlinkat) [__NR_unlinkat]: Make code unconditional.
22738         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22739         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
22740         (__ASSUME_ATFCTS): Do not undefine and redefine.
22741         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22742         <kernel-features.h>.
22743         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22744         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22745         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22746         <kernel-features.h>.
22747         (__xmknodat) [__NR_mknodat]: Make code unconditional.
22748         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22750 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22752         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
22754 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
22756         [BZ #17069]
22757         * posix/regcomp.c (parse_reg_exp): Deallocate partially
22758         constructed tree before returning error.
22759         * posix/bug-regexp36.c: Expand test case.
22761 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22763         [BZ #6803]
22764         * math/libm-test.inc (scalbln_test_date):
22765         Add errno expectations.
22766         * math/w_scalblnf.c: New File.
22767         Add wrapper which checks for setting errno to ERANGE.
22768         Add weak_alias for corresponding scalbln function.
22769         * math/w_scalbln.c: Likewise.
22770         * math/w_scalblnl.c: Likewise.
22771         * math/Makefile (libm-calls): Add w_scalbln.
22772         * sysdeps/ieee754/flt-32/s_scalblnf.c:
22773         Remove weak_alias for corresponding scalbln function.
22774         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22775         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22776         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22777         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22778         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22779         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22780         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
22781         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22782         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
22783         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
22784         Remove long_double_symbol for scalblnl function in libm, libc.
22785         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
22786         Add wrapper which checks for setting errno to ERANGE.
22787         Add long_double_symbol for scalblnl function in libm, libc.
22788         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
22789         Remove long_double_symbol for scalblnl in libm.
22790         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
22791         Add wrapper which checks for setting errno to ERANGE.
22792         Add long_double_symbol for scalblnl function in libm.
22793         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
22794         Do not use wrapper because of own implementation.
22796 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
22798         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
22799         3 bytes for __pad1 for x32.
22800         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
22802 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
22803             H.J. Lu  <hongjiu.lu@intel.com>
22805         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
22806         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
22807         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22808         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22809         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22811 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
22813         [BZ #17069]
22814         * posix/regcomp.c (parse_expression): Deallocate partially
22815         constructed tree before returning error.
22816         * posix/Makefile.c (tests): Add bug-regex36.
22817         (generated): Add bug-regex36.mtrace.
22818         (tests-special): Add $(objpfx)bug-regex36-mem.out
22819         (bug-regex36-ENV): New variable.
22820         ($(objpfx)bug-regex36-mem.out): New rule.
22821         * posix/bug-regex36.c: New file.
22823 2014-06-19  Will Newton  <will.newton@linaro.org>
22825         * malloc/malloc.c (systrim): If extra is zero then return
22826         early.
22828 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22830         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
22832 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
22834         * sysdeps/aarch64/strchr.S: New file.
22836 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22838         [BZ #17022]
22839         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
22840         from arguments -2 or below.
22841         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22842         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
22844 2014-06-18  Andreas Schwab  <schwab@suse.de>
22846         [BZ #17062]
22847         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
22848         of a bracket expr not to run off the end of the string.
22849         * posix/Makefile (tests): Add tst-fnmatch3.
22850         * posix/tst-fnmatch3.c: New file.
22852 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22854         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
22855         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22856         [$(cross-compiling) = no]: Likewise.
22857         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22858         [$(cross-compiling) = no]: Likewise.
22860 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22862         [BZ #17031]
22863         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
22864         double, adjusted for any remainder from the high double.
22865         * math/libm-test.inc (nearbyint): Add tests.
22866         (rint): Likewise.
22868 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22870         * nptl/sysdeps/powerpc/Makefile: Moved ...
22871         * sysdeps/powerpc/nptl/Makefile: ... here.
22872         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
22873         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
22874         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
22875         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
22876         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
22877         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
22878         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
22879         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
22880         * nptl/sysdeps/powerpc/tls.h: Moved ...
22881         * sysdeps/powerpc/nptl/tls.h: ... here.
22883 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
22885         [BZ #16681]
22886         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
22887         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
22888         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
22889         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
22890         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
22891         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
22892         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
22893         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
22894         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
22896 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
22898         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22900 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
22902         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
22903         defined operator.
22905         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
22906         $TIMEOUTFACTOR.
22908 2014-06-16  Florian Weimer  <fweimer@redhat.com>
22910         [BZ #17058]
22911         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
22912         non-executed part of the test.
22914 2014-06-16  Andreas Schwab  <schwab@suse.de>
22916         * string/bits/string2.h (strdup, strndup): Update feature guard.
22918 2014-06-14  David S. Miller  <davem@davemloft.net>
22920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22922 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
22924         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
22925         that was previously under [RESET_PID].
22926         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
22928         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
22929         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
22930         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
22931         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22932         (__libc_vfork): New strong alias.
22933         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
22935 2014-06-14 Andi Kleen  <ak@linux.intel.com>
22937         * sysdeps/generic/elide.h: New file.
22939 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22941         * Makefile (installed-headers): Adjust path of pthread.h header.
22943 2014-06-13  Roland McGrath  <roland@hack.frob.com>
22945         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
22946         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
22947         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
22948         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
22950         * nptl/sysdeps/s390/Makefile: Moved ...
22951         * sysdeps/s390/nptl/Makefile: ... here.
22952         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
22953         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
22954         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
22955         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
22956         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
22957         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
22958         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
22959         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
22960         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
22961         * sysdeps/s390/nptl/pthreaddef.h: ... here.
22962         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
22963         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
22964         * nptl/sysdeps/s390/tls.h: Moved ...
22965         * sysdeps/s390/nptl/tls.h: ... here.
22967         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
22968         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
22970 2014-06-13  David S. Miller  <davem@davemloft.net>
22972         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
22973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
22974         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
22975         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
22976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
22977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
22978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
22979         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
22980         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
22981         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
22982         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
22983         Remove RESET_PID cpp guards.
22984         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
22985         Remove RESET_PID cpp guards.
22986         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
22988 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
22990         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
22991         __sp to uintptr_t.
22993 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22995         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
22996         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
22997         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
22998         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
22999         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
23000         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
23001         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
23002         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
23003         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
23004         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
23005         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
23006         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
23007         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
23008         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
23009         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
23010         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
23011         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
23012         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
23013         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
23014         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
23016         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
23017         (pthread_rwlock_rdlock): Add elision.
23018         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
23019         (pthread_rwlock_wrlock): Add elision.
23020         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
23021         (pthread_rwlock_trywrlock): Add elision.
23022         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
23023         (pthread_rwlock_tryrdlock): Add elision.
23024         * nptl/pthread_rwlock_unlock.c: Include elide.h.
23025         (pthread_rwlock_tryrdlock): Add elision unlock.
23026         * nptl/sysdeps/pthread/pthread.h:
23027         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
23028         (PTHREAD_RWLOCK_INITIALIZER,
23029         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
23030         Handle new elision field.
23031         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
23032         * sysdeps/arm/nptl/bits/pthreadtypes.h
23033         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23034         * sysdeps/sh/nptl/bits/pthreadtypes.h
23035         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23036         * sysdeps/tile/nptl/bits/pthreadtypes.h
23037         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23038         * sysdeps/a/nptl/bits/pthreadtypes.h
23039         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23040         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23041         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23042         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23043         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23044         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
23045         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23046         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23047         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23048         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23049         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23050         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23051         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23052         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23053         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23054         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
23055         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23056         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
23057         (elision_init): Set try_xbegin to zero when no RTM.
23058         * sysdeps/x86/nptl/bits/pthreadtypes.h
23059         (pthread_rwlock_t): Change __pad1 to __rwelision.
23060         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23062 2014-06-13  Andi Kleen  <ak@linux.intel.com>
23064         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
23065         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
23066         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
23067         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
23069 2014-06-13  Meador Inge  <meadori@codesourcery.com>
23071         [BZ #16996]
23072         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
23073         that the cached result has been set before returning it.
23075 2014-06-12  Roland McGrath  <roland@hack.frob.com>
23077         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
23078         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
23079         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
23080         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
23081         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
23082         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
23084         * nptl/sysdeps/sparc/Makefile: Moved ...
23085         * sysdeps/sparc/nptl/Makefile: ... here.
23086         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
23087         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
23088         * nptl/sysdeps/sparc/tls.h: Moved ...
23089         * sysdeps/sparc/nptl/tls.h: ... here.
23090         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
23091         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
23092         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
23093         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
23094         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
23095         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
23096         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
23097         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
23098         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
23099         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
23100         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
23101         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
23102         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
23103         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
23104         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
23105         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
23106         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
23107         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
23108         Update #include.
23109         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
23110         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
23111         Update #include.
23112         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
23113         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
23114         Update #include.
23115         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
23116         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
23117         Update #include.
23119         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23121         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
23122         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
23124         * sysdeps/pthread/posix-timer.h: Include <list.h>.
23125         (struct list_links): Type removed.
23126         (struct thread_node, struct timer_node): Replace struct list_links
23127         with struct list_head.
23128         (list_unlink_ip): Likewise.
23129         * sysdeps/pthread/timer_routines.c
23130         (timer_free_list, thread_free_list, thread_active_list): Likewise.
23131         (list_append, list_insbefore): Likewise.
23132         (list_init): Function removed.
23133         (thread_init, init_module): Use INIT_LIST_HEAD instead.
23134         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
23135         * sysdeps/pthread/Makefile: ... here, new file.
23137         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
23138         * sysdeps/nptl/Implies: ... here.
23139         * sysdeps/unix/sysv/linux/Implies: Add nptl.
23140         * nptl/sysdeps/pthread/list.h: Moved ...
23141         * include/list.h: ... here.
23142         * nptl/sysdeps/pthread/createthread.c: Moved ...
23143         * nptl/createthread.c: ... here.
23144         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
23145         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
23146         * nptl/pt-longjmp.c: ... here.
23147         * nptl/sysdeps/pthread/Makefile: Moved ...
23148         * sysdeps/nptl/Makefile: ... here.
23149         * nptl/sysdeps/pthread/Subdirs: Moved ...
23150         * sysdeps/nptl/Subdirs: ... here.
23151         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
23152         * sysdeps/nptl/aio_misc.h: ... here.
23153         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
23154         * sysdeps/nptl/bits/libc-lock.h: ... here.
23155         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
23156         * sysdeps/nptl/bits/libc-lockP.h: ... here.
23157         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
23158         * sysdeps/nptl/bits/stdio-lock.h: ... here.
23159         * nptl/sysdeps/pthread/configure: Moved ...
23160         * sysdeps/nptl/configure: ... here.
23161         * nptl/sysdeps/pthread/configure.ac: Moved ...
23162         * sysdeps/nptl/configure.ac: ... here.
23163         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
23164         * sysdeps/nptl/gai_misc.h: ... here.
23165         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
23166         * sysdeps/nptl/librt-cancellation.c: ... here.
23167         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
23168         * sysdeps/nptl/malloc-machine.h: ... here.
23169         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
23170         * sysdeps/nptl/pthread-functions.h: ... here.
23171         * nptl/sysdeps/pthread/pthread.h: Moved ...
23172         * sysdeps/nptl/pthread.h: ... here.
23173         * nptl/sysdeps/pthread/setxid.h: Moved ...
23174         * sysdeps/nptl/setxid.h: ... here.
23175         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
23176         * sysdeps/nptl/sigfillset.c: ... here.
23177         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
23178         * sysdeps/nptl/tcb-offsets.h: ... here.
23179         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
23180         * sysdeps/nptl/tst-mqueue8x.c: ... here.
23181         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
23182         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
23183         * nptl/sysdeps/pthread/allocalim.h: Moved ...
23184         * sysdeps/pthread/allocalim.h: ... here.
23185         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
23186         * sysdeps/pthread/bits/sigthread.h: ... here.
23187         * nptl/sysdeps/pthread/flockfile.c: Moved ...
23188         * sysdeps/pthread/flockfile.c: ... here.
23189         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
23190         * sysdeps/pthread/ftrylockfile.c: ... here.
23191         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
23192         * sysdeps/pthread/funlockfile.c: ... here.
23193         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
23194         * sysdeps/pthread/posix-timer.h: ... here.
23195         * nptl/sysdeps/pthread/timer_create.c: Moved ...
23196         * sysdeps/pthread/timer_create.c: ... here.
23197         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
23198         * sysdeps/pthread/timer_delete.c: ... here.
23199         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
23200         * sysdeps/pthread/timer_getoverr.c: ... here.
23201         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
23202         * sysdeps/pthread/timer_gettime.c: ... here.
23203         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
23204         * sysdeps/pthread/timer_routines.c: ... here.
23205         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
23206         * sysdeps/pthread/timer_settime.c: ... here.
23207         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
23208         * sysdeps/pthread/tst-timer.c: ... here.
23209         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
23210         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
23212         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
23213         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
23215         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
23216         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
23217         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
23218         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
23219         Update #include target.
23220         * nptl/sysdeps/i386/i686/Makefile: Moved ...
23221         * sysdeps/i386/i686/nptl/Makefile: ... here.
23222         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
23223         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
23224         Update #include target.
23225         * nptl/sysdeps/i386/i686/tls.h: Moved ...
23226         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
23227         * nptl/sysdeps/i386/Makefile: Moved ...
23228         * sysdeps/i386/nptl/Makefile: ... here.
23229         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
23230         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
23231         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
23232         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
23233         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
23234         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
23235         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
23236         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
23237         * sysdeps/i386/nptl/pthreaddef.h: ... here.
23238         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
23239         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
23240         * nptl/sysdeps/i386/tls.h: Moved ...
23241         * sysdeps/i386/nptl/tls.h: ... here.
23243         * sysdeps/sh/Makefile [$(subdir) = csu]
23244         (gen-as-const-headers): Add tcb-offsets.sym.
23245         * nptl/sysdeps/sh/Makefile: File removed.
23246         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
23247         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
23248         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
23249         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
23250         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
23251         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
23252         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
23253         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
23254         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
23255         * sysdeps/sh/nptl/pthreaddef.h: ... here.
23256         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
23257         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
23258         * nptl/sysdeps/sh/tls.h: Moved ...
23259         * sysdeps/sh/nptl/tls.h: ... here.
23260         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
23261         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
23262         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
23263         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
23264         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
23265         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
23266         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
23267         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
23268         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
23269         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
23270         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
23271         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
23272         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
23273         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
23274         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
23275         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
23276         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
23277         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
23278         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
23279         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
23280         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
23281         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
23282         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
23283         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
23284         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
23285         Moved ...
23286         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
23287         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
23288         Moved ...
23289         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
23290         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
23291         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
23292         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
23293         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
23294         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
23295         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
23296         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
23297         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
23298         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
23299         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
23300         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
23301         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
23302         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
23303         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
23304         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
23305         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
23306         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
23307         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
23309 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23311         * posix/spawn_faction_addopen.c: Include string.h.
23313 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23315         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
23316         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
23317         * nptl/sysdeps/x86_64/Makefile: Moved ...
23318         * sysdeps/x86_64/nptl/Makefile: ... here.
23319         * nptl/sysdeps/x86_64/configure: Moved ...
23320         * sysdeps/x86_64/nptl/configure: ... here.
23321         * nptl/sysdeps/x86_64/configure.ac: Moved ...
23322         * sysdeps/x86_64/nptl/configure.ac: ... here.
23323         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
23324         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
23325         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
23326         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
23327         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
23328         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
23329         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
23330         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
23331         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
23332         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
23333         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
23334         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
23335         * nptl/sysdeps/x86_64/tls.h: Moved ...
23336         * sysdeps/x86_64/nptl/tls.h: ... here.
23337         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
23338         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
23339         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
23340         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
23342         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
23344 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23348 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
23350         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
23351         type.
23352         [POSIX] (off_t): Likewise.
23353         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
23354         [POSIX] (S_ISBLK): Require macro.
23355         [POSIX] (S_ISCHR): Likewise.
23356         [POSIX] (S_ISDIR): Likewise.
23357         [POSIX] (S_ISFIFO): Likewise.
23358         [POSIX] (S_ISREG): Likewise.
23359         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
23360         optional-macro.
23361         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
23362         type.
23363         [POSIX] (time_t): Likewise.
23364         [POSIX] (timer_t): Likewise.
23366 2014-06-11  Florian Weimer  <fweimer@redhat.com>
23368         [BZ #17048]
23369         * posix/spawn_int.h (struct __spawn_action): Make the path string
23370         non-const to support deallocation.
23371         * posix/spawn_faction_addopen.c
23372         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
23373         * posix/spawn_faction_destroy.c
23374         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
23375         path in all spawn_do_open actions.
23376         * posix/tst-spawn.c (do_test): Exercise the copy operation in
23377         posix_spawn_file_actions_addopen.
23379 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
23381         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
23382         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
23383         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
23384         conditional code always true.
23385         (__libc_vfork): New alias.
23387 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23389         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23390         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
23392         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
23394         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23395         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
23397         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23398         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
23400         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23401         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
23403 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23405         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
23406         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
23407         multiarch strcmp for PPC64.
23408         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
23409         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
23410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
23411         multiarch optimizations.
23412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23413         (__libc_ifunc_impl_list): Likewise.
23415 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23417         * benchtests/scripts/validate_benchout.py: New script.
23418         * benchtests/Makefile (bench-func): Call it.
23419         * benchtests/scripts/benchout.schema.json: New file.
23421 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
23423         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
23424         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
23425         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
23426         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
23427         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
23428         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23429         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
23430         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
23431         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
23432         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
23433         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
23434         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
23435         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
23436         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
23437         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
23438         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
23439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
23440         Moved ...
23441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
23442         ... here.
23443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
23444         Moved ...
23445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
23446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
23447         Moved ...
23448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
23449         ... here.
23450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
23451         Moved ...
23452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
23453         ... here.
23454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
23455         Moved ...
23456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
23457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
23458         Moved ...
23459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
23460         ... here.
23461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
23462         Moved ...
23463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
23464         ... here.
23465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
23466         Moved ...
23467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
23468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
23469         Moved ...
23470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
23471         ... here.
23472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
23473         Moved ...
23474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
23475         ... here.
23476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
23477         Moved ...
23478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
23479         ... here.
23480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
23481         Moved ...
23482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
23483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
23484         Moved ...
23485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
23486         ... here.
23487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
23488         Moved ...
23489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
23490         ... here.
23491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
23492         Moved ...
23493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
23494         ... here.
23495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
23496         Moved ...
23497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
23498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
23499         Moved ...
23500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
23501         ... here.
23502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
23503         Moved ...
23504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
23505         ... here.
23506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
23507         Moved ...
23508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
23509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
23510         Moved ...
23511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
23512         ... here.
23513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
23514         Moved ...
23515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
23516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
23517         Moved ...
23518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
23519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
23520         Moved ...
23521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
23522         ... here.
23523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
23524         Moved ...
23525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
23526         ... here.
23527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
23528         Moved ...
23529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
23530         ... here.
23531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
23532         Moved ...
23533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
23534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
23535         Moved ...
23536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
23537         ... here.
23538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
23539         Moved ...
23540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
23541         ... here.
23542         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
23543         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
23544         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
23545         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
23546         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
23547         Moved ...
23548         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23549         ... here.
23550         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
23551         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
23552         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
23553         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
23554         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
23555         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
23556         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
23557         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
23558         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
23559         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
23560         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
23561         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
23562         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
23563         Moved ...
23564         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
23565         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
23566         Moved ...
23567         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
23568         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
23569         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
23570         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
23571         Moved ...
23572         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
23573         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
23574         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
23575         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
23576         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
23577         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
23578         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
23580 2014-06-10  Wilco  <wdijkstr@arm.com>
23582         * math/test-fenv-return.c: New file.
23583         * math/Makefile: Add new test test-fenv-return.
23585 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
23587         [BZ #17042]
23588         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
23589         when x - 1 is zero.
23590         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
23591         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
23592         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
23593         0.0L for an argument of 1.0L.
23594         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23595         Likewise.
23596         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
23597         value when x - 1 is zero.
23598         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
23599         * sysdeps/i386/fpu/libm-test-ulps: Update.
23600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23602 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
23604         [BZ #15119]
23605         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
23607 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23609         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
23610         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
23612 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23614         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23615         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
23617         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23618         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
23620         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23621         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
23623         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23624         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
23626         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
23627         if not already defined.
23628         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
23629         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
23630         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
23631         (TLS_INIT_TP): Use it.
23632         (TLS_DEFINE_INIT_TP): New macro.
23633         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
23635 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
23637         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
23638         constant.
23639         [POSIX] (IXANY): Likewise.
23640         [POSIX] (OLCUC): Likewise.
23641         [POSIX || POSIX2008] (CBAUD): Do not allow.
23642         [POSIX || POSIX2008] (DEFECHO): Likewise.
23643         [POSIX || POSIX2008] (ECHOCTL): Likewise.
23644         [POSIX || POSIX2008] (ECHOKE): Likewise.
23645         [POSIX || POSIX2008] (ECHOPRT): Likewise.
23646         [POSIX || POSIX2008] (EXTA): Likewise.
23647         [POSIX || POSIX2008] (EXTB): Likewise.
23648         [POSIX || POSIX2008] (FLUSHO): Likewise.
23649         [POSIX || POSIX2008] (LOBLK): Likewise.
23650         [POSIX || POSIX2008] (PENDIN): Likewise.
23651         [POSIX || POSIX2008] (SWTCH): Likewise.
23652         [POSIX || POSIX2008] (VDISCARD): Likewise.
23653         [POSIX || POSIX2008] (VDSUSP): Likewise.
23654         [POSIX || POSIX2008] (VLNEXT): Likewise.
23655         [POSIX || POSIX2008] (VREPRINT): Likewise.
23656         [POSIX || POSIX2008] (VSTATUS): Likewise.
23657         [POSIX || POSIX2008] (VWERASE): Likewise.
23658         (B*): Change to B[0123456789]*.
23659         * conform/data/time.h-data [POSIX || UNIX98]
23660         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
23661         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23662         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
23663         [POSIX] (tm_*): Do not allow.
23665 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
23667         * Makefile (install): Don't set LANGUAGE.
23668         * Makefile.in (install): Likewise.
23669         * assert/Makefile (test-assert-ENV): Remove variable.
23670         (test-assert-perr-ENV): Likewise.
23671         * elf/Makefile (neededtest4-ENV): Likewise.
23672         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23673         [$(cross-compiling) = no]: Don't set LANGUAGE.
23674         * io/ftwtest-sh (LANG): Remove variable.
23675         * libio/Makefile (tst-widetext-ENV): Likewise.
23676         * manual/install.texi (Running make install): Don't refer to
23677         environment settings for make install.
23678         * INSTALL: Regenerated.
23679         * nptl/tst-tls6.sh: Don't set LANG.
23680         * posix/globtest.sh (LANG): Remove variable.
23681         * string/Makefile (tester-ENV): Likewise.
23682         (inl-tester-ENV): Likewise.
23683         (noinl-tester-ENV): Likewise.
23684         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23685         [$(cross-compiling) = no]: Don't set LANGUAGE.
23686         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
23687         without explicit environment settings.
23689 2014-06-06  Roland McGrath  <roland@hack.frob.com>
23691         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
23692         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
23693         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
23694         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
23696 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
23698         * crypt/crypt-private.h [DOS]: Add some includes taken from the
23699         other files in the crypt directory.
23700         * crypt/crypt.c: Remove duplicate includes.
23701         * crypt/crypt-entry.c: Likewise.
23702         * crypt/crypt_util.c: Likewise.
23704 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
23706         * Makeconfig (run-program-env): New variable.
23707         (run-program-prefix-before-env): Likewise.
23708         (run-program-prefix-after-env): Likewise.
23709         (run-program-prefix): Define in terms of new variables.
23710         (built-program-cmd-before-env): New variable.
23711         (built-program-cmd-after-env): Likewise.
23712         (built-program-cmd): Define in terms of new variables.
23713         (test-program-prefix-before-env): New variable.
23714         (test-program-prefix-after-env): Likewise.
23715         (test-program-prefix): Define in terms of new variables.
23716         (test-program-cmd-before-env): New variable.
23717         (test-program-cmd-after-env): Likewise.
23718         (test-program-cmd): Define in terms of new variables.
23719         * Rules (make-test-out): Use $(run-program-env).
23720         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
23721         (help): Do not mention environment variables.  Mention
23722         --timeoutfactor option.
23723         (timeoutfactor): New variable.
23724         (blacklist_exports): Remove function.
23725         (exports): Remove variable.
23726         (command): Do not include ${exports}.
23727         * manual/install.texi (Configuring and compiling): Do not mention
23728         test wrappers preserving environment variables.  Mention that last
23729         assignment to a variable must take precedence.
23730         * INSTALL: Regenerated.
23731         * benchtests/Makefile (run-bench): Use $(run-program-env).
23732         * catgets/Makefile ($(objpfx)test1.cat): Use
23733         $(built-program-cmd-before-env), $(run-program-env) and
23734         $(built-program-cmd-after-env).
23735         ($(objpfx)test2.cat): Do not specify environment variables
23736         explicitly.
23737         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
23738         $(run-program-env) and $(built-program-cmd-after-env).
23739         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
23740         $(run-program-env) and $(test-program-cmd-after-env).
23741         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
23742         explicitly.
23743         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
23744         run_program_env and test_program_cmd_after_env arguments.
23745         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
23746         * elf/tst-pathopt.sh: Use run_program_env argument.
23747         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
23748         $(test-wrapper-env) and $(run-program-env).
23749         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
23750         run_program_env arguments.
23751         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
23752         * intl/Makefile ($(objpfx)tst-gettext.out): Use
23753         $(test-program-prefix-before-env), $(run-program-env) and
23754         $(test-program-prefix-after-env).
23755         ($(objpfx)tst-gettext2.out): Likewise.
23756         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
23757         run_program_env and test_program_prefix_after_env arguments.
23758         * intl/tst-gettext2.sh: Likewise.
23759         * intl/tst-gettext4.sh: Do not set environment variables
23760         explicitly.
23761         * intl/tst-gettext6.sh: Likewise.
23762         * intl/tst-translit.sh: Likewise.
23763         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
23764         $(test-program-prefix-before-env), $(run-program-env) and
23765         $(test-program-prefix-after-env).
23766         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
23767         run_program_env and test_program_prefix_after_env arguments.
23768         * math/Makefile (run-regen-ulps): Use $(run-program-env).
23769         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
23770         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
23771         explicitly with each use of ${test_wrapper_env}.
23772         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
23773         $(test-program-prefix-before-env), $(run-program-env) and
23774         $(test-program-prefix-after-env).
23775         * posix/tst-getconf.sh: Do not set environment variables
23776         explicitly.
23777         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
23778         run_program_env and test_program_prefix_after_env arguments.
23779         * stdio-common/tst-printf.sh: Do not set environment variables
23780         explicitly.
23781         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
23782         $(test-program-prefix-before-env), $(run-program-env) and
23783         $(test-program-prefix-after-env).
23784         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
23785         run_program_env and test_program_prefix_after_env arguments.
23786         Split $test calls into $test_pre and $test.
23787         * timezone/Makefile (build-testdata): Use
23788         $(built-program-cmd-before-env), $(run-program-env) and
23789         $(built-program-cmd-after-env).
23791 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23793         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
23794         strlen for non SHARED builds.
23796 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23798         * nptl/allocatestack.c (check_list): Inlined function...
23799         (__reclaim_stacks): ... here.
23801 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23803         [BZ #15698]
23804         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23805         memory overrun.
23807 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
23809         * Rules (make-test-out): Include
23810         LOCPATH=$(common-objpfx)localedata in default environment.
23811         * debug/Makefile (tst-chk1-ENV): Remove variable.
23812         (tst-chk2-ENV): Likewise.
23813         (tst-chk3-ENV): Likewise.
23814         (tst-chk4-ENV): Likewise.
23815         (tst-chk5-ENV): Likewise.
23816         (tst-chk6-ENV): Likewise.
23817         (tst-lfschk1-ENV): Likewise.
23818         (tst-lfschk2-ENV): Likewise.
23819         (tst-lfschk3-ENV): Likewise.
23820         (tst-lfschk4-ENV): Likewise.
23821         (tst-lfschk5-ENV): Likewise.
23822         (tst-lfschk6-ENV): Likewise.
23823         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
23824         (tst-iconv7-ENV): Likewise.
23825         * intl/Makefile (LOCPATH-ENV): Likewise.
23826         (tst-codeset-ENV): Likewise.
23827         (tst-gettext3-ENV): Likewise.
23828         (tst-gettext5-ENV): Likewise.
23829         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
23830         (tst-fopenloc-ENV): Likewise.
23831         (tst-fgetws-ENV): Remove variable.
23832         (tst-ungetwc1-ENV): Likewise.
23833         (tst-ungetwc2-ENV): Likewise.
23834         (bug-ungetwc2-ENV): Likewise.
23835         (tst-swscanf-ENV): Likewise.
23836         (bug-ftell-ENV): Likewise.
23837         (tst-fgetwc-ENV): Likewise.
23838         (tst-fseek-ENV): Likewise.
23839         (tst-ftell-partial-wide-ENV): Likewise.
23840         (tst-ftell-active-handler-ENV): Likewise.
23841         (tst-ftell-append-ENV): Likewise.
23842         * posix/Makefile (tst-fnmatch-ENV): Likewise.
23843         (tst-regexloc-ENV): Likewise.
23844         (bug-regex1-ENV): Likewise.
23845         (tst-regex-ENV): Likewise.
23846         (tst-regex2-ENV): Likewise.
23847         (bug-regex5-ENV): Likewise.
23848         (bug-regex6-ENV): Likewise.
23849         (bug-regex17-ENV): Likewise.
23850         (bug-regex18-ENV): Likewise.
23851         (bug-regex19-ENV): Likewise.
23852         (bug-regex20-ENV): Likewise.
23853         (bug-regex22-ENV): Likewise.
23854         (bug-regex23-ENV): Likewise.
23855         (bug-regex25-ENV): Likewise.
23856         (bug-regex26-ENV): Likewise.
23857         (bug-regex30-ENV): Likewise.
23858         (bug-regex32-ENV): Likewise.
23859         (bug-regex33-ENV): Likewise.
23860         (bug-regex34-ENV): Likewise.
23861         (bug-regex35-ENV): Likewise.
23862         (tst-rxspencer-ENV): Likewise.
23863         (tst-rxspencer-no-utf8-ENV): Likewise.
23864         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
23865         (tst-sscanf-ENV): Likewise.
23866         (tst-swprintf-ENV): Likewise.
23867         (tst-swscanf-ENV): Likewise.
23868         (test-vfprintf-ENV): Likewise.
23869         (scanf13-ENV): Likewise.
23870         (bug14-ENV): Likewise.
23871         (tst-grouping-ENV): Likewise.
23872         * stdlib/Makefile (tst-strtod-ENV): Likewise.
23873         (tst-strtod3-ENV): Likewise.
23874         (tst-strtod4-ENV): Likewise.
23875         (tst-strtod5-ENV): Likewise.
23876         (testmb2-ENV): Likewise./
23877         * string/Makefile (tst-strxfrm-ENV): Likewise.
23878         (tst-strxfrm2-ENV): Likewise.
23879         (bug-strcoll1-ENV): Likewise.
23880         (test-strcasecmp-ENV): Likewise.
23881         (test-strncasecmp-ENV): Likewise.
23882         * time/Makefile (tst-strptime-ENV): Likewise.
23883         (tst-ftime_l-ENV): Likewise.
23884         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
23885         (tst-mbrtowc-ENV): Likewise.
23886         (tst-wcrtomb-ENV): Likewise.
23887         (tst-mbrtowc2-ENV): Likewise.
23888         (tst-c16c32-1-ENV): Likewise.
23889         (tst-mbsnrtowcs-ENV): Likewise.
23891 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23893         * manual/resource.texi (How to get information about the memory
23894         subsystem?): Fix typo.
23895         Reported by Peon de la Parra Ivan <peon@keba.com>
23897 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
23899         [BZ #16882]
23900         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
23901         (pthread_spin_lock): Branch out of spin loop to proper location.
23902         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
23903         (pthread_spin_lock): Likewise.
23905         * nptl/tst-spin4.c: New test.
23906         * nptl/Makefile (tests): Add tst-spin4.
23908 2014-06-03  Andreas Schwab  <schwab@suse.de>
23910         [BZ #15946]
23911         * resolv/res_send.c (send_dg): Reload file descriptor after
23912         calling reopen.
23914 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
23916         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23918 2014-06-03  Richard Henderson  <rth@redhat.com>
23920         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
23921         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
23922         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
23923         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
23924         in the SAVE_PID block.
23925         (__libc_vfork): New alias.
23926         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
23928         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
23929         child in registers, not on the stack.  Remove RESET_PID conditionals.
23930         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
23932 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23934         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23936 2014-06-03  Wilco  <wdijkstr@arm.com>
23938         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
23939         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
23940         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23941         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
23942         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
23943         Likewise.
23945 2014-06-03  Wilco  <wdijkstr@arm.com>
23947         * sysdeps/aarch64/fpu/math_private.h
23948         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
23949         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
23950         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
23951         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23952         Fix declarations.
23954 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23956         * crypt/crypt-private.h: Include ufc-crypt.h.
23957         (__b64_from_24bit): Declare extern.
23958         * crypt/crypt_util.c(__b64_from_24bit): New function.
23959         (b64t): New static const variable.
23960         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
23961         (b64t): Remove variable.
23962         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
23963         * crypt/sha256-crypt.c: Include crypt-private.h.
23964         (b64t): Remove variable.
23965         (__sha256_crypt_r): Remove b64_from_24bit and replace
23966         with __b64_from_24bit.
23967         * crypt/sha512-crypt.c: Likewise.
23969 2014-06-02  Roland McGrath  <roland@hack.frob.com>
23971         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
23972         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
23973         Label the code __libc_vfork rather than __vfork.
23974         [!NOT_IN_libc] (vfork): Define as weak alias.
23975         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
23976         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
23977         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
23979 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23981         * malloc/malloc.c (malloc_info): Fix format specifier for
23982         n_mmaps.
23984 2014-06-02  Wilco  <wdijkstr@arm.com>
23986         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
23987         FPCR write.
23989 2014-06-02  Wilco  <wdijkstr@arm.com>
23991         [BZ #17009]
23992         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
23993         Rewrite to reduce FPCR/FPSR accesses.
23995 2014-06-01  David S. Miller  <davem@davemloft.net>
23997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23999 2014-05-31  David S. Miller  <davem@davemloft.net>
24001         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
24002         to occur in round to nearest mode when |x| >= 2.0
24004 2014-05-30  Richard Henderson  <rth@twiddle.net>
24006         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
24007         (PSEUDO_RET_NOERRNO): Remove.
24008         (ret): Don't redefine.
24009         (ret_NOERRNO): Define in terms of ret.
24010         (ret_ERRVAL): Likewise.
24012         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
24013         use of PSEUDO_RET; perform the error check directly.
24015 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
24017         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
24018         with __int128_t.
24020 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24022         * malloc/malloc (malloc_info): Fix formatting.
24024 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24025             Roland McGrath  <roland@hack.frob.com>
24027         * malloc/malloc (malloc_info): Also print mmapped statistics.
24029 2014-05-30  Roland McGrath  <roland@hack.frob.com>
24031         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
24032         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
24034 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
24036         * malloc/malloc.c (malloc_info): Inline mi_arena.
24038 2014-05-29  Richard Henderson  <rth@twiddle.net>
24040         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
24041         Remove comma before expanding ASM_ARGS_##nr.
24042         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
24043         Make _x0 a strict output; make _x8 a strict input; adjust expansion
24044         of ASM_ARGS_##nr.
24045         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
24046         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
24047         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
24048         (ASM_ARGS_1): Add leading comma.
24050         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
24051         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
24052         to __errno_location.
24053         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
24054         Remove the expected plt for __errno_location.
24056         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24057         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
24058         call to __read_tp.
24060         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24061         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
24062         it and break it down.
24063         (DOCARGS_0, DOCARGS_1): Do nothing.
24064         (DOCARGS_2): Update to store into the new stack frame.
24065         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
24066         (UNDOCARGS_1): Update to restore from the new stack frame.
24067         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
24068         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
24070         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24071         (SINGLE_THREAD_P): New parameter for result regno.
24072         (PSEUDO): Update to match; use cbz instead of beq.
24074         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24075         Use ENTRY to define the _nocancel entry point.  Share the syscall
24076         and syscall error check paths with the cancel path.
24077         (PSEUDO_END): New.
24079         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
24080         whitespace; tabs before and after asm mnemonics.
24082 2014-05-29  Eric Wong  <normalperson@yhbt.net>
24084         [BZ #15132]
24085         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24086         Call fstat64 or stat64 internally, depending on arguments passed.
24087         Replace stat buffer argument with file descriptor argument.
24088         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
24089         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24090         Pass fd to __internal_statvfs instead of calling fstat64.
24091         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
24092         Pass fd to __internal_statvfs64 instead of calling fstat64.
24093         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
24094         Pass -1 to __internal_statvfs instead of calling stat64.
24095         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
24096         Pass -1 to __internal_statvfs64 instead of calling stat64.
24098 2014-05-28  Roland McGrath  <roland@hack.frob.com>
24100         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
24101         that was previously under [RESET_PID].
24102         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
24104         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
24105         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
24107 2014-05-27  Roland McGrath  <roland@hack.frob.com>
24109         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
24111         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
24112         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
24114 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
24116         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
24118 2014-05-27  Andreas Schwab  <schwab@suse.de>
24120         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
24121         TLS_INIT_TP macro.
24122         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
24123         * elf/rtld.c (init_tls, dl_main): Likewise.
24124         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
24125         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
24126         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
24127         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
24128         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
24129         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
24130         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
24131         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
24132         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
24133         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
24134         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
24135         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
24136         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
24137         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
24138         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
24139         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
24140         * sysdeps/generic/tls.h: Update description.
24142 2014-05-27  Will Newton  <will.newton@linaro.org>
24144         [BZ #16990]
24145         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
24146         and restore r2 rather than just restoring.
24148 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24150         [BZ #16724]
24151         * libio/tst-ftell-append.c: New test case.
24152         * libio/Makefile (tests): Add test case.
24153         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
24154         append mode.
24155         * libio/wfileops.c (do_ftell_wide): Likewise.
24157 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24161         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
24162         ...
24163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
24164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24165         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
24166         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
24167         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
24168         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
24169         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
24170         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
24171         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24172         Moved ...
24173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
24174         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24175         Moved ...
24176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
24177         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
24178         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
24179         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
24180         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
24181         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
24182         ...
24183         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
24184         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
24185         Moved ...
24186         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
24187         here.
24188         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
24189         ...
24190         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
24191         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
24192         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
24194         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
24195         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
24196         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
24197         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
24199         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
24200         merge into ...
24201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
24202         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
24203         ...
24204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
24205         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
24206         ...
24207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
24208         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24209         Moved ...
24210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
24211         here.
24212         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24213         Moved ...
24214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
24215         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24216         Moved ...
24217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
24219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
24220         conditional [RESET_PID].
24221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
24222         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
24223         removed.
24224         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
24225         removed.
24227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
24228         <tcb-offsets.h>.
24229         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24230         (__libc_vfork): New strong alias.
24231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
24232         removed.
24233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
24234         Removed.
24236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
24237         <tcb-offsets.h>.
24238         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
24239         (__libc_vfork): New strong alias.
24240         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
24241         removed.
24242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
24243         removed.
24245 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
24247         * malloc/malloc.c (mi_arena): New function.
24248         (malloc_info): Remove nested function mi_arena. Call non-nosted
24249         function mi_arena.
24251 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24253         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
24254         by insrwi.
24255         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
24256         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
24257         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
24258         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
24259         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
24260         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
24261         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
24263 2014-05-26  Andreas Schwab  <schwab@suse.de>
24265         [BZ #16984]
24266         * locale/programs/repertoire.c (repertoire_read): Add slash
24267         between I18NPATH element and file name.
24268         * locale/programs/locfile.c (locfile_read): Likewise.
24270 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24272         * nptl/pthread_mutexattr_settype.c
24273         (__pthread_mutexattr_settype):
24274         Disable lock elision for PTHREAD_MUTEX_NORMAL.
24276 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24278         * nptl/tst-mutex5 (do_test):
24279         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
24281 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24283         * benchtests/README: Document 'init' directive.
24284         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
24285         BENCH_INIT.
24286         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
24287         (parse_file): Recognize 'init' directive.
24289 2014-05-26  Kyle McMartin  <kyle@redhat.com>
24291         [BZ #16796]
24292         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
24293         alignment of struct pthread.
24295 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24297         [BZ #16878]
24298         * nscd/netgroupcache.c (addgetnetgrentX): Look for
24299         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24300         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
24301         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24303 2014-05-25  Richard Henderson  <rth@twiddle.net>
24305         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24306         (SINGLE_THREAD_P_PIC): Remove.
24307         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
24308         (SINGLE_THREAD_P_PIC): Remove.
24310         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
24311         branch to syscall error ...
24312         (PSEUDO): ... here.
24313         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
24314         from __local_syscall_error to .Lsyscall_error.
24315         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
24316         (SYSCALL_ERROR): Update label name.
24318         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24319         Do not use DOARGS/UNDOARGS.
24320         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
24321         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
24322         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
24323         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
24324         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
24326         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
24327         block comment.
24329         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
24330         define if !NOT_IN_libc.
24331         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
24332         define with non-default symbol versions.
24334 2014-05-23  Richard Henderson  <rth@twiddle.net>
24336         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
24337         (vfork, __vfork): Define via compat_symbol.
24339         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
24340         [!HAVE_IFUNC] (vfork_compat): Remove.
24341         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
24343 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24345         [BZ #16978]
24346         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
24347         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
24348         variable.
24350 2014-05-23  Richard Henderson  <rth@twiddle.net>
24352         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
24353         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
24354         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
24355         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
24357         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
24358         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
24359         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
24360         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
24361         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
24362         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
24363         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
24364         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
24365         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
24366         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
24367         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
24368         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
24369         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
24370         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
24371         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
24372         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
24373         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
24374         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
24375         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
24376         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
24377         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
24378         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
24379         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
24380         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
24381         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
24382         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
24383         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
24384         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
24385         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
24386         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
24387         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
24388         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
24389         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
24390         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
24391         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
24392         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
24393         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
24394         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
24395         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
24396         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
24397         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
24398         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
24399         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
24400         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
24401         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
24402         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
24403         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
24404         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
24405         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
24406         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
24407         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
24408         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
24409         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
24410         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
24411         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
24412         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
24414         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
24415         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
24416         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
24417         before exiting on error.
24418         (__libc_vfork): New strong alias.
24419         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
24420         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
24422         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
24423         that was previously under [RESET_PID].
24424         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
24426         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
24428 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24430         [BZ #16977]
24431         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
24432         value when x - 1 is zero.
24433         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
24434         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
24435         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
24436         0.0L for an argument of 1.0L.
24437         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
24438         Likewise.
24439         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
24440         value when x - 1 is zero.
24441         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
24442         * sysdeps/i386/fpu/libm-test-ulps: Update.
24443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24445 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24447         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
24448         alphasort and versionsort.
24450 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24452         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
24453         macro.
24454         [copysignf]: Likewise.
24456 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24458         * crypt/md5-crypt.c: Fix formatting.
24460 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24462         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
24463         (b64_from_24bit): New function.
24465 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24467         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
24468         libc_hidden_builtin_def to ifunc.
24469         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
24470         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
24472 2014-05-21  Roland McGrath  <roland@hack.frob.com>
24474         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
24475         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
24477 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
24479         * nscd/Depend (linuxthreads): Remove.
24480         (nptl): Add.
24481         * resolv/Depend (linuxthreads): Remove.
24482         * rt/Depend (linuxthreads): Remove.
24484         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
24485         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
24486         $(common-objpfx)elf/.
24487         (link-libc-before-gnulib): Likewise.
24488         (elfobjdir): Remove variable.
24489         * Makefile (install): Use $(elf-objpfx) instead of
24490         $(common-objpfx)elf/.
24491         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
24492         $(elfobjdir)/.
24493         (link-libc-deps): Likewise.
24494         ($(common-objpfx)libc.so): Likewise.
24495         ($(common-objpfx)linkobj/libc.so): Likewise.
24496         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
24497         instead of $(common-objpfx)elf/.
24498         (symbolic-link-list): Likewise.
24499         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24500         [$(cross-compiling) = no]: Likewise.
24501         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
24502         $(elfobjdir)/.
24503         (static-gnulib-arch): Likewise.
24504         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24505         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
24506         $(common-objpfx)elf/.
24508 2014-05-21  Richard Henderson  <rth@redhat.com>
24510         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24511         (SINGLE_THREAD_P): Use the correct width load.  Fold
24512         into the ldr offset.
24514         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
24515         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
24517 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
24519         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
24520         (libgcc_s_resume): Use __attribute_used__.
24521         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
24522         Likewise.
24524 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24526         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
24527         optimization when used with float constants.
24529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24531 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
24533         [BZ #16915]
24534         * locale/nl_langinfo_l.c: Make direct reference to every
24535         _nl_current_CATEGORY symbol.
24536         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
24537         (tests-static): Add tst-langinfo-static.
24538         (tests-special): Add tst-langinfo-static.out.
24539         ($(objpfx)tst-langinfo.out): Redirect output.
24540         ($(objpfx)tst-langinfo-static.out): New.
24541         * localedata/tst-langinfo.sh: Send output to stdout.
24542         * localedata/tst-langinfo-static.c: New file.
24544         [BZ #16965]
24545         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
24546         when the shift amount is modulo the limb size.
24548 2014-05-20  Richard Henderson  <rth@redhat.com>
24550         [BZ #16967]
24551         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
24552         Change type of sa_flags from unsigned int to int.
24554         [BZ #16966]
24555         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
24557         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
24559 2014-05-20  Will Newton  <will.newton@linaro.org>
24561         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24562         Test the return value of the system call in the nocancel case.
24564 2014-05-20  Will Newton  <will.newton@linaro.org>
24565             Yvan Roux  <yvan.roux@linaro.org>
24567         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
24568         #include of asm/ptrace.h.
24569         (PTRACE_GET_THREAD_AREA): Remove #undef.
24570         (PTRACE_GETHBPREGS): Likewise.
24571         (PTRACE_SETHBPREGS): Likewise.
24572         (struct user_regs_struct): New structure.
24573         (struct user_fpsimd_struct): New structure.
24574         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
24575         #include of asm/ptrace.h and second #include of sys/user.h.
24576         (PTRACE_GET_THREAD_AREA): Remove #undef.
24577         (PTRACE_GETHBPREGS): Likewise.
24578         (PTRACE_SETHBPREGS): Likewise.
24579         (ELF_NGREG): Use new struct user_regs_struct.
24580         (elf_fpregset_t): Use new struct user_fpsimd_struct.
24582 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24584         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
24585         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
24587 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
24589         [BZ #16958]
24590         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
24591         membar to avoid block loads/stores to overlap previous stores.
24593 2014-05-17  Richard Henderson  <rth@redhat.com>
24595         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
24596         Create the __##syscall_name##_nocancel entry point.
24597         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
24598         Remove; let the sysdep-cancel.h code create it.
24600 2014-05-17  David S. Miller  <davem@davemloft.net>
24602         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
24603         Protect with __USE_GNU.
24604         (TIOCSET_TEMPT): Likewise.
24605         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24606         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
24607         these are already provided in bits/ioctl-types.h
24609 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24611         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
24612         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
24614         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
24615         Use wait4 regardless of [__NR_waitpid].
24617 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24619         PR libgcc/60166
24620         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24621         (_FP_NANSIGN_Q): Set the quiet bit.
24623 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
24625         * benchtests/Makefile
24626         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
24627         not $(common-objpfx)math/libm.so.
24628         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
24629         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
24630         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
24631         $(common-objpfx)dlfcn/libdl.so.
24632         ($(objpfx)tst-audit8): Depend on $(libm), not
24633         $(common-objpfx)math/libm.so.
24634         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
24635         not $(common-objpfx)dlfcn/libdl.so.
24636         * math/Makefile
24637         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24638         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
24639         [$(build-shared) = yes].
24640         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
24641         $(common-objpfx)nptl/libpthread.so.
24642         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
24643         $(common-objpfx)math/libm.so$(libm.so-version) or
24644         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
24645         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
24646         $(common-objpfx)dlfcn/libdl.so.
24647         * setjmp/Makefile (link-libm): Remove variable.
24648         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
24649         * stdio-common/Makefile (link-libm): Remove variable.
24650         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
24651         * stdlib/Makefile (link-libm): Remove variable.
24652         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
24653         ($(objpfx)tst-strtod-round): Likewise.
24654         ($(objpfx)tst-tininess): Likewise.
24655         ($(objpfx)tst-strtod-underflow): Likewise.
24656         ($(objpfx)tst-strtod6): Likewise.
24657         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
24658         $(libdl), not $(common-objpfx)nptl/libpthread.so and
24659         $(common-objpfx)dlfcn/libdl.so.
24661 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24663         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
24664         BSD terminal modes definitions.
24666 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24668         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
24669         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
24671         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
24672         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
24673         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
24674         Don't do #include_next.
24675         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
24676         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
24677         Don't do #include_next.
24678         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
24679         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
24680         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
24681         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
24683 2014-05-16  Allan McRae  <allan@archlinux.org>
24685         * po/sv.po: Update Swedish translation from translation project.
24687         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
24688         in sed expression.
24690 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
24692         [BZ #16917]
24693         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
24694         errno if the TIOCGPTN ioctl fails with an error different than
24695         EINVAL.
24696         * login/tst-ptsname.c: New file.
24697         * login/Makefile (tests): Add tst-ptsname.
24699         [BZ #16943]
24700         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
24701         and prlimit64.
24703 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24705         [BZ #16849]
24706         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
24707         herrno to return EAI_AGAIN.
24709 2014-05-14  Roland McGrath  <roland@hack.frob.com>
24711         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
24712         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
24713         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
24714         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
24715         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
24716         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
24717         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
24718         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
24719         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
24720         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
24721         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
24722         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
24723         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
24724         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
24725         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
24726         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
24727         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
24728         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
24729         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
24730         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
24731         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
24732         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
24733         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
24734         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
24735         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
24736         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
24737         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
24738         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
24739         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
24740         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
24741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
24742         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
24743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
24744         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
24745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24746         Moved ...
24747         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
24748         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
24749         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
24750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
24751         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
24752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
24753         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
24754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
24755         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
24756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
24757         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
24758         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
24759         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
24760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
24761         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
24762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
24763         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
24764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
24765         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
24766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
24767         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
24768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
24769         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
24770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
24771         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
24772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
24773         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
24774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24775         Moved ...
24776         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
24777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
24778         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
24779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
24780         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
24781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
24782         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
24783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
24784         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
24785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
24786         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
24787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
24788         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
24789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
24790         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
24791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
24792         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
24793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
24794         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
24795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24796         Moved ...
24797         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
24798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
24799         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
24801         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
24802         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
24803         (libpthread-sysdep_routines): Add elision-related stuff here instead.
24804         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
24805         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
24806         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
24807         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
24808         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
24809         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
24810         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
24811         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
24812         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
24813         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
24814         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
24815         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
24816         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
24817         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
24818         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
24819         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
24820         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
24821         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
24822         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
24823         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
24824         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
24825         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
24826         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
24827         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
24828         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
24829         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
24830         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
24831         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
24833         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
24834         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
24836         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
24837         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
24838         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
24839         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
24840         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
24841         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
24842         Moved ...
24843         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
24844         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24845         Moved ...
24846         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
24847         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24848         Moved ...
24849         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
24850         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
24851         Moved ...
24852         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
24853         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
24854         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
24855         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24856         Moved ...
24857         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
24858         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
24859         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
24860         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
24861         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
24862         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
24863         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
24864         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24865         Moved ...
24866         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
24867         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24868         Moved ...
24869         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24870         ... here.
24871         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
24872         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
24873         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
24874         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
24875         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24876         Moved ...
24877         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24878         ... here.
24879         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
24880         Moved ...
24881         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
24882         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
24883         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
24884         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
24885         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
24886         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
24887         Moved ...
24888         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
24889         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24890         Moved ...
24891         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
24892         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24893         Moved ...
24894         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
24895         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
24896         Moved ...
24897         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
24898         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
24899         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
24900         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
24901         Moved ...
24902         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
24903         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
24904         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
24905         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
24906         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
24907         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
24908         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
24909         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24910         Moved ...
24911         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
24912         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24913         Moved ...
24914         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24915         ... here.
24916         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
24917         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
24918         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
24919         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
24920         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24921         Moved ...
24922         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24923         ... here.
24924         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
24925         Moved ...
24926         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
24927         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
24928         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
24929         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
24930         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
24931         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
24932         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
24933         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
24934         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
24935         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
24936         Moved ...
24937         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
24938         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24939         Moved ...
24940         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
24941         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24942         Moved ...
24943         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
24944         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
24945         Moved ...
24946         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
24947         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
24948         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
24949         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
24950         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
24951         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24952         Moved ...
24953         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
24954         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
24955         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
24956         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
24957         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
24958         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
24959         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
24960         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24961         Moved ...
24962         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
24963         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24964         Moved ...
24965         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24966         ... here.
24967         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
24968         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
24969         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
24970         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
24971         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24972         Moved ...
24973         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24974         ... here.
24975         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
24976         Moved ...
24977         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
24978         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
24979         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
24980         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
24981         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
24982         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
24983         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
24984         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
24985         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
24986         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
24987         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
24989         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
24990         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
24992         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
24993         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
24995         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
24996         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
24997         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
24998         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
24999         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
25000         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
25001         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
25002         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
25003         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
25004         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
25005         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
25006         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
25007         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
25008         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
25009         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
25010         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
25011         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
25012         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
25013         Moved ...
25014         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
25015         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
25016         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
25017         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
25018         Moved ...
25019         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
25020         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
25021         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
25022         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
25023         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
25024         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
25025         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
25026         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
25027         Moved ...
25028         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
25029         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
25030         Moved ...
25031         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
25032         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
25033         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
25034         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
25035         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
25036         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
25037         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
25038         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
25039         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
25040         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
25041         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
25042         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
25043         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
25044         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
25045         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
25046         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
25047         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
25049         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
25050         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
25051         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
25052         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
25053         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
25055         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
25056         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
25057         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
25058         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
25059         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
25060         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
25061         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
25062         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
25063         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
25064         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
25066         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
25067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
25069         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
25070         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
25071         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
25072         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
25073         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
25074         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
25075         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
25076         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
25077         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
25078         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
25079         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
25080         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
25081         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
25082         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
25083         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
25084         Update #include.
25085         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
25086         Likewise.
25087         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25088         Likewise.
25089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25090         Likewise.
25091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25092         Likewise.
25093         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
25094         Likewise.
25095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
25096         Likewise.
25097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25098         Likewise.
25099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
25100         Likewise.
25101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
25102         Likewise.
25103         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
25104         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
25105         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
25106         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
25107         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
25108         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
25109         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
25110         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
25111         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
25112         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
25113         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
25114         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
25115         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
25116         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
25117         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
25119         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
25120         that was previously under [RESET_PID].
25121         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25122         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
25123         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
25125         * sysdeps/i386/nptl/Implies: New file.
25126         * sysdeps/x86_64/nptl/Implies: New file.
25127         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
25128         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
25129         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
25130         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
25132         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
25133         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25134         (__libc_vfork): New strong alias.
25135         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
25136         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
25138         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
25139         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25140         (__libc_vfork): New strong alias.
25141         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
25142         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
25144         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
25145         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25146         (__libc_vfork): New strong alias.
25147         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
25148         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
25149         * nptl/pt-vfork.c: New file.
25150         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
25151         (libpthread: GLIBC_2.20): New version set (empty).
25153 2014-05-14  Will Newton  <will.newton@linaro.org>
25155         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
25156         rather than #if.
25158 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25160         [BZ #16564]
25161         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
25162         arguments with exponent 65 or above.
25163         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
25164         arguments 0x1p113L or above.
25165         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
25166         to arguments 0x1p107L or above.
25167         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
25168         positive arguments with exponent 65 or above.
25169         * math/auto-libm-test-in: Add more tests of log1p.
25170         * math/auto-libm-test-out: Regenerated.
25172         [BZ #16928]
25173         * math/s_cacos.c (__cacos): Ensure zero real part of result from
25174         non-finite arguments is +0.
25175         * math/s_cacosf.c (__cacosf): Likewise.
25176         * math/s_cacosl.c (__cacosl): Likewise.
25177         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
25178         * sysdeps/i386/fpu/libm-test-ulps: Update.
25179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25181         [BZ #16927]
25182         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
25183         value.
25184         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
25185         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
25186         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
25187         for explicit high bit of mantissa when testing for argument equal
25188         to 1.
25189         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
25190         * sysdeps/i386/fpu/libm-test-ulps: Update.
25191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25193         [BZ #16516]
25194         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
25195         (__erf): Scale by 16 instead of 8 in potentially underflowing
25196         case.  Ensure exception if result actually underflows.
25197         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
25198         (__erff): Scale by 16 instead of 8 in potentially underflowing
25199         case.  Ensure exception if result actually underflows.
25200         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
25201         (efx8): Remove variable.
25202         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25203         case.  Ensure exception if result actually underflows.
25204         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
25205         (efx8): Remove variable.
25206         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25207         case.  Ensure exception if result actually underflows.
25208         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
25209         (efx8): Remove variable.
25210         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25211         case.  Ensure exception if result actually underflows.
25212         * math/auto-libm-test-in: Add more tests of erf.
25213         * math/auto-libm-test-out: Regenerated.
25215 2014-05-14  Andreas Schwab  <schwab@suse.de>
25217         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
25218         Remove code conditionalized on USE___THREAD.
25220         * config.h.in (HAVE_PT_CHOWN): Define as 0.
25221         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
25222         not definedness.
25224 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25226         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
25227         Define unconditionally.
25228         (__ASSUME_O_CLOEXEC): Likewise.
25229         (__ASSUME_SOCK_CLOEXEC): Likewise.
25230         (__ASSUME_IN_NONBLOCK): Likewise.
25231         (__ASSUME_PIPE2): Likewise.
25232         (__ASSUME_EVENTFD2): Likewise.
25233         (__ASSUME_SIGNALFD4): Likewise.
25234         (__ASSUME_DUP3): Likewise.
25235         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25236         (__ASSUME_DUP3): Do not define.
25237         (__ASSUME_EVENTFD2): Likewise.
25238         (__ASSUME_IN_NONBLOCK): Likewise.
25239         (__ASSUME_O_CLOEXEC): Likewise.
25240         (__ASSUME_PIPE2): Likewise.
25241         (__ASSUME_SIGNALFD4): Likewise.
25242         (__ASSUME_SOCK_CLOEXEC): Likewise.
25243         (__ASSUME_UTIMES): Undefine.
25244         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25245         (__ASSUME_UTIMES): Do not define.
25246         (__ASSUME_O_CLOEXEC): Likewise.
25247         (__ASSUME_SOCK_CLOEXEC): Likewise.
25248         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
25249         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
25250         0x020621].
25251         (__ASSUME_PIPE2): Likewise.
25252         (__ASSUME_EVENTFD2): Likewise.
25253         (__ASSUME_SIGNALFD4): Likewise.
25254         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
25255         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
25256         Do not define.
25257         (__ASSUME_EVENTFD2): Likewise.
25258         (__ASSUME_SIGNALFD4): Likewise.
25259         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25260         (__ASSUME_32BITUIDS): Likewise.
25261         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25262         (__ASSUME_IPC64): Likewise.
25263         (__ASSUME_ST_INO_64_BIT): Likewise.
25264         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
25265         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
25266         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25267         (__ASSUME_UTIMES): Do not define.
25268         (__ASSUME_PSELECT): Likewise.
25269         (__ASSUME_PPOLL): Likewise.
25270         (__ASSUME_O_CLOEXEC): Likewise.
25271         (__ASSUME_SOCK_CLOEXEC): Likewise.
25272         (__ASSUME_IN_NONBLOCK): Likewise.
25273         (__ASSUME_PIPE2): Likewise.
25274         (__ASSUME_EVENTFD2): Likewise.
25275         (__ASSUME_SIGNALFD4): Likewise.
25276         (__ASSUME_DUP3): Likewise.
25277         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25278         (__ASSUME_UTIMES): Likewise.
25279         (__ASSUME_O_CLOEXEC): Likewise.
25280         (__ASSUME_SOCK_CLOEXEC): Likewise.
25281         (__ASSUME_IN_NONBLOCK): Likewise.
25282         (__ASSUME_PIPE2): Likewise.
25283         (__ASSUME_EVENTFD2): Likewise.
25284         (__ASSUME_SIGNALFD4): Likewise.
25285         (__ASSUME_DUP3): Likewise.
25286         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25287         (__ASSUME_UTIMES): Likewise.
25288         (__ASSUME_O_CLOEXEC): Likewise.
25289         (__ASSUME_SOCK_CLOEXEC): Likewise.
25290         (__ASSUME_IN_NONBLOCK): Likewise.
25291         (__ASSUME_PIPE2): Likewise.
25292         (__ASSUME_EVENTFD2): Likewise.
25293         (__ASSUME_SIGNALFD4): Likewise.
25294         (__ASSUME_DUP3): Likewise.
25295         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
25296         Likewise.
25297         (__ASSUME_UTIMES): Likewise.
25298         (__ASSUME_EVENTFD2): Likewise.
25299         (__ASSUME_SIGNALFD4): Likewise.
25300         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25301         (__ASSUME_O_CLOEXEC): Likewise.
25302         (__ASSUME_SOCK_CLOEXEC): Likewise.
25303         (__ASSUME_IN_NONBLOCK): Likewise.
25304         (__ASSUME_PIPE2): Likewise.
25305         (__ASSUME_EVENTFD2): Likewise.
25306         (__ASSUME_SIGNALFD4): Likewise.
25307         (__ASSUME_DUP3): Likewise.
25308         (__ASSUME_UTIMES): Undefine.
25310         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
25311         feclearexcept.  Remove symbol versioning code.
25312         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
25313         symbol versioning code.
25314         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
25315         symbol versioning code.
25316         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
25317         feupdateenv.  Remove symbol versioning code.
25318         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
25319         fegetexceptflag.  Remove symbol versioning code.
25320         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
25321         fesetexceptflag.  Remove symbol versioning code.
25322         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
25323         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
25324         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
25325         (__posix_fadvise64_l32): Remove prototype.
25326         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
25327         code.
25329 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25331         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
25332         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
25333         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
25334         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
25336 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
25338         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
25339         current working directory
25341 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25343         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
25344         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
25345         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
25346         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
25347         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
25348         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
25349         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
25350         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
25351         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
25352         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
25353         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
25354         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
25355         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
25356         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
25357         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
25358         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
25359         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
25360         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
25361         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
25362         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
25363         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
25364         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
25365         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
25366         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
25367         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
25368         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
25369         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
25370         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
25371         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
25372         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
25373         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
25374         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
25375         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
25376         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
25377         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
25378         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
25379         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
25380         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
25381         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
25382         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
25383         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
25384         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
25386         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
25387         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
25389         * sysdeps/unix/sysv/linux/arm/Makefile
25390         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25391         Add rt-aeabi_unwind_cpp_pr1.
25392         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
25393         Add nptl-aeabi_unwind_cpp_pr1.
25394         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
25395         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
25396         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
25397         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25398         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
25399         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25401         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
25402         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
25403         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
25404         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
25406         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
25407         Deconditionalize the code that was previously under [RESET_PID].
25408         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
25410         * sysdeps/generic/exit-thread.h: New file.
25411         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
25412         * include/unistd.h (__exit_thread): Remove declaration.
25413         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
25414         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
25415         * csu/libc-start.c: Include <exit-thread.h>.
25416         (LIBC_START_MAIN): Pass no argument to __exit_thread.
25417         * nptl/pthread_create.c: Include <exit-thread.h>.
25418         (start_thread): Call __exit_thread in place of __exit_thread_inline.
25419         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
25420         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
25421         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
25422         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
25423         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
25424         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
25425         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
25426         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
25427         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
25428         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
25429         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
25430         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
25431         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
25432         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
25433         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
25434         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
25436 2014-05-13  Andreas Schwab  <schwab@suse.de>
25438         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
25440 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
25442         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25443         (__ASSUME_UTIMES): Do not condition on kernel version.
25444         (__ASSUME_PSELECT): Define unconditionally.
25445         (__ASSUME_PPOLL): Likewise.
25446         (__ASSUME_ATFCTS): Likewise.
25447         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
25448         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
25449         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
25450         (__ASSUME_UTIMENSAT): Define unconditionally.
25451         (__ASSUME_PRIVATE_FUTEX): Likewise.
25452         (__ASSUME_FALLOCATE): Likewise.
25453         (__ASSUME_O_CLOEXEC): Likewise.
25454         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
25455         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
25456         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
25457         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
25458         (__ASSUME_IN_NONBLOCK): Likewise.
25459         (__ASSUME_PIPE2): Likewise.
25460         (__ASSUME_EVENTFD2): Likewise.
25461         (__ASSUME_SIGNALFD4): Likewise.
25462         (__ASSUME_DUP3): Likewise.
25463         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25464         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
25465         (__ASSUME_AT_RANDOM): Likewise.
25466         (__ASSUME_PREADV): Likewise.
25467         (__ASSUME_PWRITEV): Likewise.
25468         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
25469         (__ASSUME_F_GETOWN_EX): Define unconditionally.
25470         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
25471         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25472         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
25473         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25474         (__ASSUME_O_CLOEXEC): Define unconditionally.
25475         (__ASSUME_PSELECT): Do not undefine conditionally.
25476         (__ASSUME_PPOLL): Likewise.
25477         (__ASSUME_ATFCTS): Likewise.
25478         (__ASSUME_SET_ROBUST_LIST): Likewise.
25479         (__ASSUME_UTIMENSAT): Likewise.
25480         (__ASSUME_FDATASYNC): Define unconditionally.
25481         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25482         (__ASSUME_SIGFRAME_V2): Likewise.
25483         )__ASSUME_EVENTFD2): Likewise.
25484         (__ASSUME_SIGNALFD4): Likewise.
25485         (__ASSUME_PSELECT): Do not undefine conditionally.
25486         (__ASSUME_PPOLL): Likewise.
25487         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25488         (__ASSUME_PSELECT): Define unconditionally.
25489         (__ASSUME_PPOLL): Likewise.
25490         (__ASSUME_O_CLOEXEC): Likewise.
25491         (__ASSUME_SOCK_CLOEXEC): Likewise.
25492         (__ASSUME_IN_NONBLOCK): Likewise.
25493         (__ASSUME_PIPE2): Likewise.
25494         (__ASSUME_EVENTFD2): Likewise.
25495         (__ASSUME_SIGNALFD4): Likewise.
25496         (__ASSUME_DUP3): Likewise.
25497         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25498         (__ASSUME_O_CLOEXEC): Likewise.
25499         (__ASSUME_SOCK_CLOEXEC): Likewise.
25500         (__ASSUME_IN_NONBLOCK): Likewise.
25501         (__ASSUME_PIPE2): Likewise.
25502         (__ASSUME_EVENTFD2): Likewise.
25503         (__ASSUME_SIGNALFD4): Likewise.
25504         (__ASSUME_DUP3): Likewise.
25505         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25506         (__ASSUME_EVENTFD2): Likewise.
25507         (__ASSUME_SIGNALFD4): Likewise.
25508         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25510 2014-05-12  Andreas Schwab  <schwab@suse.de>
25512         [BZ #16932]
25513         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
25514         (_nss_nis_gethostbyname4_r): Return error if item length is larger
25515         than maximum RPC packet size.
25516         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
25517         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
25518         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
25519         (_nss_nis_getservbyport_r): Likewise.
25521 2014-05-12  Will Newton  <will.newton@linaro.org>
25523         * malloc/Makefile (tests): Add tst-mallopt.
25524         * malloc/tst-mallopt.c: New file.
25526 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25528         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
25529         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
25531 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25533         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
25534         (tst-tlsmod6.so): Likewise.
25536 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25538         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
25540 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
25542         [BZ #16064]
25543         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
25544         and <dl-procinfo.h>.
25545         (__fegetenv): Save SSE state in envp->__eip if supported.
25546         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
25547         envp->__eip if supported.
25548         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
25549         and <dl-procinfo.h>.
25550         (__fesetenv): Always set __eip, __cs_selector, __opcode,
25551         __data_offset and __data_selector in environment to 0.  Set SSE
25552         state if supported.
25553         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25554         test-fenv-sse.
25555         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
25556         -mfpmath=sse.
25557         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
25559 2014-05-09  Will Newton  <will.newton@linaro.org>
25561         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
25562         and libc_relro_required for ARM.
25563         * sysdeps/arm/preconfigure: Regenerate.
25565 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
25566             Stefan Liebler  <stli@linux.vnet.ibm.com>
25568         * config.make.in (enable-lock-elision): New Makefile variable.
25569         * configure.ac: Likewise.
25570         * configure: Regenerate.
25571         * sysdeps/s390/configure.ac:
25572         Add check for gcc transactions support.
25573         * sysdeps/s390/configure: Regenerate.
25574         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
25575         Build elision files if enabled.
25576         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
25577         Add lock elision support for s390.
25578         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25579         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
25580         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
25581         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25582         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
25583         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25584         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25585         Likewise.
25586         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
25587         Likewise.
25588         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
25589         Likewise.
25590         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
25591         Likewise.
25592         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
25593         (__lll_timedlock_elision, __lll_lock_elision)
25594         (__lll_unlock_elision, __lll_trylock_elision)
25595         (lll_timedlock_elision, lll_lock_elision)
25596         (lll_unlock_elision, lll_trylock_elision): Add.
25597         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25598         (pthread_mutex_t): Add lock elision support for s390.
25600 2014-05-14  Wilco  <wdijkstr@arm.com>
25602         * sysdeps/arm/fclrexcpt.c: Cleanup.
25603         * sysdeps/arm/fedisblxcpt.c: Cleanup.
25604         * sysdeps/arm/feenablxcpt.c: Cleanup.
25605         * sysdeps/arm/fegetenv.c: Cleanup.
25606         * sysdeps/arm/fegetexcept.c: Cleanup.
25607         * sysdeps/arm/fegetround.c: Cleanup.
25608         * sysdeps/arm/feholdexcpt.c: Cleanup.
25609         * sysdeps/arm/fesetenv.c: Cleanup.
25610         * sysdeps/arm/fesetround.c: Cleanup.
25611         * sysdeps/arm/feupdateenv.c: Cleanup.
25612         * sysdeps/arm/fgetexcptflg.c: Cleanup.
25613         * sysdeps/arm/fraiseexcpt.c: Cleanup.
25614         * sysdeps/arm/fsetexcptflg.c: Cleanup.
25615         * sysdeps/arm/ftestexcept.c: Cleanup.
25616         * sysdeps/arm/get-rounding-mode.h: Cleanup.
25617         * sysdeps/arm/setfpucw.c: Cleanup.
25619 2014-05-09  Will Newton  <will.newton@linaro.org>
25621         * sysdeps/arm/armv7/strcmp.S: New file.
25622         * NEWS: Mention addition of ARMv7 optimized strcmp.
25624 2014-05-08  Roland McGrath  <roland@hack.frob.com>
25626         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
25627         look for %.ac rather than %.in.
25629         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
25630         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
25631         * sysdeps/mach/hurd/configure: Regenerated.
25632         * sysdeps/unix/sysv/linux/configure: Regenerated.
25634         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
25636 2014-05-07  Steve Ellcey  <sellcey@mips.com>
25638         [BZ# 16922]
25639         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
25640         (LONG_SUB): Ditto.
25641         (PTR_SUB): Ditto.
25643 2014-05-07  Andreas Schwab  <schwab@suse.de>
25645         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
25646         when skipping over non-matching result from nscd.
25648 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
25650         [BZ #16876]
25651         * nptl/sockperf.c (client): Check socket return value.
25653         [BZ #16877]
25654         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
25655         nscd security class.
25657 2014-05-06  Roland McGrath  <roland@hack.frob.com>
25659         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
25660         * sysdeps/arm/unwind.h: ... here.
25662 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
25664         [BZ# 16916]
25665         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
25666         Define.
25668 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25670         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
25671         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
25672         multiarch strncpy for PPC64.
25673         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
25674         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
25675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
25676         multiarch optimizations.
25677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25678         (__libc_ifunc_impl_list): Likewise.
25679         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
25680         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
25681         multiarch stpncpy for PPC64.
25682         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
25683         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
25685 2014-05-06  Andreas Schwab  <schwab@suse.de>
25687         [BZ #16912]
25688         * gmon/mcount.c (_MCOUNT_DECL): Use
25689         atomic_compare_and_exchange_bool_acq instead of
25690         catomic_compare_and_exchange_bool_acq.
25692 2014-05-05  Roland McGrath  <roland@hack.frob.com>
25694         * elf/Makefile (others, install-bin): Remove pldd.
25695         (pldd-modules): Variable removed.
25696         ($(objpfx)pldd): Target removed.
25697         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
25698         (others, install-bin): Append pldd here.
25699         ($(objpfx)pldd): New target.
25701         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
25702         to 0, so the first #if test emitted later doesn't see it undefined.
25703         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
25704         * sysdeps/gnu/errlist.c: Regenerated.
25706 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25708         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25709         [libc_hidden_builtin_def]: Define to empty value.
25710         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
25711         [libc_hidden_builtin_def]: Likewise.
25712         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
25713         [libc_hidden_builtin_def]: Likewise.
25714         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
25715         [libc_hidden_builtin_def]: Likewise.
25716         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
25717         __redirect_memcpy and define ifunc as default hidden symbol.
25718         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
25719         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
25721 2014-05-04  Adam Conrad  <adconrad@0c3.net>
25723         * locale/iso-4217.def: Reintroduce XDR currency.
25725 2014-05-04  Allan McRae  <allan@archlinux.org>
25727         * po/eo.po: Update Esperanto translation from translation project.
25729 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
25731         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
25732         and FEATURE_INDEX_MAX to 1.
25733         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
25735 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25737         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
25738         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
25739         * iconvdata/big5.c (ONE_DIRECTION): Define.
25740         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
25741         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
25742         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
25743         * iconvdata/cp932.c (ONE_DIRECTION): Define.
25744         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
25745         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
25746         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
25747         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
25748         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
25749         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
25750         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
25751         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
25752         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
25753         * iconvdata/gbk.c (ONE_DIRECTION): Define.
25754         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
25755         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
25756         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
25757         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
25758         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
25759         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
25760         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
25761         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
25762         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
25763         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
25764         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
25765         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
25766         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
25767         * iconvdata/iso646.c (ONE_DIRECTION): Define.
25768         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
25769         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
25770         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
25771         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
25772         * iconvdata/johab.c (ONE_DIRECTION): Define.
25773         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
25774         * iconvdata/sjis.c (ONE_DIRECTION): Define.
25775         * iconvdata/t.61.c (ONE_DIRECTION): Define.
25776         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
25777         * iconvdata/tscii.c (ONE_DIRECTION): Define.
25778         * iconvdata/uhc.c (ONE_DIRECTION): Define.
25779         * iconvdata/unicode.c (ONE_DIRECTION): Define.
25780         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
25781         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
25782         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
25784 2014-05-01  Roland McGrath  <roland@hack.frob.com>
25786         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
25787         (_IO_JUMPS_OFFSET): Define to 0.
25789         * nptl/sysdeps/pthread/bits/libc-lock.h
25790         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25791         (__libc_lock_define_initialized_recursive): Always define using
25792         initializer.  Modern compilers treat uninitialized (implicit zero) and
25793         explicit zero initializers the same (i.e. put the datum in bss).
25795 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25797         * nscd/nscd-client.h: Include <string.h>.
25799 2014-05-01  David S. Miller  <davem@davemloft.net>
25801         [BZ #16885]
25802         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
25803         multiple zero bytes exist at the end of a string.
25804         Reported by Aurelien Jarno <aurelien@aurel32.net>
25806         * string/test-strcmp.c (check): Add explicit test for situations where
25807         there are multiple zero bytes after the first.
25809 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25811         [BZ #16890]
25812         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
25813         when compiling wprintf.
25814         * stdio-common/tstdiomisc.c (t3): New function.
25815         (main): Call it.
25817 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25819         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
25820         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
25821         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
25822         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
25824 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25826         * stdlib/longlong.h: Updated from GCC.
25828 2014-05-01  Will Newton  <will.newton@linaro.org>
25829             Bernard Ogden  <bernie.ogden@linaro.org>
25831         * NEWS: Update fixed bug list.
25833         [BZ #15119]
25834         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
25836 2014-04-30  David S. Miller  <davem@davemloft.net>
25838         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
25839         (libc_feholdexcept_setround_sparc_ctx): New function.
25840         (libc_fesetenv_sparc_ctx): Likewise.
25841         (libc_feupdateenv_sparc_ctx): Likewise.
25842         (libc_feholdsetround_sparc_ctx): Likewise.
25843         (libc_feholdexcept_setround_ctx): Define.
25844         (libc_feholdexcept_setroundf_ctx): Likewise.
25845         (libc_feholdexcept_setroundl_ctx): Likewise.
25846         (libc_fesetenv_ctx): Likewise.
25847         (libc_fesetenvf_ctx): Likewise.
25848         (libc_fesetenvl_ctx): Likewise.
25849         (libc_feupdateenv_ctx): Likewise.
25850         (libc_feupdateenvf_ctx): Likewise.
25851         (libc_feupdateenvl_ctx): Likewise.
25852         (libc_feresetround_ctx): Likewise.
25853         (libc_feresetroundf_ctx): Likewise.
25854         (libc_feresetroundl_ctx): Likewise.
25855         (libc_feholdsetround_ctx): Likewise.
25856         (libc_feholdsetroundf_ctx): Likewise.
25857         (libc_feholdsetroundl_ctx): Likewise.
25859         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25860         with __USE_GNU instead of XOPEN cpp guards.
25862         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
25863         0.
25865         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25866         with XOPEN cpp guards.
25868 2014-04-30  Julian Brown  <julian@codesourcery.com>
25870         [BZ #16888]
25871         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
25872         handling.
25874 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
25876         [BZ #9894]
25877         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
25878         Change to 2.6.32.
25879         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
25880         * sysdeps/unix/sysv/linux/configure: Regenerated.
25881         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
25882         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
25883         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
25884         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
25885         * README: Update reference to required Linux kernel version.
25886         * manual/install.texi (Linux): Update reference to required Linux
25887         kernel headers version.
25888         * INSTALL: Regenerated.
25890         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
25891         header inclusion.
25892         [POSIX] (limits.h): Likewise.
25893         [POSIX] (math.h): Likewise.
25894         [POSIX] (sys/wait.h): Likewise.
25895         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
25896         function.
25897         [POSIX] (stddef.h): Do not allow header inclusion.
25899 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25901         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
25903 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
25905         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25906         Return immediately after lll_futex_wake.
25908 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25910         [BZ #16791]
25911         * nscd/nscd-client.h (datahead_init_common): Initialize entire
25912         structure.
25913         (datahead_init_pos): Call datahead_init_common early.
25914         (datahead_init_neg): Likewise.
25916         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
25917         datahead_init_neg): New functions.
25918         * nscd/aicache.c (addhstaiX): Use them.
25919         * nscd/grpcache.c (cache_addgr): Likewise.
25920         * nscd/hstcache.c (cache_addhst): Likewise.
25921         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25922         * nscd/netgroupcache.c (do_notfound): Likewise.
25923         (addgetnetgrentX): Likewise.
25924         (addinnetgrX): Likewise.
25925         * nscd/pwdcache.c (cache_addpw): Likewise.
25926         * nscd/servicescache.c (cache_addserv): Likewise.
25928 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25929             Atsushi Onoe  <atsushi@onoe.org>
25931         [BZ #14308]
25932         [BZ #12994]
25933         [BZ #13651]
25934         * resolv/res_query.c (__libc_res_nsearch): Return if at least
25935         one response is valid.
25936         * resolv/res_send.c (send_dg): Check for validity of other
25937         response if the current response is a referral.
25939 2014-04-29  Steve Ellcey  <sellcey@mips.com>
25941         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
25943 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
25945         [BZ #16823]
25946         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
25947         Always divide by positive zero when computing -Inf result.
25948         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25949         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25951 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25953         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
25954         FPSCR if value do not change.
25955         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25956         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
25957         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25958         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25959         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
25960         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
25961         function.
25963 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
25965         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
25966         * sysdeps/unix/sysv/linux/hppa: Move directory from
25967         ports/systeps/unix/sysv/linux/hppa.
25968         * README: Update listing for hppa-*-linux-gnu.
25970 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
25972         [BZ #16754]
25973         * manual/stdio.texi (Hook functions): Fix types of stream hook
25974         functions.
25975         [BZ #16854]
25976         * socket/sys/socket.h: Fix typo in comment.
25978 2014-04-28  Wilco  <wdijkstr@arm.com>
25980         * sysdeps/arm/fenv_private.h: New file.
25981         * sysdeps/arm/math_private.h: New file.
25982         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
25984 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
25986         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
25987         with __int128_t.
25988         (La_x86_64_retval): Likewise.
25990 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
25992         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
25993         fpsr if value didn't change.
25994         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
25995         to fpcr if value didn't change.
25996         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
25997         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
25998         fpsr or fpcr if value didn't change.
25999         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
26000         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
26001         fpcr if value didn't change.
26002         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
26003         to fpsr if value didn't change.
26005 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26007         * nptl/tst-sem3.c: Use test-skeleton.c
26008         (main): Rename to do_test.  Use return instead of
26009         exit.
26010         * nptl/tst-sem4.c: Use test-skeleton.c
26011         (main): Rename to do_test.
26013 2014-04-22  David S. Miller  <davem@davemloft.net>
26015         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
26016         (struct sigaction): New struct member __glibc_reserved0, change
26017         type of sa_flags to int.
26019 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
26021         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
26022         (COUNT_LEADING_ZEROS_0): Define for AArch64.
26024 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26026         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
26027         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
26029 2014-04-22  Will Newton  <will.newton@linaro.org>
26030             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
26032         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
26033         (__longjmp): Add longjmp and longjmp_target SystemTap
26034         probes.
26035         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
26036         (__sigsetjmp): Add setjmp SystemTap probe.
26038 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
26040         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
26041         match manual order.
26043 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26045         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
26047         * sysdeps/powerpc/fpu/fenv_private.h
26048         (libc_feholdexcept_setroundl_ctx): Define to
26049         libc_feholdexcept_setround_ppc_ctx.
26050         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
26051         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
26052         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
26053         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
26055 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26057         * sysdeps/aarch64/math-tests.h: New file.
26059 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
26061         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
26062         New.
26063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26064         Check and set bit_AVX2_Usable.
26065         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
26066         macro.
26067         (bit_AVX2): Likewise.
26068         (index_AVX2_Usable): Likewise.
26069         (CPUID_AVX2): Likewise.
26070         (HAS_AVX2): Likewise.
26072 2014-04-17  Will Newton  <will.newton@linaro.org>
26074         * manual/setjmp.texi (System V contexts): Add note that
26075         calling setcontext on a context created by a call to a
26076         signal handler is undefined.  Update text to note that
26077         setcontext from a signal handler is possible but not
26078         recommended.
26080         [BZ #16629]
26081         * stdlib/tst-setcontext.c: Include signal.h.
26082         (main): Check that the signal stack before and
26083         after swapcontext is the same.
26085         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
26086         Re-implement to restore registers in user code and avoid
26087         rt_sigreturn system call.
26089 2014-04-17  Wilco  <wdijkstr@arm.com>
26091         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
26092         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
26093         * math/test-fenv.c: Skip exception trap tests on targets which only
26094         support non-stop mode.
26096 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26097             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26099         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
26100         (libc_feholdsetround_aarch64_ctx)
26101         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
26102         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
26103         (libc_feresetround_ctx, libc_feresetroundf_ctx)
26104         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
26105         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
26106         (libc_feresetround_noexl_ctx): Define.
26108 2014-04-16  Richard Henderson  <rth@redhat.com>
26110         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
26112         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
26113         unwind tables.
26115         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
26116         const from the non-libc, non-ldso copy.
26118         * sysdeps/alpha/libm-test-ulps: Regenerate.
26120 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
26121             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26123         * sysdeps/aarch64/fpu/math_private.h: New file.
26125 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26127         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26129 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
26131         [BZ #16275]
26132         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
26133         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
26134         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
26135         Intel MPX bound registers before _dl_profile_fixup.
26136         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
26137         registers after _dl_profile_fixup.  Save and restore bound
26138         registers bnd0/bnd1 when calling _dl_call_pltexit.
26139         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
26140         (LR_BND_OFFSET): Likewise.
26141         (LRV_BND0_OFFSET): Likewise.
26142         (LRV_BND1_OFFSET): Likewise.
26144 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26146         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
26147         to...
26148         * sysdeps/mach/hurd/i386/tls.h: ... here.
26149         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
26150         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
26151         fields.
26153 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26155         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
26157 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26159         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26161 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26163         [BZ #14770]
26164         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
26165         * sysdeps/s390/configure: Regenerate.
26167         [BZ #16824]
26168         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
26169         Set round-to-nearest internally to reduce error accumulation.
26171 2014-04-16  Alan Modra  <amodra@gmail.com>
26173         [BZ #16740]
26174         [BZ #16619]
26175         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
26176         * math/libm-test.inc (frexp_test_data): Add tests.
26177         * NEWS: Update fixed bug list.
26179 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26181         * benchtests/Makefile: Depend on libraries in build directory.
26182         (bench-math): Separate out math tests.
26183         (bench-pthread): Separate out pthread tests.
26184         (bench): Include math and pthread tests.
26186 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
26188         [BZ #16831]
26189         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
26190         _dl_debug_initialize.
26192         * configure.ac: Remove SELinux header check.
26193         * configure: Regenerate.
26194         * nscd/selinux.c (perms): Array of const char* to permission names.
26195         (nscd_request_avc_has_perm): Call security_deny_unknown to find
26196         default policy. Call string_to_security_class and string_to_av_perm to
26197         translate strings. Enforce default policy and call avs_has_perm with
26198         results of translated strings.
26200 2014-04-13  David S. Miller  <davem@davemloft.net>
26202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26204 2014-04-12  Allan McRae  <allan@archlinux.org>
26206         [BZ #16838]
26207         * manual/string.texi (Collation Functions): Fix qsort argument
26208         order in example.
26209         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26211 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
26213         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
26214         Make the test a no-op if there are no exceptions defined.
26216 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26218         * elf/Makefile (tests): make tst-dlopen-aout conditional on
26219         enable-hardcoded-path-in-tests
26221 2014-04-11  Will Newton  <will.newton@linaro.org>
26223         * benchtests/Makefile (extra-objs): Add json-lib.o.
26224         (bench-func): Tidy up JSON output.
26225         * benchtests/bench-skeleton.c: Include json-lib.h.
26226         (main): Use JSON library functions to do output of
26227         benchmark results.
26228         * benchtests/bench-timing-type.c (main): Output the
26229         timing type simply, leaving formatting to the user.
26230         * benchtests/json-lib.c: New file.
26231         * benchtests/json-lib.h: Likewise.
26233 2014-04-11  Torvald Riegel  <triegel@redhat.com>
26235         [BZ #15215]
26236         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
26237         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
26238         memory barriers.  Add comments.
26239         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
26240         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
26241         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
26242         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
26243         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
26244         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
26246 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26248         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
26249         * sysdeps/s390/s390-64/configure.ac: ... this ...
26250         * sysdeps/s390/configure.ac: ... to here.
26251         * sysdeps/s390/s390-32/configure: Delete file.
26252         * sysdeps/s390/s390-64/configure: Delete file.
26253         * sysdeps/s390/configure: Regenerate.
26255 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
26257         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
26259 2014-04-11  Will Newton  <will.newton@linaro.org>
26261         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
26262         to zero if it is not defined elsewhere.  (mtrim): Test
26263         the value of MALLOC_DEBUG with #if rather than #ifdef.
26265 2014-04-10 Torvald Riegel  <triegel@redhat.com>
26267         * benchtests/pthread_once-inputs: New file.
26268         * benchtests/pthread_once-source.c: New file.
26269         * benchtests/README: Update documentation.
26271 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26272             H.J. Lu  <hongjiu.lu@intel.com>
26274         [BZ #16275]
26275         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
26276         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
26277         * sysdeps/x86_64/configure: Regenerated.
26278         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
26279         macro.
26280         (REGISTER_SAVE_RAX): Likewise.
26281         (REGISTER_SAVE_RCX): Likewise.
26282         (REGISTER_SAVE_RDX): Likewise.
26283         (REGISTER_SAVE_RSI): Likewise.
26284         (REGISTER_SAVE_RDI): Likewise.
26285         (REGISTER_SAVE_R8): Likewise.
26286         (REGISTER_SAVE_R9): Likewise.
26287         (REGISTER_SAVE_BND0): Likewise.
26288         (REGISTER_SAVE_BND1): Likewise.
26289         (REGISTER_SAVE_BND2): Likewise.
26290         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
26291         bound registers when calling _dl_fixup.
26293 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26295         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
26296         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
26297         of its definition.
26298         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
26299         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
26300         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
26301         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
26302         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
26303         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
26304         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
26306 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
26308         [BZ #15514]
26309         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
26310         pathconf(_PC_NAME_MAX).
26312 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26314         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
26315         Remove macro usage.
26316         (__PTHREAD_SPINS): Move definition to ...
26317         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26318         (__PTHREAD_SPINS): ... here.
26319         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26320         (__PTHREAD_SPIN): Likewise.
26321         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
26322         (__PTHREAD_SPIN): Likewise.
26323         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
26324         (__PTHREAD_SPIN): Likewise.
26325         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
26326         (__PTHREAD_SPIN): Likewise.
26327         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26328         (__PTHREAD_SPIN): Likewise.
26329         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26330         (__PTHREAD_SPIN): Likewise.
26331         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
26332         (__PTHREAD_SPIN): Likewise.
26333         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26334         (__PTHREAD_SPIN): Likewise.
26335         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26336         (__PTHREAD_SPIN): Likewise.
26337         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26338         (__PTHREAD_SPIN): Likewise.
26339         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26340         (__PTHREAD_SPIN): Likewise.
26341         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
26342         (__PTHREAD_SPIN): Likewise.
26344         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
26345         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
26346         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
26347         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
26348         imply folder.
26349         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
26350         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
26351         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
26352         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
26353         correct imply path.
26354         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
26355         strlen symbol for non multi-arch builds.
26356         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
26357         missing hidden_def and weak_alias.
26359 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
26361         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
26363 2014-04-07  Will Newton  <will.newton@linaro.org>
26365         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
26366         and contents.  [!_LIBC] Remove #ifndef and contents.
26367         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
26368         * string/memccpy.c (__memccpy): Use ANSI prototype.
26369         * string/memfrob.c (memfrob): Likewise.
26370         * string/strcoll.c (STRCOLL): Likewise.
26371         * string/strlen.c (strlen): Likewise.
26372         * string/strtok.c (STRTOK): Likewise.
26373         * string/strcat.c: Remove unused #include of memcopy.h.
26374         (strcat): Use ANSI prototype.
26375         * string/strchr.c: Remove unused #include of memcopy.h.
26376         (strchr): Use ANSI prototype.
26377         * string/strcmp.c: Remove unused #include of memcopy.h.
26378         (strcmp): Use ANSI prototype.
26379         * string/strcpy.c: Remove unused #include of memcopy.h.
26380         (strcpy): Use ANSI prototype.
26382 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26384         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
26385         * config.make.in (config-extra-cppflags): Set it from
26386         libc_extra_cppflags.
26387         * configure.ac (libc_extra_cflags): Make it accumulate over
26388         configure fragments.
26389         (libc_extra_cppflags): New flag.
26390         * configure. Regenerate.
26391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26392         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
26393         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
26394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26396         [BZ #16815]
26397         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
26398         result for FE_DOWNWARD rounding mode.
26399         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26400         Likewise.
26401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26403 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
26405         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
26406         in function argument name.
26408 2014-04-03  David Svoboda  <svoboda@cert.org>
26410         [BZ #5666]
26411         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
26412         explicitly.
26414 2014-04-03  Roland McGrath  <roland@hack.frob.com>
26416         * elf/dl-unmap-segments.h: New file.
26417         * sysdeps/generic/ldsodefs.h
26418         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
26419         * elf/dl-close.c: Include <dl-unmap-segments.h>.
26420         * elf/dl-fptr.c: Likewise.
26421         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
26422         * sysdeps/aarch64/tlsdesc.c: Likewise.
26423         * sysdeps/arm/tlsdesc.c: Likewise.
26424         * sysdeps/i386/tlsdesc.c: Likewise.
26425         * sysdeps/tile/dl-runtime.c: Likewise.
26426         * sysdeps/x86_64/tlsdesc.c: Likewise.
26427         * elf/dl-load.h: New file.
26428         * elf/dl-load.c: Include it.
26429         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
26430         Macros moved to dl-load.h.
26431         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
26432         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
26433         Use _dl_unmap_segments in place of __munmap.
26434         Break out segment-mapping loop into ...
26435         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
26437 2014-04-03  Will Newton  <will.newton@linaro.org>
26439         * elf/dl-lookup.c (do_lookup_x): Remove comment
26440         referring to nested function and move variable
26441         declarations down to before first use.
26443 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
26445         [BZ #16799]
26446         [BZ #16800]
26447         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
26448         with 0 numerator.
26449         * math/s_catanf.c (__catanf): Likewise.
26450         * math/s_catanh.c (__catanh): Likewise.
26451         * math/s_catanhf.c (__catanhf): Likewise.
26452         * math/s_catanhl.c (__catanhl): Likewise.
26453         * math/s_catanl.c (__catanl): Likewise.
26454         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
26455         by positive zero when computing -Inf result.
26456         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
26457         (catanh_test): Likewise.
26458         * sysdeps/i386/fpu/libm-test-ulps: Update.
26459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26461         [BZ #16789]
26462         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
26463         instead of using underflowing value in computing result.
26464         * math/s_clog10.c (__clog10): Likewise.
26465         * math/s_clog10f.c (__clog10f): Likewise.
26466         * math/s_clog10l.c (__clog10l): Likewise.
26467         * math/s_clogf.c (__clogf): Likewise.
26468         * math/s_clogl.c (__clogl): Likewise.
26469         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
26470         (clog10_test): Likewise.
26471         * sysdeps/i386/fpu/libm-test-ulps: Update.
26472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26474 2014-04-02  Alan Modra  <amodra@gmail.com>
26476         [BZ #16739]
26477         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
26478         output when value is near a power of two.  Use int64_t for lx and
26479         remove casts.  Use decimal rather than hex exponent constants.
26480         Don't use long double multiplication when double will suffice.
26481         * math/libm-test.inc (nextafter_test_data): Add tests.
26482         * NEWS: Add 16739 and 16786 to bug list.
26484         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
26486         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
26488 2014-04-01  Will Newton  <will.newton@linaro.org>
26490         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
26491         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
26493 2014-04-01  Florian Weimer  <fweimer@redhat.com>
26495         [BZ #13347]
26496         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
26497         * nptl/tst-setuid2.c: New file.
26498         * nptl/Makefile (xtests): Add tst-setuid2.
26500 2014-04-01  Alan Modra  <amodra@gmail.com>
26502         [BZ #16786]
26503         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
26505 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26507         [BZ #6803]
26508         [BZ #6804]
26509         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
26510         set errno as appropriate.
26511         * math/w_scalbf.c (__scalbf): Likewise.
26512         * math/w_scalbl.c (__scalbl): Likewise.
26513         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
26514         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
26515         * math/libm-test.inc (scalb_test_data): Add errno expectations.
26516         Add more NaN tests.
26518         [BZ #16349]
26519         * math/w_atan2.c: Include <errno.h>.
26520         (__atan2): Set errno for result underflowing to zero.
26521         * math/w_atan2f.c: Include <errno.h>.
26522         (__atan2f): Set errno for result underflowing to zero.
26523         * math/w_atan2l.c: Include <errno.h>.
26524         (__atan2l): Set errno for result underflowing to zero.
26525         * math/auto-libm-test-in: Don't allow missing errno for some atan2
26526         tests.
26527         * math/auto-libm-test-out: Regenerated.
26529 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26531         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26532         Encode instruction correctly in little endian.
26533         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26534         Likewise.
26535         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26536         Likewise.
26537         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26538         Likewise.
26539         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26540         Likewise.
26542 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26544         [BZ #9894]
26545         * sysdeps/unix/sysv/linux/kernel-features.h
26546         [__sparc__ && !__arch64__ && !__sparc_v9__]
26547         (__ASSUME_SET_ROBUST_LIST): Do not define.
26548         [__sparc__ && !__arch64__ && !__sparc_v9__]
26549         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26550         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
26551         Likewise.
26552         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26553         (__ASSUME_FUTEX_LOCK_PI): Undefine.
26554         (__ASSUME_REQUEUE_PI): Likewise.
26555         (__ASSUME_SET_ROBUST_LIST): Likewise.
26556         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26557         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
26558         Undefine.
26559         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26560         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
26561         Likewise.
26562         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
26563         Likewise.
26564         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
26565         Likewise.
26566         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26567         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
26568         Undefine.
26569         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
26570         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
26571         Likewise.
26573         [BZ #16648]
26574         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26575         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
26576         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
26578 2014-03-31  Will Newton  <will.newton@linaro.org>
26580         * benchtests/Makefile (bench): Add ffs and ffsll to list
26581         of tests.
26582         * benchtests/ffs-inputs: New file.
26583         * benchtests/ffsll-inputs: Likewise.
26585 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
26587         [BZ #16770]
26588         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
26589         too large before casting to int.
26590         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
26591         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
26592         * math/libm-test.inc (scalb_test_data): Add more tests.
26594 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26596         * benchtests/Makefile (DETAILED_OPT): New make option.
26597         (bench-func): Run benchmark program with -d if DETAILED_OPT is
26598         set.
26599         * benchtests/bench-skeleton.c: Include stdbool.h.
26600         (main): Store and print timings per input.
26601         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
26602         member to each argument value.
26603         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
26604         (_print_arg_data): Initialize per-input timing to 0.
26606         * benchtests/Makefile (timing-type): New binary.
26607         (bench-clean): Also remove bench-timing-type.
26608         (bench): New target for timing-type.
26609         (bench-func): Print output in JSON format.
26610         * benchtests/bench-skeleton.c (main): Print output in JSON
26611         format.
26612         * benchtests/bench-timing-type.c: New file.
26613         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
26614         (TIMING_PRINT_STATS): Remove.
26615         * benchtests/scripts/bench.py (_print_arg_data): Store variant
26616         name separately.
26618         * benchtests/bench-modf.c: Remove.
26619         * benchtests/modf-inputs: New inputs file.
26621 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
26623         [BZ #16362]
26624         * math/s_clog10.c (M_PI_LOG10E): New macro.
26625         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
26626         imaginary parts are 0.
26627         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
26628         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
26629         imaginary parts are 0.
26630         * math/s_clog10l.c (M_PI_LOG10El): New macro.
26631         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
26632         imaginary parts are 0.
26633         * math/libm-test.inc (clog10_test_data): Update expected results
26634         for when real and imaginary parts are 0.
26636 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
26638         * elf/dl-load.c: Finish conversion of __builtin_expect into
26639         __glibc_{un}likely.
26641 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
26643         [BZ #16348]
26644         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
26645         1+x for argument with exponent below -67.
26646         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
26647         Likewise.
26648         * math/auto-libm-test-in: Add more tests of exp.
26649         * math/auto-libm-test-out: Regenerated.
26651 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26653         [BZ #16759]
26654         * inet/getnetgrent_r.c (get_nonempty_val): New function.
26655         (nscd_getnetgrent): Use it.
26657         [BZ #16760]
26658         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
26659         of stpcpy.
26661 2014-03-27  Andi Kleen  <ak@linux.intel.com>
26663         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
26664         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26665         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26666         (lll_robust_unlock): Remove out of line section. Use cfi
26667         intrinsics.
26668         (LLL_STUB_UNWIND_INFO*): Remove.
26669         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
26670         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26671         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26672         (lll_robust_unlock): Remove out of line section. Use cfi
26673         intrinsics.
26674         (LLL_STUB_UNWIND_INFO*): Remove.
26676 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26678         [BZ #16758]
26679         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
26680         blank values.
26682 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26684         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
26686 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
26688         [BZ #16198]
26689         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
26690         fnstenv.
26691         * math/test-fenv-preserve.c: New file.
26692         * math/Makefile (tests): Add test-fenv-preserve.
26694 2014-03-26  Will Newton <will.newton@linaro.org>
26696         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
26698 2014-03-25  Roland McGrath  <roland@hack.frob.com>
26700         * scripts/versionlist.awk: Partition the version sets and emit all
26701         GLIBC_* (sorted) before all others (sorted).
26703 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26705         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
26706         GLIBC_2.2.5 version.
26708 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26710         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
26711         calls.
26713         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
26714         previous change.
26716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26718 2014-03-25  Andreas Schwab  <schwab@suse.de>
26720         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
26721         label to be used after in6ailist is initialized.
26723 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26725         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26726         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26728 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26730         [BZ #16357]
26731         [BZ #16599]
26732         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
26733         min_plus_half.
26734         (fp_formats): Update initializers.
26735         (init_fp_formats): Initialize new field.
26736         (output_for_one_input_case): Allow underflow for results up to
26737         min_plus_half.
26738         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
26739         * math/auto-libm-test-in: Don't mark some underflows from asin and
26740         atanh as spurious.
26741         * math/auto-libm-test-out: Regenerated.
26742         * sysdeps/i386/fpu/libm-test-ulps: Update.
26743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26745 2014-03-25  Andreas Schwab  <schwab@suse.de>
26747         * libio/Makefile (tst-ftell-partial-wide-ENV)
26748         (tst-ftell-active-handler-ENV): Define.
26750 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
26752         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
26754 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26756         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
26758 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26760         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
26761         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26762         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26764 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26766         [BZ #16634]
26767         * elf/dl-load.c (open_verify): Add mode parameter.
26768         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
26769         (open_path): Change from boolean 'secure' to complete flag 'mode'
26770         (_dl_map_object): Adjust.
26771         * elf/Makefile (tests): Add tst-dlopen-aout.
26772         * elf/tst-dlopen-aout.c: New test.
26774 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
26776         [BZ #16714]
26777         * sysdeps/unix/sysv/linux/s390/bits/stat.h
26778         (struct stat): Rename member pad0 to __glibc_reserved0.
26780         [BZ #16712]
26781         * sysdeps/s390/s390-32/bits/wordsize.h
26782         (__WORDSIZE32_SIZE_ULONG): New define.
26783         * sysdeps/s390/s390-64/bits/wordsize.h
26784         (__WORDSIZE32_SIZE_ULONG): Likewise.
26785         * sysdeps/generic/stdint.h (SIZE_MAX):
26786         Define as UL if __WORDSIZE32_SIZE_ULONG.
26788         [BZ #16713]
26789         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
26790         (__glibc_reserved0): New variable.
26791         (sa_flags): Change type to int.
26793         * posix/Makefile (before-compile): Use += before-compile instead
26794         of a :=.
26796         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26797         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26799 2014-03-20  Andreas Schwab  <schwab@suse.de>
26801         [BZ #16743]
26802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
26803         non-matching result from nscd.
26805 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26807         * scripts/bench.py: Moved to ...
26808         * benchtests/scripts/bench.py: ... here.
26809         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
26811 2014-03-24  Andreas Schwab  <schwab@suse.de>
26813         [BZ #16002]
26814         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
26815         alloca_account and account alloca use for struct in6ailist.
26817 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26819         [BZ #16284]
26820         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
26821         rounding mode to recompute results that overflow to infinity or
26822         underflow to zero.
26823         * math/auto-libm-test-in: Don't mark tests as expected to fail for
26824         bug 16284.
26825         * math/auto-libm-test-out: Regenerated.
26826         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
26827         (ccosh_test): Likewise.
26828         (csin_test_data): Use plus_oflow.
26829         (csin_test): Use ALL_RM_TEST.
26830         (csinh_test_data): Use plus_oflow.
26831         (csinh_test): Use ALL_RM_TEST.
26832         * sysdeps/i386/fpu/libm-test-ulps: Update.
26833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26835 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
26837         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
26838         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
26839         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
26841         [BZ #16731]
26842         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
26843         when x - 1 is zero.
26844         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
26845         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
26846         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26847         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
26848         argument is 1.
26849         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
26850         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
26851         zero.
26852         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
26853         * sysdeps/i386/fpu/libm-test-ulps: Update.
26854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26856 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26858         * scripts/bench.pl: Remove file.
26859         * scripts/bench.py: New benchmark script.
26860         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
26861         * benchtests/README: Mention python dependency.
26862         * scripts/pylintrc: New file.
26863         * scripts/pylint: New file.
26865         * bits/mathdef.h: Use #ifdef instead of #if.
26866         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
26867         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26868         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
26869         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26870         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
26871         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26873 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26874             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26876         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
26877         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
26878         and strpbrk-ppc64 objects.
26879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26880         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
26881         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
26882         multiarch strpbrk for POWER7.
26883         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
26884         multiarch strpbrk for PPC64.
26885         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
26886         ifunc selector.
26887         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
26888         strpbrk for POWER7.
26890 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26892         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
26893         (atan_test): Likewise.
26894         (atanh_test_data): Use NO_TEST_INLINE for two tests.
26895         (atanh_test): Use ALL_RM_TEST.
26896         (atan2_test_data): Likewise.
26897         (cabs_test): Likewise.
26898         (cacosh_test): Likewise.
26899         (carg_test): Likewise.
26900         (casin_test): Likewise.
26901         (casinh_test): Likewise.
26902         (cbrt_test): Likewise.
26903         (csqrt_test): Likewise.
26904         (erf_test): Likewise.
26905         (erfc_test): Likewise.
26906         (pow10_test): Likewise.
26907         (exp2_test): Likewise.
26908         (hypot_test): Likewise.
26909         (j0_test): Likewise.
26910         (j1_test): Likewise.
26911         (lgamma_test): Likewise.
26912         (gamma_test): Likewise.
26913         (sincos_test): Likewise.
26914         (tanh_test): Likewise.
26915         (y0_test): Likewise.
26916         (y1_test): Likewise.
26917         * sysdeps/i386/fpu/libm-test-ulps: Update.
26918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26920 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26922         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
26923         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
26924         and strcspn-ppc64 objects.
26925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26926         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
26927         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
26928         multiarch strcspn for POWER7.
26929         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
26930         multiarch strcspn for PPC64.
26931         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
26932         ifunc selector.
26933         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
26934         strcspn for POWER7.
26936 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26938         * math/gen-libm-test.pl (generate_testfile): Expect only function
26939         name as argument to AUTO_TESTS_* and pass results for all rounding
26940         modes to parse_args.
26941         (parse_auto_input): Separate inputs of automatic tests from
26942         outputs before storing in %auto_tests.
26943         * math/libm-test.inc (acos_test_data): Update call to
26944         AUTO_TESTS_f_f.
26945         (acos_test): Use ALL_RM_TEST.
26946         (acos_tonearest_test_data): Remove.
26947         (acos_test_tonearest): Likewise.
26948         (acos_towardzero_test_data): Likewise.
26949         (acos_test_towardzero): Likewise.
26950         (acos_downward_test_data): Likewise.
26951         (acos_test_downward): Likewise.
26952         (acos_upward_test_data): Likewise.
26953         (acos_test_upward): Likewise.
26954         (acosh_test_data): Update call to AUTO_TESTS_f_f.
26955         (asin_test_data): Likewise.
26956         (asin_test): Use ALL_RM_TEST.
26957         (asin_tonearest_test_data): Remove.
26958         (asin_test_tonearest): Likewise.
26959         (asin_towardzero_test_data): Likewise.
26960         (asin_test_towardzero): Likewise.
26961         (asin_downward_test_data): Likewise.
26962         (asin_test_downward): Likewise.
26963         (asin_upward_test_data): Likewise.
26964         (asin_test_upward): Likewise.
26965         (asinh_test_data): Update call to AUTO_TESTS_f_f.
26966         (atan_test_data): Likewise.
26967         (atanh_test_data): Likewise.
26968         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
26969         (cabs_test_data): Update call to AUTO_TESTS_c_f.
26970         (carg_test_data): Likewise.
26971         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
26972         (ccos_test_data): Update call to AUTO_TESTS_c_c.
26973         (ccosh_test_data): Likewise.
26974         (cexp_test_data): Likewise.
26975         (clog_test_data): Likewise.
26976         (clog10_test_data): Likewise.
26977         (cos_test_data): Update call to AUTO_TESTS_f_f.
26978         (cos_test): Use ALL_RM_TEST.
26979         (cos_tonearest_test_data): Remove.
26980         (cos_test_tonearest): Likewise.
26981         (cos_towardzero_test_data): Likewise.
26982         (cos_test_towardzero): Likewise.
26983         (cos_downward_test_data): Likewise.
26984         (cos_test_downward): Likewise.
26985         (cos_upward_test_data): Likewise.
26986         (cos_test_upward): Likewise.
26987         (cosh_test_data): Update call to AUTO_TESTS_f_f.
26988         (cosh_test): Use ALL_RM_TEST.
26989         (cosh_tonearest_test_data): Remove.
26990         (cosh_test_tonearest): Likewise.
26991         (cosh_towardzero_test_data): Likewise.
26992         (cosh_test_towardzero): Likewise.
26993         (cosh_downward_test_data): Likewise.
26994         (cosh_test_downward): Likewise.
26995         (cosh_upward_test_data): Likewise.
26996         (cosh_test_upward): Likewise.
26997         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
26998         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
26999         (ctan_test_data): Likewise.
27000         (ctan_test): Use ALL_RM_TEST.
27001         (ctan_tonearest_test_data): Remove.
27002         (ctan_test_tonearest): Likewise.
27003         (ctan_towardzero_test_data): Likewise.
27004         (ctan_test_towardzero): Likewise.
27005         (ctan_downward_test_data): Likewise.
27006         (ctan_test_downward): Likewise.
27007         (ctan_upward_test_data): Likewise.
27008         (ctan_test_upward): Likewise.
27009         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
27010         (ctanh_test): Use ALL_RM_TEST.
27011         (ctanh_tonearest_test_data): Remove.
27012         (ctanh_test_tonearest): Likewise.
27013         (ctanh_towardzero_test_data): Likewise.
27014         (ctanh_test_towardzero): Likewise.
27015         (ctanh_downward_test_data): Likewise.
27016         (ctanh_test_downward): Likewise.
27017         (ctanh_upward_test_data): Likewise.
27018         (ctanh_test_upward): Likewise.
27019         (erf_test_data): Update call to AUTO_TESTS_f_f.
27020         (erfc_test_data): Likewise.
27021         (exp_test_data): Likewise.
27022         (exp_test): Use ALL_RM_TEST.
27023         (exp_tonearest_test_data): Remove.
27024         (exp_test_tonearest): Likewise.
27025         (exp_towardzero_test_data): Likewise.
27026         (exp_test_towardzero): Likewise.
27027         (exp_downward_test_data): Likewise.
27028         (exp_test_downward): Likewise.
27029         (exp_upward_test_data): Likewise.
27030         (exp_test_upward): Likewise.
27031         (exp10_test_data): Update call to AUTO_TESTS_f_f.
27032         (exp10_test): Use ALL_RM_TEST.
27033         (exp10_tonearest_test_data): Remove.
27034         (exp10_test_tonearest): Likewise.
27035         (exp10_towardzero_test_data): Likewise.
27036         (exp10_test_towardzero): Likewise.
27037         (exp10_downward_test_data): Likewise.
27038         (exp10_test_downward): Likewise.
27039         (exp10_upward_test_data): Likewise.
27040         (exp10_test_upward): Likewise.
27041         (exp2_test_data): Update call to AUTO_TESTS_f_f.
27042         (expm1_test_data): Likewise.
27043         (expm1_test): Use ALL_RM_TEST.
27044         (expm1_tonearest_test_data): Remove.
27045         (expm1_test_tonearest): Likewise.
27046         (expm1_towardzero_test_data): Likewise.
27047         (expm1_test_towardzero): Likewise.
27048         (expm1_downward_test_data): Likewise.
27049         (expm1_test_downward): Likewise.
27050         (expm1_upward_test_data): Likewise.
27051         (expm1_test_upward): Likewise.
27052         (fma_test_data): Update call to AUTO_TESTS_fff_f.
27053         (fma_test): Use ALL_RM_TEST.
27054         (fma_towardzero_test_data): Remove.
27055         (fma_test_towardzero): Likewise.
27056         (fma_downward_test_data): Likewise.
27057         (fma_test_downward): Likewise.
27058         (fma_upward_test_data): Likewise.
27059         (fma_test_upward): Likewise.
27060         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
27061         (j0_test_data): Update call to AUTO_TESTS_f_f.
27062         (j1_test_data): Likewise.
27063         (jn_test_data): Update call to AUTO_TESTS_if_f.
27064         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
27065         (log_test_data): Update call to AUTO_TESTS_f_f.
27066         (log10_test_data): Likewise.
27067         (log1p_test_data): Likewise.
27068         (log2_test_data): Likewise.
27069         (pow_test_data): Update call to AUTO_TESTS_ff_f.
27070         (pow_tonearest_test_data): Likewise.
27071         (sin_test_data): Update call to AUTO_TESTS_f_f.
27072         (sin_test): Use ALL_RM_TEST.
27073         (sin_tonearest_test_data): Remove.
27074         (sin_test_tonearest): Likewise.
27075         (sin_towardzero_test_data): Likewise.
27076         (sin_test_towardzero): Likewise.
27077         (sin_downward_test_data): Likewise.
27078         (sin_test_downward): Likewise.
27079         (sin_upward_test_data): Likewise.
27080         (sin_test_upward): Likewise.
27081         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
27082         (sinh_test_data): Update call to AUTO_TESTS_f_f.
27083         (sinh_test): Use ALL_RM_TEST.
27084         (sinh_tonearest_test_data): Remove.
27085         (sinh_test_tonearest): Likewise.
27086         (sinh_towardzero_test_data): Likewise.
27087         (sinh_test_towardzero): Likewise.
27088         (sinh_downward_test_data): Likewise.
27089         (sinh_test_downward): Likewise.
27090         (sinh_upward_test_data): Likewise.
27091         (sinh_test_upward): Likewise.
27092         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
27093         (sqrt_test): Use ALL_RM_TEST.
27094         (sqrt_tonearest_test_data): Remove.
27095         (sqrt_test_tonearest): Likewise.
27096         (sqrt_towardzero_test_data): Likewise.
27097         (sqrt_test_towardzero): Likewise.
27098         (sqrt_downward_test_data): Likewise.
27099         (sqrt_test_downward): Likewise.
27100         (sqrt_upward_test_data): Likewise.
27101         (sqrt_test_upward): Likewise.
27102         (tan_test_data): Update call to AUTO_TESTS_f_f.
27103         (tan_test): Use ALL_RM_TEST.
27104         (tan_tonearest_test_data): Remove.
27105         (tan_test_tonearest): Likewise.
27106         (tan_towardzero_test_data): Likewise.
27107         (tan_test_towardzero): Likewise.
27108         (tan_downward_test_data): Likewise.
27109         (tan_test_downward): Likewise.
27110         (tan_upward_test_data): Likewise.
27111         (tan_test_upward): Likewise.
27112         (tanh_test_data): Update call to AUTO_TESTS_f_f.
27113         (tgamma_test_data): Likewise.
27114         (y0_test_data): Likewise.
27115         (y1_test_data): Likewise.
27116         (yn_test_data): Update call to AUTO_TESTS_if_f.
27117         (main): Do not call removed functions.
27119 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27121         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
27122         (ldexp_test_data): Remove.
27123         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
27124         scalbn_test_data.
27125         (scalb_test): Use ALL_RM_TEST.
27127 2014-03-19  Andreas Schwab  <schwab@suse.de>
27129         * nscd/nscd.service: Also invalidate netgroup cache on reload.
27131 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27133         [BZ #16649]
27134         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27135         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
27136         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
27137         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27138         (__ASSUME_PREADV): Undefine.
27139         (__ASSUME_PWRITEV): Likewise.
27141 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27143         * bits/mman-linux.h: Add comment about non-Linux use.
27144         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
27145         bits/mman-linux.h resting place.
27147         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
27148         * bits/mman-linux.h: ... here.
27150 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27152         * conform/conformtest.pl: Add standard definition when calling C
27153         preprocessor on data files.
27154         (checknamespace): Remove unused variable.
27156 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27158         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
27159         minus_oflow, plus_uflow and minus_uflow in expected results.
27160         * math/libm-test.inc (scalbn_test_data): Add more tests of
27161         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
27162         minus_uflow.
27163         (scalbn_test): Use ALL_RM_TEST.
27164         (scalbln_test_data): Add more tests of negative arguments.  Use
27165         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
27166         (scalbln_test): Use ALL_RM_TEST.
27168 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27170         * scripts/abilist.awk: Ignore symbols marked with .hidden.
27172 2014-03-18  Will Newton  <will.newton@linaro.org>
27174         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
27175         inaccurate comment.
27177 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27179         * Makerules [!subdir] (check-abi): Exit with error status if a
27180         test failed.
27182 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27184         * math/libm-test.inc (nearbyint_test_data): Include all tests used
27185         for rint.  Include results for all rounding modes.
27186         (nearbyint_test): Use ALL_RM_TEST.
27187         (rint_test_data): Include all tests used for nearbyint.
27189 2014-03-17  Will Newton  <will.newton@linaro.org>
27191         * nptl/sysdeps/pthread/pthread.h: Revert previous
27192         change.
27194         * sysdeps/generic/ldsodefs.h: Revert previous
27195         change.
27197         * libio/genops.c: Revert previous change.
27198         * libio/libioP.h: Likewise.
27199         * stdio-common/vfprintf.c: Likewise.
27201         * sysdeps/generic/math_private.h: Revert previous
27202         change.
27204         * sysdeps/generic/math_private.h: Check whether
27205         HAVE_RM_CTX is defined with #ifdef rather
27206         than #if.
27208         * argp/argp-fmtstream.h: Check whether
27209         __STRICT_ANSI__ is defined with #ifdef rather
27210         than #if.
27211         * argp/argp.h: Likewise.
27213         * libio/genops.c: Check whether
27214         _IO_JUMPS_OFFSET is defined with #ifdef rather
27215         than #if.
27216         * libio/libioP.h: Likewise.
27217         * stdio-common/vfprintf.c: Likewise.
27219         * sysdeps/generic/ldsodefs.h: Check whether
27220         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
27221         than #if.
27223         * nptl/sysdeps/pthread/pthread.h: Check
27224         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
27225         its value.
27227 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27229         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
27230         setting O_APPEND.
27231         * libio/tst-ftell-active-handler.c (do_append_test): Add a
27232         test case.
27234         [BZ #16680]
27235         * libio/fileops.c (_IO_file_open): Seek to end of file but
27236         don't cache the offset.
27237         (get_file_offset): Remove function.
27238         (do_ftell): Use cached offset when available.
27239         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
27240         don't cache the offset.
27241         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
27242         case.
27243         (do_one_test): Call it.
27244         (do_ftell_test): Fix up expected old offset for a+ mode.
27245         * libio/wfileops.c (do_ftell_wide): Used cached offset when
27246         available.
27248         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
27249         up test status with function return status.
27250         (do_write_test): Likewise.
27251         (do_append_test): Likewise.
27253         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
27254         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
27255         Remove.
27257 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27259         * math/gen-libm-test.pl (parse_args): Handle results specified for
27260         each rounding mode separately.
27261         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
27262         tests and results from lrint_tonearest_test_data,
27263         lrint_towardzero_test_data, lrint_downward_test_data and
27264         lrint_upward_test_data.
27265         (lrint_test): Use ALL_RM_TEST.
27266         (lrint_tonearest_test_data): Remove.
27267         (lrint_test_tonearest): Likewise.
27268         (lrint_towardzero_test_data): Likewise.
27269         (lrint_test_towardzero): Likewise.
27270         (lrint_downward_test_data): Likewise.
27271         (lrint_test_downward): Likewise.
27272         (lrint_upward_test_data): Likewise.
27273         (lrint_test_upward): Likewise.
27274         (llrint_test_data): Merge in per-rounding-mode tests and results
27275         from llrint_tonearest_test_data, llrint_towardzero_test_data,
27276         llrint_downward_test_data and llrint_upward_test_data.
27277         (llrint_test): Use ALL_RM_TEST.
27278         (llrint_tonearest_test_data): Remove.
27279         (llrint_test_tonearest): Likewise.
27280         (llrint_towardzero_test_data): Likewise.
27281         (llrint_test_towardzero): Likewise.
27282         (llrint_downward_test_data): Likewise.
27283         (llrint_test_downward): Likewise.
27284         (llrint_upward_test_data): Likewise.
27285         (llrint_test_upward): Likewise.
27286         (rint_test_data): Merge in per-rounding-mode tests and results
27287         from rint_tonearest_test_data, rint_towardzero_test_data,
27288         rint_downward_test_data and rint_upward_test_data.  Add
27289         per-rounding-mode results for tests not in those arrays.
27290         (rint_test): Use ALL_RM_TEST.
27291         (rint_tonearest_test_data): Remove.
27292         (rint_test_tonearest): Likewise.
27293         (rint_towardzero_test_data): Likewise.
27294         (rint_test_towardzero): Likewise.
27295         (rint_downward_test_data): Likewise.
27296         (rint_test_downward): Likewise.
27297         (rint_upward_test_data): Likewise.
27298         (rint_test_upward): Likewise.
27299         (main): Don't call removed functions.
27301 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27303         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
27304         "Compiled on ..." crapola.  It is anti-useful.
27306 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
27308         * scripts/evaluate-test.sh: Handle fourth argument to determine
27309         whether test run should stop on failure.
27310         * Makeconfig (stop-on-test-failure): New variable.
27311         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
27312         $(stop-on-test-failure).
27313         * Makefile (tests): Give a summary of results from testing and
27314         exit with failure status if they include an ERROR or FAIL.
27315         (xtests): Likewise.
27316         * manual/install.texi (Configuring and compiling): Mention
27317         stop-on-test-failure=y.
27318         * INSTALL: Regenerated.
27320 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27322         * scripts/versionlist.awk: New file.
27323         * Makerules [$(build-shared) = yes]
27324         (postclean-generated): Add Versions.def, not Versions.def.v and
27325         Versions.def.v.i.
27326         ($(common-objpfx)Versions.def.v.i): Target removed.
27327         ($(common-objpfx)Versions.def): New target.
27328         ($(common-objpfx)Versions.all): Depend on that rather that
27329         $(common-objpfx)Versions.def.v.
27330         * Versions.def: File removed.
27332         * Makeconfig (+gccwarn): Add -Wundef.
27333         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
27334         a dl-sysdep.h breaking its contract.
27335         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
27336         * include/stackinfo.h: New file.
27337         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
27338         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
27339         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
27340         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
27341         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
27342         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
27343         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27344         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27345         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27346         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27347         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27348         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
27349         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27350         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27351         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27353 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27355         [BZ #16707]
27356         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
27357         implementation.
27358         * math/libm-test.inc (round_test_data): Add more tests.
27360         [BZ #16706]
27361         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
27362         implementation.
27363         * math/libm-test.inc (nearbyint_test_data): Add more tests.
27365         [BZ #16701]
27366         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
27367         implementation.
27368         * math/libm-test.inc (ceil_test_data): Add more tests.
27370         * math/libm-test.inc (trunc_test_data): Add more tests related to
27371         BZ#16414.
27373 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27375         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
27376         with #if rather than #ifdef.
27377         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
27379 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
27381         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
27382         first.  Disable AVX-512 GCC support if assembler doesn't support
27383         it.
27384         * sysdeps/x86_64/configure: Regenerated.
27386 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
27388         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
27389         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
27390         (__old_pthread_attr_setstack): Likewise.
27391         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
27392         [!_STACK_GROWS_DOWN]: Likewise.
27394 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
27396         * config.make.in (have-bash2): Delete.
27397         * configure.ac (libc_cv_have_bash2): Delete.
27398         * configure: Regenerate.
27399         * elf/Makefile (common-ldd-rewrite): Rename to ...
27400         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
27401         (sh-ldd-rewrite): Delete.
27402         (bash-ldd-rewrite): Delete.
27403         (have-bash2): Delete checks.
27404         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
27405         ldd-rewrite.
27407         * config.make.in (have-ksh): Delete.
27408         (KSH): Delete.
27409         * configure.ac (libc_cv_have_ksh): Delete.
27410         * configure: Regenerate.
27412         * elf/Makefile: Delete $(have-ksh) check.
27413         ($(objpfx)sotruss): Change KSH to BASH.
27414         * elf/sotruss.ksh: Rename to ...
27415         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
27416         function style to match POSIX.  Drop ksh vim mode setting.
27418         * manual/time.texi (Specifying the Time Zone with TZ): Change
27419         Tuesday to Thursday.
27421         * debug/tst-longjmp_chk2.c: Update header comment.
27422         (stackoverflow_handler): Add comment.  Call assert on pass value.
27424 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
27426         [BZ #16194]
27427         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
27428         (HAVE_AVX512_ASM_SUPPORT): Likewise.
27429         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
27430         (La_x86_64_vector): Add zmm.
27431         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
27432         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
27433         ($(objpfx)tst-audit10): New target.
27434         ($(objpfx)tst-audit10.out): Likewise.
27435         (tst-audit10-ENV): New.
27436         (AVX512-CFLAGS): Likewise.
27437         (CFLAGS-tst-audit10.c): Likewise.
27438         (CFLAGS-tst-auditmod10a.c): Likewise.
27439         (CFLAGS-tst-auditmod10b.c): Likewise.
27440         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
27441         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
27442         * sysdeps/x86_64/configure: Regenerated.
27443         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
27444         AVX-512 zmm register support.
27445         (_dl_x86_64_save_sse): Likewise.
27446         (_dl_x86_64_restore_sse): Likewise.
27447         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
27448         size vector registers.
27449         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
27450         (ZMM_SIZE): Likewise.
27451         * sysdeps/x86_64/tst-audit10.c: New file.
27452         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
27453         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
27455 2014-03-13  Roland McGrath  <roland@hack.frob.com>
27457         * configure.ac (HAVE_EHDR_START): New check.
27458         * configure: Regenerated.
27459         * config.h.in (HAVE_EHDR_START): New #undef.
27460         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
27461         assuming the lowest-addressed segment maps the start of the file.
27463 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
27465         * INSTALL: Regenerated.
27467 2014-03-13  Will Newton  <will.newton@linaro.org>
27469         * manual/setjmp.texi (System V contexts): Improve
27470         clarity and grammar of documentation.
27472 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27474         [BZ #16381]
27475         * elf/Makefile (tests): Add tst-pie2.
27476         (tests-pie): Add tst-pie2.
27477         * elf/tst-pie2.c: New file.
27478         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
27479         for ET_EXEC.
27480         * elf/rtld.c (map_doit): Load executable as lt_executable.
27481         (dl_main): Likewise.
27483 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
27485         [BZ #16642]
27486         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27487         (__ASSUME_PSELECT): Undefine.
27489 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27491         [BZ #16689]
27492         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
27493         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
27494         static build.
27495         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
27496         selector for static builds.
27498 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27500         [BZ #16695]
27501         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
27502         key in the buffer.
27504 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27506         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
27507         IFUNC selector for static builds.
27509 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
27511         * sysdeps/mips/math_private.h [__mips_hard_float]
27512         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
27513         libc_feresetround_mips_ctx.
27514         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
27515         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
27516         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
27518         [BZ #16677]
27519         * math/s_nextafter.c (__nextafter): Do not return value from
27520         overflowing computation.
27521         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
27522         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
27523         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
27524         Likewise.
27525         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
27526         Likewise.
27527         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
27528         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
27530 2014-03-11  Roland McGrath  <roland@hack.frob.com>
27532         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
27533         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
27534         Move sfi_sp use from the load-multiple (that no longer sets sp) to
27535         the new mov targetting sp.
27537 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27539         [BZ #16683]
27540         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
27541         Define it for static builds as well.
27542         (NO_BZERO_IMPL): Likewise.
27544 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27546         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
27547         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
27548         multiarch strspn for PPC64.
27549         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
27550         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
27551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27552         (__libc_ifunc_impl_list): Likewise.
27553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
27554         multiarch optimizations
27555         * string/strspn.c (strspn): Using macro to redefine symbol name.
27557 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27558             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27560         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
27561         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
27562         multiarch strncat for PPC64.
27563         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
27564         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
27565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27566         (__libc_ifunc_impl_list): Likewise.
27567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
27568         multiarch optimizations
27570 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27572         [BZ #16639]
27573         * nscd/nscd.service: Make service type forking.
27575 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27577         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
27578         sign in non default rounding modes.
27579         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
27581 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
27583         * math/libm-test.inc (ALL_RM_TEST): New macro.
27584         (ceil_test): Use ALL_RM_TEST.
27585         (cimag_test): Likewise.
27586         (conj_test): Likewise.
27587         (copysign_test): Likewise.
27588         (cproj_test): Likewise.
27589         (creal_test): Likewise.
27590         (fabs_test): Likewise.
27591         (floor_test): Likewise.
27592         (fmax_test): Likewise.
27593         (fmin_test): Likewise.
27594         (fmod_test): Likewise.
27595         (fpclassify_test): Likewise.
27596         (frexp_test): Likewise.
27597         (ilogb_test): Likewise.
27598         (isfinite_test): Likewise.
27599         (finite_test): Likewise.
27600         (isgreater_test): Likewise.
27601         (isgreaterequal_test): Likewise.
27602         (isinf_test): Likewise.
27603         (isless_test): Likewise.
27604         (islessequal_test): Likewise.
27605         (islessgreater_test): Likewise.
27606         (isnan_test): Likewise.
27607         (isnormal_test): Likewise.
27608         (issignaling_test): Likewise.
27609         (isunordered_test): Likewise.
27610         (logb_test): Likewise.
27611         (logb_downward_test_data): Remove.
27612         (logb_test_downward): Likewise.
27613         (lround_test): Use ALL_RM_TEST.
27614         (llround_test): Likewise.
27615         (modf_test): Likewise.
27616         (nexttoward_test): Likewise.
27617         (remainder_test): Likewise.
27618         (drem_test): Likewise.
27619         (remainder_tonearest_test_data): Likewise.
27620         (remainder_test_tonearest): Likewise.
27621         (drem_test_tonearest): Likewise.
27622         (remainder_towardzero_test_data): Likewise.
27623         (remainder_test_towardzero): Likewise.
27624         (drem_test_towardzero): Likewise.
27625         (remainder_downward_test_data): Likewise.
27626         (remainder_test_downward): Likewise.
27627         (drem_test_downward): Likewise.
27628         (remainder_upward_test_data): Likewise.
27629         (remainder_test_upward): Likewise.
27630         (drem_test_upward): Likewise.
27631         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
27632         (round_test): Use ALL_RM_TEST.
27633         (signbit_test): Likewise.
27634         (trunc_test): Likewise.
27635         (significand_test): Likewise.
27636         (main): Don't call removed functions.
27638 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27640         [BZ #16674]
27641         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
27642         || __USE_XOPEN2K8].
27643         (ILL_ILLOPN): Likewise.
27644         (ILL_ILLADR): Likewise.
27645         (ILL_ILLTRP): Likewise.
27646         (ILL_PRVOPC): Likewise.
27647         (ILL_PRVREG): Likewise.
27648         (ILL_COPROC): Likewise.
27649         (ILL_BADSTK): Likewise.
27650         (FPE_INTDIV): Likewise.
27651         (FPE_INTOVF): Likewise.
27652         (FPE_FLTDIV): Likewise.
27653         (FPE_FLTOVF): Likewise.
27654         (FPE_FLTUND): Likewise.
27655         (FPE_FLTRES): Likewise.
27656         (FPE_FLTINV): Likewise.
27657         (FPE_FLTSUB): Likewise.
27658         (SEGV_MAPERR): Likewise.
27659         (SEGV_ACCERR): Likewise.
27660         (BUS_ADRALN): Likewise.
27661         (BUS_ADRERR): Likewise.
27662         (BUS_OBJERR): Likewise.
27663         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27664         (TRAP_TRACE): Likewise.
27665         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27666         __USE_XOPEN2K8].
27667         (CLD_KILLED): Likewise.
27668         (CLD_DUMPED): Likewise.
27669         (CLD_TRAPPED): Likewise.
27670         (CLD_STOPPED): Likewise.
27671         (CLD_CONTINUED): Likewise.
27672         (POLL_IN): Likewise.
27673         (POLL_OUT): Likewise.
27674         (POLL_MSG): Likewise.
27675         (POLL_ERR): Likewise.
27676         (POLL_PRI): Likewise.
27677         (POLL_HUP): Likewise.
27678         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
27679         Likewise.
27680         (ILL_ILLOPN): Likewise.
27681         (ILL_ILLADR): Likewise.
27682         (ILL_ILLTRP): Likewise.
27683         (ILL_PRVOPC): Likewise.
27684         (ILL_PRVREG): Likewise.
27685         (ILL_COPROC): Likewise.
27686         (ILL_BADSTK): Likewise.
27687         (FPE_INTDIV): Likewise.
27688         (FPE_INTOVF): Likewise.
27689         (FPE_FLTDIV): Likewise.
27690         (FPE_FLTOVF): Likewise.
27691         (FPE_FLTUND): Likewise.
27692         (FPE_FLTRES): Likewise.
27693         (FPE_FLTINV): Likewise.
27694         (FPE_FLTSUB): Likewise.
27695         (SEGV_MAPERR): Likewise.
27696         (SEGV_ACCERR): Likewise.
27697         (BUS_ADRALN): Likewise.
27698         (BUS_ADRERR): Likewise.
27699         (BUS_OBJERR): Likewise.
27700         (BUS_MCEERR_AR): Likewise.
27701         (BUS_MCEERR_AO): Likewise.
27702         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27703         (TRAP_TRACE): Likewise.
27704         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27705         __USE_XOPEN2K8].
27706         (CLD_KILLED): Likewise.
27707         (CLD_DUMPED): Likewise.
27708         (CLD_TRAPPED): Likewise.
27709         (CLD_STOPPED): Likewise.
27710         (CLD_CONTINUED): Likewise.
27711         (POLL_IN): Likewise.
27712         (POLL_OUT): Likewise.
27713         (POLL_MSG): Likewise.
27714         (POLL_ERR): Likewise.
27715         (POLL_PRI): Likewise.
27716         (POLL_HUP): Likewise.
27717         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
27718         (ILL_ILLOPN): Likewise.
27719         (ILL_ILLADR): Likewise.
27720         (ILL_ILLTRP): Likewise.
27721         (ILL_PRVOPC): Likewise.
27722         (ILL_PRVREG): Likewise.
27723         (ILL_COPROC): Likewise.
27724         (ILL_BADSTK): Likewise.
27725         (FPE_INTDIV): Likewise.
27726         (FPE_INTOVF): Likewise.
27727         (FPE_FLTDIV): Likewise.
27728         (FPE_FLTOVF): Likewise.
27729         (FPE_FLTUND): Likewise.
27730         (FPE_FLTRES): Likewise.
27731         (FPE_FLTINV): Likewise.
27732         (FPE_FLTSUB): Likewise.
27733         (SEGV_MAPERR): Likewise.
27734         (SEGV_ACCERR): Likewise.
27735         (BUS_ADRALN): Likewise.
27736         (BUS_ADRERR): Likewise.
27737         (BUS_OBJERR): Likewise.
27738         (BUS_MCEERR_AR): Likewise.
27739         (BUS_MCEERR_AO): Likewise.
27740         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27741         (TRAP_TRACE): Likewise.
27742         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27743         __USE_XOPEN2K8].
27744         (CLD_KILLED): Likewise.
27745         (CLD_DUMPED): Likewise.
27746         (CLD_TRAPPED): Likewise.
27747         (CLD_STOPPED): Likewise.
27748         (CLD_CONTINUED): Likewise.
27749         (POLL_IN): Likewise.
27750         (POLL_OUT): Likewise.
27751         (POLL_MSG): Likewise.
27752         (POLL_ERR): Likewise.
27753         (POLL_PRI): Likewise.
27754         (POLL_HUP): Likewise.
27755         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
27756         Likewise.
27757         (ILL_ILLOPN): Likewise.
27758         (ILL_ILLADR): Likewise.
27759         (ILL_ILLTRP): Likewise.
27760         (ILL_PRVOPC): Likewise.
27761         (ILL_PRVREG): Likewise.
27762         (ILL_COPROC): Likewise.
27763         (ILL_BADSTK): Likewise.
27764         (ILL_BADIADDR): Likewise.
27765         (ILL_BREAK): Likewise.
27766         (FPE_INTDIV): Likewise.
27767         (FPE_INTOVF): Likewise.
27768         (FPE_FLTDIV): Likewise.
27769         (FPE_FLTOVF): Likewise.
27770         (FPE_FLTUND): Likewise.
27771         (FPE_FLTRES): Likewise.
27772         (FPE_FLTINV): Likewise.
27773         (FPE_FLTSUB): Likewise.
27774         (FPE_DECOVF): Likewise.
27775         (FPE_DECDIV): Likewise.
27776         (FPE_DECERR): Likewise.
27777         (FPE_INVASC): Likewise.
27778         (FPE_INVDEC): Likewise.
27779         (SEGV_MAPERR): Likewise.
27780         (SEGV_ACCERR): Likewise.
27781         (SEGV_PSTKOVF): Likewise.
27782         (BUS_ADRALN): Likewise.
27783         (BUS_ADRERR): Likewise.
27784         (BUS_OBJERR): Likewise.
27785         (BUS_MCEERR_AR): Likewise.
27786         (BUS_MCEERR_AO): Likewise.
27787         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27788         (TRAP_TRACE): Likewise.
27789         (TRAP_BRANCH): Likewise.
27790         (TRAP_HWBKPT): Likewise.
27791         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27792         __USE_XOPEN2K8].
27793         (CLD_KILLED): Likewise.
27794         (CLD_DUMPED): Likewise.
27795         (CLD_TRAPPED): Likewise.
27796         (CLD_STOPPED): Likewise.
27797         (CLD_CONTINUED): Likewise.
27798         (POLL_IN): Likewise.
27799         (POLL_OUT): Likewise.
27800         (POLL_MSG): Likewise.
27801         (POLL_ERR): Likewise.
27802         (POLL_PRI): Likewise.
27803         (POLL_HUP): Likewise.
27804         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
27805         (ILL_ILLOPN): Likewise.
27806         (ILL_ILLADR): Likewise.
27807         (ILL_ILLTRP): Likewise.
27808         (ILL_PRVOPC): Likewise.
27809         (ILL_PRVREG): Likewise.
27810         (ILL_COPROC): Likewise.
27811         (ILL_BADSTK): Likewise.
27812         (FPE_INTDIV): Likewise.
27813         (FPE_INTOVF): Likewise.
27814         (FPE_FLTDIV): Likewise.
27815         (FPE_FLTOVF): Likewise.
27816         (FPE_FLTUND): Likewise.
27817         (FPE_FLTRES): Likewise.
27818         (FPE_FLTINV): Likewise.
27819         (FPE_FLTSUB): Likewise.
27820         (SEGV_MAPERR): Likewise.
27821         (SEGV_ACCERR): Likewise.
27822         (BUS_ADRALN): Likewise.
27823         (BUS_ADRERR): Likewise.
27824         (BUS_OBJERR): Likewise.
27825         (BUS_MCEERR_AR): Likewise.
27826         (BUS_MCEERR_AO): Likewise.
27827         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27828         (TRAP_TRACE): Likewise.
27829         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27830         __USE_XOPEN2K8].
27831         (CLD_KILLED): Likewise.
27832         (CLD_DUMPED): Likewise.
27833         (CLD_TRAPPED): Likewise.
27834         (CLD_STOPPED): Likewise.
27835         (CLD_CONTINUED): Likewise.
27836         (POLL_IN): Likewise.
27837         (POLL_OUT): Likewise.
27838         (POLL_MSG): Likewise.
27839         (POLL_ERR): Likewise.
27840         (POLL_PRI): Likewise.
27841         (POLL_HUP): Likewise.
27842         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
27843         (ILL_ILLOPN): Likewise.
27844         (ILL_ILLADR): Likewise.
27845         (ILL_ILLTRP): Likewise.
27846         (ILL_PRVOPC): Likewise.
27847         (ILL_PRVREG): Likewise.
27848         (ILL_COPROC): Likewise.
27849         (ILL_BADSTK): Likewise.
27850         (FPE_INTDIV): Likewise.
27851         (FPE_INTOVF): Likewise.
27852         (FPE_FLTDIV): Likewise.
27853         (FPE_FLTOVF): Likewise.
27854         (FPE_FLTUND): Likewise.
27855         (FPE_FLTRES): Likewise.
27856         (FPE_FLTINV): Likewise.
27857         (FPE_FLTSUB): Likewise.
27858         (SEGV_MAPERR): Likewise.
27859         (SEGV_ACCERR): Likewise.
27860         (BUS_ADRALN): Likewise.
27861         (BUS_ADRERR): Likewise.
27862         (BUS_OBJERR): Likewise.
27863         (BUS_MCEERR_AR): Likewise.
27864         (BUS_MCEERR_AO): Likewise.
27865         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27866         (TRAP_TRACE): Likewise.
27867         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27868         __USE_XOPEN2K8].
27869         (CLD_KILLED): Likewise.
27870         (CLD_DUMPED): Likewise.
27871         (CLD_TRAPPED): Likewise.
27872         (CLD_STOPPED): Likewise.
27873         (CLD_CONTINUED): Likewise.
27874         (POLL_IN): Likewise.
27875         (POLL_OUT): Likewise.
27876         (POLL_MSG): Likewise.
27877         (POLL_ERR): Likewise.
27878         (POLL_PRI): Likewise.
27879         (POLL_HUP): Likewise.
27880         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
27881         (ILL_ILLOPN): Likewise.
27882         (ILL_ILLADR): Likewise.
27883         (ILL_ILLTRP): Likewise.
27884         (ILL_PRVOPC): Likewise.
27885         (ILL_PRVREG): Likewise.
27886         (ILL_COPROC): Likewise.
27887         (ILL_BADSTK): Likewise.
27888         (FPE_INTDIV): Likewise.
27889         (FPE_INTOVF): Likewise.
27890         (FPE_FLTDIV): Likewise.
27891         (FPE_FLTOVF): Likewise.
27892         (FPE_FLTUND): Likewise.
27893         (FPE_FLTRES): Likewise.
27894         (FPE_FLTINV): Likewise.
27895         (FPE_FLTSUB): Likewise.
27896         (SEGV_MAPERR): Likewise.
27897         (SEGV_ACCERR): Likewise.
27898         (BUS_ADRALN): Likewise.
27899         (BUS_ADRERR): Likewise.
27900         (BUS_OBJERR): Likewise.
27901         (BUS_MCEERR_AR): Likewise.
27902         (BUS_MCEERR_AO): Likewise.
27903         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27904         (TRAP_TRACE): Likewise.
27905         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27906         __USE_XOPEN2K8].
27907         (CLD_KILLED): Likewise.
27908         (CLD_DUMPED): Likewise.
27909         (CLD_TRAPPED): Likewise.
27910         (CLD_STOPPED): Likewise.
27911         (CLD_CONTINUED): Likewise.
27912         (POLL_IN): Likewise.
27913         (POLL_OUT): Likewise.
27914         (POLL_MSG): Likewise.
27915         (POLL_ERR): Likewise.
27916         (POLL_PRI): Likewise.
27917         (POLL_HUP): Likewise.
27918         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
27919         (ILL_ILLOPN): Likewise.
27920         (ILL_ILLADR): Likewise.
27921         (ILL_ILLTRP): Likewise.
27922         (ILL_PRVOPC): Likewise.
27923         (ILL_PRVREG): Likewise.
27924         (ILL_COPROC): Likewise.
27925         (ILL_BADSTK): Likewise.
27926         (ILL_DBLFLT): Likewise.
27927         (ILL_HARDWALL): Likewise.
27928         (FPE_INTDIV): Likewise.
27929         (FPE_INTOVF): Likewise.
27930         (FPE_FLTDIV): Likewise.
27931         (FPE_FLTOVF): Likewise.
27932         (FPE_FLTUND): Likewise.
27933         (FPE_FLTRES): Likewise.
27934         (FPE_FLTINV): Likewise.
27935         (FPE_FLTSUB): Likewise.
27936         (SEGV_MAPERR): Likewise.
27937         (SEGV_ACCERR): Likewise.
27938         (BUS_ADRALN): Likewise.
27939         (BUS_ADRERR): Likewise.
27940         (BUS_OBJERR): Likewise.
27941         (BUS_MCEERR_AR): Likewise.
27942         (BUS_MCEERR_AO): Likewise.
27943         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27944         (TRAP_TRACE): Likewise.
27945         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27946         __USE_XOPEN2K8].
27947         (CLD_KILLED): Likewise.
27948         (CLD_DUMPED): Likewise.
27949         (CLD_TRAPPED): Likewise.
27950         (CLD_STOPPED): Likewise.
27951         (CLD_CONTINUED): Likewise.
27952         (POLL_IN): Likewise.
27953         (POLL_OUT): Likewise.
27954         (POLL_MSG): Likewise.
27955         (POLL_ERR): Likewise.
27956         (POLL_PRI): Likewise.
27957         (POLL_HUP): Likewise.
27958         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
27959         (ILL_ILLOPN): Likewise.
27960         (ILL_ILLADR): Likewise.
27961         (ILL_ILLTRP): Likewise.
27962         (ILL_PRVOPC): Likewise.
27963         (ILL_PRVREG): Likewise.
27964         (ILL_COPROC): Likewise.
27965         (ILL_BADSTK): Likewise.
27966         (FPE_INTDIV): Likewise.
27967         (FPE_INTOVF): Likewise.
27968         (FPE_FLTDIV): Likewise.
27969         (FPE_FLTOVF): Likewise.
27970         (FPE_FLTUND): Likewise.
27971         (FPE_FLTRES): Likewise.
27972         (FPE_FLTINV): Likewise.
27973         (FPE_FLTSUB): Likewise.
27974         (SEGV_MAPERR): Likewise.
27975         (SEGV_ACCERR): Likewise.
27976         (BUS_ADRALN): Likewise.
27977         (BUS_ADRERR): Likewise.
27978         (BUS_OBJERR): Likewise.
27979         (BUS_MCEERR_AR): Likewise.
27980         (BUS_MCEERR_AO): Likewise.
27981         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27982         (TRAP_TRACE): Likewise.
27983         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27984         __USE_XOPEN2K8].
27985         (CLD_KILLED): Likewise.
27986         (CLD_DUMPED): Likewise.
27987         (CLD_TRAPPED): Likewise.
27988         (CLD_STOPPED): Likewise.
27989         (CLD_CONTINUED): Likewise.
27990         (POLL_IN): Likewise.
27991         (POLL_OUT): Likewise.
27992         (POLL_MSG): Likewise.
27993         (POLL_ERR): Likewise.
27994         (POLL_PRI): Likewise.
27995         (POLL_HUP): Likewise.
27996         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
27997         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27999         [BZ #16670]
28000         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
28001         before #include of <time.h>.
28002         [!__USE_XOPEN2K] (__need_timespec): Likewise.
28003         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
28004         (test-xfail-UNIX98/sched.h/conform): Likewise.
28006 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28008         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
28009         error absence of trapping exception support.
28010         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28012 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28014         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
28015         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
28016         * timezone/Makefile (testdata): Move definition above include of
28017         Rules.
28018         (test-zones): New variable.
28019         (tests-special): Add zone files.
28020         (build-testdata): Use $(evaluate-test).
28022         * elf/Makefile (tests-special): Rename tests to end with .out.
28023         ($(objpfx)noload-mem): Likewise.
28024         ($(objpfx)tst-leaks1-mem): Likewise.
28025         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
28026         * iconv/Makefile (xtests-special): Change test-iconvconfig to
28027         $(objpfx)test-iconvconfig.out.
28028         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
28029         set -e inside subshell and redirect output to file.
28030         * iconvdata/Makefile (generated): Rename tests to end with .out.
28031         Correct type.
28032         (tests-special): Rename tests to end with .out.
28033         ($(objpfx)mtrace-tst-loading): Likewise.
28034         * intl/Makefile (generated): Likewise.
28035         (tests-special): Likewise.
28036         ($(objpfx)mtrace-tst-gettext): Likewise.
28037         * misc/Makefile (generated): Likewise.
28038         (tests-special): Likewise.
28039         ($(objpfx)tst-error1-mem): Likewise.
28040         * nptl/Makefile (tests-special): Likewise.
28041         ($(objpfx)tst-stack3-mem): Likewise.
28042         (generated): Likewise.
28043         * posix/Makefile (generated): Likewise.
28044         (tests-special): Likewise.
28045         (xtests-special): Likewise.
28046         ($(objpfx)tst-fnmatch-mem): Likewise.
28047         ($(objpfx)bug-regex2-mem): Likewise.
28048         ($(objpfx)bug-regex14-mem): Likewise.
28049         ($(objpfx)bug-regex21-mem): Likewise.
28050         ($(objpfx)bug-regex31-mem): Likewise.
28051         ($(objpfx)tst-vfork3-mem): Likewise.
28052         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28053         ($(objpfx)tst-pcre-mem): Likewise.
28054         ($(objpfx)tst-boost-mem): Likewise.
28055         ($(objpfx)bug-ga2-mem): Likewise.
28056         ($(objpfx)bug-glob2-mem): Likewise.
28057         * resolv/Makefile (generate): Likewise.
28058         (tests-special): Likewise.
28059         (xtests-special): Likewise.
28060         (generated): Likewise.
28061         ($(objpfx)mtrace-tst-leaks): Likewise.
28062         ($(objpfx)mtrace-tst-leaks2): Likewise.
28064         * scripts/merge-test-results.sh: New file.
28065         * Makefile (tests-special-notdir): New variable.
28066         (tests): Run merge-test-results.sh.
28067         (xtests): Likewise.
28068         * Rules (tests-special-notdir): New variable.
28069         (xtests-special-notdir): Likewise.
28070         (tests): Run merge-test-results.sh
28071         (xtests): Likewise.
28073         * Makeconfig (test-xfail-name): New variable.
28074         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
28075         compute variable name for expected failures.
28076         * conform/Makefile (conformtest-headers-data): New variable.
28077         (conformtest-standards): Likewise.
28078         (conformtest-headers-ISO): Likewise.
28079         (conformtest-headers-ISO99): Likewise.
28080         (conformtest-headers-ISO11): Likewise.
28081         (conformtest-headers-POSIX): Likewise.
28082         (conformtest-headers-XPG3): Likewise.
28083         (conformtest-headers-XPG4): Likewise.
28084         (conformtest-headers-UNIX98): Likewise.
28085         (conformtest-headers-XOPEN2K): Likewise.
28086         (conformtest-headers-POSIX2008): Likewise.
28087         (conformtest-headers-XOPEN2K8): Likewise.
28088         (conformtest-header-list-base): Likewise.
28089         (conformtest-header-list-tests): Likewise.
28090         (conformtest-header-base): Likewise.
28091         (conformtest-header-tests): Likewise.
28092         (tests-special): Add $(conformtest-header-list-tests).  If
28093         [$(fast-check) && !$(cross-compiling)], add
28094         $(conformtest-header-tests) instead of
28095         $(objpfx)run-conformtest.out.
28096         (generated): Add $(conformtest-header-list-base).  If
28097         [$(fast-check) && !$(cross-compiling)], add
28098         $(conformtest-header-base).  Remove previous setting.
28099         ($(conformtest-header-list-tests)): New target.
28100         (test-xfail-run-conformtest): Remove variable.
28101         ($(objpfx)run-conformtest.out): Remove target.
28102         (test-xfail-ISO11/complex.h/conform): New variable.
28103         (test-xfail-ISO11/stdalign.h/conform): Likewise.
28104         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
28105         (test-xfail-XPG3/varargs.h/conform): Likewise.
28106         (test-xfail-XPG4/varargs.h/conform): Likewise.
28107         (test-xfail-UNIX98/varargs.h/conform): Likewise.
28108         (test-xfail-XPG4/ndbm.h/conform): Likewise.
28109         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
28110         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
28111         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
28112         (test-xfail-XPG3/fcntl.h/conform): Likewise.
28113         (test-xfail-XPG3/ftw.h/conform): Likewise.
28114         (test-xfail-XPG3/grp.h/conform): Likewise.
28115         (test-xfail-XPG3/langinfo.h/conform): Likewise.
28116         (test-xfail-XPG3/limits.h/conform): Likewise.
28117         (test-xfail-XPG3/pwd.h/conform): Likewise.
28118         (test-xfail-XPG3/search.h/conform): Likewise.
28119         (test-xfail-XPG3/signal.h/conform): Likewise.
28120         (test-xfail-XPG3/stdio.h/conform): Likewise.
28121         (test-xfail-XPG3/stdlib.h/conform): Likewise.
28122         (test-xfail-XPG3/string.h/conform): Likewise.
28123         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
28124         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
28125         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28126         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28127         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
28128         (test-xfail-XPG3/sys/types.h/conform): Likewise.
28129         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
28130         (test-xfail-XPG3/termios.h/conform): Likewise.
28131         (test-xfail-XPG3/time.h/conform): Likewise.
28132         (test-xfail-XPG3/unistd.h/conform): Likewise.
28133         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
28134         (test-xfail-XPG4/fcntl.h/conform): Likewise.
28135         (test-xfail-XPG4/langinfo.h/conform): Likewise.
28136         (test-xfail-XPG4/netdb.h/conform): Likewise.
28137         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
28138         (test-xfail-XPG4/signal.h/conform): Likewise.
28139         (test-xfail-XPG4/stdio.h/conform): Likewise.
28140         (test-xfail-XPG4/stdlib.h/conform): Likewise.
28141         (test-xfail-XPG4/stropts.h/conform): Likewise.
28142         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28143         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28144         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28145         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28146         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28147         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
28148         (test-xfail-XPG4/sys/time.h/conform): Likewise.
28149         (test-xfail-XPG4/sys/types.h/conform): Likewise.
28150         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
28151         (test-xfail-XPG4/termios.h/conform): Likewise.
28152         (test-xfail-XPG4/ucontext.h/conform): Likewise.
28153         (test-xfail-XPG4/unistd.h/conform): Likewise.
28154         (test-xfail-XPG4/utmpx.h/conform): Likewise.
28155         (test-xfail-POSIX/sched.h/conform): Likewise.
28156         (test-xfail-POSIX/signal.h/conform): Likewise.
28157         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
28158         (test-xfail-POSIX/tar.h/conform): Likewise.
28159         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
28160         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
28161         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
28162         (test-xfail-UNIX98/netdb.h/conform): Likewise.
28163         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
28164         (test-xfail-UNIX98/sched.h/conform): Likewise.
28165         (test-xfail-UNIX98/signal.h/conform): Likewise.
28166         (test-xfail-UNIX98/stdio.h/conform): Likewise.
28167         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
28168         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28169         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28170         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28171         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28172         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28173         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28174         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
28175         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28176         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28177         (test-xfail-UNIX98/unistd.h/conform): Likewise.
28178         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
28179         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
28180         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
28181         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
28182         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
28183         (test-xfail-XOPEN2K/math.h/conform): Likewise.
28184         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
28185         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28186         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28187         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
28188         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28189         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
28190         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
28191         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28192         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28193         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28194         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28195         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28196         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28197         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28198         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
28199         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28200         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28201         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28202         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
28203         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28204         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
28205         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
28206         (test-xfail-POSIX2008/signal.h/conform): Likewise.
28207         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28208         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
28209         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28210         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28211         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28212         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
28213         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28214         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28215         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28216         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28217         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
28218         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28219         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28220         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28221         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
28222         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28223         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28224         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28225         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28226         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28227         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
28228         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28229         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
28230         (conformtest-cc-flags): Likewise.
28231         ($(conformtest-header-tests): New target.
28232         * conform/check-header-lists.sh: New file.
28233         * conform/run-conformtest.sh: Remove.
28235         * conform/conformtest.pl: Allow ' and \ in values given for
28236         constants.
28237         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
28238         inclusion.
28239         [POSIX] (sys/types.h): Likewise.
28240         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
28241         inclusion.
28242         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
28243         inclusion.
28244         * conform/data/signal.h-data (SIGIO): Remove expectation.
28245         [XPG3] (SIGBUS): Do not expect.
28246         [POSIX || XPG3] (SIGPOLL): Likewise.
28247         [POSIX || XPG3] (SIGPROF): Likewise.
28248         [POSIX || XPG3] (SIGSYS): Likewise.
28249         [XPG3] (SIGTRAP): Likewise.
28250         [POSIX || XPG3] (SIGURG): Likewise.
28251         [POSIX || XPG3] (SIGVTALRM): Likewise.
28252         [POSIX || XPG3] (SIGXCPU): Likewise.
28253         [POSIX || XPG3] (SIGXFSZ): Likewise.
28254         [POSIX] (SA_SIGINFO): Expect.
28255         [XPG3] (siginfo_t): Do not expect type or contents.
28256         [POSIX] (si_pid): Do not expect element.
28257         [POSIX] (si_uid): Likewise.
28258         [POSIX] (si_addr): Likewise.
28259         [POSIX] (si_status): Likewise.
28260         [POSIX] (si_band): Likewise.
28261         [XPG4] (si_value): Likewise.
28262         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
28263         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
28264         [POSIX || XPG3] (ILL_ILLADR): Likewise.
28265         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
28266         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
28267         [POSIX || XPG3] (ILL_PRVREG): Likewise.
28268         [POSIX || XPG3] (ILL_COPROC): Likewise.
28269         [POSIX || XPG3] (ILL_BADSTK): Likewise.
28270         [POSIX || XPG3] (FPE_INTDIV): Likewise.
28271         [POSIX || XPG3] (FPE_INTOVF): Likewise.
28272         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
28273         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
28274         [POSIX || XPG3] (FPE_FLTUND): Likewise.
28275         [POSIX || XPG3] (FPE_FLTRES): Likewise.
28276         [POSIX || XPG3] (FPE_FLTINV): Likewise.
28277         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
28278         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
28279         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
28280         [POSIX || XPG3] (BUS_ADRALN): Likewise.
28281         [POSIX || XPG3] (BUS_ADRERR): Likewise.
28282         [POSIX || XPG3] (BUS_OBJERR): Likewise.
28283         [POSIX || XPG3] (CLD_EXITED): Likewise.
28284         [POSIX || XPG3] (CLD_KILLED): Likewise.
28285         [POSIX || XPG3] (CLD_DUMPED): Likewise.
28286         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
28287         [POSIX || XPG3] (CLD_STOPPED): Likewise.
28288         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
28289         [POSIX || XPG3] (POLL_IN): Likewise.
28290         [POSIX || XPG3] (POLL_OUT): Likewise.
28291         [POSIX || XPG3] (POLL_MSG): Likewise.
28292         [POSIX || XPG3] (POLL_ERR): Likewise.
28293         [POSIX || XPG3] (POLL_PRI): Likewise.
28294         [POSIX || XPG3] (POLL_HUP): Likewise.
28295         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
28296         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
28297         (SIG*): Do not allow.
28298         [XPG3] (si_*): Likewise.
28299         [XPG3] (SI_*): Likewise.
28300         [XPG3 || XPG4] (sigev_*): Likewise.
28301         [XPG3 || XPG4] (SIGEV_*): Likewise.
28302         [XPG3 || XPG4] (sival_*): Likewise.
28303         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
28304         [POSIX || XPG3] (BUS_*): Likewise.
28305         [POSIX || XPG3] (CLD_*): Likewise.
28306         [POSIX || XPG3] (FPE_*): Likewise.
28307         [POSIX || XPG3] (ILL_*): Likewise.
28308         [POSIX || XPG3] (POLL_*): Likewise.
28309         [POSIX || XPG3] (SEGV_*): Likewise.
28310         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
28311         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
28312         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
28313         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
28314         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
28315         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
28316         Specify type and value.
28317         (TVERSLEN): Likewise.
28318         (REGTYPE): Likewise.
28319         (AREGTYPE): Likewise.
28320         (LNKTYPE): Likewise.
28321         (SYMTYPE): Likewise.
28322         (CHRTYPE): Likewise.
28323         (BLKTYPE): Likewise.
28324         (DIRTYPE): Likewise.
28325         (FIFOTYPE): Likewise.
28326         (CONTTYPE): Likewise.
28327         (TSUID): Likewise.
28328         (TSGID): Likewise.
28329         (TSVTX): Likewise.
28330         (TUREAD): Likewise.
28331         (TUWRITE): Likewise.
28332         (TUEXEC): Likewise.
28333         (TGREAD): Likewise.
28334         (TGWRITE): Likewise.
28335         (TGEXEC): Likewise.
28336         (TOREAD): Likewise.
28337         (TOWRITE): Likewise.
28338         (TOEXEC): Likewise.
28339         [POSIX] (TSVTX): Expect constant.
28341 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
28343         * Makefile (tests): Change dependencies to ....
28344         (tests-special): ... additions to this variable.
28345         (tests): Depend on $(tests-special).
28346         * Makerules (check-abi-list): New variable.
28347         (check-abi): Depend on $(check-abi-list).
28348         [$(subdir) = elf] (tests-special): Add
28349         $(objpfx)check-abi-libc.out.
28350         [$(build-shared) = yes && subdir] (tests-special): Add
28351         $(check-abi-list).
28352         [$(build-shared) = yes && subdir] (tests): Do not depend on
28353         check-abi.
28354         * Rules (tests): Depend on $(tests-special).
28355         (xtests): Depend on $(xtests-special).
28356         * catgets/Makefile (tests): Change dependencies to ....
28357         (tests-special): ... additions to this variable.
28358         * conform/Makefile (tests): Change dependencies to ....
28359         (tests-special): ... additions to this variable.
28360         * elf/Makefile (tests): Change dependencies to ....
28361         (tests-special): ... additions to this variable.
28362         * grp/Makefile (tests): Change dependencies to ....
28363         (tests-special): ... additions to this variable.
28364         * iconv/Makefile (xtests): Change dependencies to ....
28365         (xtests-special): ... additions to this variable.
28366         * iconvdata/Makefile (tests): Change dependencies to ....
28367         (tests-special): ... additions to this variable.
28368         * intl/Makefile (tests): Change dependencies to ....
28369         (tests-special): ... additions to this variable.  Also add
28370         $(objpfx)tst-gettext.out.
28371         * io/Makefile (tests): Change dependencies to ....
28372         (tests-special): ... additions to this variable.
28373         * libio/Makefile (tests): Change dependencies to ....
28374         (tests-special): ... additions to this variable.
28375         * malloc/Makefile (tests): Change dependencies to ....
28376         (tests-special): ... additions to this variable.
28377         * misc/Makefile (tests): Change dependencies to ....
28378         (tests-special): ... additions to this variable.
28379         * nptl/Makefile (tests): Change dependencies to ....
28380         (tests-special): ... additions to this variable.
28381         * nptl_db/Makefile (tests): Change dependencies to ....
28382         (tests-special): ... additions to this variable.
28383         * posix/Makefile (tests): Change dependencies to ....
28384         (tests-special): ... additions to this variable.
28385         (xtests): Change dependencies to ....
28386         (xtests-special): ... additions to this variable.
28387         * resolv/Makefile (tests): Change dependencies to ....
28388         (tests-special): ... additions to this variable.
28389         (xtests): Change dependencies to ....
28390         (xtests-special): ... additions to this variable.
28391         * stdio-common/Makefile (tests): Change dependencies to ....
28392         (tests-special): ... additions to this variable.
28393         (do-tst-unbputc): Remove target.
28394         (do-tst-printf): Likewise.
28395         * stdlib/Makefile (tests): Change dependencies to ....
28396         (tests-special): ... additions to this variable.
28397         * string/Makefile (tests): Change dependencies to ....
28398         (tests-special): ... additions to this variable.
28399         * sysdeps/x86/Makefile (tests): Change dependencies to ....
28400         (tests-special): ... additions to this variable.
28402         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
28403         whole file.
28404         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
28405         whole file.
28406         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
28407         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
28409         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
28410         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
28411         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
28412         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
28413         * conform/data/libgen.h-data [XPG3]: Likewise.
28414         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
28415         * conform/data/ndbm.h-data [XPG3]: Likewise.
28416         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28417         * conform/data/netdb.h-data [XPG3]: Likewise.
28418         * conform/data/netinet/in.h-data [XPG3]: Likewise.
28419         * conform/data/poll.h-data [XPG3]: Likewise.
28420         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28421         * conform/data/strings.h-data [XPG3]: Likewise.
28422         * conform/data/stropts.h-data [XPG3]: Likewise.
28423         * conform/data/sys/mman.h-data [XPG3]: Likewise.
28424         * conform/data/sys/resource.h-data [XPG3]: Likewise.
28425         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
28426         Likewise.
28427         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
28428         * conform/data/sys/time.h-data [XPG3]: Likewise.
28429         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
28430         * conform/data/sys/uio.h-data [XPG3]: Likewise.
28431         * conform/data/sys/un.h-data [XPG3]: Likewise.
28432         * conform/data/syslog.h-data [XPG3]: Likewise.
28433         * conform/data/ucontext.h-data [XPG3]: Likewise.
28434         * conform/data/utmpx.h-data [XPG3]: Likewise.
28435         * conform/data/varargs.h-data [UNIX98]: Enable file.
28437         * manual/Makefile (INSTALL_INFO): Remove variable setting.
28439         * math/libm-test.inc (struct test_f_f_data): Move expected results
28440         into structure for each rounding mode.
28441         (struct test_ff_f_data): Likewise.
28442         (struct test_ff_f_data_nexttoward): Likewise.
28443         (struct test_fi_f_data): Likewise.
28444         (struct test_fl_f_data): Likewise.
28445         (struct test_if_f_data): Likewise.
28446         (struct test_fff_f_data): Likewise.
28447         (struct test_c_f_data): Likewise.
28448         (struct test_f_f1_data): Likewise.
28449         (struct test_fF_f1_data): Likewise.
28450         (struct test_ffI_f1_data): Likewise.
28451         (struct test_c_c_data): Likewise.
28452         (struct test_cc_c_data): Likewise.
28453         (struct test_f_i_data): Likewise.
28454         (struct test_ff_i_data): Likewise.
28455         (struct test_f_l_data): Likewise.
28456         (struct test_f_L_data): Likewise.
28457         (struct test_fFF_11_data): Likewise.
28458         (RM_): New macro.
28459         (RM_FE_DOWNWARD): Likewise.
28460         (RM_FE_TONEAREST): Likewise.
28461         (RM_FE_TOWARDZERO): Likewise.
28462         (RM_FE_UPWARD): Likewise.
28463         (RUN_TEST_LOOP_f_f): Update references to expected results.
28464         (RUN_TEST_LOOP_2_f): Likewise.
28465         (RUN_TEST_LOOP_fff_f): Likewise.
28466         (RUN_TEST_LOOP_c_f): Likewise.
28467         (RUN_TEST_LOOP_f_f1): Likewise.
28468         (RUN_TEST_LOOP_fF_f1): Likewise.
28469         (RUN_TEST_LOOP_fI_f1): Likewise.
28470         (RUN_TEST_LOOP_ffI_f1): Likewise.
28471         (RUN_TEST_LOOP_c_c): Likewise.
28472         (RUN_TEST_LOOP_cc_c): Likewise.
28473         (RUN_TEST_LOOP_f_i): Likewise.
28474         (RUN_TEST_LOOP_f_i_tg): Likewise.
28475         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28476         (RUN_TEST_LOOP_f_b): Likewise.
28477         (RUN_TEST_LOOP_f_b_tg): Likewise.
28478         (RUN_TEST_LOOP_f_l): Likewise.
28479         (RUN_TEST_LOOP_f_L): Likewise.
28480         (RUN_TEST_LOOP_fFF_11): Likewise.
28481         * math/gen-libm-test.pl (parse_args): Output four copies of
28482         expected results for each test.
28484         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28485         (__ASSUME_UTIMES): Remove.
28486         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28487         (__ASSUME_UTIMES): Likewise.
28489         * math/gen-auto-libm-tests.c: Update comment on output format.
28490         (output_for_one_input_case): Generate before-rounding and
28491         after-rounding information as conditions on output flags not
28492         floating-point format.
28493         * math/auto-libm-test-out: Regenerated.
28494         * math/gen-libm-test.pl (cond_value): New function.
28495         (or_cond_value): Use cond_value.
28496         (generate_testfile): Handle conditional exceptions.
28498 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
28500         * math/libm-test.inc (max_valid_error): New variable.
28501         (init_max_error): Take new argument specifying whether function
28502         results are exactly determined.  Set max_valid_error and bound
28503         other variables for errors based on this argument.
28504         (set_max_error): Do not record results above max_valid_error.
28505         (check_float_internal): Only accept errors of up to 0.5ulps if
28506         also at most max_valid_error.
28507         (START): Take new argument EXACT and pass it to init_max_error.
28508         (acos_test): Update call to START.
28509         (acos_test_tonearest): Likewise.
28510         (acos_test_towardzero): Likewise.
28511         (acos_test_downward): Likewise.
28512         (acos_test_upward): Likewise.
28513         (acosh_test): Likewise.
28514         (asin_test): Likewise.
28515         (asin_test_tonearest): Likewise.
28516         (asin_test_towardzero): Likewise.
28517         (asin_test_downward): Likewise.
28518         (asin_test_upward): Likewise.
28519         (asinh_test): Likewise.
28520         (atan_test): Likewise.
28521         (atanh_test): Likewise.
28522         (atan2_test): Likewise.
28523         (cabs_test): Likewise.
28524         (cacos_test): Likewise.
28525         (cacosh_test): Likewise.
28526         (carg_test): Likewise.
28527         (casin_test): Likewise.
28528         (casinh_test): Likewise.
28529         (catan_test): Likewise.
28530         (catanh_test): Likewise.
28531         (cbrt_test): Likewise.
28532         (ccos_test): Likewise.
28533         (ccosh_test): Likewise.
28534         (ceil_test): Likewise.
28535         (cexp_test): Likewise.
28536         (cimag_test): Likewise.
28537         (clog_test): Likewise.
28538         (clog10_test): Likewise.
28539         (conj_test): Likewise.
28540         (copysign_test): Likewise.
28541         (cos_test): Likewise.
28542         (cos_test_tonearest): Likewise.
28543         (cos_test_towardzero): Likewise.
28544         (cos_test_downward): Likewise.
28545         (cos_test_upward): Likewise.
28546         (cosh_test): Likewise.
28547         (cosh_test_tonearest): Likewise.
28548         (cosh_test_towardzero): Likewise.
28549         (cosh_test_downward): Likewise.
28550         (cosh_test_upward): Likewise.
28551         (cpow_test): Likewise.
28552         (cproj_test): Likewise.
28553         (creal_test): Likewise.
28554         (csin_test): Likewise.
28555         (csinh_test): Likewise.
28556         (csqrt_test): Likewise.
28557         (ctan_test): Likewise.
28558         (ctan_test_tonearest): Likewise.
28559         (ctan_test_towardzero): Likewise.
28560         (ctan_test_downward): Likewise.
28561         (ctan_test_upward): Likewise.
28562         (ctanh_test): Likewise.
28563         (ctanh_test_tonearest): Likewise.
28564         (ctanh_test_towardzero): Likewise.
28565         (ctanh_test_downward): Likewise.
28566         (ctanh_test_upward): Likewise.
28567         (erf_test): Likewise.
28568         (erfc_test): Likewise.
28569         (exp_test): Likewise.
28570         (exp_test_tonearest): Likewise.
28571         (exp_test_towardzero): Likewise.
28572         (exp_test_downward): Likewise.
28573         (exp_test_upward): Likewise.
28574         (exp10_test): Likewise.
28575         (exp10_test_tonearest): Likewise.
28576         (exp10_test_towardzero): Likewise.
28577         (exp10_test_downward): Likewise.
28578         (exp10_test_upward): Likewise.
28579         (pow10_test): Likewise.
28580         (exp2_test): Likewise.
28581         (expm1_test): Likewise.
28582         (expm1_test_tonearest): Likewise.
28583         (expm1_test_towardzero): Likewise.
28584         (expm1_test_downward): Likewise.
28585         (expm1_test_upward): Likewise.
28586         (fabs_test): Likewise.
28587         (fdim_test): Likewise.
28588         (floor_test): Likewise.
28589         (fma_test): Likewise.
28590         (fma_test_towardzero): Likewise.
28591         (fma_test_downward): Likewise.
28592         (fma_test_upward): Likewise.
28593         (fmax_test): Likewise.
28594         (fmin_test): Likewise.
28595         (fmod_test): Likewise.
28596         (fpclassify_test): Likewise.
28597         (frexp_test): Likewise.
28598         (hypot_test): Likewise.
28599         (ilogb_test): Likewise.
28600         (isfinite_test): Likewise.
28601         (finite_test): Likewise.
28602         (isgreater_test): Likewise.
28603         (isgreaterequal_test): Likewise.
28604         (isinf_test): Likewise.
28605         (isless_test): Likewise.
28606         (islessequal_test): Likewise.
28607         (islessgreater_test): Likewise.
28608         (isnan_test): Likewise.
28609         (isnormal_test): Likewise.
28610         (issignaling_test): Likewise.
28611         (isunordered_test): Likewise.
28612         (j0_test): Likewise.
28613         (j1_test): Likewise.
28614         (jn_test): Likewise.
28615         (ldexp_test): Likewise.
28616         (lgamma_test): Likewise.
28617         (gamma_test): Likewise.
28618         (lrint_test): Likewise.
28619         (lrint_test_tonearest): Likewise.
28620         (lrint_test_towardzero): Likewise.
28621         (lrint_test_downward): Likewise.
28622         (lrint_test_upward): Likewise.
28623         (llrint_test): Likewise.
28624         (llrint_test_tonearest): Likewise.
28625         (llrint_test_towardzero): Likewise.
28626         (llrint_test_downward): Likewise.
28627         (llrint_test_upward): Likewise.
28628         (log_test): Likewise.
28629         (log10_test): Likewise.
28630         (log1p_test): Likewise.
28631         (log2_test): Likewise.
28632         (logb_test): Likewise.
28633         (logb_test_downward): Likewise.
28634         (lround_test): Likewise.
28635         (llround_test): Likewise.
28636         (modf_test): Likewise.
28637         (nearbyint_test): Likewise.
28638         (nextafter_test): Likewise.
28639         (nexttoward_test): Likewise.
28640         (pow_test): Likewise.
28641         (pow_test_tonearest): Likewise.
28642         (pow_test_towardzero): Likewise.
28643         (pow_test_downward): Likewise.
28644         (pow_test_upward): Likewise.
28645         (remainder_test): Likewise.
28646         (drem_test): Likewise.
28647         (remainder_test_tonearest): Likewise.
28648         (drem_test_tonearest): Likewise.
28649         (remainder_test_towardzero): Likewise.
28650         (drem_test_towardzero): Likewise.
28651         (remainder_test_downward): Likewise.
28652         (drem_test_downward): Likewise.
28653         (remainder_test_upward): Likewise.
28654         (drem_test_upward): Likewise.
28655         (remquo_test): Likewise.
28656         (rint_test): Likewise.
28657         (rint_test_tonearest): Likewise.
28658         (rint_test_towardzero): Likewise.
28659         (rint_test_downward): Likewise.
28660         (rint_test_upward): Likewise.
28661         (round_test): Likewise.
28662         (scalb_test): Likewise.
28663         (scalbn_test): Likewise.
28664         (scalbln_test): Likewise.
28665         (signbit_test): Likewise.
28666         (sin_test): Likewise.
28667         (sin_test_tonearest): Likewise.
28668         (sin_test_towardzero): Likewise.
28669         (sin_test_downward): Likewise.
28670         (sin_test_upward): Likewise.
28671         (sincos_test): Likewise.
28672         (sinh_test): Likewise.
28673         (sinh_test_tonearest): Likewise.
28674         (sinh_test_towardzero): Likewise.
28675         (sinh_test_downward): Likewise.
28676         (sinh_test_upward): Likewise.
28677         (sqrt_test): Likewise.
28678         (sqrt_test_tonearest): Likewise.
28679         (sqrt_test_towardzero): Likewise.
28680         (sqrt_test_downward): Likewise.
28681         (sqrt_test_upward): Likewise.
28682         (tan_test): Likewise.
28683         (tan_test_tonearest): Likewise.
28684         (tan_test_towardzero): Likewise.
28685         (tan_test_downward): Likewise.
28686         (tan_test_upward): Likewise.
28687         (tanh_test): Likewise.
28688         (tgamma_test): Likewise.
28689         (trunc_test): Likewise.
28690         (y0_test): Likewise.
28691         (y1_test): Likewise.
28692         (yn_test): Likewise.
28693         (significand_test): Likewise.
28695         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
28696         individual tests in comment.
28697         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
28698         (prev_max_error): New variable.
28699         (prev_real_max_error): Likewise.
28700         (prev_imag_max_error): Likewise.
28701         (compare_ulp_data): Don't refer to test names in comment.
28702         (find_test_ulps): Remove function.
28703         (find_function_ulps): Likewise.
28704         (find_complex_function_ulps): Likewise.
28705         (init_max_error): Take function name as argument.  Look up ulps
28706         for that function.
28707         (print_ulps): Remove function.
28708         (print_max_error): Use prev_max_error instead of calling
28709         find_function_ulps.
28710         (print_complex_max_error): Use prev_real_max_error and
28711         prev_imag_max_error instead of calling find_complex_function_ulps.
28712         (check_float_internal): Take max_ulp parameter instead of calling
28713         find_test_ulps.  Don't call print_ulps.
28714         (check_float): Update call to check_float_internal.
28715         (check_complex): Update calls to check_float_internal.
28716         (START): Pass argument to init_max_error.
28717         * math/gen-libm-test.pl (%results): Don't include "kind"
28718         information.
28719         (parse_ulps): Don't handle ulps of individual tests.
28720         (print_ulps_file): Likewise.
28721         (output_ulps): Likewise.
28722         * math/README.libm-test: Update.
28723         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
28724         individual tests.
28725         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
28726         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28727         * sysdeps/arm/libm-test-ulps: Likewise.
28728         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28729         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
28730         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
28731         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
28732         * sysdeps/microblaze/libm-test-ulps: Likewise.
28733         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28734         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28735         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28736         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28737         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28738         * sysdeps/sh/libm-test-ulps: Likewise.
28739         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28740         * sysdeps/tile/libm-test-ulps: Likewise.
28741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28743 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
28745         * math/libm-test.inc (print_complex_max_error): Check separately
28746         whether real and imaginary errors are within allowed range and
28747         pass 0 to print_complex_function_ulps instead of value within
28748         allowed range.
28750 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28752         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
28753         formatting.
28754         (get_handles_fopen): Likewise.
28755         (do_write_test): Likewise.
28757         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
28759         * libio/fileops.c (do_ftell): Use cached offset when
28760         available.
28761         * libio/iofwide.c (do_ftell_wide): Likewise.
28762         * libio/iofdopen.c (_IO_new_fdopen): Don't use
28763         _IO_file_attach.
28764         * libio/wfileops.c (_IO_fwide): Don't cache offset.
28766         [BZ #16532]
28767         * libio/libioP.h (get_file_offset): New function.
28768         * libio/fileops.c (get_file_offset): Likewise.
28769         (do_ftell): Likewise.
28770         (_IO_new_file_seekoff): Split out ftell logic.
28771         * libio/wfileops.c (do_ftell_wide): Likewise.
28772         (_IO_wfile_seekoff): Split out ftell logic.
28773         * libio/tst-ftell-active-handler.c: New test case.
28774         * libio/Makefile (tests): Add it.
28776 2014-03-03  Roland McGrath  <roland@hack.frob.com>
28778         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
28779         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
28781 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28783         [BZ #16639]
28784         * nscd/connections.c (nscd_init): Call do_exit.
28785         (start_threads): Call do_exit and notify_parent.
28786         (begin_drop_privileges): Call do_exit.
28787         (finish_drop_privileges): Likewise.
28788         * nscd/selinux.c (preserve_capabilities): Likewise.
28789         (install_real_capabilities): Likewise.
28790         (nscd_selinux_enabled): Likewise.
28791         (avc_create_thread): Likewise.
28792         (avc_alloc_lock): Likewise.
28793         (nscd_avc_init): Likewise.
28794         * nscd/nscd.c (parent_fd): New static variable.
28795         (main): Create a pipe between parent and child processes.
28796         Skip closing parent_fd.
28797         (monitor_child): New function.
28798         (do_exit): Likewise.
28799         (notify_parent): Likewise.
28800         * nscd/nscd.h (notify_parent): Likewise.
28801         (do_exit): Likewise.
28803 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
28805         * malloc/malloc.c (__libc_calloc): Revert last change.
28807 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28811 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28813         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
28814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
28815         implementation.
28816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28817         (__libc_ifunc_impl_list): Likewise.
28818         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
28819         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
28820         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
28821         * string/strrchr.c: Define STRRCHR.
28823 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
28825         * benchtest/bench-strtok.c (simple_strtok): Delete.
28826         (strtok_string): Use as benchmark.
28827         * string/strtok (STRTOK): New macro.
28829 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
28831         * manual/threads.texi: Add header and standard comments to all
28832         functions.
28834         * elf/dl-lookup.c (check_match): New function.
28835         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
28836         (do_lookup_x): Remove nested function check_match. Use non-nested
28837         function check_match.
28839 2014-02-28  Roland McGrath  <roland@hack.frob.com>
28841         * csu/Makefile (generated, before-compile): Use += rather than =.
28842         * catgets/Makefile (generated, generated-dirs): Likewise.
28843         * debug/Makefile (generated): Likewise.
28844         * dlfcn/Makefile (generated): Likewise.
28845         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
28846         * iconvdata/Makefile (before-compile, generated): Likewise.
28847         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
28848         * libio/Makefile (generated): Likewise.
28849         * malloc/Makefile (generated): Likewise.
28850         * manual/Makefile (generated, generated-dirs): Likewise.
28851         * misc/Makefile (generated): Likewise.
28852         * posix/Makefile (generated): Likewise.
28853         * resolv/Makefile (generated): Likewise.
28854         * sunrpc/Makefile (generated, generated-dirs): Likewise.
28855         * timezone/Makefile (generated, generated-dirs): Likewise.
28857         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
28859 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28862         power8 implementation.
28863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
28864         file: POWER8 llround ifunc implementation.
28865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
28866         (__lllround): Add POWER8 implementation.
28867         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
28868         POWER8 llround implementation.
28870         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
28871         power8 implementation.
28872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
28873         file: POWER8 llrint ifunc implementation.
28874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
28875         Add POWER8 implementation.
28876         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
28877         POWER8 llrint implementation.
28879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
28880         power8 implementation.
28881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
28882         file: POWER8 finite ifunc implementation.
28883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
28884         Add POWER8 implementation.
28885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
28886         Likewise.
28887         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
28888         POWER8 finite implementation.
28889         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
28891         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
28892         power8 implementation.
28893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
28894         file: POWER8 isinf ifunc implementation.
28895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
28896         POWER8 implementation.
28897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
28898         Likewise.
28899         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
28900         isinf implementation.
28901         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
28903         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
28904         (INIT_ARCH): Add hwcap2 initialization.
28905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28906         power8 implementation.
28907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
28908         file: POWER8 isnan ifunc implementation.
28909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
28910         POWER8 implementation.
28911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
28912         Likewise.
28913         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
28914         isnan implementation.
28915         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
28917 2014-02-27  Joey Ye  <joey.ye@arm.com>
28919         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28920         (_FP_NANFRAC_Q): Set to zero.
28922 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28924         [BZ #16623]
28925         * math/auto-libm-test-in: New test inputs.
28926         * math/auto-libm-test-out: Regenerate.
28927         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
28928         and DA.
28929         (__cos): Likewise.
28930         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28932 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
28934         * scripts/evaluate-test.sh: Take new argument indicating whether
28935         failure is expected.
28936         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
28937         indicating whether failure is expected.
28938         * conform/Makefile (test-xfail-run-conformtest): New variable.
28939         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
28940         level.
28941         * posix/Makefile (test-xfail-annexc): New variable.
28942         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
28944 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
28946         * argp/Makefile: Include Makeconfig immediately after defining
28947         subdir.
28948         * assert/Makefile: Likewise.
28949         * benchtests/Makefile: Likewise.
28950         * catgets/Makefile: Likewise.
28951         * conform/Makefile: Likewise.
28952         * crypt/Makefile: Likewise.
28953         * csu/Makefile: Likewise.
28954         (all): Remove target.
28955         * ctype/Makefile: Include Makeconfig immediately after defining
28956         subdir.
28957         * debug/Makefile: Likewise.
28958         * dirent/Makefile: Likewise.
28959         * dlfcn/Makefile: Likewise.
28960         * gmon/Makefile: Likewise.
28961         * gnulib/Makefile: Likewise.
28962         * grp/Makefile: Likewise.
28963         * gshadow/Makefile: Likewise.
28964         * hesiod/Makefile: Likewise.
28965         * hurd/Makefile: Likewise.
28966         (all): Remove target.
28967         * iconvdata/Makefile: Include Makeconfig immediately after
28968         defining subdir.
28969         * inet/Makefile: Likewise.
28970         * intl/Makefile: Likewise.
28971         * io/Makefile: Likewise.
28972         * libio/Makefile: Likewise.
28973         (all): Remove target.
28974         * locale/Makefile: Include Makeconfig immediately after defining
28975         subdir.
28976         * login/Makefile: Likewise.
28977         * mach/Makefile: Likewise.
28978         (all): Remove target.
28979         * malloc/Makefile: Include Makeconfig immediately after defining
28980         subdir.
28981         (all): Remove target.
28982         * manual/Makefile: Include Makeconfig immediately after defining
28983         subdir.
28984         * math/Makefile: Likewise.
28985         * misc/Makefile: Likewise.
28986         * nis/Makefile: Likewise.
28987         * nss/Makefile: Likewise.
28988         * po/Makefile: Likewise.
28989         (all): Remove target.
28990         * posix/Makefile: Include Makeconfig immediately after defining
28991         subdir.
28992         * pwd/Makefile: Likewise.
28993         * resolv/Makefile: Likewise.
28994         * resource/Makefile: Likewise.
28995         * rt/Makefile: Likewise.
28996         * setjmp/Makefile: Likewise.
28997         * shadow/Makefile: Likewise.
28998         * signal/Makefile: Likewise.
28999         * socket/Makefile: Likewise.
29000         * soft-fp/Makefile: Likewise.
29001         * stdio-common/Makefile: Likewise.
29002         * stdlib/Makefile: Likewise.
29003         * streams/Makefile: Likewise.
29004         * string/Makefile: Likewise.
29005         * sunrpc/Makefile: Likewise.
29006         (all): Remove target.
29007         * sysvipc/Makefile: Include Makeconfig immediately after defining
29008         subdir.
29009         * termios/Makefile: Likewise.
29010         * time/Makefile: Likewise.
29011         * timezone/Makefile: Likewise.
29012         (all): Remove target.
29013         * wcsmbs/Makefile: Include Makeconfig immediately after defining
29014         subdir.
29015         * wctype/Makefile: Likewise.
29017 2014-02-26  Steve Ellcey  <sellcey@mips.com>
29019         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
29020         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
29021         (libc_feholdexcept_setround_mips): Ditto.
29022         (libc_feholdsetround): New.
29023         (libc_feholdsetroundf): New.
29024         (libc_feholdsetroundl): New.
29025         (libc_feupdateenv_test_mips): New.
29026         (libc_feupdateenv_test): New.
29027         (libc_feupdateenv_testf): New.
29028         (libc_feupdateenv_testl): New.
29029         (libc_feresetround): New.
29030         (libc_feresetroundf): New.
29031         (libc_feresetroundl): New.
29032         (libc_fetestexcept_mips): New.
29033         (libc_fetestexcept): New.
29034         (libc_fetestexceptf): New.
29035         (libc_fetestexceptl): New.
29036         (HAVE_RM_CTX): New.
29037         (libc_feholdexcept_setround_mips_ctx): New.
29038         (libc_feholdexcept_setround_ctx): New.
29039         (libc_feholdexcept_setroundf_ctx): New.
29040         (libc_feholdexcept_setroundl_ctx): New.
29041         (libc_fesetenv_mips_ctx): New.
29042         (libc_fesetenv_ctx): New.
29043         (libc_fesetenv_ctxf): New.
29044         (libc_fesetenv_ctxl): New.
29045         (libc_feupdateenv_mips_ctx): New.
29046         (libc_feupdateenv_ctx): New.
29047         (libc_feupdateenvf_ctx): New.
29048         (libc_feupdateenvl_ctx): New.
29049         (libc_feholdsetround_mips_ctx): New.
29050         (libc_feholdsetround_ctx): New.
29051         (libc_feholdsetroundf_ctx): New.
29052         (libc_feholdsetroundl_ctx): New.
29053         (libc_feresetround_mips_ctx): New.
29054         (libc_feresetround_ctx): New.
29055         (libc_feresetroundf_ctx): New.
29056         (libc_feresetroundl_ctx): New.
29058 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
29060         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
29062         * manual/ipc.texi: New file.
29063         * manual/Makefile (chapters): Add ipc.
29064         * manual/job.texi: Add "Inter-Process Communication" to next.
29065         * manual/process.texi: Add "Inter-Process Communication" to prev.
29067 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29071 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
29073         * malloc/malloc.c (__libc_calloc): Simplify implementation.
29075         * manual/arith.texi: Fix spaces after sentences.
29076         * manual/charset.texi: Likewise.
29077         * manual/errno.texi: Likewise.
29078         * manual/install.texi: Likewise.
29079         * manual/llio.texi: Likewise.
29080         * manual/locale.texi: Likewise.
29081         * manual/maint.texi: Likewise.
29082         * manual/math.texi: Likewise.
29083         * manual/memory.texi: Likewise.
29084         * manual/message.texi: Likewise.
29085         * manual/probes.texi: Likewise.
29086         * manual/resource.texi: Likewise.
29087         * manual/signal.texi: Likewise.
29088         * manual/socket.texi: Likewise.
29089         * manual/stdio.texi: Likewise.
29090         * manual/string.texi: Likewise.
29091         * manual/time.texi: Likewise.
29092         * manual/users.texi: Likewise.
29094 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
29096         [BZ #16632]
29097         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
29098         _DEFAULT_SOURCE is defined.
29100 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
29101             Carlos O'Donell  <carlos@redhat.com>
29103         [BZ #16613]
29104         * elf/dl-tls.c (_dl_count_modids): New function.
29105         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
29106         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
29107         audit library and increment generation counter.
29108         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
29109         * elf/tst-audit9.c: New file.
29110         * elf/tst-auditmod9a.c: New file.
29111         * elf/tst-auditmod9b.c: New file.
29112         * elf/Makefile: Add rules to build and run tst-audit9.
29114 2014-02-25  Florian Weimer  <fweimer@redhat.com>
29116         [BZ #15347]
29117         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
29119 2014-02-25  Will Newton  <will.newton@linaro.org>
29121         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
29122         (__longjmp): Restore sp and lr before restoring callee
29123         saved registers.  Add longjmp and longjmp_target
29124         SystemTap probe point.
29125         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
29126         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
29127         Define to zero to match jmpbuf layout.
29128         * sysdeps/arm/setjmp.S: Include stap-probe.h.
29129         (__sigsetjmp): Save sp and lr before saving callee
29130         saved registers.  Add setjmp SystemTap probe point.
29132 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29134         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29136 2014-02-24  Andreas Schwab  <schwab@suse.de>
29138         [BZ #15804]
29139         * elf/pldd.c (wait_for_ptrace_stop): New function.
29140         (main): Call it after attaching.
29142 2014-02-22  Roland McGrath  <roland@hack.frob.com>
29144         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
29145         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
29146         Versions files is now verboten.
29147         * hurd/Versions (libc: GLIBC_2.0):
29148         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
29149         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
29150         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
29151         * mach/Versions: Likewise.
29153         * csu/Versions: Remove unused %include.
29154         * resolv/Versions: Likewise.
29156 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
29158         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
29159         ($(objpfx)check-local-headers.out): Likewise.
29160         ($(objpfx)begin-end-check.out): Likewise.
29161         * Makerules (check-abi-%.out): Likewise.
29162         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
29163         ($(objpfx)test2.cat): Likewise.
29164         ($(objpfx)de/libc.cat): Likewise.
29165         ($(objpfx)test-gencat.out): Likewise.
29166         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
29167         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
29168         ($(objpfx)noload-mem): Likewise.
29169         ($(objpfx)tst-pathopt.out): Likewise.
29170         ($(objpfx)tst-rtld-load-self.out): Likewise.
29171         ($(objpfx)tst-array1-cmp.out): Likewise.
29172         ($(objpfx)tst-array1-static-cmp.out): Likewise.
29173         ($(objpfx)tst-array2-cmp.out): Likewise.
29174         ($(objpfx)tst-array3-cmp.out): Likewise.
29175         ($(objpfx)tst-array4-cmp.out): Likewise.
29176         ($(objpfx)tst-array5-cmp.out): Likewise.
29177         ($(objpfx)tst-array5-static-cmp.out): Likewise.
29178         ($(objpfx)check-textrel.out): Likewise.
29179         ($(objpfx)check-execstack.out): Likewise.
29180         ($(objpfx)check-localplt.out): Likewise.
29181         ($(objpfx)order2-cmp.out): Likewise.
29182         ($(objpfx)tst-leaks1-mem): Likewise.
29183         ($(objpfx)tst-leaks1-static-mem): Likewise.
29184         ($(objpfx)tst-initorder-cmp.out): Likewise.
29185         ($(objpfx)tst-initorder2-cmp.out): Likewise.
29186         ($(objpfx)tst-unused-dep.out): Likewise.
29187         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
29188         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
29189         * iconv/Makefile (test-iconvconfig): Likewise.
29190         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
29191         ($(objpfx)iconv-test.out): Likewise.
29192         ($(objpfx)tst-tables.out): Likewise.
29193         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
29194         ($(objpfx)tst-gettext.out): Likewise.
29195         ($(objpfx)tst-translit.out): Likewise.
29196         ($(objpfx)tst-gettext2.out): Likewise.
29197         ($(objpfx)tst-gettext4.out): Likewise.
29198         ($(objpfx)tst-gettext6.out): Likewise.
29199         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
29200         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
29201         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
29202         ($(objpfx)tst-fopenloc-mem.out): Likewise.
29203         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
29204         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
29205         * posix/Makefile ($(objpfx)globtest.out): Likewise.
29206         ($(objpfx)wordexp-tst.out): Likewise.
29207         ($(objpfx)annexc.out): Likewise.
29208         ($(objpfx)tst-fnmatch-mem): Likewise.
29209         ($(objpfx)bug-regex2-mem): Likewise.
29210         ($(objpfx)bug-regex14-mem): Likewise.
29211         ($(objpfx)bug-regex21-mem): Likewise.
29212         ($(objpfx)bug-regex31-mem): Likewise.
29213         ($(objpfx)tst-vfork3-mem): Likewise.
29214         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29215         ($(objpfx)tst-pcre-mem): Likewise.
29216         ($(objpfx)tst-boost-mem): Likewise.
29217         ($(objpfx)tst-getconf.out): Likewise.
29218         ($(objpfx)bug-ga2-mem): Likewise.
29219         ($(objpfx)bug-glob2-mem): Likewise.
29220         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
29221         ($(objpfx)mtrace-tst-leaks2): Likewise.
29222         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
29223         ($(objpfx)tst-printf.out): Likewise.
29224         ($(objpfx)tst-setvbuf1.out): Likewise.
29225         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
29226         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
29227         ($(objpfx)tst-fmtmsg.out): Likewise.
29228         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
29229         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
29231         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
29232         * bits/sigaction.h [__USE_MISC]: Likewise.
29233         * bits/waitstatus.h: Update #endif comments.
29234         * ctype/ctype.h: Likewise.
29235         * dirent/dirent.h: Likewise.
29236         [__USE_MISC]: Remove redundant conditionals.
29237         * grp/grp.h: Update #endif comments.
29238         [__USE_GNU]: Remove redundant conditionals.
29239         [__USE_MISC]: Likewise.
29240         * inet/netinet/in.h [__USE_GNU]: Likewise.
29241         * io/sys/stat.h [__USE_MISC]: Likewise.
29242         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
29243         * libio/bits/stdio.h: Update #endif comments.
29244         [__USE_MISC]: Remove redundant conditionals.
29245         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
29246         * libio/stdio.h: Update #endif comments.
29247         [__USE_MISC]: Remove redundant conditionals.
29248         * math/bits/math-finite.h [__USE_MISC]: Likewise.
29249         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
29250         * math/math.h: Update #else and #endif comments.
29251         [__USE_MISC]: Remove redundant conditionals.
29252         * misc/sys/uio.h: Update #endif comments.
29253         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
29254         * posix/glob.h [__USE_MISC]: Likewise.
29255         * posix/sys/types.h: Update #endif comments.
29256         [__USE_MISC]: Remove redundant conditionals.
29257         * posix/sys/wait.h: Update #endif comments.
29258         [__USE_MISC]: Remove redundant conditionals.
29259         * posix/unistd.h: Update #endif comments.
29260         [__USE_MISC]: Remove redundant conditionals.
29261         * pwd/pwd.h [__USE_GNU]: Likewise.
29262         [__USE_MISC]: Likewise.
29263         * resolv/netdb.h [__USE_GNU]: Likewise.
29264         * signal/signal.h: Update #endif comments.
29265         [__USE_MISC]: Remove redundant conditionals.
29266         * stdlib/stdlib.h: Update #else and #endif comments.
29267         [__USE_MISC]: Remove redundant conditionals.
29268         [__USE_GNU]: Likewise.
29269         * string/bits/string2.h [__USE_MISC]: Likewise.
29270         * string/string.h: Update #endif comments.
29271         [__USE_MISC]: Remove redundant conditionals.
29272         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
29273         Likewise.
29274         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
29275         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
29276         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
29277         Likewise.
29278         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
29279         Likewise.
29280         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
29281         comments.
29282         [__USE_MISC]: Remove redundant conditionals.
29283         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
29284         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
29285         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
29286         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
29287         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
29288         Likewise.
29289         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
29290         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
29291         Likewise.
29292         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
29293         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
29294         Likewise.
29295         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
29296         Likewise.
29297         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
29298         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
29299         Likewise.
29300         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
29301         Likewise.
29302         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
29303         * sysdeps/x86/bits/string.h: Update #endif comments.
29304         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
29305         conditionals.
29306         * time/sys/time.h: Update #endif comments.
29307         * time/time.h: Likewise.
29308         [__USE_MISC]: Remove redundant conditionals.
29310 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
29312         [BZ #16600]
29313         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
29315 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
29317         * Versions.def (librt): Add GLIBC_2.17.
29319 2014-02-21  Adam Conrad  <adconrad@0c3.net>
29321         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
29322         synonym for _SYS_AUXV_H to allow direct inclusion.
29323         * sysdeps/sparc/bits/hwcap.h: Likewise.
29324         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
29325         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
29326         * sysdeps/sparc/sysdep.h: Likewise.
29328 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29330         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
29332 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29334         * benchtests/bench-strrchr.c: Print length instead of position.
29336 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
29338         [BZ #16611]
29339         * sysdeps/unix/sysv/linux/kernel-features.h
29340         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
29341         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
29342         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
29343         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
29344         Likewise.
29345         [__i386__ || __powerpc__ || __sh__ || __sparc__]
29346         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29347         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
29348         (__ASSUME_SENDMMSG): Define instead of using previous
29349         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
29350         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29351         (__ASSUME_SENDMMSG_SYSCALL): Define.
29352         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29353         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
29354         Likewise.
29355         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29356         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29357         Likewise.
29358         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29359         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29360         Likewise.
29361         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
29362         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29363         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29364         [__ASSUME_SENDMMSG]: Change conditionals to
29365         [__ASSUME_SENDMMSG_SOCKETCALL].
29366         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29367         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
29368         Define.
29369         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29370         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
29371         Likewise.
29372         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
29373         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29374         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29375         [!__ASSUME_SENDMMSG]: Change conditional to
29376         [!__ASSUME_SENDMMSG_SOCKETCALL].
29377         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29378         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29379         Define.
29381         [BZ #16610]
29382         * sysdeps/unix/sysv/linux/kernel-features.h
29383         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
29384         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
29385         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
29386         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
29387         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29388         [__i386__ || __sparc__]
29389         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29390         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
29391         (__ASSUME_RECVMMSG): Define instead of using previous
29392         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
29393         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29394         (__ASSUME_RECVMMSG_SYSCALL): Define.
29395         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29396         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29397         Likewise.
29398         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29399         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29400         Likewise.
29401         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29402         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29403         Likewise.
29404         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
29405         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29406         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29407         [__ASSUME_RECVMMSG]: Change condition to
29408         [__ASSUME_RECVMMSG_SOCKETCALL].
29409         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29410         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29411         Define.
29412         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29413         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29414         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29415         Likewise.
29416         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
29417         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29418         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29419         [!__ASSUME_RECVMMSG]: Change condition to
29420         [!__ASSUME_RECVMMSG_SOCKETCALL].
29421         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29422         (__ASSUME_RECVMMSG_SYSCALL): Define.
29424         [BZ #16609]
29425         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
29426         __powerpc__ || __s390__ || __sh__ || __sparc__]
29427         (__ASSUME_SOCKETCALL): Define.
29428         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
29429         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
29430         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
29431         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
29432         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29433         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29434         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
29435         (__ASSUME_ACCEPT4): Define instead of using previous
29436         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
29437         __powerpc__ || __sparc__ || __s390__)] condition.
29438         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29439         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29440         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
29441         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29442         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29443         [!__ASSUME_ACCEPT4]: Change condition to
29444         [!__ASSUME_ACCEPT4_SOCKETCALL].
29445         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29446         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
29447         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
29448         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29449         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
29450         __ASSUME_ACCEPT4_SYSCALL.
29451         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
29452         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
29453         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29454         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
29455         __ASSUME_ACCEPT4_SYSCALL.
29456         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
29457         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29458         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29459         [__ASSUME_ACCEPT4]: Change condition to
29460         [__ASSUME_ACCEPT4_SOCKETCALL].
29461         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29462         (__ASSUME_SOCKETCALL): Define.
29463         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
29464         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29465         (__ASSUME_SOCKETCALL): Define.
29466         (__ASSUME_ACCEPT4): Remove.
29467         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
29468         Define.
29469         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29470         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
29471         Likewise.
29472         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29473         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29475         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
29476         macro.
29477         (HWCAP_ARM_LPAE): Likewise.
29478         (HWCAP_ARM_EVTSTRM): Likewise.
29479         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
29480         Add vpfd32, lpae and evtstrm.
29481         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
29482         Increase to 22.
29484 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
29486         * math/auto-libm-test-in: Add tests of clog10.
29487         * math/auto-libm-test-out: Regenerated.
29488         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
29489         * sysdeps/i386/fpu/libm-test-ulps: Update.
29490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29492 2014-02-18  Andreas Schwab  <schwab@suse.de>
29494         [BZ #16574]
29495         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
29496         Store non-zero if the second buffer was newly allocated.
29497         (send_dg): Likewise.
29498         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
29499         to send_vc and send_dg.
29500         (res_nsend): Pass NULL for ansp2_malloced.
29501         * resolv/res_query.c (__libc_res_nquery): Add parameter
29502         answerp2_malloced and pass it down to __libc_res_nsend.
29503         (res_nquery): Pass additional NULL to __libc_res_nquery.
29504         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
29505         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
29506         second answer buffer if answerp2_malloced was set.
29507         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
29508         (__libc_res_nquerydomain): Add parameter
29509         answerp2_malloced and pass it down to __libc_res_nquery.
29510         (res_nquerydomain): Pass additional NULL to
29511         __libc_res_nquerydomain.
29512         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
29513         additional NULL to __libc_res_nsend and __libc_res_nquery.
29514         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
29515         additional NULL to __libc_res_nsearch.
29516         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
29517         parameter of __libc_res_nsearch to check for separately allocated
29518         second buffer.
29519         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
29520         __libc_res_nquery.
29521         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
29522         additional NULL to __libc_res_nquery.
29523         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
29524         __libc_res_nsearch.
29525         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
29526         * include/resolv.h: Update prototypes of __libc_res_nquery,
29527         __libc_res_nsearch, __libc_res_nsend.
29529 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
29531         * math/auto-libm-test-in: Add tests of fma.
29532         * math/auto-libm-test-out: Regenerated.
29533         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
29534         (fma_towardzero_test_data): Likewise.
29535         (fma_downward_test_data): Likewise.
29536         (fma_upward_test_data): Likewise.
29537         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
29538         mpc_mode.
29539         (rounding_modes): Add values for new field.
29540         (func_calc_method): Add value mpfr_fff_f.
29541         (func_calc_desc): Add mpfr_fff_f union field.
29542         (test_function): Add field exact_args.
29543         (FUNC): Add macro argument EXACT_ARGS.
29544         (FUNC_mpfr_f_f): Update call to FUNC.
29545         (FUNC_mpfr_f_f): Likewise.
29546         (FUNC_mpfr_ff_f): Likewise.
29547         (FUNC_mpfr_if_f): Likewise.
29548         (FUNC_mpc_c_f): Likewise.
29549         (FUNC_mpc_c_c): Likewise.
29550         (test_functions): Add fma.  Update calls to FUNC.
29551         (handle_input_arg): Add argument exact_args.
29552         (add_test): Update call to handle_input_arg.
29553         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
29554         (output_for_one_input_case): Update call to calc_generic_results.
29555         Recalculate exact zero results in each rounding mode.
29557         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
29558         non-negative before setting low bit.
29559         * math/auto-libm-test-in: Mark one asin test possibly having
29560         spurious underflow.
29561         * math/auto-libm-test-out: Regenerated.
29562         * sysdeps/i386/fpu/libm-test-ulps: Update.
29563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29565 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
29567         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
29568         * sysdeps/unix/sysv/linux/microblaze: Move directory from
29569         ports/sysdeps/unix/sysv/linux/microblaze.
29570         * README: Add missing listing for microblaze*-*-linux-gnu.
29572 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
29574         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
29575         duplicate code
29577 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
29579         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
29580         * sysdeps/unix/sysv/linux/ia64: Move directory from
29581         ports/sysdeps/unix/sysv/linux/ia64.
29582         * README: Update listing for ia64-*-linux-gnu.
29584 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
29585             Joseph Myers  <joseph@codesourcery.com>
29587         * Makeconfig (test-name): New variable.
29588         (evaluate-test): Likewise.
29589         * Makerules (do-test-clean): Remove .test-result files.
29590         (common-mostlyclean): Likewise.
29591         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
29592         * scripts/evaluate-test.sh: New file.
29594 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
29596         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
29597         separate $(objpfx)tst-fopenloc-cmp.out and
29598         $(objpfx)tst-fopenloc-mem.out targets.
29599         (tests): Update dependencies.
29600         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
29601         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
29602         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
29603         (tst-rxspencer-no-utf8-ARGS): New variable.
29604         (tst-rxspencer-no-utf8-ENV): Likewise.
29605         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
29606         instead of $(objpfx)tst-rxspencer-mem.
29607         ($(objpfx)tst-rxspencer-mem): Change target to
29608         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
29609         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
29610         * posix/tst-rxspencer-no-utf8.c: New file.
29612         * elf/Makefile ($(objpfx)order.out): Remove rule.
29613         [$(run-built-tests) = yes] (tests): Depend on
29614         $(objpfx)order-cmp.out.
29615         ($(objpfx)order-cmp.out): New rule.
29616         [$(run-built-tests) = yes] (tests): Depend on
29617         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
29618         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
29619         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
29620         $(objpfx)tst-array5-static-cmp.out.
29621         ($(objpfx)tst-array1.out): Remove rule.
29622         ($(objpfx)tst-array1-cmp.out): New rule.
29623         ($(objpfx)tst-array1-static.out): Remove rule.
29624         ($(objpfx)tst-array1-static-cmp.out): New rule.
29625         ($(objpfx)tst-array2.out): Remove rule.
29626         ($(objpfx)tst-array2-cmp.out): New rule.
29627         ($(objpfx)tst-array3.out): Remove rule.
29628         ($(objpfx)tst-array3-cmp.out): New rule.
29629         ($(objpfx)tst-array4.out): Remove rule.
29630         ($(objpfx)tst-array4-cmp.out): New rule.
29631         ($(objpfx)tst-array5.out): Remove rule.
29632         ($(objpfx)tst-array5-cmp.out): New rule.
29633         ($(objpfx)tst-array5-static.out): Remove rule.
29634         ($(objpfx)tst-array5-static-cmp.out): New rule.
29635         [$(run-built-tests) = yes] (tests): Depend on
29636         $(objpfx)order2-cmp.out.
29637         ($(objpfx)order2.out): Remove rule.
29638         ($(objpfx)order2-cmp.out): New rule.
29639         ($(objpfx)tst-initorder.out): Remove rule.
29640         [$(run-built-tests) = yes] (tests): Depend on
29641         $(objpfx)tst-initorder-cmp.out.
29642         ($(objpfx)tst-initorder-cmp.out): New rule.
29643         ($(objpfx)tst-initorder2.out): Remove rule.
29644         [$(run-built-tests) = yes] (tests): Depend on
29645         $(objpfx)tst-initorder2-cmp.out.
29646         ($(objpfx)tst-initorder2-cmp.out): New rule.
29647         [$(run-built-tests) = yes] (tests): Depend on
29648         $(objpfx)tst-unused-dep-cmp.out.
29649         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
29650         ($(objpfx)tst-unused-dep-cmp.out): New rule.
29651         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
29652         on $(objpfx)tst-setvbuf1-cmp.out.
29653         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
29654         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
29655         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
29656         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
29657         ($(objpfx)tst-svc.out): Remove rule.
29658         ($(objpfx)tst-svc-cmp.out): New rule.
29660 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
29662         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
29663         * ctype/ctype.h [__USE_MISC]: Likewise.
29664         * dirent/dirent.h [__USE_MISC]: Likewise.
29665         * grp/grp.h [__USE_MISC]: Likewise.
29666         * io/fcntl.h [__USE_MISC]: Likewise.
29667         * io/sys/stat.h [__USE_MISC]: Likewise.
29668         * libio/stdio.h [__USE_MISC]: Likewise.
29669         * posix/unistd.h [__USE_MISC]: Likewise.
29670         * pwd/pwd.h [__USE_MISC]: Likewise.
29671         * stdlib.h [__USE_MISC]: Likewise.
29672         * string/bits/string2.h [__USE_MISC]: Likewise.
29673         * string/string.h [__USE_MISC]: Likewise.
29674         * time/time.h [__USE_MISC]: Likewise.
29676 2014-02-13  Andreas Schwab  <schwab@suse.de>
29678         [BZ #16574]
29679         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
29680         second answer buffer if it was separately allocated.
29682 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
29684         * sysdeps/mips/math-tests.h: Include <features.h>.
29685         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29686         (ROUNDING_TESTS_long_double): Do not define.
29687         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29688         (EXCEPTION_TESTS_long_double): Likewise.
29689         * sysdeps/mips/mips64/libm-test-ulps: Update.
29691         * include/features.h (__USE_BSD): Remove macro definitions.
29692         (__USE_SVID): Likewise.
29693         (_BSD_SOURCE): Likewise.
29694         (_SVID_SOURCE): Likewise.
29695         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
29696         from definition of _DEFAULT_SOURCE.
29697         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
29698         [_DEFAULT_SOURCE].
29699         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
29700         * bits/mman.h [__USE_BSD]: Likewise.
29701         * bits/termios.h [__USE_BSD]: Likewise.
29702         * bits/waitstatus.h [__USE_BSD]: Likewise.
29703         * ctype/ctype.h [__USE_SVID]: Likewise.
29704         * dirent/dirent.h [__USE_BSD]: Likewise.
29705         * grp/grp.h [__USE_SVID]: Likewise.
29706         [__USE_BSD]: Likewise.
29707         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
29708         * io/fcntl.h [__USE_BSD]: Likewise.
29709         * io/ftw.h [__USE_BSD]: Likewise.
29710         * io/sys/stat.h [__USE_BSD]: Likewise.
29711         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
29712         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
29713         * libio/stdio.h [__USE_SVID]: Likewise.
29714         [__USE_BSD]: Likewise.
29715         * math/math.h [__USE_SVID]: Likewise.
29716         [__USE_BSD]: Likewise.
29717         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
29718         * misc/bits/syslog.h [__USE_BSD]: Likewise.
29719         * misc/search.h [__USE_SVID]: Likewise.
29720         * misc/sys/mman.h [__USE_BSD]: Likewise.
29721         * misc/sys/syslog.h [__USE_BSD]: Likewise.
29722         * misc/sys/uio.h [__USE_BSD]: Likewise.
29723         * posix/bits/unistd.h [__USE_BSD]: Likewise.
29724         * posix/glob.h [__USE_BSD]: Likewise.
29725         * posix/regex.h [__USE_BSD]: Likewise.
29726         * posix/sys/types.h [__USE_BSD]: Likewise.
29727         [__USE_SVID]: Likewise.
29728         * posix/sys/utsname.h [__USE_SVID]: Likewise.
29729         * posix/sys/wait.h [__USE_BSD]: Likewise.
29730         [__USE_SVID]: Likewise.
29731         * posix/unistd.h [__USE_BSD]: Likewise.
29732         [__USE_SVID]: Likewise.
29733         * pwd/pwd.h [__USE_SVID]: Likewise.
29734         * resolv/netdb.h [__USE_BSD]: Likewise.
29735         * setjmp/setjmp.h [__USE_BSD]: Likewise.
29736         * signal/signal.h [__USE_BSD]: Likewise.
29737         [__USE_SVID]: Likewise.
29738         * socket/sys/socket.h [__USE_BSD]: Likewise.
29739         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
29740         * stdlib/stdlib.h [__USE_BSD]: Likewise.
29741         [__USE_SVID]: Likewise.
29742         * string/bits/string2.h [__USE_BSD]: Likewise.
29743         [__USE_SVID]: Likewise.
29744         * string/bits/string3.h [__USE_BSD]: Likewise.
29745         * string/endian.h [__USE_BSD]: Likewise.
29746         * string/string.h [__USE_SVID]: Likewise.
29747         [__USE_BSD]: Likewise.
29748         * string/strings.h [__USE_BSD]: Likewise.
29749         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
29750         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
29751         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
29752         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
29753         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
29754         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
29755         Likewise.
29756         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
29757         Likewise.
29758         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
29759         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
29760         Likewise.
29761         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
29762         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
29763         Likewise.
29764         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
29765         Likewise.
29766         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
29767         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
29768         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
29769         Likewise.
29770         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
29771         Likewise.
29772         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
29773         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
29774         * termios/termios.h [__USE_BSD]: Likewise.
29775         * time/sys/time.h [__USE_BSD]: Likewise.
29776         * time/time.h [__USE_BSD]: Likewise.
29777         [__USE_SVID]: Likewise.
29779         * Makefile (subdir_targets): Remove subdir_lint.out.
29781         * stdio-common/Makefile (do-tst-unbputc): Remove target.
29782         (do-tst-printf): Likewise.
29783         (tests): Depend directly on $(objpfx)tst-unbputc.out and
29784         $(objpfx)tst-printf.out.
29786         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
29788         * Makerules (check-abi-%): Change target to
29789         $(objpfx)check-abi-%.out.
29790         (check-abi target): Update dependencies.
29791         (check-abi-pattern variable): Redirect output of diff to $@.
29792         (check-abi variable): Likewise.
29793         * elf/Makefile (check-abi): Update dependencies.
29795         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
29796         unused.
29797         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
29798         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
29799         subnormal range.
29800         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
29801         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
29802         value has largest subnormal exponent.
29803         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
29804         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
29805         * sysdeps/aarch64/soft-fp/sfp-machine.h
29806         (_FP_TININESS_AFTER_ROUNDING): New macro.
29807         * sysdeps/alpha/soft-fp/sfp-machine.h
29808         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29809         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29810         Likewise.
29811         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
29812         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29813         * sysdeps/mips/soft-fp/sfp-machine.h
29814         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29815         * sysdeps/powerpc/soft-fp/sfp-machine.h
29816         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29817         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29818         Likewise.
29819         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29820         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29821         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29822         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29823         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29824         Likewise.
29826 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
29828         [BZ #16545]
29829         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
29830         model 1.
29832 2014-02-12  Richard Henderson  <rth@redhat.com>
29834         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
29835         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
29836         * sysdeps/unix/sysv/linux/alpha: Move directory from
29837         ports/sysdeps/unix/sysv/linux/alpha.
29838         * README: Update listing for alpha-*-linux-gnu.
29840 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
29842         * include/features.h: Update comment documenting feature test
29843         macros.
29844         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
29845         _DEFAULT_SOURCE.
29846         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
29847         (_SVID_SOURCE): Likewise.
29848         (_DEFAULT_SOURCE): Update description of default features.
29849         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
29850         with _GNU_SOURCE.
29851         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
29852         (S_ISVTX): Likewise.
29853         * manual/math.texi (Mathematical Constants): Likewise.
29854         * manual/signal.texi (Interrupted Primitives): Likewise.
29855         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
29856         * math/test-matherr.c (_SVID_SOURCE): Do not define.
29857         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
29858         Don't refer to _SVID_SOURCE in warning text.
29860         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29862         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
29863         already defined.
29864         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
29865         * sysdeps/mips/dl-lookup.c: Remove.
29866         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
29868 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29870         [BZ #16447]
29871         * math/auto-libm-test-in: Add testcase for expl.
29872         * math/auto-libm-test-out: Regenerate.
29873         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
29874         calculation of unsafe.
29875         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
29877 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29879         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
29880         * sysdeps/unix/sysv/linux/aarch64: Move directory from
29881         ports/sysdeps/unix/sysv/linux/aarch64.
29882         * README: Update listing for aarch64*-*-linux-gnu.
29884 2014-02-11  Will Newton  <will.newton@linaro.org>
29886         * manual/probes.texi (Mathematical Function Probes): Use
29887         "triggered" instead of "hit".
29889         * manual/probes.texi (Internal Probes): Add documentation
29890         of setjmp, longjmp and longjmp_target probes.
29892         * include/stap-probe.h: Add comment about probe argument
29893         format.
29895         * malloc/mtrace.c (attribute_hidden): Remove unused macro
29896         definition.  (tr_where, tr_freehook, tr_mallochook,
29897         tr_reallochook, tr_memalignhook): Use ANSI protoype.
29899 2014-02-11  David S. Miller  <davem@davemloft.net>
29901         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
29902         processing int_tests.
29904 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
29906         * sysdeps/mips: Move directory from ports/sysdeps/mips.
29907         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
29908         * sysdeps/unix/sysv/linux/mips: Move directory from
29909         ports/sysdeps/unix/sysv/linux/mips.
29910         * README: Update listing for mips-*-linux-gnu and
29911         mips64-*-linux-gnu.
29913 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
29915         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
29916         * sysdeps/unix/sysv/linux/m68k: Move directory from
29917         ports/sysdeps/unix/sysv/linux/m68k.
29918         * README: Update listing for m68k-*-linux-gnu.
29920 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
29922         * sysdeps/tile: Move directory from ports/sysdeps/tile.
29923         * sysdeps/unix/sysv/linux/generic: Move directory from
29924         ports/sysdeps/unix/sysv/linux/generic.
29925         * sysdeps/unix/sysv/linux/tile: Move directory from
29926         ports/sysdeps/unix/sysv/linux/tile.
29927         * README: Update listing for tile*-*-linux-gnu.
29929 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
29931         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
29932         __builtin_expect.
29933         * benchtests/bench-memmem.c (simple_memmem): Likewise.
29934         * catgets/open_catalog.c (__open_catalog): Likewise.
29935         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
29936         * debug/confstr_chk.c: Likewise.
29937         * debug/fread_chk.c (__fread_chk): Likewise.
29938         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
29939         * debug/getgroups_chk.c: Likewise.
29940         * debug/mbsnrtowcs_chk.c: Likewise.
29941         * debug/mbsrtowcs_chk.c: Likewise.
29942         * debug/mbstowcs_chk.c: Likewise.
29943         * debug/memcpy_chk.c: Likewise.
29944         * debug/memmove_chk.c: Likewise.
29945         * debug/mempcpy_chk.c: Likewise.
29946         * debug/memset_chk.c: Likewise.
29947         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29948         * debug/strcat_chk.c (__strcat_chk): Likewise.
29949         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
29950         * debug/strncat_chk.c (__strncat_chk): Likewise.
29951         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
29952         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
29953         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
29954         * debug/wcpncpy_chk.c: Likewise.
29955         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29956         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
29957         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
29958         * debug/wcsncpy_chk.c: Likewise.
29959         * debug/wcsnrtombs_chk.c: Likewise.
29960         * debug/wcsrtombs_chk.c: Likewise.
29961         * debug/wcstombs_chk.c: Likewise.
29962         * debug/wmemcpy_chk.c: Likewise.
29963         * debug/wmemmove_chk.c: Likewise.
29964         * debug/wmempcpy_chk.c: Likewise.
29965         * debug/wmemset_chk.c: Likewise.
29966         * dirent/scandirat.c (SCANDIRAT): Likewise.
29967         * dlfcn/dladdr1.c (dladdr1): Likewise.
29968         * dlfcn/dladdr.c (dladdr): Likewise.
29969         * dlfcn/dlclose.c (dlclose_doit): Likewise.
29970         * dlfcn/dlerror.c (__dlerror): Likewise.
29971         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
29972         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
29973         * dlfcn/dlopen.c (dlopen_doit): Likewise.
29974         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
29975         * dlfcn/dlsym.c (dlsym_doit): Likewise.
29976         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
29977         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
29978         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
29979         Likewise.
29980         * elf/dl-conflict.c: Likewise.
29981         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29982         * elf/dl-dst.h: Likewise.
29983         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
29984         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
29985         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29986         * elf/dl-init.c (call_init, _dl_init): Likewise.
29987         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
29988         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
29989         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
29990         Likewise.
29991         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
29992         Likewise.
29993         * elf/dl-minimal.c (__libc_memalign): Likewise.
29994         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
29995         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29996         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
29997         * elf/dl-sym.c (do_sym): Likewise.
29998         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
29999         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
30000         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
30001         * elf/dl-writev.h (_dl_writev): Likewise.
30002         * elf/ldconfig.c (search_dir): Likewise.
30003         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
30004         (dl_main): Likewise.
30005         * elf/setup-vdso.h (setup_vdso): Likewise.
30006         * grp/compat-initgroups.c (compat_call): Likewise.
30007         * grp/fgetgrent.c (fgetgrent): Likewise.
30008         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
30009         * grp/putgrent.c (putgrent): Likewise.
30010         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30011         Likewise.
30012         * hurd/hurdinit.c: Likewise.
30013         * iconvdata/8bit-gap.c (struct): Likewise.
30014         * iconvdata/ansi_x3.110.c : Likewise.
30015         * iconvdata/big5.c : Likewise.
30016         * iconvdata/big5hkscs.c : Likewise.
30017         * iconvdata/cp1255.c: Likewise.
30018         * iconvdata/cp1258.c : Likewise.
30019         * iconvdata/cp932.c : Likewise.
30020         * iconvdata/euc-cn.c: Likewise.
30021         * iconvdata/euc-jisx0213.c : Likewise.
30022         * iconvdata/euc-jp.c: Likewise.
30023         * iconvdata/euc-jp-ms.c : Likewise.
30024         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
30025         * iconvdata/gb18030.c : Likewise.
30026         * iconvdata/gbbig5.c (const): Likewise.
30027         * iconvdata/gbgbk.c: Likewise.
30028         * iconvdata/gbk.c : Likewise.
30029         * iconvdata/ibm1364.c : Likewise.
30030         * iconvdata/ibm930.c : Likewise.
30031         * iconvdata/ibm932.c: Likewise.
30032         * iconvdata/ibm933.c : Likewise.
30033         * iconvdata/ibm935.c : Likewise.
30034         * iconvdata/ibm937.c : Likewise.
30035         * iconvdata/ibm939.c : Likewise.
30036         * iconvdata/ibm943.c: Likewise.
30037         * iconvdata/iso_11548-1.c: Likewise.
30038         * iconvdata/iso-2022-cn.c : Likewise.
30039         * iconvdata/iso-2022-cn-ext.c : Likewise.
30040         * iconvdata/iso-2022-jp-3.c: Likewise.
30041         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
30042         * iconvdata/iso-2022-kr.c : Likewise.
30043         * iconvdata/iso646.c (gconv_end): Likewise.
30044         * iconvdata/iso_6937-2.c : Likewise.
30045         * iconvdata/iso_6937.c : Likewise.
30046         * iconvdata/iso8859-1.c: Likewise.
30047         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
30048         * iconvdata/shift_jisx0213.c : Likewise.
30049         * iconvdata/sjis.c : Likewise.
30050         * iconvdata/t.61.c : Likewise.
30051         * iconvdata/tcvn5712-1.c : Likewise.
30052         * iconvdata/tscii.c: Likewise.
30053         * iconvdata/uhc.c : Likewise.
30054         * iconvdata/unicode.c (gconv_end): Likewise.
30055         * iconvdata/utf-16.c (gconv_end): Likewise.
30056         * iconvdata/utf-32.c (gconv_end): Likewise.
30057         * iconvdata/utf-7.c (base64): Likewise.
30058         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30059         * iconv/gconv_close.c (__gconv_close): Likewise.
30060         * iconv/gconv_open.c (__gconv_open): Likewise.
30061         * iconv/gconv_simple.c (internal_ucs4_loop_single)
30062         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
30063         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
30064         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
30065         (ucs4le_internal_loop_single): Likewise.
30066         * iconv/iconv.c (iconv): Likewise.
30067         * iconv/iconv_close.c: Likewise.
30068         * iconv/loop.c (SINGLE): Likewise.
30069         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
30070         * include/atomic.h: Likewise.
30071         * inet/inet6_option.c (option_alloc): Likewise.
30072         * intl/bindtextdom.c (set_binding_values): Likewise.
30073         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
30074         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
30075         * intl/localealias.c (read_alias_file): Likewise.
30076         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30077         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
30078         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
30079         * libio/fmemopen.c (fmemopen): Likewise.
30080         * libio/iofgets.c (_IO_fgets): Likewise.
30081         * libio/iofgets_u.c (fgets_unlocked): Likewise.
30082         * libio/iofgetws.c (fgetws): Likewise.
30083         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
30084         * libio/iogetdelim.c (_IO_getdelim): Likewise.
30085         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
30086         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
30087         * locale/findlocale.c (_nl_find_locale): Likewise.
30088         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30089         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
30090         Likewise.
30091         * locale/setlocale.c (setlocale): Likewise.
30092         * login/programs/pt_chown.c (main): Likewise.
30093         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
30094         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
30095         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
30096         (mmap, mmap64, mremap, munmap): Likewise.
30097         * math/e_exp2l.c: Likewise.
30098         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
30099         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
30100         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
30101         * math/s_catan.c (__catan): Likewise.
30102         * math/s_catanf.c (__catanf): Likewise.
30103         * math/s_catanh.c (__catanh): Likewise.
30104         * math/s_catanhf.c (__catanhf): Likewise.
30105         * math/s_catanhl.c (__catanhl): Likewise.
30106         * math/s_catanl.c (__catanl): Likewise.
30107         * math/s_ccosh.c (__ccosh): Likewise.
30108         * math/s_ccoshf.c (__ccoshf): Likewise.
30109         * math/s_ccoshl.c (__ccoshl): Likewise.
30110         * math/s_cexp.c (__cexp): Likewise.
30111         * math/s_cexpf.c (__cexpf): Likewise.
30112         * math/s_cexpl.c (__cexpl): Likewise.
30113         * math/s_clog10.c (__clog10): Likewise.
30114         * math/s_clog10f.c (__clog10f): Likewise.
30115         * math/s_clog10l.c (__clog10l): Likewise.
30116         * math/s_clog.c (__clog): Likewise.
30117         * math/s_clogf.c (__clogf): Likewise.
30118         * math/s_clogl.c (__clogl): Likewise.
30119         * math/s_csin.c (__csin): Likewise.
30120         * math/s_csinf.c (__csinf): Likewise.
30121         * math/s_csinh.c (__csinh): Likewise.
30122         * math/s_csinhf.c (__csinhf): Likewise.
30123         * math/s_csinhl.c (__csinhl): Likewise.
30124         * math/s_csinl.c (__csinl): Likewise.
30125         * math/s_csqrt.c (__csqrt): Likewise.
30126         * math/s_csqrtf.c (__csqrtf): Likewise.
30127         * math/s_csqrtl.c (__csqrtl): Likewise.
30128         * math/s_ctan.c (__ctan): Likewise.
30129         * math/s_ctanf.c (__ctanf): Likewise.
30130         * math/s_ctanh.c (__ctanh): Likewise.
30131         * math/s_ctanhf.c (__ctanhf): Likewise.
30132         * math/s_ctanhl.c (__ctanhl): Likewise.
30133         * math/s_ctanl.c (__ctanl): Likewise.
30134         * math/w_pow.c: Likewise.
30135         * math/w_powf.c: Likewise.
30136         * math/w_powl.c: Likewise.
30137         * math/w_scalb.c (sysv_scalb): Likewise.
30138         * math/w_scalbf.c (sysv_scalbf): Likewise.
30139         * math/w_scalbl.c (sysv_scalbl): Likewise.
30140         * misc/error.c (error_tail): Likewise.
30141         * misc/pselect.c (__pselect): Likewise.
30142         * nis/nis_callback.c (__nis_create_callback): Likewise.
30143         * nis/nis_call.c (__nisfind_server): Likewise.
30144         * nis/nis_creategroup.c (nis_creategroup): Likewise.
30145         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
30146         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
30147         * nis/nis_getservlist.c (nis_getservlist): Likewise.
30148         * nis/nis_lookup.c (nis_lookup): Likewise.
30149         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
30150         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
30151         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
30152         * nis/nis_xdr.c (xdr_endpoint): Likewise.
30153         * nis/nss_compat/compat-grp.c (getgrent_next_file)
30154         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
30155         * nis/nss_compat/compat-initgroups.c (add_group)
30156         (internal_getgrent_r): Likewise.
30157         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
30158         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
30159         * nis/nss_compat/compat-spwd.c (getspent_next_file)
30160         (internal_getspnam_r): Likewise.
30161         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
30162         (_nss_nis_getaliasbyname_r): Likewise.
30163         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
30164         (_nss_nis_getntohost_r): Likewise.
30165         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
30166         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
30167         (_nss_nis_getgrgid_r): Likewise.
30168         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
30169         (internal_nis_gethostent_r, internal_gethostbyname2_r)
30170         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
30171         (_nss_nis_gethostbyname4_r): Likewise.
30172         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
30173         (initgroups_netid): Likewise.
30174         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
30175         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
30176         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
30177         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
30178         (_nss_nis_getprotobynumber_r): Likewise.
30179         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
30180         (_nss_nis_getsecretkey): Likewise.
30181         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
30182         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
30183         (_nss_nis_getpwuid_r): Likewise.
30184         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
30185         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
30186         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
30187         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
30188         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
30189         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
30190         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
30191         Likewise.
30192         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
30193         (_nss_nisplus_getntohost_r): Likewise.
30194         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
30195         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
30196         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
30197         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
30198         Likewise.
30199         * nis/nss_nisplus/nisplus-initgroups.c
30200         (_nss_nisplus_initgroups_dyn): Likewise.
30201         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
30202         (_nss_nisplus_getnetbyaddr_r): Likewise.
30203         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
30204         (_nss_nisplus_getprotobynumber_r): Likewise.
30205         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
30206         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
30207         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
30208         Likewise.
30209         * nis/nss_nisplus/nisplus-service.c
30210         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
30211         (_nss_nisplus_getservbyport_r): Likewise.
30212         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
30213         (_nss_nisplus_getspnam_r): Likewise.
30214         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
30215         Likewise.
30216         * nscd/aicache.c (addhstaiX): Likewise.
30217         * nscd/cache.c (cache_search, prune_cache): Likewise.
30218         * nscd/connections.c (register_traced_file, send_ro_fd)
30219         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
30220         (main_loop_epoll): Likewise.
30221         * nscd/grpcache.c (addgrbyX): Likewise.
30222         * nscd/hstcache.c (addhstbyX): Likewise.
30223         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30224         * nscd/mem.c (gc, mempool_alloc): Likewise.
30225         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
30226         (addinnetgrX): Likewise.
30227         * nscd/nscd-client.h (__nscd_acquire_maplock)
30228         (__nscd_drop_map_ref): Likewise.
30229         * nscd/nscd_getai.c (__nscd_getai): Likewise.
30230         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30231         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
30232         Likewise.
30233         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30234         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30235         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
30236         (__nscd_get_map_ref): Likewise.
30237         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30238         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
30239         Likewise.
30240         * nscd/pwdcache.c (addpwbyX): Likewise.
30241         * nscd/selinux.c (preserve_capabilities): Likewise.
30242         * nscd/servicescache.c (addservbyX): Likewise.
30243         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
30244         * posix/fnmatch.c (fnmatch): Likewise.
30245         * posix/getopt.c (_getopt_internal_r): Likewise.
30246         * posix/glob.c (glob, glob_in_dir): Likewise.
30247         * posix/wordexp.c (exec_comm_child): Likewise.
30248         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
30249         (getanswer_r, gaih_getanswer_slice): Likewise.
30250         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
30251         * resolv/res_init.c: Likewise.
30252         * resolv/res_mkquery.c (res_nmkquery): Likewise.
30253         * resolv/res_query.c (__libc_res_nquery): Likewise.
30254         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
30255         Likewise.
30256         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
30257         * stdio-common/perror.c (perror): Likewise.
30258         * stdio-common/printf_fp.c (___printf_fp): Likewise.
30259         * stdio-common/tmpnam.c (tmpnam): Likewise.
30260         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30261         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30262         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30263         Likewise.
30264         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
30265         * stdlib/putenv.c (putenv): Likewise.
30266         * stdlib/setenv.c (__add_to_environ): Likewise.
30267         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30268         * stdlib/strtol_l.c (INTERNAL): Likewise.
30269         * string/memmem.c (memmem): Likewise.
30270         * string/strerror.c (strerror): Likewise.
30271         * string/strnlen.c (__strnlen): Likewise.
30272         * string/test-memmem.c (simple_memmem): Likewise.
30273         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
30274         * sunrpc/pm_getport.c (__get_socket): Likewise.
30275         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
30276         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
30277         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
30278         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
30279         Likewise.
30280         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30281         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30282         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
30283         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
30284         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
30285         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
30286         Likewise.
30287         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
30288         Likewise.
30289         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30290         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30291         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30292         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30293         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30294         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
30295         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30296         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
30297         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
30298         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
30299         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30300         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
30301         Likewise.
30302         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
30303         Likewise.
30304         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
30305         Likewise.
30306         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
30307         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30308         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
30309         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
30310         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30311         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
30312         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30313         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
30314         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
30315         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
30316         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
30317         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30318         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30319         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
30320         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30321         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30322         Likewise.
30323         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
30324         Likewise.
30325         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
30326         Likewise.
30327         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
30328         Likewise.
30329         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30330         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30331         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
30332         Likewise.
30333         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
30334         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
30335         * sysdeps/posix/opendir.c (__opendirat): Likewise.
30336         * sysdeps/posix/sleep.c: Likewise.
30337         * sysdeps/posix/tempname.c: Likewise.
30338         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
30339         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30340         Likewise.
30341         * sysdeps/powerpc/powerpc32/dl-machine.h
30342         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
30343         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30344         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30345         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
30346         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
30347         Likewise.
30348         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
30349         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
30350         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30351         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
30352         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30353         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
30354         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
30355         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
30356         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30357         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
30358         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
30359         (elf_machine_lazy_rel): Likewise.
30360         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30361         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
30362         (elf_machine_lazy_rel): Likewise.
30363         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
30364         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
30365         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
30366         * sysdeps/unix/grantpt.c (grantpt): Likewise.
30367         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
30368         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
30369         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30370         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30371         Likewise.
30372         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
30373         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
30374         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
30375         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
30376         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30377         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30378         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
30379         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
30380         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
30381         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30382         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30383         Likewise.
30384         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
30385         (__posix_fallocate64_l64): Likewise.
30386         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
30387         (posix_fallocate): Likewise.
30388         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
30389         Likewise.
30390         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30391         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
30392         (getifaddrs_internal): Likewise.
30393         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
30394         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
30395         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
30396         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30397         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30398         (__posix_fallocate64_l64): Likewise.
30399         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30400         Likewise.
30401         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
30402         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
30403         (__get_clockfreq): Likewise.
30404         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
30405         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30406         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
30407         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30408         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30409         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
30410         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
30411         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
30412         Likewise.
30413         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
30414         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
30415         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30416         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
30417         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30418         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
30419         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
30420         Likewise.
30421         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30422         (posix_fallocate): Likewise.
30423         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30424         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
30425         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
30426         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
30427         (elf_machine_rela, elf_machine_rela_relative)
30428         (elf_machine_lazy_rel): Likewise.
30429         * time/asctime.c (asctime_internal): Likewise.
30430         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
30431         * time/tzset.c (__tzset_parse_tz): Likewise.
30432         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30433         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30434         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
30435         * wcsmbs/wcsmbsload.h: Likewise.
30437         [BZ #15894]
30438         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
30440         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
30441         (arena_get2): Remove THREAD_STATS conditionals.
30442         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
30443         (__malloc_stats, int): Likewise.
30445 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
30447         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
30448         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
30450         * manual/setjmp.texi: Fix typos/grammar errors.
30452         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
30453         Only return early when n is <= 0.  Delete unused return statement.
30455         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
30456         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
30457         * debug/tst-longjmp_chk3.c: New file.
30459         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
30460         (test_main): Replace code with set_fortify_handler call.
30461         * debug/test-strcpy_chk.c: Likewise.
30462         * debug/tst-chk1.c: Likewise.
30463         * debug/tst-longjmp_chk.c: Likewise.
30464         * test-skeleton.c: Include fcntl.h & paths.h
30465         (set_fortify_handler): Define.
30467         * debug/tst-longjmp_chk.c: Add header comment and include
30468         ../test-skeleton.c.
30469         (do_test): Mark static.
30470         (TEST_FUNCTION): Define.
30472         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
30473         (IP_PMTUDISC_INTERFACE): Likewise.
30474         (IP_MULTICAST_IF): Likewise.
30475         (IP_MULTICAST_TTL): Likewise.
30476         (IP_MULTICAST_LOOP): Likewise.
30477         (IP_ADD_MEMBERSHIP): Likewise.
30478         (IP_DROP_MEMBERSHIP): Likewise.
30479         (IP_UNBLOCK_SOURCE): Likewise.
30480         (IP_BLOCK_SOURCE): Likewise.
30481         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
30482         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
30483         (IP_MSFILTER): Likewise.
30484         (MCAST_JOIN_GROUP): Likewise.
30485         (MCAST_BLOCK_SOURCE): Likewise.
30486         (MCAST_UNBLOCK_SOURCE): Likewise.
30487         (MCAST_LEAVE_GROUP): Likewise.
30488         (MCAST_JOIN_SOURCE_GROUP): Likewise.
30489         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
30490         (MCAST_MSFILTER): Likewise.
30491         (IP_MULTICAST_ALL): Likewise.
30492         (IP_UNICAST_IF): Likewise.
30494         * timezone/Makefile: Delete $(have-ksh) check.
30495         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
30496         * timezone/tzselect.ksh: Add +x mode bits.
30498         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
30499         (ANON_INODE_FS_MAGIC): Likewise.
30500         (BDEVFS_MAGIC): Likewise.
30501         (BINFMTFS_MAGIC): Likewise.
30502         (BTRFS_TEST_MAGIC): Likewise.
30503         (CRAMFS_MAGIC_WEND): Likewise.
30504         (DEBUGFS_MAGIC): Likewise.
30505         (ECRYPTFS_SUPER_MAGIC): Likewise.
30506         (EXT3_SUPER_MAGIC): Likewise.
30507         (EXT4_SUPER_MAGIC): Likewise.
30508         (FUTEXFS_SUPER_MAGIC): Likewise.
30509         (HOSTFS_SUPER_MAGIC): Likewise.
30510         (HUGETLBFS_MAGIC): Likewise.
30511         (MINIX3_SUPER_MAGIC): Likewise.
30512         (MTD_INODE_FS_MAGIC): Likewise.
30513         (NILFS_SUPER_MAGIC): Likewise.
30514         (OPENPROM_SUPER_MAGIC): Likewise.
30515         (PIPEFS_MAGIC): Likewise.
30516         (PSTOREFS_MAGIC): Likewise.
30517         (QNX6_SUPER_MAGIC): Likewise.
30518         (RAMFS_MAGIC): Likewise.
30519         (REISERFS_SUPER_MAGIC_STRING): Likewise.
30520         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
30521         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
30522         (SECURITYFS_MAGIC): Likewise.
30523         (SELINUX_MAGIC): Likewise.
30524         (SMACK_MAGIC): Likewise.
30525         (SOCKFS_MAGIC): Likewise.
30526         (SQUASHFS_MAGIC): Likewise.
30527         (STACK_END_MAGIC): Likewise.
30528         (TMPFS_MAGIC): Likewise.
30529         (USBDEVICE_SUPER_MAGIC): Likewise.
30530         (V9FS_MAGIC): Likewise.
30531         (XENFS_SUPER_MAGIC): Likewise.
30532         (CRAMFS_MAGIC): Fix typo in comment.
30533         (EXT2_SUPER_MAGIC): Update comment.
30534         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
30536 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
30538         * sysdeps/arm: Move directory from ports/sysdeps/arm.
30539         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
30540         * sysdeps/unix/sysv/linux/arm: Move directory from
30541         ports/sysdeps/unix/sysv/linux/arm.
30542         * README: Update listing for arm-*-linux-gnueabi.
30544         * README: Remove mention of am33.
30546 2014-02-07  Roland McGrath  <roland@hack.frob.com>
30548         * bits/sigset.h (__sigemptyset): Use a statement expression rather
30549         than the comma operator, to avoid "rhs of comma has no effect"
30550         compiler warnings.
30551         (__sigfillset, __sigandset, __sigorset): Likewise.
30552         * include/signal.h (__sigemptyset): Likewise.
30553         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
30555 2014-02-07  Allan McRae  <allan@archlinux.org>
30557         * version.h (RELEASE): Set to "development".
30558         (VERSION): Set to "2.19.90"
30559         * NEWS: Add 2.20 section.
30561 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
30563         [BZ #16529]
30564         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
30566 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30568         * manual/contrib.texi: Update entry for Carlos O'Donell,
30569         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
30571 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
30573         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
30575         * sysdeps/unix/sysv/linux/kernel-features.h
30576         [__LINUX_KERNEL_VERSION >= 0x020621]
30577         (__ASSUME_PROC_PID_TASK_COMM): Define.
30579 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30581         [BZ #16398]
30582         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
30583         conversion when destination buffer does not have enough space.
30584         * libio/tst-ftell-partial-wide.c: New test case.
30585         * libio/Makefile (tests): Add tst-ftell-partial-wide.
30587         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
30588         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
30589         Leonard and Allan McRae.
30591 2014-02-04  David S. Miller  <davem@davemloft.net>
30593         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
30594         32-bit.
30596 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30599         New file
30600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30601         New file
30602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30603         New file.
30604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30605         New file.
30606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30607         New file.
30608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30609         New file.
30610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30611         New file.
30612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30613         New file.
30614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30615         New file.
30616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30617         New file.
30618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30619         New file.
30620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30621         New file.
30622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30623         New file.
30625 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30627         * nptl/shlib-versions: Change powerpc*le start to 2.17.
30628         * shlib-versions: Likewise.
30630 2014-02-04  Roland McGrath  <roland@hack.frob.com>
30631             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30633         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
30634         (abilist-pattern): New variable, set to %-le.abilist.
30636         * Makerules (abilist-pattern): New variable.
30637         (vpath): Use $(abilist-pattern) in place of %.abilist.
30638         (check-abi-% pattern rule): Likewise.
30639         (check-abi, update-abi): Likewise.
30641 2014-02-04  Eric Wong  <normalperson@yhbt.net>
30643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30645 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
30647         * manual/startup.texi: Add next, previous, and top entries for
30648         the `Program Arguments' and `Environment Variables' nodes.
30650 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
30652         * manual/macros.texi: Add comments before MTASC-safety macros.
30654         * manual/users.texi: Document MTASC-safety properties.
30656         * manual/threads.texi (pthread_key_create, pthread_key_delete)
30657         (pthread_getspecific, pthread_setspecific): Format with
30658         @deftypefun, and add @safety note.
30659         * manual/signal.texi: Move comments that analyze the above
30660         functions to their home place.
30662 2014-02-03  Allan McRae  <allan@archlinux.org>
30664         * po/sl.po: Update Slovenian translation from translation project.
30666 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
30668         * manual/time.texi (timegm): Add missing blank after @c.
30669         Reported by Joseph Myers <joseph@codesourcery.com>.
30671 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
30673         * manual/check-safety.sh: New.
30674         * manual/Makefile ($(objpfx)stamp-summary): Run it.
30676         * manual/terminal.texi: Document MTASC-safety properties.
30678         * manual/filesys.texi: Document MTASC-safety properties.
30680         * manual/errno.texi: Document MTASC-safety properties.
30682         * manual/intro.texi: Document safety identifiers and
30683         conditionals.
30685         * manual/string.texi (wcstok): Fix prototype.
30686         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
30688         * manual/time.texi: Document MTASC-safety properties.
30690         * manual/string.texi: Document MTASC-safety properties.
30692         * manual/threads.texi: Document MTASC-safety properties.
30694         * manual/stdio.texi: Document MTASC-safety properties.
30696         * manual/syslog.texi: Document MTASC-safety properties.
30698         * manual/sysinfo.texi: Document MTASC-safety properties.
30700         * manual/startup.texi: Document MTASC-safety properties.
30702         * manual/socket.texi: Document MTASC-safety properties.
30704         * manual/signal.texi: Document MTASC-safety properties.
30706 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
30708         * manual/setjmp.texi: Document MTASC-safety properties.
30710         * manual/search.texi: Document MTASC-safety properties.
30712         * manual/resource.texi: Document MTASC-safety properties.
30714         * manual/process.texi: Document MTASC-safety properties.
30716         * manual/platform.texi: Document MTASC-safety properties.
30718         * manual/pipe.texi: Document MTASC-safety properties.
30720         * manual/pattern.texi: Document MTASC-safety properties.
30722         * manual/message.texi: Document MTASC-safety properties.
30724         [BZ #12751]
30725         * manual/memory.texi: Document MTASC-safety properties.
30727         * manual/math.texi: Document MTASC-safety properties.
30729         * manual/locale.texi: Document MTASC-safety properties.
30731         * manual/llio.texi: Document MTASC-safety properties.
30733         * manual/libdl.texi: New.
30735         * manual/lang.texi: Document MTASC-safety properties.
30737         * manual/job.texi: Document MTASC-safety properties.
30739         * manual/getopt.texi: Document MTASC-safety properties.
30741         * manual/ctype.texi: Document MTASC-safety properties.
30743 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
30745         [BZ #16046]
30746         * csu/libc-tls.c (static_map): Remove variable.
30747         (__libc_setup_tls): Use main executable's link map for TLS data.
30748         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
30749         casing for LM_ID_BASE and GL(dl_nns).
30750         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
30751         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
30752         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
30753         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
30754         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
30755         member.
30756         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
30757         l_phnum members.
30759 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
30761         * manual/debug.texi: Document MTASC-safety properties.
30763 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
30765         [BZ #16510]
30766         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
30767         of __x86_64__ when disabling x87 inline functions.
30769 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
30771         * manual/charset.texi: Document MTASC-safety properties.
30773         * manual/crypt.texi: Document MTASC-safety properties.
30775         * manual/conf.texi: Document MTASC-safety properties.
30777         * manual/arith.texi: Document MTASC-safety properties.
30779         * manual/argp.texi: Document MTASC-safety properties.
30781         * manual/macros.texi: Introduce macros to document multi
30782         thread, asynchronous signal and asynchronous cancellation
30783         safety properties.
30784         * manual/intro.texi: Introduce the properties themselves.
30786 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30788         * sysdeps/sh/sh4/Makefile: New file.
30790 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
30792         * math/gen-libm-test.pl ($srcdir): New variable.
30793         ($auto_input): Use it.
30795 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30797         [BZ #16506]
30798         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
30799         access beyond array bounds when parsing netgroups file.
30801         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
30802         the old buffer before realloc.
30804 2014-01-27  Allan McRae  <allan@archlinux.org>
30806         * po/fr.po: Update French translation from translation project.
30808 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30810         * sysdeps/sh/libm-test-ulps: Regenerate.
30812 2014-01-24  David S. Miller  <davem@davemloft.net>
30814         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
30816 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30818         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
30819         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
30821 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30823         [BZ #16474]
30824         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
30825         string pointers after reallocation.
30827 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30829         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
30830         __SH4A__ instead of __SH_FPU_ANY__.
30832 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30834         * sysdeps/sh/fpu_control.h: New file.
30835         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
30836         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
30837         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
30838         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
30839         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
30840         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
30841         * sysdeps/sh/sys/ucontext.h: Remove.
30842         * sysdeps/sh/sys: Remove directory.
30844 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30846         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
30847         s390/sys/ucontext.h.
30848         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
30849         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
30851 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
30853         [BZ #15605]
30854         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
30856 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30858         [BZ#16431]
30859         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30860         Adjust the vDSO correctly for internal calls.
30861         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
30863 2014-01-20  Allan McRae  <allan@archlinux.org>
30865         * po/ca.po: Update Catalan translation from translation project.
30867 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
30869         * sysdeps/s390/sotruss-lib.c: New file.
30871 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30873         [BZ#16430]
30874         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
30875         (__GI___gettimeofday): Alias for a different internal symbol to avoid
30876         local calls issues by not having a PLT stub required for IFUNC calls.
30877         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
30879 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
30881         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
30882         * math/test-fpucw-static.c: Likewise.
30884 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30886         [BZ #16453]
30887         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
30889 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30891         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
30892         implementation for powerpc.
30894 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
30896         [BZ #14782]
30897         * sysdeps/posix/system.c (__libc_system): Do not enable
30898         asynchronous cancellation.
30900 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30902         [BZ #16427]
30903         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
30904         handling only for numbers special also in the IEEE case.
30906 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30908         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30910 2014-01-11  Allan McRae  <allan@archlinux.org>
30912         * po/bg.po: Update Bulgarian translation from translation project.
30914         * po/de.po: Update German translation from translation project.
30916 2014-01-10  Roland McGrath  <roland@hack.frob.com>
30918         * sysdeps/generic/gcc-compat.h: New file.
30920 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30922         * benchtests/asin-inputs: Correct slow inputs.
30923         * benchtests/acos-inputs: Likewise.
30925 2014-01-10  Allan McRae  <allan@archlinux.org>
30927         * po:sv.po: Update Swedish translation from translation project.
30929         * po/vi.po: Update Vietnamese translation from translation project.
30931         * po/eo.po: Update Esperanto translation from translation project.
30933         * po/cs.po: Update Czech translation from translation project.
30935         * po/nl.po: Update Dutch translation from translation project.
30937         * po/pl.po: Update Polish translation from translation project.
30939         * po/ru.po: Update Russian translation from translation project.
30941         * po/uk.po: Update Ukrainian translation from translation project.
30943 2014-01-08  Brooks Moses  <bmoses@google.com>
30945         * elf/dl-load.c: Fix comment typo.
30947 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
30949         * po/header.pot: Rename to...
30950         * po/pot.header: ... this.
30951         * po/Makefile: Use pot.header.
30953 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
30954             Maxim Kuvyrkov  <maxim@kugelworks.com>
30956         [BZ #16394]
30957         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
30958         SRC and DEST against LEN.
30960 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30962         [BZ #16414]
30963         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
30964         implementation.
30965         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
30967 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30971 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
30973         [BZ #16408]
30974         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
30975         for large positive arguments.
30977 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
30979         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30981         * math/auto-libm-test-in: Mark various tests with
30982         xfail-rounding:ldbl-128ibm.
30983         * math/auto-libm-test-out: Regenerated.
30985         [BZ #16407]
30986         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30987         Increase overflow threshold.
30989 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
30991         [BZ #14286]
30992         * stdio-common/vfprintf.c: Check for integer overflow.
30994 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30996         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
30997         the first argument and return value of __tls_get_addr_internal.
30999 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31001         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
31002         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
31004 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31006         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
31007         * sysdeps/s390/rtld-global-offsets.sym: New file.
31008         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
31009         GLIBC_2.19 symbol.
31010         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
31011         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
31012         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31013         ... this.
31014         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
31015         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31016         ... this.
31017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31018         Regenerate.
31019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31020         Regenerate.
31021         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
31022         halfs of GPRs for high_gprs contexts.
31023         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
31024         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
31025         field.
31026         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
31027         uc_flags field.
31028         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
31029         64 bit versions:
31030         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
31031         for high GPRs (uc_high_gprs) and for future extensions
31032         (__reserved).
31033         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
31034         for future extensions (__reserved).
31035         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
31036         64 bit versions:
31037         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
31038         SC_HIGHGPRS offset definition.
31039         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
31040         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
31042         * Versions.def: Add GLIBC_2.19 for libpthread.
31043         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
31044         siglongjmp for libpthread with GLIBC_2.19 symver.
31045         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
31046         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
31047         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
31048         * sysdeps/s390/__longjmp.c: New file.
31049         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
31050         * sysdeps/s390/longjmp.c: New file.
31051         * sysdeps/s390/setjmp.S: New file.
31052         * sysdeps/s390/sigjmp.S: New file.
31053         * sysdeps/s390/v1-longjmp.c: New file.
31054         * sysdeps/s390/v1-setjmp.h: New file.
31055         * sysdeps/s390/v1-sigjmp.c: New file.
31056         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
31057         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
31058         GLIBC_2.19 version.
31059         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
31060         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
31061         versioned symbols for ____longjmp_chk.
31062         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31063         Likewise.
31064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31065         Regenerate.
31066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31067         Regenerate.
31068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31069         Regenerate.
31070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31071         Regenerate.
31072         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
31073         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
31074         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
31075         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
31076         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
31077         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
31078         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
31079         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
31080         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
31081         * sysdeps/s390/rtld-__longjmp.c: New file.
31082         * sysdeps/s390/rtld-setjmp.S: New file.
31084 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
31086         [BZ #16400]
31087         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31088         Return -__logl (x) for small positive arguments without evaluating
31089         a polynomial.
31091 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
31093         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
31094         Rename to ...
31095         (__ptrace_peeksiginfo_args): ... this.
31096         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31097         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31098         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31100 2014-01-06  Allan McRae  <allan@archlinux.org>
31102         * inet/netinet/in.h: Fix typo in comment.
31104 2014-01-05  Andreas Jaeger  <aj@suse.de>
31106         * sysdeps/i386/fpu/libm-test-ulps: Update.
31108 2014-01-05  Allan McRae  <allan@archlinux.org>
31110         * po/libc.pot: Regenerated.
31112         * malloc/memusagestat.c: Fix gettext call formatting.
31114 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
31116         * nscd/nscd.c: Improve usage() output.
31118 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
31120         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
31121         * sysdeps/unix/sysv/linux/configure: Regenerated.
31122         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
31123         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
31125 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31127         [BZ #16390]
31128         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31129         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
31131 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31133         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
31134         extra tokens at end of #undef directive.
31135         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
31136         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
31137         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
31139 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31141         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31143         * math/auto-libm-test-in: Mark various tests with
31144         xfail-rounding:ldbl-128ibm.
31145         * math/auto-libm-test-out: Regenerated.
31147 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
31149         [BZ #16386]
31150         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
31151         numbers with subnormal high part when calculating exponent.
31153         [BZ #16385]
31154         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
31155         fabs.
31157         [BZ #16384]
31158         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
31159         M_LN2l.
31160         (__ieee754_acoshl): Use __log1pl not __log1p.
31162 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
31164         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
31165         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
31166         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
31167         (grow_heap, heap_trim, _int_new_arena, get_free_list)
31168         (reused_arena, arena_get2): Convert to GNU style.
31169         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
31170         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
31171         (memalign_check, __malloc_set_state): Likewise.
31172         * malloc/mallocbug.c (main): Likewise.
31173         * malloc/malloc.c (__malloc_assert, malloc_init_state)
31174         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
31175         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
31176         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
31177         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
31178         (__posix_memalign, malloc_info): Likewise.
31179         * malloc/malloc.h: Likewise.
31180         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
31181         (mallochook, memalignhook, reallochook, mabort): Likewise.
31182         * malloc/mcheck.h: Likewise.
31183         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
31184         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
31185         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
31186         * malloc/morecore.c (__default_morecore): Likewise.
31187         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
31188         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
31189         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
31190         (print_and_abort): Likewise.
31191         * malloc/obstack.h: Likewise.
31192         * malloc/set-freeres.c (__libc_freeres): Likewise.
31193         * malloc/tst-mallocstate.c (main): Likewise.
31194         * malloc/tst-mtrace.c (main): Likewise.
31195         * malloc/tst-realloc.c (do_test): Likewise.
31197 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31199         [BZ #16366]
31200         * nscd/netgroupcache.c (do_notfound): New function.
31201         (addgetnetgrentX): Use it.
31203         [BZ # 16365]
31204         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
31205         NSS_STATUS_NOTFOUND.
31207 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
31209         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31212 2014-01-01  Allan McRae  <allan@archlinux.org>
31214         * scripts/update-copyrights: Update configure input file suffix.
31216         * NEWS: Update copyright year.
31217         * catgets/gencat.c: Likewise.
31218         * csu/version.c: Likewise.
31219         * debug/catchsegv.sh: Likewise.
31220         * debug/pcprofiledump.c: Likewise.
31221         * debug/xtrace.sh: Likewise.
31222         * elf/ldconfig.c: Likewise.
31223         * elf/ldd.bash.in: Likewise.
31224         * elf/pldd.c: Likewise.
31225         * elf/sotruss.ksh: Likewise.
31226         * elf/sprof.c: Likewise.
31227         * iconv/iconv_prog.c: Likewise.
31228         * iconv/iconvconfig.c: Likewise.
31229         * locale/programs/locale.c: Likewise.
31230         * locale/programs/localedef.c: Likewise.
31231         * login/programs/pt_chown.c: Likewise.
31232         * malloc/memusage.sh: Likewise.
31233         * malloc/memusagestat.c: Likewise.
31234         * malloc/mtrace.pl: Likewise.
31235         * manual/libc.texinfo: Likewise.
31236         * nscd/nscd.c: Likewise.
31237         * nss/getent.c: Likewise.
31238         * nss/makedb.c: Likewise.
31239         * posix/getconf.c: Likewise.
31240         * scripts/test-installation.pl: Likewise.
31242         * All files with FSF copyright notices: Update copyright dates
31243         using scripts/update-copyrights.
31244         * intl/plural.c: Regenerated.
31245         * locale/programs/charmap-kw.h: Likewise.
31246         * locale/programs/locfile-kw.h: Likewise.
31248 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
31250         * sysdeps/unix/sysv/linux/configure: Regenerated.
31251         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
31252         the linux/fanotify.h header.
31253         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
31254         HAVE_LINUX_FANOTIFY_H is defined.
31256 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31258         * benchtests/cos-inputs: New inputs.
31259         * benchtests/sin-inputs: Likewise.
31261         * benchtests/atan-inputs: New inputs. Fix name of multiple
31262         precision fallback inputs.
31264         * benchtests/atanh-inputs: New inputs.
31265         * benchtests/tanh-inputs: Likewise.
31267         * benchtests/acosh-inputs: New inputs.
31268         * benchtests/asinh-inputs: Likewise.
31270         * benchtests/cosh-inputs: New inputs.
31271         * benchtests/sinh-inputs: Likewise.
31273         * benchtests/acos-inputs: Add more inputs.
31274         * benchtests/asin-inputs: Likewise.
31276 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
31278         [BZ #16375]
31279         * manual/arith.texi: Fix spelling.
31280         * manual/charset.texi: Likewise.
31281         * manual/errno.texi: Likewise.
31282         * manual/filesys.texi: Likewise.
31283         * manual/lang.texi: Likewise.
31284         * manual/llio.texi: Likewise.
31285         * manual/locale.texi: Likewise.
31286         * manual/message.texi: Likewise.
31287         * manual/resource.texi: Likewise.
31288         * manual/search.texi: Likewise.
31289         * manual/setjmp.texi: Likewise.
31290         * manual/stdio.texi: Likewise.
31291         * manual/string.texi: Likewise.
31292         * manual/sysinfo.texi: Likewise.
31293         * manual/time.texi: Likewise.
31295 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
31297         * po/sl.po: New file.
31299 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
31301         * .gitignore: Add core/.gdbinit/.gdb_history.
31303 2013-12-27  Allan McRae  <allan@archlinux.org>
31305         [BZ #16369]
31306         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
31307         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
31309 2013-12-24  Brooks Moses  <bmoses@google.com>
31311         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
31312         all compilers that claim C++98 compliance, not just GCC.
31313         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31314         Likewise.
31316 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31318         * NEWS: Restore accidentally deleted bug-fix entries.
31320 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31321             Ondřej Bílka  <neleai@seznam.cz>
31323         [BZ #15073]
31324         * malloc/malloc.c (_int_free): Perform sanity check only if we
31325         have_lock.
31327 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
31329         [BZ #12986]
31330         * manual/stdio.texi (String Input Conversions): Clarify that character
31331         classes are not supported.
31333 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31337 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
31339         [BZ #16337]
31340         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31341         Calculate results for small negative arguments directly rather
31342         than using reflection formula with special underflow handling.
31344         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
31345         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
31346         sysdeps/unix/bsd/bsd4.4/syscalls.list.
31347         (fchflags): Likewise.
31348         (revoke): Likewise.
31349         (setlogin): Likewise.
31350         (sigaltstack): Likewise.
31351         (wait4): Likewise.
31352         (sigblock): Remove.
31353         (sigsetmask): Likewise.
31354         (wait3): Likewise.
31355         (waitpid): Likewise.
31356         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
31357         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
31358         file.
31359         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
31360         * sysdeps/unix/bsd/Makefile: ... here.
31361         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
31362         * sysdeps/unix/bsd/Versions: ... here.
31363         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
31364         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
31365         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
31366         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
31367         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
31368         * sysdeps/unix/bsd/sigblock.c: ... here.
31369         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
31370         * sysdeps/unix/bsd/sigsetmask.c: ... here.
31371         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
31372         * sysdeps/unix/bsd/sigvec.c: ... here.
31373         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
31374         * sysdeps/unix/bsd/tcdrain.c: ... here.
31375         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
31376         * sysdeps/unix/bsd/tcgetattr.c: ... here.
31377         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
31378         * sysdeps/unix/bsd/tcsetattr.c: ... here.
31379         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
31380         * sysdeps/unix/bsd/wait.c: ... here.
31381         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
31382         * sysdeps/unix/bsd/wait3.c: ... here.
31383         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
31384         * sysdeps/unix/bsd/waitpid.c: ... here.
31386 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
31388         [BZ #16356]
31389         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
31390         round-to-nearest for [!USE_AS_EXPM1L].
31391         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
31392         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
31393         more tests of exp and exp10.  Expect some exp10 tests to miss
31394         exceptions or fail in directed rounding modes.
31395         * math/auto-libm-test-out: Regenerated.
31396         * math/libm-test.inc (exp10_tonearest_test_data): New array.
31397         (exp10_test_tonearest): New function.
31398         (exp10_towardzero_test_data): New array.
31399         (exp10_test_towardzero): New function.
31400         (exp10_downward_test_data): New array.
31401         (exp10_test_downward): New function.
31402         (exp10_upward_test_data): New array.
31403         (exp10_test_upward): New function.
31404         (main): Call the new functions.
31405         * sysdeps/i386/fpu/libm-test-ulps: Update.
31406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31408 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
31410         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31411         asinh, atan, atan2, atanh, cbrt, cos and cosh.
31412         * math/auto-libm-test-out: Regenerated.
31413         * math/libm-test.inc (acosh_test_data): Add more tests.
31414         (atanh_test_data): Likewise.
31415         (ceil_test_data): Likewise.
31416         (copysign_test_data): Likewise.
31417         * sysdeps/i386/fpu/libm-test-ulps: Update.
31418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31420         * timezone/checktab.awk: Update from tzcode 2013i.
31421         * timezone/private.h: Likewise.
31422         * timezone/scheck.c: Likewise.
31423         * timezone/tzfile.h: Likewise.
31424         * timezone/tzselect.ksh: Likewise.
31425         * timezone/zdump.c: Likewise.
31426         * timezone/zic.c: Likewise.
31428         * math/auto-libm-test-in: Add tests of cpow.
31429         * math/auto-libm-test-out: Regenerated.
31430         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
31431         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31432         mpc_cc_c.
31433         (func_calc_desc): Add mpc_cc_c union field.
31434         (test_functions): Add cpow.
31435         (special_fill_2pi): New function.
31436         (special_real_inputs): Add 2pi.
31437         (calc_generic_results): Handle mpc_cc_c.
31438         * sysdeps/i386/fpu/libm-test-ulps: Update.
31439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31441         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
31442         csqrt, ctan and ctanh.
31443         * math/auto-libm-test-out: Regenerated.
31444         * math/libm-test.inc (TEST_COND_x86_64): New macro.
31445         (TEST_COND_x86): Likewise.
31446         (ccos_test_data): Use AUTO_TESTS_c_c.
31447         (ccosh_test_data): Likewise.
31448         (cexp_test_data): Likewise.
31449         (clog_test_data): Likewise.
31450         (csqrt_test_data): Likewise.
31451         (ctan_test_data): Likewise.
31452         (ctan_tonearest_test_data): Likewise.
31453         (ctan_towardzero_test_data): Likewise.
31454         (ctan_downward_test_data): Likewise.
31455         (ctan_upward_test_data): Likewise.
31456         (ctanh_test_data): Likewise.
31457         (ctanh_tonearest_test_data): Likewise.
31458         (ctanh_towardzero_test_data): Likewise.
31459         (ctanh_downward_test_data): Likewise.
31460         (ctanh_upward_test_data): Likewise.
31461         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31462         mpc_c_c.
31463         (func_calc_desc): Add mpc_c_c union field.
31464         (FUNC_mpc_c_c): New macro.
31465         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
31466         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
31467         ctanh.
31468         (special_fill_min_subnorm_p120): New function.
31469         (special_real_inputs): Add min_subnorm_p120.
31470         (calc_generic_results): Handle mpc_c_c.
31471         * sysdeps/i386/fpu/libm-test-ulps: Update.
31472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31474 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31476         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
31477         (do_sin_slow): New functions.
31478         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
31479         (cslow2, csloww1, csloww2): Use the new functions.
31481         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
31482         Use M to change sign of result instead of X.  Assume X is
31483         positive.
31484         (csloww1): Likewise.
31485         (__sin): Adjust.
31486         (__cos): Adjust.
31488         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
31489         arguments A and DA.
31490         (__sin): Adjust.
31491         (__cos): Likewise.
31493         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
31494         (__cos): Likewise.
31495         (sloww1): Don't adjust sign of DX.
31496         (csloww1): Likewise.
31497         (sloww2): Use X directly and don't adjust sign of DX.
31498         (csloww2): Likewise.
31500 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31502         * math/auto-libm-test-in: Add tests of cabs and carg.
31503         * math/auto-libm-test-out: Regenerated.
31504         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
31505         (carg_test_data): Likewise.
31506         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31507         mpc_c_f.
31508         (func_calc_desc): Add mpc_c_f union field.
31509         (test_functions): Add cabs and carg.
31510         (calc_generic_results): Handle mpc_c_f.
31512         * sysdeps/powerpc/powerpc32/libgcc-compat.S
31513         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
31514         as a macro and a compat symbol.
31515         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31516         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31517         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31518         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31519         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
31520         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
31521         not use .hidden.
31522         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
31523         Likewise.
31524         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
31525         Likewise.
31526         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
31527         Likewise.
31528         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
31529         Likewise.
31530         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
31531         Likewise.
31532         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
31533         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
31534         from GLIBC_2.3.2.
31536 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31540 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31542         * manual/texinfo.tex: Update to version 2013-11-26.10 with
31543         trailing whitespace removed.
31544         * scripts/config.guess: Update to version 2013-11-29.
31545         * scripts/config.sub: Update to version 2013-10-01.
31547         * math/auto-libm-test-in: Add tests of sincos.
31548         * math/auto-libm-test-out: Regenerated.
31549         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
31550         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31551         mpfr_f_11.
31552         (func_calc_desc): Add mpfr_f_11 union field.
31553         (test_functions): Add sincos.
31554         (calc_generic_results): Handle mpfr_f_11.
31555         * sysdeps/i386/fpu/libm-test-ulps: Update.
31556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31558 2013-12-19  Andreas Schwab  <schwab@suse.de>
31560         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
31561         CALL_MCOUNT.
31562         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31563         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
31564         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
31566 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31568         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
31569         * sysdeps/i386/fpu/libm-test-ulps: Update.
31570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31572         [BZ #16293]
31573         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
31574         round-to-nearest mode when using frndint.
31575         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
31576         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31577         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31578         Likewise.
31579         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
31580         sinh test to fail.
31581         * math/auto-libm-test-out: Regenerated.
31582         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
31583         (TEST_COND_x86): Likewise.
31584         (expm1_tonearest_test_data): New array.
31585         (expm1_test_tonearest): New function.
31586         (expm1_towardzero_test_data): New array.
31587         (expm1_test_towardzero): New function.
31588         (expm1_downward_test_data): New array.
31589         (expm1_test_downward): New function.
31590         (expm1_upward_test_data): New array.
31591         (expm1_test_upward): New function.
31592         (main): Run the new test functions.
31593         * sysdeps/i386/fpu/libm-test-ulps: Update.
31594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31596         * include/features.h: Update comment documenting feature test
31597         macros.  Mention _DEFAULT_SOURCE in comment.
31598         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
31599         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
31600         _BSD_SOURCE and _SVID_SOURCE.
31601         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
31602         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
31603         !_SVID_SOURCE]: Likewise.
31604         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31605         (__USE_POSIX_IMPLICITLY): Define.
31606         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31607         (_POSIX_SOURCE): Undefine and redefine.
31608         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31609         (_POSIX_C_SOURCE): Likewise.
31610         * manual/creature.texi (_DEFAULT_SOURCE): Document.
31611         (Feature Test Macros): Update documentation of default features.
31613 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31615         * benchtests/Makefile: Add bench-strtok.
31616         * benchtests/bench-strtok.c: New file: strtok benchtest.
31618 2013-12-19  Allan McRae  <allan@archlinux.org>
31620         * manual/install.texi: Suppress menu for plain text output.
31621         * INSTALL: Regenerated.
31623 2013-12-18  Brooks Moses  <bmoses@google.com>
31625         [BZ #15846]
31626         * misc/getauxval.c: Include errno.h.
31627         (__getauxval): Set errno to ENOENT if the requested type is not
31628         found.
31629         * misc/sys/auxv.h (getauxval): Document that it may set errno;
31630         don't declare with __attribute_const__.
31631         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
31632         * manual/startup.texi: Document that getauxval sets errno.
31634 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31636         * math/auto-libm-test-in: Add tests of jn and yn.
31637         * math/auto-libm-test-out: Regenerated.
31638         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
31639         (yn_test_data): Likewise.
31640         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31641         mpfr_if_f.
31642         (func_calc_desc): Add mpfr_if_f union field.
31643         (FUNC_mpfr_if_f): New macro.
31644         (test_functions): Add jn and yn.
31645         (calc_generic_results): Assert type of second input for
31646         mpfr_ff_f.  Handle mpfr_if_f.
31647         (output_for_one_input_case): Disable all checking for arguments
31648         fitting floating-point types in case of an integer argument.
31649         * sysdeps/i386/fpu/libm-test-ulps: Update.
31650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31653         Don't expect fegetround reference in libm.so.
31655 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31657         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
31658         $(config-cflags-nofma).
31660 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31662         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
31663         * math/auto-libm-test-out: Regenerated.
31665         [BZ #16338]
31666         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
31667         to determine exponent and adjust argument to have exponent of -1.
31668         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
31669         log2.
31670         * math/auto-libm-test-out: Regenerated.
31671         * sysdeps/i386/fpu/libm-test-ulps: Update.
31672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31674 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
31676         * manual/probes.texi: Remove cases when per-thread arenas are
31677         disabled.
31679 2013-12-18  Andreas Schwab  <schwab@suse.de>
31681         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
31682         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
31683         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
31684         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
31685         * sysdeps/i386/i686/multiarch/Makefile: Update.
31686         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
31688 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31690         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
31691         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
31693 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
31695         [BZ #15968]
31696         Support TZ transition times < 00:00:00.
31697         This is needed for version-3 tz-format files; it supports time
31698         stamps past 2037 for America/Godthab (the only entry in the tz
31699         database for which this change is relevant).
31700         * manual/time.texi (TZ Variable): Document transition times
31701         from -167:59:59 through -00:00:01.
31702         * time/tzset.c (tz_rule): Time of day is now signed.
31703         (__tzset_parse_tz): Parse negative time of day.
31705         Document TZ transition times >= 25:00:00.
31706         * manual/time.texi (TZ Variable): Document transition times from
31707         25:00:00 through 167:59:59.  These are already supported, and this
31708         support will help with version-3 tz-format files.
31710         * manual/time.texi (TZ Variable): Modernize North America example
31711         to reflect current (i.e., 2007-and-later) daylight saving rules.
31713         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
31715 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31717         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
31718         * sysdeps/unix/bsd/bits/stat.h: Likewise.
31719         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
31720         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31721         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
31722         * sysdeps/unix/bsd/bsdstat.h: Likewise.
31723         * sysdeps/unix/bsd/clock.c: Likewise.
31724         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
31725         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
31726         * sysdeps/unix/bsd/init-posix.c: Likewise.
31727         * sysdeps/unix/bsd/poll.c: Likewise.
31728         * sysdeps/unix/bsd/ptsname.c: Likewise.
31729         * sysdeps/unix/bsd/seekdir.c: Likewise.
31730         * sysdeps/unix/bsd/setegid.c: Likewise.
31731         * sysdeps/unix/bsd/seteuid.c: Likewise.
31732         * sysdeps/unix/bsd/setgid.c: Likewise.
31733         * sysdeps/unix/bsd/setrgid.c: Likewise.
31734         * sysdeps/unix/bsd/setruid.c: Likewise.
31735         * sysdeps/unix/bsd/setsid.c: Likewise.
31736         * sysdeps/unix/bsd/setuid.c: Likewise.
31737         * sysdeps/unix/bsd/sigaction.c: Likewise.
31738         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
31739         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
31740         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
31741         * sysdeps/unix/bsd/telldir.c: Likewise.
31742         * sysdeps/unix/bsd/times.c: Likewise.
31743         * sysdeps/unix/bsd/usleep.c: Likewise.
31745         * misc/Makefile (install-lib): Remove libbsd-compat.a.
31746         ($(objpfx)libbsd-compat.a): Remove rule.
31748         * include/features.h (__FAVOR_BSD): Do not define.
31749         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
31750         features conflicting with POSIX.
31751         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
31752         (_BSD_SOURCE): Remove description of not being a subset of other
31753         feature test macros.
31754         * manual/job.texi (getpgrp): Do not document BSD version.
31755         (getpgid): Do not document by reference to BSD getpgrp.
31756         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
31757         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
31758         * signal/signal.h [__FAVOR_BSD]: Likewise.
31759         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
31760         instead of making contents conditional on [__FAVOR_BSD].
31761         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
31763 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31767 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31769         [BZ #16314]
31770         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
31771         values below 2**-450, not 2**-500.
31772         * math/auto-libm-test-in: Don't allow spurious underflow from
31773         hypot.
31774         * math/auto-libm-test-out: Regenerated.
31776         [BZ #16316]
31777         [BZ #16330]
31778         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
31779         values of ha and hb and sort them after adjusting subnormal
31780         arguments.
31781         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31782         Likewise.
31783         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
31784         values of ea and eb and sort them after adjusting subnormal
31785         arguments.
31786         * math/auto-libm-test-in: Do not expect some hypot tests of
31787         subnormals to fail.  Add more hypot tests.
31788         * math/auto-libm-test-out: Regenerated.
31790 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31792         [BZ #13304]
31793         * sysdeps/sh/s_fma.c: New file.
31794         * sysdeps/sh/s_fmaf.c: New file.
31795         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
31796         version.
31797         * sysdeps/sh/Implies: Add sh/soft-fp.
31799 2013-12-16  Roland McGrath  <roland@hack.frob.com>
31801         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
31802         level of indirection to members `objname', `errstring', `malloced'.
31803         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
31804         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
31805         it as the __longjmp argument (just pass 1 instead).
31806         (_dl_catch_error): Initialize C with argument pointers and address of
31807         volatile local ERRCODE rather than copying values out of C at return.
31809 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
31811         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
31812         * math/auto-libm-test-out: Regenerated.
31813         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
31814         (hypot_test_data): Likewise.
31815         (pow_test_data): Likewise.
31816         (pow_tonearest_test_data): Likewise.
31817         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31818         mpfr_ff_f.
31819         (func_calc_desc): Add mpfr_ff_f union field.
31820         (FUNC_mpfr_ff_f): New macro.
31821         (test_functions): Add atan2, hypot and pow.
31822         (special_fill_min): New function.
31823         (special_fill_minus_min): Likewise.
31824         (special_fill_min_subnorm): Likewise.
31825         (special_fill_minus_min_subnorm): Likewise.
31826         (special_real_inputs): Add min, -min, min_subnorm and
31827         -min_subnorm.
31828         (calc_generic_results): Handle mpfr_ff_f.
31829         * sysdeps/i386/fpu/libm-test-ulps: Update.
31830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31832 2013-12-16  Will Newton  <will.newton@linaro.org>
31834         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
31835         (Aligned Memory Blocks): Add documentation for aligned_alloc
31836         and suggest it as an alternative to posix_memalign.
31837         (Hooks for Malloc): Document __memalign_hook is also called
31838         for aligned_alloc.  (Summary of Malloc): Add summary for
31839         aligned alloc.  Document __memalign_hook is also called
31840         for aligned_alloc.
31842 2013-12-16  Will Newton  <will.newton@linaro.org>
31844         * manual/memory.texi (Malloc Examples): Clarify default
31845         alignment documentation.  Suggest posix_memalign rather
31846         than memalign or valloc.
31847         (Aligned Memory Blocks): Remove suggestion to use memalign
31848         or valloc.  Remove obsolete comment about BSD.
31849         Document memalign errno values and mark the function obsolete.
31850         Document posix_memalign returned error codes.  Mark valloc
31851         as obsolete.  (Hooks for Malloc): __memalign_hook is also
31852         called for posix_memalign and valloc.
31853         (Summary of Malloc): Add posix_memalign to function summary.
31854         __memalign_hook is also called for posix_memalign and valloc.
31856 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31858         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
31859         TAYLOR_SIN.
31860         (__sin): Adjust.
31861         (__cos): Likewise.
31862         (sloww): Use mynumber union.  Expand ternary operator into
31863         if-else statements.
31864         (cslow): use mynumber union.
31866 2013-12-16  Allan McRae  <allan@archlinux.org>
31868         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
31869         * configure: Regenerated.
31871         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
31873         [BZ #14120]
31874         * configure.ac: Added --enable-maintainer-mode. Check for
31875         autoconf when enabled.
31876         * configure: Regenerated.
31878         * nscd/nscd.service: New file.
31879         * nscd/nscd.tmpfiles: New file.
31881 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
31883         [BZ #12100]
31884         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
31885         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
31886         * sysdeps/x86_64/multiarch/strstr.c: ... here.
31887         (strstr): Add __strstr_sse2_unaligned ifunc.
31888         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
31889         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
31890         (strcasestr): Remove __strcasestr_sse42 ifunc.
31891         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
31892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31895 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31897         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
31898         * sysdeps/sh/bits/fenv.h: ... here.
31899         * sysdeps/sh/sh4/fpu/bits: Remove directory.
31901 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31903         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
31905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
31906         hypotf multiarch implementations.
31907         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
31908         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
31909         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
31910         multiarch hypot for PPC64.
31911         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
31912         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
31913         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
31914         multiarch hypotf for PPC64.
31916         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
31917         modff multiarch implementations.
31918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
31919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
31920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
31921         multiarch modf for PPC64.
31922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
31923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
31924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
31925         multiarch modff for PPC64.
31927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
31928         and logl multiarch implementations.
31929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
31930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
31931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
31932         multiarch logb for PPC64.
31933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
31934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
31935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
31936         multiarch logb for PPC64.
31937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
31938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
31939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
31940         multiarch logb for PPC64.
31942         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
31943         isinff multiarch implementation.
31944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
31945         file.
31946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
31947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
31948         multiarch isinf for PPC64.
31949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
31950         file.
31951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
31952         multiarch isinff for PPC64.
31954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
31955         finitef multiarch implementation.
31956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
31957         file.
31958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
31959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
31960         multiarch finite for PPC64.
31961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
31962         file.
31963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
31964         multiarch finitef for PPC64.
31966         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
31967         lrint multiarch implementation.
31968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
31969         file.
31970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
31971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
31972         multiarch llrint for PPC64.
31973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
31974         multiarch lrint for PPC64.
31976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
31977         copysignf multiarch implementation.
31978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
31979         file.
31980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
31981         file.
31982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
31983         multiarch copysign for PPC64.
31984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
31985         multiarch copysignf for PPC64.
31987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
31988         multiarch implementation.
31989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
31990         file.
31991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
31992         file.
31993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
31994         file.
31995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
31996         file.
31997         multiarch llround for PPC64.
31998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
31999         multiarch trunc for PPC64.
32000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
32001         multiarch truncf for PPC64.
32003         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
32004         multiarch implementation.
32005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
32006         file.
32007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
32008         file.
32009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
32010         file.
32011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
32012         file.
32013         multiarch llround for PPC64.
32014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
32015         multiarch round for PPC64.
32016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
32017         multiarch roundf for PPC64.
32019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
32020         multiarch implementation.
32021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
32022         file.
32023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
32024         file.
32025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
32026         file.
32027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
32028         file.
32029         multiarch llround for PPC64.
32030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
32031         multiarch floor for PPC64.
32032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
32033         multiarch floorf for PPC64.
32035         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
32036         multiarch implementation.
32037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
32038         file.
32039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
32040         file.
32041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
32042         file.
32043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
32044         file.
32045         multiarch llround for PPC64.
32046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
32047         multiarch ceil for PPC64.
32048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
32049         multiarch ceilf for PPC64.
32051         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32052         multiarch implementation.
32053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
32054         file.
32055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
32056         file.
32057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
32058         file.
32059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
32060         multiarch llround for PPC64.
32061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
32062         multiarch lround for PPC64.
32064         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32065         multiarch implementation.
32066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
32067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
32068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
32069         file.
32070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
32071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
32072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
32073         multiarch isnan for PPC64.
32074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
32075         multiarch isnanf for PPC64.
32077         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
32078         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
32079         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
32080         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
32081         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
32082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
32084         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
32085         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32086         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32087         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
32090         multiarch implementations.
32091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32092         (__libc_ifunc_impl_list): Likewise.
32093         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
32094         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
32095         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
32096         multiarch stpcpy for PPC64.
32098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
32099         multiarch implementations.
32100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32101         (__libc_ifunc_impl_list): Likewise.
32102         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
32103         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
32104         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
32105         multiarch strcpy for PPC64.
32107         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
32108         redefine function name.
32109         (_wordcopy_fwd_dest_aligned): Likewise.
32110         (_wordcopy_bwd_aligned): Likewise.
32111         (_wordcopy_bwd_dest_aligned): Likewise.
32112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
32113         multiarch implementations.
32114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32115         (__libc_ifunc_impl_list): Likewise.
32116         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
32117         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
32118         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
32119         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
32120         multiarch wcscpy for PPC64.
32122         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
32123         multiarch implementations.
32124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32125         (__libc_ifunc_impl_list): Likewise.
32126         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
32127         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
32128         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
32129         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
32130         multiarch wcscpy for PPC64.
32132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
32133         multiarch implementations.
32134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32135         (__libc_ifunc_impl_list): Likewise.
32136         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
32137         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
32138         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
32139         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
32140         multiarch wcsrchr for PPC64.
32142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
32143         multiarch implementations.
32144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32145         (__libc_ifunc_impl_list): Likewise.
32146         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
32147         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
32148         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
32149         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
32150         multiarch wcschr for PPC64.
32152         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
32153         multiarch implementations.
32154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32155         (__libc_ifunc_impl_list): Likewise.
32156         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
32157         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
32158         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
32159         multiarch strchrnul for PPC64.
32161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
32162         implementations.
32163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32164         (__libc_ifunc_impl_list): Likewise.
32165         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
32166         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
32167         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
32168         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
32169         strchr for PPC64.
32171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
32172         implementations.
32173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32174         (__libc_ifunc_impl_list): Likewise.
32175         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
32176         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
32177         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
32178         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
32179         strncmp for PPC64.
32181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
32182         multiarch implementations.
32183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32184         (__libc_ifunc_impl_list): Likewise.
32185         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
32186         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
32187         strncasecmp for PPC64.
32188         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
32189         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
32190         multiarch strncasecmp_l for PPC64.
32192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
32193         multiarch implementations.
32194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32195         (__libc_ifunc_impl_list): Likewise.
32196         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
32197         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
32198         multiarch strcasecmp for PPC64.
32199         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
32200         file.
32201         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
32202         multiarch strcasecmp_l for PPC64.
32204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
32205         implementations.
32206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32207         (__libc_ifunc_impl_list): Likewise.
32208         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
32209         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
32210         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
32211         strnlen for PPC64.
32213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
32214         implementations.
32215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32216         (__libc_ifunc_impl_list): Likewise.
32217         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
32218         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
32219         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
32220         strlen for PPC64.
32222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
32223         implementations.
32224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32225         (__libc_ifunc_impl_list): Likewise.
32226         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
32227         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
32228         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
32229         rawmemrchr for PPC64.
32231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
32232         implementation.
32233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32234         (__libc_ifunc_impl_list): Likewise.
32235         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
32236         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
32237         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
32238         memrchr for PPC64.
32240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
32241         implementation.
32242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32243         (__libc_ifunc_impl_list): Likewise.
32244         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
32245         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
32246         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
32247         memchr for PPC64.
32249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
32250         implementation.
32251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32252         (__libc_ifunc_impl_list): Likewise.
32253         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
32254         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
32255         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
32256         mempcpy for PPC64.
32258         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
32259         avoid cretion of __bzero symbol.
32260         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
32261         Likewise.
32262         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
32263         Likewise.
32264         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
32265         Likewise.
32266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
32267         multiarch implementations.
32268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32269         (__libc_ifunc_impl_list): Likewise.
32270         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
32271         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
32272         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
32273         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
32274         bzero for PPC32.
32275         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
32276         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
32277         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
32278         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
32279         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
32280         memset for PPC64.
32281         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
32283         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
32284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
32285         implementations.
32286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32287         (__libc_ifunc_impl_list): Likewise.
32288         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
32289         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
32290         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
32291         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
32292         memcmp for PPC64.
32294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
32295         multiarch for POWER/PPC64.
32296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32297         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
32298         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
32299         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
32300         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
32301         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
32302         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
32303         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
32304         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
32305         memcpy for PPC64.
32307         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
32308         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
32309         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
32310         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
32311         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
32312         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
32313         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
32314         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
32315         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
32316         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
32317         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
32318         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
32319         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
32320         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
32321         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
32322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
32323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
32324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
32325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
32326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
32327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
32328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
32330 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32332         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
32334 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32336         * benchtests/Makefile (bench): Add exp2 and log2.
32337         (LDLIBS-bench-exp2): Add -lm.
32338         (LDLIBS-bench-log2): Likewise.
32339         * benchtests/exp2-inputs: New inputs file.
32340         * benchtests/log2-inputs: New inputs file.
32341         * benchtests/log-inputs: Add new inputs.
32342         * benchtests/tan-inputs: Likewise.
32344 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32346         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
32347         definition...
32348         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
32349         (csloww2): ... from here.
32351         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
32352         instead of structures.
32353         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
32354         (POLYNOMIAL): Likewise.
32355         (TAYLOR_SLOW): Likewise.
32356         (__sin): Likewise.
32357         (__cos): Likewise.
32358         (slow1): Likewise.
32359         (slow2): Likewise.
32360         (sloww): Likewise.
32361         (sloww1); Likewise.
32362         (sloww2): Likewise.
32363         (bsloww1): Likewise.
32364         (bsloww2): Likewise.
32365         (cslow2): Likewise.
32366         (csloww): Likewise.
32367         (csloww1): Likewise.
32368         (csloww2): Likewise.
32370 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
32372         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
32373         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
32374         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
32375         * malloc/hooks.c (realloc_check): Likewise.
32377         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
32378         * malloc/arena.c: Remove PER_THREAD conditional.
32379         [!PER_THREAD]: Remove code.
32380         (ptmalloc_unlock_all2): Likewise.
32381         (ptmalloc_init): Likewise.
32382         (_int_new_arena): Likewise.
32383         (arena_get2): Likewise.
32384         * malloc/hooks.c (__malloc_get_state): Likewise.
32385         (__malloc_set_state): Likewise.
32386         * malloc/malloc.c: Likewise.
32387         (struct malloc_state): Likewise.
32388         (struct malloc_par): Likewise.
32389         (__libc_realloc): Likewise.
32390         (__libc_mallopt): Likewise.
32392 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32394         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
32396 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
32398         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
32399         macro to a function.  Check for zero perturb_byte.
32400         (_int_malloc, _int_free): Remove zero perturb_byte checks.
32402         * malloc/malloc.c: (force_reg): Remove.
32403         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
32404         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
32405         force_reg by atomic_forced_read.
32406         * malloc/arena.c (ptmalloc_init): Likewise.
32407         * malloc/hooks.c (top_check): Likewise.
32409 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32413 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
32415         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32417 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
32419         * math/auto-libm-test-in: Add tests of lgamma.
32420         * math/auto-libm-test-out: Regenerated.
32421         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
32422         (M_LOG_2_SQRT_PIl): Likewise.
32423         (lgamma_test_data): Use AUTO_TESTS_f_f1.
32424         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32425         mpfr_f_f1.
32426         (func_calc_desc): Add mpfr_f_f1 union field.
32427         (ARGS1): New macro.
32428         (ARGS2): Likewise.
32429         (ARGS3): Likewise.
32430         (ARGS4): Likewise.
32431         (RET1): Likewise.
32432         (RET2): Likewise.
32433         (CALC): Likewise.
32434         (FUNC): Likewise.
32435         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
32436         (test_functions): Add lgamma.
32437         (calc_generic_results): Handle mpfr_f_f1.
32438         * sysdeps/i386/fpu/libm-test-ulps: Update.
32439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32441 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32443         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
32444         __mpn_add_n for PowerPC64/POWER7.
32445         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
32446         __mpn_sub_n for PowerPC64/POWER7.
32448         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
32449         __mpn_addmul_1 for PowerPC64.
32450         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
32451         __mpn_submul_1 for PowerPC64.
32452         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
32453         for PowerPC64.
32454         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
32455         for PowerPC64.
32457 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
32459         [BZ #15089]
32460         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
32462 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32464         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
32466         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
32467         add multiarch folders.
32468         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
32469         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
32470         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
32471         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
32472         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
32473         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
32474         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
32475         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
32476         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
32477         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
32478         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
32479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
32480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
32481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
32482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
32483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
32484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
32486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32487         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
32488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
32489         New file.
32490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
32491         New file.
32492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
32493         multiarch __ieee754_hypot for PowerPC32.
32494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
32495         New file.
32496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
32497         New file.
32498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
32499         multiarch __ieee754_hypotf for PowerPC32.
32501         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
32502         long_double_symbol only if __logbl is defined.
32503         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
32504         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
32505         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
32506         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
32507         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
32508         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
32509         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
32510         path for implementation.
32511         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
32512         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
32513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
32514         logb, and logbl multiarch implementations for PowerPC32.
32515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
32516         file.
32517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
32518         file.
32519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
32520         multiarch logb for PowerPC32.
32521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
32522         file.
32523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
32524         file.
32525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
32526         multiarch logbf for PowerPC32.
32527         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
32528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
32529         file.
32530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
32531         multiarch logbl implementation for PowerPC32.
32533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
32534         and modff multiarch implementations.
32535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
32536         New file.
32537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
32538         New file.
32539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
32540         multiarch modf for PowerPC32.
32541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
32542         New file.
32543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
32544         New file.
32545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
32546         multiarch modff for PowerPC32.
32548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
32549         and lrintf multiarch implementations.
32550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
32551         New file.
32552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
32553         New file.
32554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
32555         multiarch lrint for PowerPC32.
32556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
32557         file: multiarch lrintf for PowerPC32.
32559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
32560         and lroundf multiarch implementations.
32561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
32562         New file.
32563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
32564         New file.
32565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
32566         New file.
32567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
32568         multiarch lround for PowerPC32.
32569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
32570         file: multiarch lroundf for PowerPC32.
32572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32573         copysign and copysignf multiarch implementations.
32574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
32575         New file.
32576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
32577         New file.
32578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
32579         file: multiarch copysign for PowerPC32.
32580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
32581         file: multiarch copysignf for PowerPC32.
32583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
32584         and truncf multiarch implementations.
32585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
32586         New file.
32587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
32588         file.
32589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
32590         multiarch trunc for PowerPC32.
32591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
32592         New file.
32593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
32594         New file.
32595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
32596         multiarch truncf for PowerPC32.
32598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
32599         and roundf multiarch implementations.
32600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
32601         New file.
32602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
32603         file.
32604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
32605         multiarch round for PowerPC32.
32606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
32607         New file.
32608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
32609         New file.
32610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
32611         multiarch roundf for PowerPC32.
32613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
32614         and floorf multiarch implementations.
32615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
32616         New file.
32617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
32618         file.
32619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
32620         multiarch floor for PowerPC32.
32621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
32622         New file.
32623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
32624         New file.
32625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
32626         multiarch floorf for PowerPC32.
32628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
32629         and ceilf multiarch implementations.
32630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
32631         New file.
32632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
32633         file.
32634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
32635         multiarch ceil for PowerPC32.
32636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
32637         New file.
32638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
32639         file.
32640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
32641         multiarch ceilf for PowerPC32.
32643         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
32644         is defined.
32645         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
32646         FINITEF is defined.
32647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
32648         and finitef multiarch implementations.
32649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
32650         New file.
32651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
32652         file.
32653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
32654         multiarch finite for PowerPC32.
32655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
32656         New file.
32657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
32658         file: multiarch finitef for PowerPC32.
32660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
32661         and isinff multiarch implementations.
32662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
32663         file.
32664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
32665         file.
32666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
32667         multiarch isinf for PowerPC32.
32668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
32669         New file.
32670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
32671         multiarch isinff for PowerPC32.
32673         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
32674         alias when __isnan is defined.
32675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
32676         and isnanf multiarch implementations.
32677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
32678         file.
32679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
32680         file.
32681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
32682         file.
32683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
32684         file.
32685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
32686         multiarch isnan for PowerPC32.
32687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
32688         New file.
32689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
32690         New file.
32691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
32692         multiarch isnanf for PowerPC32.
32694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
32695         and sqrtf multiarch implementations.
32696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
32697         file.
32698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
32699         file.
32700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
32701         multiarch sqrt for PowerPC32.
32702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
32703         file.
32704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
32705         file.
32706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
32707         multiarch sqrtf for PowerPC32.
32709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
32710         and llroundf multiarch implementations.
32711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
32712         New file.
32713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
32714         New file.
32715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
32716         New file.
32717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
32718         file: multiarch llround for PowerPC32.
32719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
32720         file: multiarch llroundf for PowerPC32.
32722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
32723         multiarch PowerPC32 fpu implementations.
32724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
32725         New file.
32726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
32727         New file.
32728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
32729         multiarch llrint for PowerPC32.
32730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
32731         New file.
32732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
32733         New file.
32734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
32735         file.
32737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
32739         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
32740         file.
32741         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
32742         file.
32743         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
32744         file.
32745         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
32746         multiarch wordcopy for PPC32.
32747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32748         wordcopy objects.
32749         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32750         (__libc_ifunc_impl_list): Likewise.
32751         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
32752         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
32753         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
32754         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
32755         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
32756         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
32758         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
32759         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
32760         file.
32761         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
32762         file.
32763         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
32764         file.
32765         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
32766         multiarch wcscpy for PPC32.
32767         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32768         multiarch objects.
32769         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32770         (__libc_ifunc_impl_list): Likewise.
32771         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32772         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32773         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
32774         sysdeps/powerpc/power6/wcscpy.c.
32776         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
32777         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
32778         file.
32779         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
32780         file.
32781         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
32782         file.
32783         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
32784         multiarch wcsrchr for PPC32.
32785         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32786         multiarch objects.
32787         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32788         (__libc_ifunc_impl_list): Likewise.
32789         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32790         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32791         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
32792         sysdeps/powerpc/power6/wcsrchr.c.
32794         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
32795         file.
32796         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
32797         file.
32798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
32799         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
32800         multiarch wcschr for PPc32.
32801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32802         multiarch objects.
32803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32804         (__libc_ifunc_impl_list): Likewise.
32805         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
32806         * sysdeps/powerpc/power6/wcschr.c: ... to here.
32807         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
32808         sysdeps/powerpc/power6/wcschr.c.
32810         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
32811         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
32812         file.
32813         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
32814         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
32815         file: multiarch strchr for PPC32.
32816         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
32817         multiarch objects.
32818         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32819         (__libc_ifunc_impl_list): Likewise.
32821         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
32822         name.
32823         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
32824         file.
32825         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
32826         file.
32827         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
32828         multiarch strchrnul for PPC32.
32829         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
32830         multiarch objects.
32831         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32832         (__libc_ifunc_impl_list): Likewise.
32834         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
32835         file.
32836         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
32837         multiarch strncasecmp for PPC32.
32838         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
32839         file.
32840         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
32841         multiarch strncasecmp_l for PPC32.
32842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
32843         strncasecmp multiarch objects.
32844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32845         (__libc_ifunc_impl_list): Likewise.
32847         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
32848         file.
32849         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
32850         multiarch strncasecmp for PPC32.
32851         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32852         New file.
32853         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
32854         multiarch strcasecmp_l for PPC32.
32855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
32856         multiarch objects.
32857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32858         (__libc_ifunc_impl_list): Likewise.
32860         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
32861         file.
32862         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
32863         file.
32864         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
32865         multiarch strncmp for PPC32.
32866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
32867         multiarch objects.
32868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32869         (__libc_ifunc_impl_list): Likewise.
32871         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
32872         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
32873         file.
32874         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
32875         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
32876         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
32877         multiarch objects.
32878         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32879         (__libc_ifunc_impl_list): Likewise.
32881         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
32882         file.
32883         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
32884         file.
32885         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
32886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
32887         multiarch objects.
32888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32889         (__libc_ifunc_impl_list): Likewise.
32891         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
32892         file.
32893         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
32894         file.
32895         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
32896         multiarch rawmemchr for PPC32.
32897         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
32898         multiarch objects.
32899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32900         (__libc_ifunc_impl_list): Likewise.
32902         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
32903         file.
32904         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
32905         file.
32906         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
32907         file: memrchr multiarch for PPC32.
32908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
32909         multiarch objects.
32910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32911         (__libc_ifunc_impl_list): Likewise.
32913         * string/memchr.c (__memchr): Using macro to redefine symbol name.
32914         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
32915         file.
32916         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
32917         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
32918         multiarch memchr for PPC32.
32919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
32920         multiarch objects.
32921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32922         (__libc_ifunc_impl_list): Likewise.
32924         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
32925         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
32926         file.
32927         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
32928         file.
32929         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
32930         file: multiarch mempcpy for PPC32.
32931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
32932         multiarch objects.
32933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32934         (__libc_ifunc_impl_list): Likewise.
32936         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
32937         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
32938         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
32939         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
32940         multiarch bzero for PPC32.
32941         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
32942         file.
32943         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
32944         file.
32945         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
32946         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
32947         file: multiarch memset for PPC32.
32948         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
32949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
32950         memset multiarch objects.
32951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32952         (__libc_ifunc_impl_list): Likewise.
32954         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
32955         file.
32956         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
32957         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
32958         memcmp for PPC32.
32959         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
32960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
32961         multiarch objects.
32962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32963         (__libc_ifunc_impl_list): Likewise.
32965         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
32966         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
32967         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
32968         file.
32969         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
32970         file.
32971         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
32972         file.
32973         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
32974         multiarch memcpy for PPC32.
32975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
32976         multiarch objects.
32977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32978         (__libc_ifunc_impl_list): Likewise.
32980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
32981         support multiarch for POWER/PPC32.
32982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
32983         Likewise.
32984         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
32986         Implies file to make multiarch folder appers before the fpu and
32987         default folder for power4 configuration.
32989 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32991         * scripts/bench.pl: Append volatile keyword to type.
32993 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32995         * sysdeps/sh/sotruss-lib.c: New file.
32996         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
32998 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33002 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
33004         [BZ #6810]
33005         * math/w_tgamma.c: Include <errno.h>.
33006         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
33007         * math/w_tgammaf.c: Include <errno.h>.
33008         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
33009         * math/w_tgammal.c: Include <errno.h>.
33010         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
33011         * math/auto-libm-test-in: Do not allow missing errno on tgamma
33012         underflow.  Add more tgamma tests.
33013         * math/auto-libm-test-out: Regenerated.
33014         * sysdeps/i386/fpu/libm-test-ulps: Update.
33015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33017         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
33018         sin, sinh, tan, tanh, tgamma, y0 and y1.
33019         * math/auto-libm-test-out: Regenerated.
33020         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33021         (TEST_COND_x86): Likewise.
33022         (M_E2l): Remove macro.
33023         (M_E3l): Likewise.
33024         (M_2_SQRT_PIl): Likewise.
33025         (M_SQRT_PIl): Likewise.
33026         (M_1_DIV_El): Likewise.
33027         (log_test_data): Use AUTO_TESTS_f_f.
33028         (log10_test_data): Likewise.
33029         (log1p_test_data): Likewise.
33030         (log2_test_data): Likewise.
33031         (sin_test_data): Likewise.
33032         (sin_tonearest_test_data): Likewise.
33033         (sin_towardzero_test_data): Likewise.
33034         (sin_downward_test_data): Likewise.
33035         (sin_upward_test_data): Likewise.
33036         (sinh_test_data): Likewise.
33037         (sinh_tonearest_test_data): Likewise.
33038         (sinh_towardzero_test_data): Likewise.
33039         (sinh_downward_test_data): Likewise.
33040         (sinh_upward_test_data): Likewise.
33041         (tan_test_data): Likewise.
33042         (tan_tonearest_test_data): Likewise.
33043         (tan_towardzero_test_data): Likewise.
33044         (tan_downward_test_data): Likewise.
33045         (tan_upward_test_data): Likewise.
33046         (tanh_test_data): Likewise.
33047         (tgamma_test_data): Likewise.
33048         (y0_test_data): Likewise.
33049         (y1_test_data): Likewise.
33050         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
33051         (special_real_inputs): Add pi/4.
33052         * sysdeps/i386/fpu/libm-test-ulps: Update.
33053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33055 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33057         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
33058         "longjmp_target" static probes.
33059         (__longjmp): Rename to __longjmp_symbol.
33060         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33061         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
33062         on which longjmp to generate.
33063         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33064         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
33065         probe.
33066         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33067         (__sigjmp_save): Rename to __sigjmp_save_symbol.
33068         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33069         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
33070         and __sigjmp_save_symbol based on which sigsetjmp to generated.
33071         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
33072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
33073         __longjmp_symbol based on which __longjmp to generate.
33074         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
33075         probe.
33076         (setjmp): Rename to setjmp_symbol.
33077         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33078         (_setjmp): Rename to _setjmp_symbol.
33079         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33080         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
33081         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
33082         which setjmp to generate.
33083         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
33084         "longjmp_target" static probes.
33086 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33088         * benchtests/README: Add note about output arguments.
33089         * benchtests/bench-sincos.c: Remove file.
33090         * benchtests/sincos-inputs: New file.
33091         * scripts/bench.pl: Identify output arguments and define
33092         static variables for them.
33094         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
33096         [BZ #15941]
33097         * Makefile (INSTALL): Add install-plain.texi as the primary
33098         dependency.
33099         * manual/install-plain.texi: New file.
33100         * manual/install.texi: Include node directive only for
33101         non-plaintext output.
33103 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
33105         * stdlib/longlong.h: Update from GCC.
33107         [BZ #6807]
33108         [BZ #15901]
33109         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
33110         * math/w_j0f.c (y0f): Likewise.
33111         * math/w_j0l.c (__y0l): Likewise.
33112         * math/w_j1.c (y1): Likewise.
33113         * math/w_j1f.c (y1f): Likewise.
33114         * math/w_j1l.c (__y1l): Likewise
33115         * math/w_jn.c (yn): Likewise.
33116         * math/w_jnf.c (ynf): Likewise.
33117         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
33118         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
33119         value for Bessel function domain errors outside _SVID_ mode.
33120         Adjust sign of return value for yn (negative integer, 0).
33121         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
33122         by zero in return for negative x and set sign appropriately for
33123         negative n.
33124         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
33125         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33126         * math/libm-test.inc (y0_test_data): Add more tests and adjust
33127         expectations in error cases.
33128         (y1_test_data): Likewise.
33129         (yn_test_data): Likewise.
33130         * sysdeps/i386/fpu/libm-test-ulps: Update.
33131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33133 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33135         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
33136         "64" to "64-v1".  Add "64-v2".
33137         (abi-64-options): Rename to ...
33138         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
33139         (abi-64-condition): Rename to ...
33140         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
33141         (abi-64-ld-soname): Rename to ...
33142         (abi-64-v1-ld-soname): ... this.
33143         (abi-64-v2-options): Define.
33144         (abi-64-v2-condition): Likewise.
33145         (abi-64-v2-ld-soname): Likewise.
33146         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
33147         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
33148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
33149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
33150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
33152 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33153             Alan Modra  <amodra@gmail.com>
33155         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
33156         New versions for use with the ELFv2 ABI.
33157         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
33158         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
33159         declaration.
33160         (struct La_ppc64v2_retval): Likewise.
33161         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
33162         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
33163         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
33164         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
33165         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
33166         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33167         Do not save or restore CR.
33168         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
33169         (_dl_profile_resolve): Do no save or restore CR.  Support extended
33170         return values for ELFv2 ABI.  Fix location of FPR return registers.
33171         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
33172         updated values for _CALL_ELF == 2.
33173         (La_regs, La_retval, int_retval): Likewise.
33175 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33177         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
33178         (FRAME_MIN_SIZE_PARM): Likewise.
33179         (FRAME_BACKCHAIN): Likewise.
33180         (FRAME_CR_SAVE): Likewise.
33181         (FRAME_LR_SAVE): Likewise.
33182         (FRAME_TOC_SAVE): Likewise.
33183         (FRAME_PARM_SAVE): Likewise.
33184         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
33185         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
33186         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33187         (call_mcount_parm_offset): New macro.
33188         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
33189         (PROF): Use symbolic stack frame offsets.
33190         (TAIL_CALL_SYSCALL_ERROR): Likewise.
33191         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
33192         Redefine in terms of FRAME_MIN_SIZE.
33193         (_dl_runtime_resolve): Use symbolic stack frame offsets.
33194         (_dl_profile_resolve): Likewise.  Update comment.
33195         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
33196         symbols stack frame offsets.
33197         (__sigsetjmp): Likewise.
33198         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
33199         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
33200         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
33201         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
33203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
33204         (FRAME_BACKCHAIN): Remove.
33205         (FRAME_CR_SAVE): Likewise.
33206         (FRAME_LR_SAVE): Likewise.
33207         (FRAME_COMPILER_DW): Likewise.
33208         (FRAME_LINKER_DW): Likewise.
33209         (FRAME_TOC_SAVE): Likewise.
33210         (FRAME_PARM_SAVE): Likewise.
33211         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
33212         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
33213         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
33215         (CHECK_SP): Use symbolic stack frame offsets.
33216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
33217         zone" instead of caller's parameter save area for temp storage.
33218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33219         Likewise.  Also, use symbolic stack frame offsets.
33220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
33221         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
33222         our own stack frame instead of the caller's.
33223         (__socket): Use symbolic stack frame offsets.
33225 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33226             Alan Modra  <amodra@gmail.com>
33228         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
33229         Define.
33230         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
33231         (PPC64_LOCAL_ENTRY_OFFSET): Define.
33232         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
33233         New function.
33234         (elf_machine_fixup_plt): Call it.
33235         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
33236         reloc arguments.
33237         (elf_machine_rela): Update call to elf_machine_plt_conflict.
33238         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33239         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
33240         r2 before calling target.
33242 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33243             Alan Modra  <amodra@gmail.com>
33245         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
33246         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
33247         versions of macros to support ELFv2 ABI.
33248         (LOCALENTRY): New macro.
33249         (ENTRY, EALIGN): Use it.
33250         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
33251         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
33252         fall through into ENTRY entry point.
33253         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
33254         Only define if _CALL_ELF != 2.
33256         (elf_machine_matches_host): Verify ABI version matches.
33257         (RTLD_START): Use LOCALENTRY.
33258         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
33259         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
33260         (PLT_ENTRY_WORDS): New macro.
33261         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
33262         (elf_machine_runtime_setup): Support ELFv2 ABI.
33263         (elf_machine_fixup_plt): Likewise.
33264         (elf_machine_plt_conflict): Likewise.
33265         (resolve_ifunc): Likewise.
33266         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33267         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
33268         Likewise.
33269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
33270         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
33271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33272         (makecontext): Support ELFv2 ABI.
33273         * elf/elf.h (EF_PPC64_ABI): Define.
33275 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33277         * sysdeps/powerpc/powerpc64/sysdep.h
33278         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
33279         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
33280         (ENTRY) [ASSEMBLER]: ... but instead here ...
33281         (EALIGN) [ASSEMBLER]: ... and here.
33282         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
33283         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
33284         (ENTRY_2) [!ASSEMBLER]: Use it.
33285         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
33286         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
33287         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33288         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
33289         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
33290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
33291         Use PPC64_LOAD_FUNCPTR.
33293         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
33295 2013-12-04  Alan Modra  <amodra@gmail.com>
33297         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
33298         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
33299         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
33300         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
33302         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
33303         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
33304         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
33305         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
33306         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
33307         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
33309 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33312         (__makecontext): Fix incorrect CFI when backtracing out of
33313         context created via makecontext.
33314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
33315         (__setcontext): Fix incorrect CFI during switch to new context.
33316         (__novec_setcontext): Likewise.
33318 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33320         [BZ #4772]
33321         * time/strptime_l.c (__strptime_internal): Allow modifiers
33322         in strptime.
33323         * time/tst-strptime.c (day_tests): Add testcase.
33325 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33327         * scripts/bench.pl: Skip over blank lines.
33329 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
33331         [BZ #926]
33332         * manual/time.texi (Calendar Time): Clarify what timezone functions
33333         use.
33335 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33339 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33341         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
33342         implementation.
33343         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
33344         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
33345         * debug/memset_chk.c (__memset_chk): Likewise.
33346         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
33347         * debug/strncpy_chk.c: Likewise.
33349 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33351         [BZ #15268]
33352         [BZ #15425]
33353         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
33354         (__ieee754_exp): For possibly underflowing results, check size of
33355         result and force underflow exception if required.
33356         * math/auto-libm-test-in: Add more tests of exp.
33357         * math/auto-libm-test-out: Regenerated.
33358         * sysdeps/i386/fpu/libm-test-ulps: Update.
33359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33361         [BZ #16283]
33362         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
33363         * math/w_exp2f.c (__exp2f): Likewise.
33364         * math/w_exp2l.c (__exp2l): Likewise.
33365         * math/auto-libm-test-in: Do not allow missing errno on exp2
33366         underflow.
33367         * math/auto-libm-test-out: Regenerated.
33369 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
33371         [BZ #16274]
33372         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
33373         handle filename validation.
33374         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
33375         (do_open): Delete.
33377 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33379         [BZ #6786]
33380         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
33381         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
33382         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
33383         <float.h>.
33384         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
33385         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
33386         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33387         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
33388         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33389         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
33390         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33391         * math/auto-libm-test-in: Don't allow missing errno from erfc.
33392         Add more erfc tests.
33393         * math/auto-libm-test-out: Regenerated.
33394         * sysdeps/i386/fpu/libm-test-ulps: Update.
33395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33397         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
33398         exp2, expm1, j0 and j1.
33399         * math/auto-libm-test-out: Regenerated.
33400         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
33401         (erfc_test_data): Likewise.
33402         (exp_test_data): Likewise.
33403         (exp_tonearest_test_data): Likewise.
33404         (exp_towardzero_test_data): Likewise.
33405         (exp_downward_test_data): Likewise.
33406         (exp_upward_test_data): Likewise.
33407         (exp10_test_data): Likewise.
33408         (exp2_test_data): Likewise.
33409         (expm1_test_data): Likewise.
33410         (j0_test_data): Likewise.
33411         (j1_test_data): Likewise.
33412         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
33413         (input_flag_type): Add flag_xfail_rounding.
33414         (input_flags): Add xfail-rounding.
33415         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
33416         (output_for_one_input_case): Handle flag_xfail_rounding.
33417         * sysdeps/i386/fpu/libm-test-ulps: Update.
33418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33420 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
33422         [BZ #16289]
33423         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
33424         division by 0.
33426 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33428         [BZ #16195]
33429         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
33430         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
33431         (STAP_PROBE0): New macro.
33432         (STAP_PROBE1): Likewise.
33433         (STAP_PROBE2): Likewise.
33434         (STAP_PROBE3): Likewise.
33435         (STAP_PROBE4): Likewise.
33437 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
33439         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
33441 2013-12-02  Steve Ellcey  <sellcey@mips.com>
33443         * benchtests/Makefile (bench): Add sqrt.
33444         (LDLIBS-bench-sqrt): New.
33445         * benchtests/sqrt-input: New.
33447 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
33449         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
33450         (GAIH_EAI): Likewise.
33451         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
33452         (gaih_inet): Likewise.
33453         (getaddrinfo): Don't use GAIH_EAI.
33455         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
33456         (struct gaih): Remove definition.
33458 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33460         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
33461         Use HERRNOP directly.
33463 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33467 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
33469         * math/gen-auto-libm-tests.c (test_functions): Add more
33470         single-argument functions.
33471         (special_fill_pi_2): New function.
33472         (special_fill_minus_pi_2): Likewise.
33473         (special_fill_pi_6): Likewise.
33474         (special_fill_minus_pi_6): Likewise.
33475         (special_fill_pi_3): Likewise.
33476         (special_fill_2pi_3): Likewise.
33477         (special_fill_e): Likewise.
33478         (special_fill_1_e): Likewise.
33479         (special_fill_e_minus_1): Likewise.
33480         (special_real_inputs): Add more special inputs.
33481         (output_for_one_input_case): Do not require ERANGE on underflow to
33482         zero if round-to-nearest result does not underflow to zero, unless
33483         exact results required.
33484         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
33485         atan, atanh, cbrt, cos and cosh.
33486         * math/auto-libm-test-out: Regenerated.
33487         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
33488         (acos_tonearest_test_data): Likewise.
33489         (acos_towardzero_test_data): Likewise.
33490         (acos_downward_test_data): Likewise.
33491         (acos_upward_test_data): Likewise.
33492         (acosh_test_data): Likewise.
33493         (asin_test_data): Likewise.
33494         (asin_tonearest_test_data): Likewise.
33495         (asin_towardzero_test_data): Likewise.
33496         (asin_upward_test_data): Likewise.
33497         (asinh_test_data): Likewise.
33498         (atan_test_data): Likewise.
33499         (atanh_test_data): Likewise.
33500         (cbrt_test_data): Likewise.
33501         (cos_test_data): Likewise.
33502         (cos_tonearest_test_data): Likewise.
33503         (cos_towardzero_test_data): Likewise.
33504         (cos_downward_test_data): Likewise.
33505         (cos_upward_test_data): Likewise.
33506         (cosh_test_data): Likewise.
33507         (cosh_tonearest_test_data): Likewise.
33508         (cosh_towardzero_test_data): Likewise.
33509         (cosh_downward_test_data): Likewise.
33510         (cosh_upward_test_data): Likewise.
33511         * sysdeps/i386/fpu/libm-test-ulps: Update.
33512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33514 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
33516         [BZ #6787]
33517         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
33518         * math/w_exp10f.c (__exp10f): Likewise.
33519         * math/w_exp10l.c (__exp10l): Likewise.
33520         * math/libm-test.inc (exp10_test_data): Add more tests and expect
33521         errno settings in existing tests.
33523         [BZ #14032]
33524         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
33525         precision control set to double precision.
33526         * sysdeps/i386/fpu/w_sqrt.c: New file.
33527         * math/auto-libm-test-in: Add more tests.
33528         * math/auto-libm-test-out: Update.
33530         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
33531         (sqrt_test_tonearest): New function.
33532         (sqrt_towardzero_test_data): New variable.
33533         (sqrt_test_towardzero): New function.
33534         (sqrt_downward_test_data): New variable.
33535         (sqrt_test_downward): New function.
33536         (sqrt_upward_test_data): New variable.
33537         (sqrt_test_upward): New function.
33538         (main): Call the new functions.
33540         * math/gen-auto-libm-tests.c: New file.
33541         * math/auto-libm-test-in: Likewise.
33542         * math/auto-libm-test-out: New generated file.
33543         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
33544         variables.
33545         (%beautify): Add generated representations of zero.
33546         (top level): Set $auto_input and call parse_auto_input.
33547         (beautify): Remove trailing "f" from hex float constants.
33548         (parse_args): Handle XFAIL_TEST.
33549         (convert_condition): New function.
33550         (or_value): Likewise.
33551         (or_cond_value): Likewise.
33552         (generate_testfile): Handle AUTO_TESTS_* lines.
33553         (parse_auto_input): New function.
33554         * math/libm-test.inc (XFAIL_TEST): New macro.
33555         (ERRNO_UNCHANGED): Update value.
33556         (ERRNO_EDOM): Likewise.
33557         (ERRNO_ERANGE): Likewise.
33558         (IGNORE_RESULT): Likewise.
33559         (TEST_COND_flt_32): New macro.
33560         (TEST_COND_dbl_64): Likewise.
33561         (TEST_COND_ldbl_96_intel): Likewise.
33562         (TEST_COND_ldbl_96_m68k): Likewise.
33563         (TEST_COND_ldbl_128): Likewise.
33564         (TEST_COND_ldbl_128ibm): Likewise.
33565         (TEST_COND_long32): Likewise.
33566         (TEST_COND_long64): Likewise.
33567         (TEST_COND_before_rounding): Likewise.
33568         (TEST_COND_after_rounding): Likewise.
33569         (enable_test): Handle XFAIL_TEST flag.
33570         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
33571         with finite results.
33572         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
33573         auto-libm-test-out.
33575 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33576             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33578         [BZ #16214]
33579         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
33580         __tls_get_addr_internal instead of __tls_get_offset in order to
33581         avoid GOT pointer dependency.  Make rtld export
33582         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
33583         __tls_get_addr since we are a __tls_get_offset platform.
33584         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
33585         GOT pointer being set up before.
33586         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
33588 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
33590         * manual/math.texi (Errors in Math Functions): Document accuracy
33591         goals.
33593         [BZ #15004]
33594         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
33595         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
33596         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33597         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33598         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33599         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33600         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33601         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33602         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33603         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33604         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33605         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33606         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33607         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33608         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33609         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33611         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
33612         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
33613         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
33614         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
33615         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
33616         Likewise.
33617         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
33618         Likewise.
33619         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
33620         Likewise.
33621         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
33622         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
33623         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
33624         atomic-feupdateenv and flt-rounds.
33625         * sysdeps/powerpc/nofpu/Versions (libc): Add
33626         __atomic_feholdexcept, __atomic_feclearexcept,
33627         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
33628         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
33629         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
33630         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
33631         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
33632         here.
33633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33634         Update.
33636         * manual/arith.texi (FP Exceptions): Document that exceptions may
33637         not be raised when matherr is used.
33638         (Math Error Reporting): Document overflow in directed rounding
33639         modes.  Document that errno may not be set when finite values are
33640         returned on overflow.  Document intent to set errno on underflow
33641         only for underflow to zero.
33643         [BZ #16271]
33644         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
33645         round-to-nearest then adjust result for other rounding modes.
33646         * include/fenv.h (fegetround): Use libm_hidden_proto.
33647         * math/fegetround.c (fegetround): Use libm_hidden_def.
33648         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33649         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33650         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33651         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33652         Likewise.
33653         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
33654         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33655         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33656         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
33658 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33660         [BZ #16077]
33661         * nss/Versions (libnss_files): Add
33662         _nss_files_gethostbyname3_r.
33663         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
33664         New function.
33665         (HOST_DB_LOOKUP): Remove macro.
33666         (_nss_files_gethostbyname_r): Implement function without the
33667         HOST_DB_LOOKUP macro.
33668         (_nss_files_gethostbyname2_r): Likewise.
33670 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
33672         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
33674 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
33676         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
33677         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
33678         warning.
33680 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33682         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
33683         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
33684         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33685         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33686         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
33687         __fe_nomask_env_priv and attribute_hidden.
33688         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
33689         (libc_feupdateenv_test_ppc): Likewise.
33690         (libc_feresetround_ppc): Likewise.
33691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33692         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
33693         compat_symbol macro.
33694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33695         (__fe_nomask_env): Likewise.
33696         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
33698 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33700         * string/Makefile: Remove ifunc tests.
33701         * string/test-string.h: Define TEST_IFUNC.
33702         * string/test-bcopy-ifunc.c: Remove.
33703         * string/test-bzero-ifunc.c: Likewise.
33704         * string/test-memccpy-ifunc.c: Likewise.
33705         * string/test-memchr-ifunc.c: Likewise.
33706         * string/test-memcmp-ifunc.c: Likewise.
33707         * string/test-memcpy-ifunc.c: Likewise.
33708         * string/test-memmem-ifunc.c: Likewise.
33709         * string/test-memmove-ifunc.c: Likewise.
33710         * string/test-mempcpy-ifunc.c: Likewise.
33711         * string/test-memrchr-ifunc.c: Likewise.
33712         * string/test-memset-ifunc.c: Likewise.
33713         * string/test-rawmemchr-ifunc.c: Likewise.
33714         * string/test-stpcpy-ifunc.c: Likewise.
33715         * string/test-stpncpy-ifunc.c: Likewise.
33716         * string/test-strcasecmp-ifunc.c: Likewise.
33717         * string/test-strcasestr-ifunc.c: Likewise.
33718         * string/test-strcat-ifunc.c: Likewise.
33719         * string/test-strchr-ifunc.c: Likewise.
33720         * string/test-strchrnul-ifunc.c: Likewise.
33721         * string/test-strcmp-ifunc.c: Likewise.
33722         * string/test-strcpy-ifunc.c: Likewise.
33723         * string/test-strcspn-ifunc.c: Likewise.
33724         * string/test-strlen-ifunc.c: Likewise.
33725         * string/test-strncasecmp-ifunc.c: Likewise.
33726         * string/test-strncat-ifunc.c: Likewise.
33727         * string/test-strncmp-ifunc.c: Likewise.
33728         * string/test-strncpy-ifunc.c: Likewise.
33729         * string/test-strnlen-ifunc.c: Likewise.
33730         * string/test-strpbrk-ifunc.c: Likewise.
33731         * string/test-strrchr-ifunc.c: Likewise.
33732         * string/test-strspn-ifunc.c: Likewise.
33733         * string/test-strstr-ifunc.c: Likewise.
33735 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33737         * benchtests/Makefile: Remove ifunc tests.
33738         * benchtests/bench-string.h: Define TEST_IFUNC.
33739         * benchtests/bench-bcopy-ifunc.c: Remove.
33740         * benchtests/bench-bzero-ifunc.c: Likewise.
33741         * benchtests/bench-memccpy-ifunc.c: Likewise.
33742         * benchtests/bench-memchr-ifunc.c: Likewise.
33743         * benchtests/bench-memcmp-ifunc.c: Likewise.
33744         * benchtests/bench-memcpy-ifunc.c: Likewise.
33745         * benchtests/bench-memmem-ifunc.c: Likewise.
33746         * benchtests/bench-memmove-ifunc.c: Likewise.
33747         * benchtests/bench-mempcpy-ifunc.c: Likewise.
33748         * benchtests/bench-memrchr-ifunc.c: Likewise.
33749         * benchtests/bench-memset-ifunc.c: Likewise.
33750         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
33751         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
33752         * benchtests/bench-stpcpy-ifunc.c: Likewise.
33753         * benchtests/bench-stpncpy-ifunc.c: Likewise.
33754         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
33755         * benchtests/bench-strcasestr-ifunc.c: Likewise.
33756         * benchtests/bench-strcat-ifunc.c: Likewise.
33757         * benchtests/bench-strchr-ifunc.c: Likewise.
33758         * benchtests/bench-strchrnul-ifunc.c: Likewise.
33759         * benchtests/bench-strcmp-ifunc.c: Likewise.
33760         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
33761         * benchtests/bench-strcpy-ifunc.c: Likewise.
33762         * benchtests/bench-strcspn-ifunc.c: Likewise.
33763         * benchtests/bench-strlen-ifunc.c: Likewise.
33764         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
33765         * benchtests/bench-strncat-ifunc.c: Likewise.
33766         * benchtests/bench-strncmp-ifunc.c: Likewise.
33767         * benchtests/bench-strncpy-ifunc.c: Likewise.
33768         * benchtests/bench-strnlen-ifunc.c: Likewise.
33769         * benchtests/bench-strpbrk-ifunc.c: Likewise.
33770         * benchtests/bench-strrchr-ifunc.c: Likewise.
33771         * benchtests/bench-strsep-ifunc.c: Likewise.
33772         * benchtests/bench-strspn-ifunc.c: Likewise.
33773         * benchtests/bench-strstr-ifunc.c: Likewise.
33775 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33777         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
33779 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33781         * resolv/netdb.h: Use __glibc_reserved instead __unused.
33782         * rt/aio.h: Likewise.
33783         * sysdeps/gnu/bits/utmp.h: Likewise.
33784         * sysdeps/gnu/bits/utmpx.h: Likewise.
33785         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33786         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
33787         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
33788         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
33789         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
33790         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
33791         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
33792         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
33793         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
33794         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
33795         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
33796         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
33797         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
33798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
33799         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33800         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
33801         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
33802         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
33803         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
33804         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
33805         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
33806         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
33807         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
33808         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33809         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
33810         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33811         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
33812         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
33813         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
33814         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
33815         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
33816         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
33817         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
33818         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33819         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
33820         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
33821         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
33822         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
33823         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
33824         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
33825         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
33826         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33828 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
33830         [BZ #16245]
33831         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
33832         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
33834 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
33836         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
33837         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33838         Likewise.
33840 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33842         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
33843         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
33844         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
33845         (__fesetround): Remove define.
33846         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
33847         rounding and exceptions handling.
33848         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
33849         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
33850         (__fe_nomask_env): Likewise.
33851         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
33852         __fegetround instead of fegetround.
33853         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33854         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
33856 2013-11-21  Roland McGrath  <roland@hack.frob.com>
33858         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
33859         it's there.
33861         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
33863 2013-11-21  Meador Inge  <meadori@codesourcery.com>
33865         [BZ #11157]
33866         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
33867         (encrypt_r): Likewise.
33868         * malloc/obstack.h (obstack_free): Likewise.
33869         * posix/unistd.h (encrypt): Likewise.
33871 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
33873         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
33874         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
33875         DL_CALL_DT_FINI() that call the functions directly.
33876         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
33877         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
33878         * elf/dl-fini.c: Likewise.
33880 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
33882         * malloc/hooks.c (memalign_check): Add alignment rounding.
33883         * malloc/malloc.c (_mid_memalign): New function.
33884         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
33885         Implement by calling _mid_memalign.
33886         * manual/probes.texi (Memory Allocation Probes): Remove
33887         memory_valloc_retry and memory_pvalloc_retry.
33889 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33891         * locale/programs/locarchive.c (open_archive): Add const
33892         qualifier to ARCHIVEFNAME and copy default fname to
33893         DEFAULT_FNAME.
33895         [BZ #15601]
33896         * libio/tst-widetext.input: Rename Oriya to Odia.
33897         * locale/iso-639.def: Likewise.
33899         * manual/probes.texi (Mathematical Function Probes): Add
33900         documentation for sin, cos, asin and acos probes.
33901         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
33902         (__sin32): Add slowasin probe.
33903         (__cos32): Add slowacos probe.
33904         (__mpsin): Add slowsin probe.
33905         (__mpcos): Add slowcos probe.
33907 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
33909         [BZ #15483]
33910         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
33911         thread-local __sim_exceptions_thread and global
33912         __sim_exceptions_global.
33913         (__sim_disabled_exceptions): Change to thread-local
33914         __sim_disabled_exceptions_thread and global
33915         __sim_disabled_exceptions_global.
33916         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33917         and global __sim_round_mode_global.
33918         (__simulate_exceptions): Use thread-local floating-point state and
33919         set global state from it as needed.
33920         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
33921         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
33922         __sim_round_mode_thread.
33923         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
33924         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
33925         and global __sim_exceptions_global.
33926         (__sim_disabled_exceptions): Change to thread-local
33927         __sim_disabled_exceptions_thread and global
33928         __sim_disabled_exceptions_global.
33929         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33930         and global __sim_round_mode_global.
33931         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
33932         (SIM_SET_GLOBAL): Likewise.
33933         * sysdeps/powerpc/soft-fp/sfp-machine.h
33934         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
33935         __sim_round_mode_thread.
33936         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
33937         __sim_disabled_exceptions_thread.
33938         (__sim_exceptions): Change to __sim_exceptions_thread.
33939         (__sim_disabled_exceptions): Change to
33940         __sim_disabled_exceptions_thread.
33941         (__sim_round_mode): Change to __sim_round_mode_thread.
33942         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
33943         thread-local floating-point state and set global state from it as
33944         needed.
33945         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
33946         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
33947         (__sim_disabled_exceptions): Remove extern declaration.
33948         (feenableexcept): Use thread-local floating-point state and set
33949         global state from it as needed.
33950         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
33951         extern declaration.
33952         (__sim_disabled_exceptions): Likewise.
33953         (__sim_round_mode): Likewise.
33954         (__fegetenv): Use thread-local floating-point state.
33955         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
33956         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33957         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
33958         floating-point state and set global state from it as needed.
33959         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
33960         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33961         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
33962         Likewise.
33963         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33964         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
33965         Likewise.
33966         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
33967         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
33968         Use __sim_round_mode_thread.
33969         * math/test-fenv-tls.c: New file.
33970         * math/Makefile (tests): Add test-fenv-tls.
33971         ($(objpfx)test-fenv-tls): Depend on
33972         $(common-objpfx)nptl/libpthread.so.
33974 2013-11-19  Andreas Schwab  <schwab@suse.de>
33976         * locale/programs/locale.c (show_info): Decode wordarray elements.
33977         * locale/categories.def (LC_MONETARY): Add element for
33978         _NL_MONETARY_CRNCYSTR.
33979         * locale/C-monetary.c (conversion_rate): New variable.
33980         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
33981         element.
33983 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
33985         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
33986         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
33988 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33990         * elf/Makefile (tst-auxv): New test.
33991         * elf/tst-auxv.c: New
33992         * elf/rtld.c (dl_main): Adjust AT_EXECFN
33994 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
33996         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
33997         (hidden_proto): Caller changed.
33998         (hidden_tls_proto): New macro.
33999         (libc_hidden_tls_proto): Likewise.
34000         (rtld_hidden_tls_proto): Likewise.
34001         (libm_hidden_tls_proto): Likewise.
34002         (libresolv_hidden_tls_proto): Likewise.
34003         (librt_hidden_tls_proto): Likewise.
34004         (libdl_hidden_tls_proto): Likewise.
34005         (libnss_files_hidden_tls_proto): Likewise.
34006         (libnsl_hidden_tls_proto): Likewise.
34007         (libnss_nisplus_hidden_tls_proto): Likewise.
34008         (libutil_hidden_tls_proto): Likewise.
34010 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
34012         [BZ #10253]
34013         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
34014         (decompose_rpath): Defer expansion to fillin_rpath.
34015         (_dl_init_paths): Pass linkmap to fillin_rpath.
34017 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34019         * benchtests/Makefile: Add strsep.
34020         * benchtests/bench-strsep.c: New file: strsep benchtest.
34021         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
34023 2013-11-18  Andreas Schwab  <schwab@suse.de>
34025         * locale/programs/locale.c (show_info) [case byte]: Check for
34026         '\377' instead of '\177'.
34027         * locale/C-monetary.c (not_available): Always use "\377".
34028         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
34029         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
34030         detect unavailable sign_posn locale elements.
34031         * locale/localeconv.c (__localeconv): For grouping and
34032         mon_grouping handle "\177" and "\377" like no grouping.
34033         (INT_ELEM): New macro.  Use it to set all numeric members.
34034         * locale/programs/ld-monetary.c (monetary_read)
34035         <tok_mon_grouping>: Normalize single -1 to the empty string.
34036         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
34037         Likewise.
34039 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34041         [BZ #16055]
34042         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
34043         when we match (nil).
34044         * stdio-common/tst-sscanf.c (struct test): Add testcase.
34046 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
34048         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
34049         (NO_TEST_INLINE): Update value.
34050         (ERRNO_UNCHANGED): Likewise.
34051         (ERRNO_EDOM): Likewise.
34052         (ERRNO_ERANGE): Likewise.
34053         (IGNORE_RESULT): Likewise.
34054         (check_float_internal): Check signs of NaN results if
34055         TEST_NAN_SIGN used.
34056         (check_complex): Pass TEST_NAN_SIGN flag through to second
34057         check_float_internal call.
34058         (copysign_test_data): Add tests with quiet NaNs as second
34059         argument.  Use TEST_NAN_SIGN.
34060         (fabs_test_data): Add test of negative quiet NaN argument.  Use
34061         TEST_NAN_SIGN.
34062         (signbit_test_data): Add tests of quiet NaN argument.
34063         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
34065         * math/gen-libm-test.pl (show_exceptions): Take extra argument
34066         $ignore_result.
34067         (parse_args): Handle function results specified as IGNORE.
34068         * math/libm-test.inc (IGNORE_RESULT): New macro.
34069         (check_float_internal): Do not check numerical result if flag
34070         IGNORE_RESULT set.
34071         (check_complex): Pass through IGNORE_RESULT to second
34072         check_float_internal call.
34073         (check_int): Do not check numerical result if flag IGNORE_RESULT
34074         set.
34075         (check_long): Likewise.
34076         (check_bool): Likewise.
34077         (check_longlong): Likewise.
34078         (lrint_test_data): Add tests of infinite and NaN arguments.
34079         (lrint_tonearest_test_data): Likewise.
34080         (lrint_towardzero_test_data): Likewise.
34081         (lrint_downward_test_data): Likewise.
34082         (lrint_upward_test_data): Likewise.
34083         (llrint_test_data): Likewise.
34084         (llrint_tonearest_test_data): Likewise.
34085         (llrint_towardzero_test_data): Likewise.
34086         (llrint_downward_test_data): Likewise.
34087         (llrint_upward_test_data): Likewise.
34088         (lround_test_data): Likewise.
34089         (llround_test_data): Likewise.
34091         * math/libm-test.inc (NO_TEST_INLINE): New macro.
34092         (ERRNO_UNCHANGED): Update value.
34093         (ERRNO_EDOM): Likewise.
34094         (ERRNO_ERANGE): Likewise.
34095         (NO_TEST_INLINE_FLOAT): New macro.
34096         (NO_TEST_INLINE_DOUBLE): Likewise.
34097         (enable_test): New function.
34098         (RUN_TEST_f_f): Check enable_test before running test.
34099         (RUN_TEST_2_f): Likewise.
34100         (RUN_TEST_fff_f): Likewise.
34101         (RUN_TEST_c_f): Likewise.
34102         (RUN_TEST_f_f1): Likewise.
34103         (RUN_TEST_fF_f1): Likewise.
34104         (RUN_TEST_fI_f1): Likewise.
34105         (RUN_TEST_ffI_f1): Likewise.
34106         (RUN_TEST_c_c): Likewise.
34107         (RUN_TEST_cc_c): Likewise.
34108         (RUN_TEST_f_i): Likewise.
34109         (RUN_TEST_f_i_tg): Likewise.
34110         (RUN_TEST_ff_i_tg): Likewise.
34111         (RUN_TEST_f_b): Likewise.
34112         (RUN_TEST_f_b_tg): Likewise.
34113         (RUN_TEST_f_l): Likewise.
34114         (RUN_TEST_f_L): Likewise.
34115         (RUN_TEST_fFF_11): Likewise.
34116         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
34117         conditionals.
34118         (cosh_test_data): Likewise.
34119         (exp_test_data): Likewise.
34120         (expm1_test_data): Likewise.
34121         (hypot_test_data): Likewise.
34122         (pow_test_data): Likewise.
34123         (sinh_test_data): Likewise.
34124         (tanh_test_data): Likewise.
34125         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
34126         flags argument.
34128         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
34129         tests with quiet NaN input and output.
34130         (acosh_test_data): Likewise.
34131         (asin_test_data): Likewise.
34132         (asinh_test_data): Likewise.
34133         (atan_test_data): Likewise.
34134         (atanh_test_data): Likewise.
34135         (atan2_test_data): Likewise.
34136         (cbrt_test_data): Likewise.
34137         (cos_test_data): Likewise.
34138         (cosh_test_data): Likewise.
34139         (erf_test_data): Likewise.
34140         (erfc_test_data): Likewise.
34141         (exp_test_data): Likewise.
34142         (exp10_test_data): Likewise.
34143         (exp2_test_data): Likewise.
34144         (expm1_test_data): Likewise.
34145         (hypot_test_data): Likewise.
34146         (j0_test_data): Likewise.
34147         (j1_test_data): Likewise.
34148         (jn_test_data): Likewise.
34149         (lgamma_test_data): Likewise.
34150         (log_test_data): Likewise.
34151         (log10_test_data): Likewise.
34152         (log1p_test_data): Likewise.
34153         (log2_test_data): Likewise.
34154         (pow_test_data): Likewise.
34155         (scalb_test_data): Likewise.
34156         (sin_test_data): Likewise.
34157         (sincos_test_data): Likewise.
34158         (sinh_test_data): Likewise.
34159         (tan_test_data): Likewise.
34160         (tanh_test_data): Likewise.
34161         (tgamma_test_data): Likewise.
34162         (y0_test_data): Likewise.
34163         (y1_test_data): Likewise.
34164         (yn_test_data): Likewise.
34166         [BZ #16167]
34167         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
34168         argument being NaN and avoid computations with second argument in
34169         that case.
34170         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34171         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34172         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34174 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
34176         * locale/iso-639.def: Add Chitwani Tharu (the).
34178 2013-11-14  Andreas Schwab  <schwab@suse.de>
34180         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
34181         word instead of empty string.
34183 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34186         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
34187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34188         (__fe_nomask_env): Likewise.
34190 2013-11-13  Steve Ellcey  <sellcey@mips.com>
34192         * benchtests/bench-timing.h: Include time.h.
34194 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
34196         [BZ #15997]
34197         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
34198         to 3.4.0 for x32.
34199         * sysdeps/unix/sysv/linux/configure: Regenerated.
34201 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
34203         [BZ #16151]
34204         * stdlib/strtod_l.c (round_and_return): Do not consider
34205         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
34206         exponent one less than half the least subnormal exponent.
34207         * stdlib/test-strtod-round-data: Add more tests.
34208         * stdlib/tst-strtod-round.c (tests): Regenerated.
34210 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34212         [BZ #14143]
34213         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
34214         (__fe_mask_env): Likewise.
34215         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
34216         libm_hidden_proto and add function prototype.
34217         (__fe_mask_env): Add function prototype.
34218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34219         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
34220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34221         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
34222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34223         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
34225 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34227         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
34228         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
34230 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34232         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
34233         of htab_find_slot().
34235 2013-11-11  David S. Miller  <davem@davemloft.net>
34237         [BZ #16150]
34238         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
34239         symbol in the non-vis3 case in static builds.
34240         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
34241         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
34242         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
34243         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
34245 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
34247         [BZ #387]
34248         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
34249         it is empty.
34251 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34253         * benchtests/Makefile: Add bench-strtod.
34254         * benchtests/bench-strtod.c: New file: strtod benchtest
34256 2013-11-11  Andreas Schwab  <schwab@suse.de>
34258         [BZ #16153]
34259         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
34260         terminating NUL in key length.
34262 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34264         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34265         Add artificial ODP entry for vDSO symbol for PPC64.
34266         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
34267         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34269 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34271         [BZ #15374]
34272         * nss/getent.c (services_keys): Recognize services starting with digit.
34274 2013-11-06  David S. Miller  <davem@davemloft.net>
34276         [BZ #15985]
34277         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
34278         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
34280 2013-11-06  Will Newton  <will.newton@linaro.org>
34282         * manual/memory.texi (Malloc Examples): Remove register
34283         keyword from examples.
34285 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
34287         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
34289 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
34291         [BZ #6981]
34292         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
34293         depending on [__GCC_IEC_559 > 0].
34294         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
34295         depending on [__GCC_IEC_559_COMPLEX > 0].
34297 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
34299         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
34300         to iso-639.def.
34302 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
34304         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
34306 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
34308         [BZ #16112]
34309         * malloc/malloc (malloc_info): Do not handle first bin as
34310         special case.
34312 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
34314         * locale/iso-639.def: Add Central Nahuatl (nhn).
34316 2013-11-01  Bruno Haible  <bruno@clisp.org>
34318         [BZ #7003]
34319         * manual/math.texi (BSD Random): Specify range upper bound as
34320         in POSIX.
34322 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
34324         * locale/iso-639.def: Add Meadow Mari (mhr).
34326 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
34328         [BZ #14752], [BZ #15763]
34329         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
34330         Validate name.
34331         * rt/tst_shm.c: Add test for escaping directory.
34333 2013-10-31  Andreas Schwab  <schwab@suse.de>
34335         [BZ #15917]
34336         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
34337         followed by 'x' as part of digit sequence.
34338         * stdio-common/tst-sscanf.c (double_tests2): New tests.
34340 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
34342         [BZ #16037]
34343         * configure.ac: allow GNU Make 4.0 and greater.
34344         * configure: Regenerated.
34346 2013-10-30  Will Newton  <will.newton@linaro.org>
34348         [BZ #16038]
34349         * malloc/hooks.c (memalign_check): Limit alignment to the
34350         maximum representable power of two.
34351         * malloc/malloc.c (__libc_memalign): Likewise.
34352         * malloc/tst-memalign.c (do_test): Add test for very
34353         large alignment values.
34354         * malloc/tst-posix_memalign.c (do_test): Likewise.
34356 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34358         [BZ #11087]
34359         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
34360         (munmap_chunk): Likewise.
34361         (mremap_chunk): Likewise.
34363 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34365         [BZ #15799]
34366         * stdlib/div.c (div): Remove obsolete code.
34367         * stdlib/ldiv.c (ldiv): Likewise.
34368         * stdlib/lldiv.c (lldiv): Likewise.
34370 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34372         [BZ #16071]
34373         * nss/nss_files/files-XXX.c (get_contents_ret): New
34374         enumerator.
34375         (get_contents): New function.
34376         (internal_getent): Use it.  Expand size of LINEBUFLEN.
34378 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
34380         * configure.in: Moved to ...
34381         * configure.ac: ... here. Change reference to configure.in
34382         to configure.ac.
34383         * sysdeps/arm/preconfigure.ac: ... here.
34384         configure.in to configure.ac.
34385         * sysdeps/gnu/configure.in: Moved to ...
34386         * sysdeps/gnu/configure.ac: ... here.
34387         * sysdeps/i386/configure.in: Moved to ...
34388         * sysdeps/i386/configure.ac: ... here.
34389         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
34390         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
34391         * sysdeps/mach/configure.in: Moved to ...
34392         * sysdeps/mach/configure.ac: ... here.
34393         * sysdeps/mach/hurd/configure.in: Moved to ...
34394         * sysdeps/mach/hurd/configure.ac: ... here.
34395         * sysdeps/powerpc/configure.in: Moved to ...
34396         * sysdeps/powerpc/configure.ac: ... here.
34397         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
34398         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
34399         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
34400         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
34401         * sysdeps/s390/s390-32/configure.in: Moved to ...
34402         * sysdeps/s390/s390-32/configure.ac: ... here.
34403         * sysdeps/s390/s390-64/configure.in: Moved to ...
34404         * sysdeps/s390/s390-64/configure.ac: ... here.
34405         * sysdeps/sh/configure.in: Moved to ...
34406         * sysdeps/sh/configure.ac: ... here.
34407         * sysdeps/sparc/configure.in: Moved to ...
34408         * sysdeps/sparc/configure.ac: ... here.
34409         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
34410         * sysdeps/unix/sysv/linux/configure.ac: ... here.
34411         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
34412         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
34413         * sysdeps/x86_64/configure.in: Moved to ...
34414         * sysdeps/x86_64/configure.ac: ... here.
34415         * sysdeps/x86_64/preconfigure.in: Moved to ...
34416         * sysdeps/x86_64/preconfigure.ac: ... here.
34417         * aclocal.m4: Change reference to configure.in to configure.ac.
34418         * config.h.in: Likewise.
34419         * manual/install.texi: Likewise.
34420         * manual/maint.texi: Likewise.
34421         * Makefile: Likewise.
34422         * malloc/Makefile: Likewise.
34423         * nscd/Makefile: Likewise.
34424         * Makeconfig: Change reference to configure.in and
34425         preconfigure.in to configure.ac and preconfigure.ac
34426         respectively.
34427         * INSTALL: Regenerated.
34428         * configure: Likewise.
34429         * sysdeps/gnu/configure: Likewise.
34430         * sysdeps/i386/configure: Likewise.
34431         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
34432         * sysdeps/mach/configure: Likewise.
34433         * sysdeps/mach/hurd/configure: Likewise.
34434         * sysdeps/powerpc/configure: Likewise.
34435         * sysdeps/powerpc/powerpc32/configure: Likewise.
34436         * sysdeps/powerpc/powerpc64/configure: Likewise.
34437         * sysdeps/s390/s390-32/configure: Likewise.
34438         * sysdeps/s390/s390-64/configure: Likewise.
34439         * sysdeps/sh/configure: Likewise.
34440         * sysdeps/sparc/configure: Likewise.
34441         * sysdeps/unix/sysv/linux/configure: Likewise.
34442         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
34443         * sysdeps/x86_64/configure: Likewise.
34444         * sysdeps/x86_64/preconfigure: Likewise.
34446 2013-10-29  Andreas Schwab  <schwab@suse.de>
34448         * stdio-common/Makefile (tst-swscanf-ENV): Define.
34450 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34452         * benchtests/pow-inputs: Add new inputs.
34454         * benchtests/exp-inputs: Add new inputs.
34456         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
34457         conditional check for return value.
34458         (__cos32): Likewise.
34460 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34462         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
34463         to provide a boost for large inputs with word alignment.
34464         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
34465         implementation based on optimized PPC64 strcpy.
34466         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
34467         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
34468         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
34469         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
34471 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34473         [BZ #2801]
34474         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
34476 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34478         [BZ #14876]
34479         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
34480         * time/tst-strptime.c (day_tests): Add testcase.
34482 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34484         [BZ #14029]
34485         * manual/pattern.texi: Acknowledge that fnmatch can fail.
34487 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
34489         [BZ #16074]
34490         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
34491         MAP_FAILED on error.
34493 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34495         [BZ #16072]
34496         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
34497         heap for large requests.
34499 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
34501         [BZ #9954]
34502         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
34503         result if the result has no associated interface.
34504         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
34505         interface for all 127.X.Y.Z addresses.
34507 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
34509         * locale/iso-639.def: Add Ligurian (lij)
34511 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
34513         [BZ #15825]
34514         * sunrpc/rpc_main.c: Document rpcgen -5.
34516 2013-10-19  Michael Stahl  <mstahl@redhat.com>
34518         * elf/rtld.c (do_preload): Print the reason why preloading failed.
34520 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34522         [BZ #10278]
34523         * posix/glob.c: Match only directories when trailing slash is present.
34524         * posix/tst-gnuglob.c (my_opendir): Do not open files.
34525         (main): Add testcase.
34527 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34529         [BZ #15670]
34530         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
34532 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
34534         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
34535         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
34536         AUTH_DES and cindex for FIPS 140-2.
34537         (DES Encryption): Add cindex FIPS 46-3.
34539         * locale/locarchive.h (struct locarhandle): Add fname.
34540         * locale/programs/localedef.c (main): Pass ARGV[remaining]
34541         if an optional argument was specified to --list-archive,
34542         otherwise NULL.
34543         * locale/programs/locarchive.c (show_archive_content): Take new
34544         argument fname and pass it via ah.fname to open_archive.
34545         * locale/programs/localedef.h: Update decl.
34546         (open_archive): If AH->fname is non-null, open that file
34547         rather than the default file name, and don't ignore ENOENT.
34548         (create_archive): Set AH.fname to NULL.
34549         (delete_locales_from_archive): Likewise.
34550         (add_locales_to_archive): Likewise.
34551         * locale/programs/locfile.c (write_all_categories): Likewise.
34553 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
34554             Aldy Hernandez  <aldyh@redhat.com>
34556         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
34557         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
34558         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
34559         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
34560         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
34561         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
34562         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
34563         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
34564         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
34565         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
34566         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
34567         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
34568         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
34569         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
34570         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
34571         Likewise.
34572         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
34573         Likewise.
34574         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
34575         Likewise.
34576         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
34577         Likewise.
34578         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
34579         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
34580         Likewise.
34581         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
34582         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
34583         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
34584         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
34585         Likewise.
34586         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
34587         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
34588         * sysdeps/powerpc/preconfigure: Likewise.
34589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
34590         Likewise.
34591         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
34592         Replace contents of file by #include of <fenv_libc.h>.
34593         * sysdeps/powerpc/soft-fp/sfp-machine.h
34594         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
34595         and <sys/prctl.h>.
34596         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
34597         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
34598         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
34599         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
34600         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
34601         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
34602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
34603         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
34604         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
34605         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
34606         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
34607         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
34608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34609         Allow copysignl PLT reference to be missing.
34611 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
34612             Joseph Myers  <joseph@codesourcery.com
34614         [BZ #15948]
34615         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
34616         single character.
34617         (add_to_tablewc): Assert sequence of wide characters is nonempty.
34619 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34621         * elf/tst-tls-dlinfo.c: Don't include tls.h.
34622         * elf/tst-tls1.c: Likewise.
34623         * elf/tst-tls10.h: Likewise.
34624         * elf/tst-tls14.c: Likewise.
34625         * elf/tst-tls2.c: Likewise.
34626         * elf/tst-tls3.c: Likewise.
34627         * elf/tst-tls4.c: Likewise.
34628         * elf/tst-tls5.c: Likewise.
34629         * elf/tst-tls6.c: Likewise.
34630         * elf/tst-tls7.c: Likewise.
34631         * elf/tst-tls8.c: Likewise.
34632         * elf/tst-tls9.c: Likewise.
34633         * elf/tst-tlsmod1.c: Likewise.
34634         * elf/tst-tlsmod13.c: Likewise.
34635         * elf/tst-tlsmod13a.c: Likewise.
34636         * elf/tst-tlsmod14a.c: Likewise.
34637         * elf/tst-tlsmod16a.c: Likewise.
34638         * elf/tst-tlsmod16b.c: Likewise.
34639         * elf/tst-tlsmod2.c: Likewise.
34640         * elf/tst-tlsmod3.c: Likewise.
34641         * elf/tst-tlsmod4.c: Likewise.
34642         * elf/tst-tlsmod5.c: Likewise.
34643         * elf/tst-tlsmod6.c: Likewise.
34645 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
34647         [BZ #12486]
34648         * malloc/malloc.c: remove checks for statistics.
34650 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34652         [BZ #15277]
34653         * inet/inet_net.c (inet_network): Detect additional invalid strings.
34654         * inet/tst-network.c: Add testcase.
34656 2013-10-17  Andreas Schwab  <schwab@suse.de>
34658         [BZ #15218]
34659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
34660         to determine canonical name.
34662 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34664         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
34665         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
34666         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34667         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34668         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34669         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34670         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34671         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34672         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34673         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34674         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34675         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34676         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34677         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34678         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34679         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34680         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34681         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34682         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34683         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34684         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34685         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34686         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34687         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
34688         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
34689         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34690         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34691         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
34692         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34693         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
34694         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34695         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34696         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34697         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34698         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34699         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34700         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34701         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34702         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34703         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34704         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34705         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34706         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34707         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34708         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34709         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34710         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34711         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34712         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34713         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34714         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34715         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34716         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34717         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34718         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34719         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34720         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34721         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34723 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
34725         [BZ #16041]
34726         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
34727         make result into a quiet NaN.
34729 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
34731         * soft-fp/adddf3.c: Fix horizontal whitespace.
34732         * soft-fp/addsf3.c: Likewise.
34733         * soft-fp/addtf3.c: Likewise.
34734         * soft-fp/divdf3.c: Likewise.
34735         * soft-fp/divsf3.c: Likewise.
34736         * soft-fp/divtf3.c: Likewise.
34737         * soft-fp/double.h: Likewise.
34738         * soft-fp/eqdf2.c: Likewise.
34739         * soft-fp/eqsf2.c: Likewise.
34740         * soft-fp/eqtf2.c: Likewise.
34741         * soft-fp/extenddftf2.c: Likewise.
34742         * soft-fp/extended.h: Likewise.
34743         * soft-fp/extendsfdf2.c: Likewise.
34744         * soft-fp/extendsftf2.c: Likewise.
34745         * soft-fp/extendxftf2.c: Likewise.
34746         * soft-fp/fixdfdi.c: Likewise.
34747         * soft-fp/fixdfsi.c: Likewise.
34748         * soft-fp/fixdfti.c: Likewise.
34749         * soft-fp/fixsfdi.c: Likewise.
34750         * soft-fp/fixsfsi.c: Likewise.
34751         * soft-fp/fixsfti.c: Likewise.
34752         * soft-fp/fixtfdi.c: Likewise.
34753         * soft-fp/fixtfsi.c: Likewise.
34754         * soft-fp/fixtfti.c: Likewise.
34755         * soft-fp/fixunsdfdi.c: Likewise.
34756         * soft-fp/fixunsdfsi.c: Likewise.
34757         * soft-fp/fixunsdfti.c: Likewise.
34758         * soft-fp/fixunssfdi.c: Likewise.
34759         * soft-fp/fixunssfsi.c: Likewise.
34760         * soft-fp/fixunssfti.c: Likewise.
34761         * soft-fp/fixunstfdi.c: Likewise.
34762         * soft-fp/fixunstfsi.c: Likewise.
34763         * soft-fp/fixunstfti.c: Likewise.
34764         * soft-fp/floatdidf.c: Likewise.
34765         * soft-fp/floatdisf.c: Likewise.
34766         * soft-fp/floatditf.c: Likewise.
34767         * soft-fp/floatsidf.c: Likewise.
34768         * soft-fp/floatsisf.c: Likewise.
34769         * soft-fp/floatsitf.c: Likewise.
34770         * soft-fp/floattidf.c: Likewise.
34771         * soft-fp/floattisf.c: Likewise.
34772         * soft-fp/floattitf.c: Likewise.
34773         * soft-fp/floatundidf.c: Likewise.
34774         * soft-fp/floatundisf.c: Likewise.
34775         * soft-fp/floatunditf.c: Likewise.
34776         * soft-fp/floatunsidf.c: Likewise.
34777         * soft-fp/floatunsisf.c: Likewise.
34778         * soft-fp/floatunsitf.c: Likewise.
34779         * soft-fp/floatuntidf.c: Likewise.
34780         * soft-fp/floatuntisf.c: Likewise.
34781         * soft-fp/floatuntitf.c: Likewise.
34782         * soft-fp/fmadf4.c: Likewise.
34783         * soft-fp/fmasf4.c: Likewise.
34784         * soft-fp/fmatf4.c: Likewise.
34785         * soft-fp/gedf2.c: Likewise.
34786         * soft-fp/gesf2.c: Likewise.
34787         * soft-fp/getf2.c: Likewise.
34788         * soft-fp/ledf2.c: Likewise.
34789         * soft-fp/lesf2.c: Likewise.
34790         * soft-fp/letf2.c: Likewise.
34791         * soft-fp/muldf3.c: Likewise.
34792         * soft-fp/mulsf3.c: Likewise.
34793         * soft-fp/multf3.c: Likewise.
34794         * soft-fp/negdf2.c: Likewise.
34795         * soft-fp/negsf2.c: Likewise.
34796         * soft-fp/negtf2.c: Likewise.
34797         * soft-fp/op-1.h: Likewise.
34798         * soft-fp/op-2.h: Likewise.
34799         * soft-fp/op-4.h: Likewise.
34800         * soft-fp/op-8.h: Likewise.
34801         * soft-fp/op-common.h: Likewise.
34802         * soft-fp/quad.h: Likewise.
34803         * soft-fp/single.h: Likewise.
34804         * soft-fp/soft-fp.h: Likewise.
34805         * soft-fp/sqrtdf2.c: Likewise.
34806         * soft-fp/sqrtsf2.c: Likewise.
34807         * soft-fp/sqrttf2.c: Likewise.
34808         * soft-fp/subdf3.c: Likewise.
34809         * soft-fp/subsf3.c: Likewise.
34810         * soft-fp/subtf3.c: Likewise.
34811         * soft-fp/truncdfsf2.c: Likewise.
34812         * soft-fp/trunctfdf2.c: Likewise.
34813         * soft-fp/trunctfsf2.c: Likewise.
34814         * soft-fp/trunctfxf2.c: Likewise.
34815         * soft-fp/unorddf2.c: Likewise.
34816         * soft-fp/unordsf2.c: Likewise.
34817         * soft-fp/unordtf2.c: Likewise.
34819 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
34821         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
34822         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
34824 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
34826         * elf/dl-libc.c: Clear initfini list after freeing.
34828 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
34830         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
34831         * soft-fp/addsf3.c: Likewise.
34832         * soft-fp/addtf3.c: Likewise.
34833         * soft-fp/divdf3.c: Likewise.
34834         * soft-fp/divsf3.c: Likewise.
34835         * soft-fp/divtf3.c: Likewise.
34836         * soft-fp/double.h: Likewise.
34837         * soft-fp/eqdf2.c: Likewise.
34838         * soft-fp/eqsf2.c: Likewise.
34839         * soft-fp/eqtf2.c: Likewise.
34840         * soft-fp/extenddftf2.c: Likewise.
34841         * soft-fp/extended.h: Likewise.
34842         * soft-fp/extendsfdf2.c: Likewise.
34843         * soft-fp/extendsftf2.c: Likewise.
34844         * soft-fp/extendxftf2.c: Likewise.
34845         * soft-fp/fixdfdi.c: Likewise.
34846         * soft-fp/fixdfsi.c: Likewise.
34847         * soft-fp/fixdfti.c: Likewise.
34848         * soft-fp/fixsfdi.c: Likewise.
34849         * soft-fp/fixsfsi.c: Likewise.
34850         * soft-fp/fixsfti.c: Likewise.
34851         * soft-fp/fixtfdi.c: Likewise.
34852         * soft-fp/fixtfsi.c: Likewise.
34853         * soft-fp/fixtfti.c: Likewise.
34854         * soft-fp/fixunsdfdi.c: Likewise.
34855         * soft-fp/fixunsdfsi.c: Likewise.
34856         * soft-fp/fixunsdfti.c: Likewise.
34857         * soft-fp/fixunssfdi.c: Likewise.
34858         * soft-fp/fixunssfsi.c: Likewise.
34859         * soft-fp/fixunssfti.c: Likewise.
34860         * soft-fp/fixunstfdi.c: Likewise.
34861         * soft-fp/fixunstfsi.c: Likewise.
34862         * soft-fp/fixunstfti.c: Likewise.
34863         * soft-fp/floatdidf.c: Likewise.
34864         * soft-fp/floatdisf.c: Likewise.
34865         * soft-fp/floatditf.c: Likewise.
34866         * soft-fp/floatsidf.c: Likewise.
34867         * soft-fp/floatsisf.c: Likewise.
34868         * soft-fp/floatsitf.c: Likewise.
34869         * soft-fp/floattidf.c: Likewise.
34870         * soft-fp/floattisf.c: Likewise.
34871         * soft-fp/floattitf.c: Likewise.
34872         * soft-fp/floatundidf.c: Likewise.
34873         * soft-fp/floatundisf.c: Likewise.
34874         * soft-fp/floatunsidf.c: Likewise.
34875         * soft-fp/floatunsisf.c: Likewise.
34876         * soft-fp/floatuntidf.c: Likewise.
34877         * soft-fp/floatuntisf.c: Likewise.
34878         * soft-fp/floatuntitf.c: Likewise.
34879         * soft-fp/fmadf4.c: Likewise.
34880         * soft-fp/fmasf4.c: Likewise.
34881         * soft-fp/fmatf4.c: Likewise.
34882         * soft-fp/gedf2.c: Likewise.
34883         * soft-fp/gesf2.c: Likewise.
34884         * soft-fp/getf2.c: Likewise.
34885         * soft-fp/ledf2.c: Likewise.
34886         * soft-fp/lesf2.c: Likewise.
34887         * soft-fp/letf2.c: Likewise.
34888         * soft-fp/muldf3.c: Likewise.
34889         * soft-fp/mulsf3.c: Likewise.
34890         * soft-fp/multf3.c: Likewise.
34891         * soft-fp/negdf2.c: Likewise.
34892         * soft-fp/negsf2.c: Likewise.
34893         * soft-fp/negtf2.c: Likewise.
34894         * soft-fp/op-1.h: Likewise.
34895         * soft-fp/op-2.h: Likewise.
34896         * soft-fp/op-4.h: Likewise.
34897         * soft-fp/op-8.h: Likewise.
34898         * soft-fp/op-common.h: Likewise.
34899         * soft-fp/quad.h: Likewise.
34900         * soft-fp/single.h: Likewise.
34901         * soft-fp/soft-fp.h: Likewise.
34902         * soft-fp/sqrtdf2.c: Likewise.
34903         * soft-fp/sqrtsf2.c: Likewise.
34904         * soft-fp/sqrttf2.c: Likewise.
34905         * soft-fp/subdf3.c: Likewise.
34906         * soft-fp/subsf3.c: Likewise.
34907         * soft-fp/subtf3.c: Likewise.
34908         * soft-fp/truncdfsf2.c: Likewise.
34909         * soft-fp/trunctfdf2.c: Likewise.
34910         * soft-fp/trunctfsf2.c: Likewise.
34911         * soft-fp/trunctfxf2.c: Likewise.
34912         * soft-fp/unorddf2.c: Likewise.
34913         * soft-fp/unordsf2.c: Likewise.
34914         * soft-fp/unordtf2.c: Likewise.
34916 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
34918         [BZ #15672]
34919         * misc/error.c (error_tail): Fix possible buffer overflow.
34921 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
34923         [BZ #13028]
34924         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
34925         address.
34927 2013-10-14  P. J. McDermott  <pj@pehjota.net>
34929         [BZ #832]
34930         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
34931         testing pipefail option.
34933 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34935         * soft-fp/double.h: Indent preprocessor directives inside #if.
34936         * soft-fp/extended.h: Likewise.
34937         * soft-fp/op-2.h: Likewise.
34938         * soft-fp/op-4.h: Likewise.
34939         * soft-fp/op-common.h: Likewise.
34940         * soft-fp/quad.h: Likewise.
34941         * soft-fp/single.h: Likewise.
34942         * soft-fp/soft-fp.h: Likewise.
34944 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
34946         * iconv/iconv_prog.c: Fix typos.
34947         * stdio-common/psiginfo-data.h: Likewise.
34949 2013-10-12   Reuben Thomas <rrt@sc3d.org>
34951         [BZ #15764]
34952         * locale/setlocale.c: Fix typo.
34954 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34956         [BZ #16036]
34957         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
34958         signaling NaN arguments.
34959         * soft-fp/unordsf2.c (__unordsf2): Likewise.
34960         * soft-fp/unordtf2.c (__unordtf2): Likewise.
34962         [BZ #14910]
34963         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
34964         unordered operands.
34965         * soft-fp/gesf2.c (__gesf2): Likewise.
34966         * soft-fp/getf2.c (__getf2): Likewise.
34967         * soft-fp/ledf2.c (__ledf2): Likewise.
34968         * soft-fp/lesf2.c (__lesf2): Likewise.
34969         * soft-fp/letf2.c (__letf2): Likewise.
34971         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
34972         * soft-fp/eqsf2.c (__eqsf2): Likewise.
34973         * soft-fp/eqtf2.c (__eqtf2): Likewise.
34974         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
34975         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
34976         * soft-fp/fixdfti.c (__fixdfti): Likewise.
34977         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
34978         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
34979         * soft-fp/fixsfti.c (__fixsfti): Likewise.
34980         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
34981         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
34982         * soft-fp/fixtfti.c (__fixtfti): Likewise.
34983         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
34984         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
34985         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
34986         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
34987         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
34988         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
34989         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
34990         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
34991         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
34992         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
34993         * soft-fp/floatdisf.c (__floatdisf): Likewise.
34994         * soft-fp/floatsisf.c (__floatsisf): Likewise.
34995         * soft-fp/floattidf.c (__floattidf): Likewise.
34996         * soft-fp/floattisf.c (__floattisf): Likewise.
34997         * soft-fp/floattitf.c (__floattitf): Likewise.
34998         * soft-fp/floatundidf.c (__floatundidf): Likewise.
34999         * soft-fp/floatundisf.c (__floatundisf): Likewise.
35000         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
35001         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
35002         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
35003         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
35004         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
35005         * soft-fp/gesf2.c (__gesf2): Likewise.
35006         * soft-fp/getf2.c (__getf2): Likewise.
35007         * soft-fp/ledf2.c (__ledf2): Likewise.
35008         * soft-fp/lesf2.c (__lesf2): Likewise.
35009         * soft-fp/letf2.c (__letf2): Likewise.
35011         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
35012         Undefine and redefine.
35013         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
35014         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
35015         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
35016         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
35017         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35018         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
35019         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35020         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
35021         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35022         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
35023         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35024         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
35025         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35026         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
35027         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35029         [BZ #16032]
35030         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
35031         without decrementing exponent if mantissa >= that for the
35032         denominator, not >.
35033         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
35034         denominator, not >.  Decrement exponent in < case instead of
35035         incrementing in >= case.
35036         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
35037         without decrementing exponent if mantissa >= that for the
35038         denominator, not >.
35040         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
35041         computing saturated result for unsigned overflow.
35043 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35044             Jeff Law  <law@redhat.com>
35046         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
35047         (atan2Mp): Add systemtap probe marker.
35048         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
35049         (__ieee754_log): Add systemtap probe marker.
35050         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
35051         (atanMp): Add systemtap probe marker.
35052         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
35053         (tanMp): Add systemtap probe marker.
35054         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
35055         (__slowexp): Add systemtap probe marker.
35056         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
35057         (__slowpow): Add systemtap probe marker.
35058         * manual/probes.texi: Document probes.
35060 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
35062         [BZ #15362]
35063         * libio/fileops.c (_IO_new_file_write): Return count of bytes
35064         written.
35065         (_IO_new_file_xsputn): Don't return EOF if nothing has been
35066         written.
35067         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
35068         written to buffer but not flushed.
35069         * libio/iofwrite_u.c:  Likewise.
35070         * libio/iopadn.c:  Return bytes returned even if EOF was
35071         encountered.
35072         * libio/iowpadn.c:  Likewise.
35073         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
35074         if _IO_padn does not write the whole buffer.
35075         [!COMPILE_WPRINTF] (PAD): Likewise.
35077 2013-10-10  David S. Miller  <davem@davemloft.net>
35079         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
35080         directory block.
35082 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35084         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
35085         instead of FSF address.
35086         * soft-fp/fixdfti.c: Likewise.
35087         * soft-fp/fixsfti.c: Likewise.
35088         * soft-fp/fixtfti.c: Likewise.
35089         * soft-fp/fixunsdfti.c: Likewise.
35090         * soft-fp/fixunssfti.c: Likewise.
35091         * soft-fp/fixunstfti.c: Likewise.
35092         * soft-fp/floattidf.c: Likewise.
35093         * soft-fp/floattisf.c: Likewise.
35094         * soft-fp/floattitf.c: Likewise.
35095         * soft-fp/floatuntidf.c: Likewise.
35096         * soft-fp/floatuntisf.c: Likewise.
35097         * soft-fp/floatuntitf.c: Likewise.
35098         * soft-fp/trunctfxf2.c: Likewise.
35100         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
35101         * soft-fp/fixdfti.c: Likewise.
35102         * soft-fp/fixsfti.c: Likewise.
35103         * soft-fp/fixtfti.c: Likewise.
35104         * soft-fp/fixunsdfti.c: Likewise.
35105         * soft-fp/fixunssfti.c: Likewise.
35106         * soft-fp/fixunstfti.c: Likewise.
35107         * soft-fp/floattidf.c: Likewise.
35108         * soft-fp/floattisf.c: Likewise.
35109         * soft-fp/floattitf.c: Likewise.
35110         * soft-fp/floatuntidf.c: Likewise.
35111         * soft-fp/floatuntisf.c: Likewise.
35112         * soft-fp/floatuntitf.c: Likewise.
35113         * soft-fp/trunctfxf2.c: Likewise.
35115 2013-10-10  David S. Miller  <davem@davemloft.net>
35117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35119 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
35121         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35122         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
35123         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
35124         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
35125         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
35126         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
35127         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
35129         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
35130         for NaNs before doing comparisons on argument.
35131         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35132         Likewise.
35134 2013-10-10  Will Newton  <will.newton@linaro.org>
35136         * malloc/hooks.c (memalign_check): Ensure the value of bytes
35137         passed to _int_memalign does not overflow.
35139 2013-10-10  Torvald Riegel  <triegel@redhat.com>
35141         * scripts/bench.pl: Add include-sources directive.
35142         * benchtests/README: Update documentation.
35144 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35146         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
35147         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
35148         instead of FP_INIT_ROUNDMODE.
35149         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
35150         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
35152         [BZ #16034]
35153         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
35154         copy class of input value.
35155         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
35156         not handle exceptions.
35157         * soft-fp/negsf2.c (__negsf2): Likewise.
35158         * soft-fp/negtf2.c (__negtf2): Likewise.
35159         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
35161 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
35163         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
35164         semicolon.  From Linux kernel.
35166 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
35168         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
35170 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
35172         [BZ #156]
35173         * manual/socket.texi: Added statement about buffer
35174         for gethostbyname2_r.
35176 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
35178         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
35179         Use .p2align directive instead, throughout.
35180         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35181         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
35182         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
35183         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35184         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35185         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
35186         * sysdeps/x86_64/strchr.S: Likewise.
35187         * sysdeps/x86_64/strrchr.S: Likewise.
35189 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35191         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
35193         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
35195         * sysdeps/generic/math_private.h (__mpsin1): Remove
35196         declaration.
35197         (__mpcos1): Likewise.
35198         (__mpsin): New argument __range_reduce.
35199         (__mpcos): Likewise.
35200         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35201         (slow): Use __mpsin and __mpcos.
35202         (slow1): Likewise.
35203         (slow2): Likewise.
35204         (sloww): Likewise.
35205         (sloww1): Likewise.
35206         (sloww2): Likewise.
35207         (bsloww): Likewise.
35208         (bsloww1): Likewise.
35209         (bsloww2): Likewise.
35210         (cslow2): Likewise.
35211         (csloww): Likewise.
35212         (csloww1): Likewise.
35213         (csloww2): Likewise.
35214         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
35215         range_reduce.  Merge in __mpsin1.
35216         (__mpcos): Likewise.
35217         (__mpsin1): Remove.
35218         (__mpcos1): Likewise.
35220 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
35222         * locale/loadlocale.c (_nl_intern_locale_data): Use
35223         LOCFILE_ALIGNED_P.
35224         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
35225         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
35226         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
35227         obstack data is appropriately aligned.
35228         (obstack_int32_grow_fast): Likewise.
35229         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
35230         * locale/programs/locfile.c (add_locale_uint32): Likewise.
35231         (add_locale_uint32_array): Likewise.
35233 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35235         * benchtests/Makefile: Remove ARGLIST and RET variables.
35236         ($(objpfx)bench-%.c): Pass only function name to the script.
35237         * benchtests/README: Update documentation.
35238         * benchtests/acos-inputs: Add new directives.
35239         * benchtests/acosh-inputs: Likewise.
35240         * benchtests/asin-inputs: Likewise.
35241         * benchtests/asinh-inputs: Likewise.
35242         * benchtests/atan-inputs: Likewise.
35243         * benchtests/atanh-inputs: Likewise.
35244         * benchtests/cos-inputs: Likewise.
35245         * benchtests/cosh-inputs: Likewise.
35246         * benchtests/exp-inputs: Likewise.
35247         * benchtests/log-inputs: Likewise.
35248         * benchtests/pow-inputs: Likewise.
35249         * benchtests/rint-inputs: Likewise.
35250         * benchtests/sin-inputs: Likewise.
35251         * benchtests/sinh-inputs: Likewise.
35252         * benchtests/tan-inputs: Likewise.
35253         * benchtests/tanh-inputs: Likewise.
35254         * scripts/bench.pl: Add support for new directives.
35256 2013-10-07  Alan Modra  <amodra@gmail.com>
35258         * README: Fix careless merge.
35260 2013-10-05  Alan Modra  <amodra@gmail.com>
35262         * NEWS: Mention powerpc64le support and bugs fixed.
35263         * README: Both big-endian and little-endian powerpc64 supported.
35265 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35267         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
35268         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
35269         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
35270         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
35272 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
35274         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
35275         match prototype.
35277 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
35279         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
35280         Move -mhard-float appending from
35281         ports/sysdeps/powerpc/powerpc32/Makefile.
35282         [$(with-fp) = yes] (ASFLAGS): Likewise.
35283         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
35284         * sysdeps/powerpc/nofpu: Move directory from
35285         ports/sysdeps/powerpc/nofpu.
35286         * sysdeps/powerpc/soft-fp: Move directory from
35287         ports/sysdeps/powerpc/soft-fp.
35288         * sysdeps/powerpc/powerpc32/405: Move directory from
35289         ports/sysdeps/powerpc/powerpc32/405.
35290         * sysdeps/powerpc/powerpc32/440: Move directory from
35291         ports/sysdeps/powerpc/powerpc32/440.
35292         * sysdeps/powerpc/powerpc32/464: Move directory from
35293         ports/sysdeps/powerpc/powerpc32/464.
35294         * sysdeps/powerpc/powerpc32/476: Move directory from
35295         ports/sysdeps/powerpc/powerpc32/476.
35296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
35297         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
35298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
35299         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
35300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
35301         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
35302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
35303         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
35304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
35305         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
35306         * README: Update for powerpc-*-linux-gnu software floating point
35307         support in libc.
35309         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
35310         case to powerpc/powerpc32*.
35311         * sysdeps/unix/sysv/linux/configure: Regenerated.
35313         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
35314         (_FPU_MASK_OM): Define as 0x04.
35315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
35316         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
35317         0x00c10080.
35318         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
35319         0x0000003c.
35320         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
35322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
35323         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35324         getcontext_e500.
35325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
35326         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35327         setcontext_e500.
35328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
35329         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
35330         and setcontext_e500.
35332 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
35334         * locale/iso-3166.def: Update iso-1366.def and related occurrences
35336 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35338         * manual/threads.texi (Default Thread Attributes): Fix typo.
35340 2013-10-04  Will Newton  <will.newton@linaro.org>
35342         * malloc/Makefile: Add tst-memalign.
35343         * malloc/tst-memalign.c: New file.
35345         * malloc/tst-posix_memalign.c: Add comments.
35346         (do_test): Add comments and call free on all potentially
35347         allocated pointers. Add space after cast.
35349         * malloc/tst-pvalloc.c: Add comments.
35350         (do_test): Add comments and call free on all potentially
35351         allocated pointers. Remove duplicate check for NULL pointer.
35352         Add space after cast.
35354         * malloc/tst-valloc.c: Add comments.
35355         (do_test): Add comments and call free on all potentially
35356         allocated pointers. Remove duplicate check for NULL pointer.
35357         Add space after cast.
35359 2013-10-04  Alan Modra  <amodra@gmail.com>
35361         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35362         Use stdint types in rather than __attribute__((mode())).
35363         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35365 2013-10-04  Alan Modra  <amodra@gmail.com>
35367         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35368         Correct handling of unaligned relocs for little-endian.
35369         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35371 2013-10-04  Alan Modra  <amodra@gmail.com>
35373         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
35374         * configure: Regenerate.
35375         * nptl/shlib-versions: Powerpc*le starts at 2.18.
35376         * shlib-versions: Likewise.
35378 2013-10-04  Alan Modra  <amodra@gmail.com>
35380         * string/tester.c (test_memrchr): Increment reported test cycle.
35382 2013-10-04  Alan Modra  <amodra@gmail.com>
35384         * string/test-memcpy.c (do_one_test): When reporting errors, print
35385         string address and don't overrun end of string.
35387 2013-10-04  Alan Modra  <amodra@gmail.com>
35389         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
35390         insrdi.  Make better use of reg selection to speed exit slightly.
35391         Schedule entry path a little better.  Remove useless "are we done"
35392         checks on entry to main loop.  Handle wrapping around zero address.
35393         Correct main loop count.  Handle single left-over word from main
35394         loop inline rather than by using loop_small.  Remove extra word
35395         case in loop_small caused by wrong loop count.  Add little-endian
35396         support.
35397         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35398         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
35399         cache hint.
35400         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35401         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
35402         support.  Avoid rlwimi.
35403         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
35405 2013-10-04  Alan Modra  <amodra@gmail.com>
35407         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
35408         insrdi.  Formatting.
35409         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
35410         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35411         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35412         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35413         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35414         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
35416 2013-10-04  Alan Modra  <amodra@gmail.com>
35418         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
35419         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35420         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
35421         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
35422         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35423         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35424         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35425         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35426         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
35427         use of regs.  Use power7 mtocrf.  Tidy function tails.
35429 2013-10-04  Alan Modra  <amodra@gmail.com>
35431         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
35432         Formatting.  Consistently use rXXX register defines or rN defines.
35433         Use early exit labels that avoid restoring unused non-volatile regs.
35434         Make cr field use more consistent with rWORDn compares.  Rename
35435         regs used as shift registers for unaligned loop, using rN defines
35436         for short lifetime/multiple use regs.
35437         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35438         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
35439         addi 1,1,64 to pop stack frame.  Simplify return value code.
35440         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35442 2013-10-04  Alan Modra  <amodra@gmail.com>
35444         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
35445         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
35446         rather than rlwimi.
35447         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
35448         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
35449         little-endian support.  Correct typos.
35450         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
35451         rather than rlwimi.
35452         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
35453         in loop and entry code to keep "and." results.
35454         (strchr): Add little-endian support.  Comment.  Move cntlzd
35455         earlier in tail.
35456         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
35458 2013-10-04  Alan Modra  <amodra@gmail.com>
35460         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
35461         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
35462         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
35463         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
35465 2013-10-04  Alan Modra  <amodra@gmail.com>
35467         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
35468         (rTMP): Define as r11.
35469         (strcmp): Add little-endian support.  Optimise tail.
35470         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
35471         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35472         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35473         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35474         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35475         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35476         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35478 2013-10-04  Alan Modra  <amodra@gmail.com>
35480         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
35481         little-endian support.  Remove unnecessary "are we done" tests.
35482         Handle "s" wrapping around zero and extremely large "size".
35483         Correct main loop count.  Handle single left-over word from main
35484         loop inline rather than by using small_loop.  Correct comments.
35485         Delete "zero" tail, use "end_max" instead.
35486         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
35488 2013-10-04  Alan Modra  <amodra@gmail.com>
35490         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
35491         support.  Don't branch over align.
35492         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
35493         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
35494         support.  Rearrange tmp reg use to suit.  Comment.
35495         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
35497 2013-10-04  Alan Modra  <amodra@gmail.com>
35499         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
35501 2013-10-04  Alan Modra  <amodra@gmail.com>
35503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
35504         conditional form of branch and link when obtaining pc.
35505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35507 2013-10-04  Alan Modra  <amodra@gmail.com>
35509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
35510         HIWORD/LOWORD.
35511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
35512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
35514 2013-10-04  Alan Modra  <amodra@gmail.com>
35516         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
35517         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
35518         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35519         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
35520         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35521         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35522         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
35523         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35524         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35525         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
35527 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35528             Alistair Popple <alistair@ozlabs.au.ibm.com>
35529             Alan Modra <amodra@gmail.com>
35531         [BZ #15723]
35532         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
35533         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
35534         _dl_hwcap access for little-endian.
35535         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
35536         destroy vmx regs when saving unaligned.
35537         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
35538         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
35539         destroy vmx regs when saving unaligned.
35541 2013-10-04  Alan Modra  <amodra@gmail.com>
35543         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
35544         Don't use a union to pack hi/low value.
35546 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35548         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
35549         for little-endian.
35550         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35551         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
35552         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35553         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35554         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35556 2013-10-04  Alan Modra  <amodra@gmail.com>
35558         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
35559         constants to usual value for .cst8 section, and remove redundant
35560         high address load.
35561         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
35562         constant for 0x1p52.  Load little-endian words of double from
35563         correct stack offsets.
35565 2013-10-04  Alan Modra  <amodra@gmail.com>
35567         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
35568         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
35569         words of double from correct stack offsets.
35570         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35571         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
35572         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35573         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35574         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35575         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35576         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35577         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35578         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35579         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35580         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35581         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35582         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35583         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35584         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35585         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
35586         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35588 2013-10-04  Alan Modra  <amodra@gmail.com>
35590         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
35591         64-bit int/double union.
35592         (_FPU_SETCW): Likewise.
35593         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
35594         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
35596 2013-10-04  Alan Modra  <amodra@gmail.com>
35598         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
35599         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
35601 2013-10-04  Alan Modra  <amodra@gmail.com>
35603         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
35604         use vector int constants.
35605         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
35607 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35609         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
35610         array with long long.
35611         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
35612         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
35613         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
35614         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
35615         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
35616         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
35617         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
35618         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
35619         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
35620         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
35621         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
35622         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
35623         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
35625 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35627         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
35628         (__signbit): Likewise.  Correct for little-endian.
35629         (__signbitl): Call __signbit.
35630         (lrint): Correct for little-endian.
35631         (lrintf): Call lrint.
35633 2013-10-04  Alan Modra  <amodra@gmail.com>
35635         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
35636         union 32-bit int array member with 64-bit int array.
35637         (t515, tm256): Double rather than long double.
35638         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
35640 2013-10-04  Alan Modra  <amodra@gmail.com>
35642         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
35643         Delete.
35644         (IEEE854_LONG_DOUBLE_BIAS): Delete.
35645         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
35646         version of math_ldbl.h.
35648 2013-10-04  Alan Modra  <amodra@gmail.com>
35650         [BZ #15734], [BZ #15735]
35651         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
35652         all uses of ieee875 long double macros and unions.  Simplify test
35653         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
35654         ldbl_extract_mantissa value for ix,iy exponents.  Properly
35655         normalize after ldbl_extract_mantissa, and don't add hidden bit
35656         already handled.  Don't treat low word of ieee854 mantissa like
35657         low word of IBM long double and mask off bit when testing for
35658         zero.
35659         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
35660         all uses of ieee875 long double macros and unions.  Simplify tests
35661         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
35662         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
35663         two1022, instead use their values.  Recognise that tests for large
35664         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
35665         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
35666         Rewrite all uses of ieee875 long double macros and unions.  Simplify
35667         test for 0.0L and nan.  Correct negation.
35668         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
35669         ieee875 long double macros and unions.  Correct output for large
35670         magnitude x.  Correct absolute value calculation.
35671         (__erfcl): Likewise.
35672         * math/libm-test.inc: Add tests for errors discovered in IBM long
35673         double versions of fmodl, remainderl, erfl and erfcl.
35675 2013-10-04  Alan Modra  <amodra@gmail.com>
35677         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
35678         all uses of ieee854 long double macros and unions.  Simplify tests
35679         for long doubles that are fully specified by the high double.
35680         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35681         Likewise.
35682         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
35683         Remove dead code too.
35684         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35685         (__ieee754_ynl): Likewise.
35686         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
35687         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
35688         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35689         Remove dead code too.
35690         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
35691         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
35692         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
35693         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
35694         Simplify.
35695         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
35696         Simplify.
35697         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
35698         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35699         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
35700         Comment on variable precision.
35701         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
35702         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35703         Likewise.
35704         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35705         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35706         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35707         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
35708         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
35710 2013-10-04  Alan Modra  <amodra@gmail.com>
35712         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
35713         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
35714         all uses of ieee854 long double macros and unions.
35715         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
35716         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35717         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
35718         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
35719         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
35720         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35721         Likewise.
35722         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
35723         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35724         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
35725         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35726         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
35727         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
35728         Simplify sign and nan test too.
35729         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
35730         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35731         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
35732         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35733         Likewise.
35734         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35735         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
35736         Likewise.
35737         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35738         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
35739         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
35740         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
35741         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
35742         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
35744 2013-10-04  Alan Modra  <amodra@gmail.com>
35746         * stdio-common/printf_size.c (__printf_size): Don't use
35747         union ieee854_long_double in fpnum union.
35748         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
35749         signbit macro to retrieve sign from long double.
35750         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
35751         retrieve sign from long double.
35752         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
35753         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
35754         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
35755         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35756         * math/test-misc.c (main): Don't use union ieee854_long_double.
35758 2013-10-04  Alan Modra  <amodra@gmail.com>
35760         [BZ #15680]
35761         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
35762         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
35763         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
35764         calculation.  Remove unnecessary test for denormal exponent.
35765         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
35766         Correct handling of denormals.  Avoid undefined shift behaviour.
35767         Correct normalisation of low mantissa when low double is denormal.
35768         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
35769         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
35770         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
35771         Correct normalisation of low mantissa.  Test for overflow of high
35772         mantissa and normalise.
35773         (ldbl_nearbyint): Use more readable constant for two52.
35774         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
35775         (__mpn_construct_long_double): Fix test for overflow of high
35776         mantissa and correct normalisation.  Avoid undefined shift.
35778 2013-10-04  Alan Modra  <amodra@gmail.com>
35780         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
35781         (union ibm_extended_long_double): Define as an array of ieee754_double.
35782         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
35783         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
35784         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
35785         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35786         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35787         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
35788         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35789         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35790         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35791         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
35792         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35794 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
35796         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
35797         page size instead of calling getpagesize.
35799         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
35800         (LOCFILE_ALIGN_MASK): Likewise.
35801         (LOCFILE_ALIGN_UP): Likewise.
35802         (LOCFILE_ALIGNED_P): Likewise.
35803         * locale/programs/ld-collate.c (collate_output): Use the new
35804         macros instead of __alignof__ (int32_t).
35805         * locale/weight.h (findidx): Likewise.
35807 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
35809         [BZ #431]
35810         * manual/string.texi: Fix strncat and wcsncat.
35812 2013-10-03  Brooks Moses  <bmoses@google.com>
35814         [BZ #15915]
35815         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
35816         * Makerules: ...here, and adjust associated comments.
35818 2013-10-02  Will Newton  <will.newton@linaro.org>
35820         * malloc/Makefile: Add tst-pvalloc.
35821         * malloc/tst-pvalloc.c: New file.
35823 2013-10-02  Will Newton  <will.newton@linaro.org>
35825         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
35826         improve test coverage.
35828 2013-10-02  Will Newton  <will.newton@linaro.org>
35830         * malloc/Makefile: Add tst-posix_memalign.
35831         * malloc/tst-posix_memalign.c: New file.
35833 2013-10-01  Eric Blake  <eblake@redhat.com>
35835         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
35836         Use __THROWNL rather than __THROW on static functions.
35838 2013-09-30  Petr Machata  <pmachata@redhat.com>
35840         * elf/elf.h (R_AARCH64_ABS16): New macro.
35841         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
35842         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
35843         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
35844         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
35845         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
35846         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
35847         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
35848         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
35849         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
35850         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
35851         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
35852         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
35853         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
35854         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
35855         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
35856         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
35857         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
35858         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
35859         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
35860         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
35861         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
35862         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
35863         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
35864         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
35865         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
35866         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
35867         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
35868         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
35869         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
35870         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
35871         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
35872         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
35873         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
35874         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
35875         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
35876         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
35877         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
35878         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
35879         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
35880         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
35881         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
35882         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
35883         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
35884         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
35885         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
35886         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
35887         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
35888         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
35889         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
35890         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
35891         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
35892         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
35893         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
35894         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
35895         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
35896         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
35897         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
35898         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
35899         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
35900         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
35901         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
35902         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
35903         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
35904         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
35905         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
35906         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
35907         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
35908         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
35909         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
35910         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
35911         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
35912         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
35913         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
35914         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
35915         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
35916         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
35917         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
35918         (R_AARCH64_TLSDESC_LDR): Likewise.
35919         (R_AARCH64_TLSDESC_ADD): Likewise.
35920         (R_AARCH64_TLSDESC_CALL): Likewise.
35922 2013-09-30  Andreas Schwab  <schwab@suse.de>
35924         [BZ #15048]
35925         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
35926         the nss database lookup.
35927         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35928         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35930 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
35932         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
35934 2013-09-28  P. J. McDermott  <pj@pehjota.net>
35936         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
35937         ${Bash-specific parameter/pattern/string} parameter expansion.
35938         * sysdeps/unix/make-syscalls.sh: Likewise.
35940 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35942         * sysdeps/sh/stackguard-macros.h: New file.
35944 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
35946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
35948         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
35949         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
35950         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35951         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
35953 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35955         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
35956         Fix thread ID register.
35958 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
35960         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
35961         [POSIX || UNIX98]: Require rather than permitting all symbols from
35962         <time.h>.
35963         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
35964         element of struct sched_param.
35965         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
35966         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
35967         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
35968         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
35969         constant.
35971 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
35973         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
35974         argument calculation.
35976 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35978         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
35979         Expect macro.
35980         [POSIX] (pthread_attr_t): Do not require type.
35981         [POSIX] (pthread_cond_t): Likewise.
35982         [POSIX] (pthread_condattr_t): Likewise.
35983         [POSIX] (pthread_key_t): Likewise.
35984         [POSIX] (pthread_mutex_t): Likewise.
35985         [POSIX] (pthread_mutexattr_t): Likewise.
35986         [POSIX] (pthread_once_t): Likewise.
35987         [POSIX] (pthread_t): Likewise.
35988         [POSIX-based standards] (pthread_atfork): Expect function.
35990 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35991             Richard Sandiford  <richard@codesourcery.com>
35993         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
35994         (swap_endianness_p): New extern variable.
35995         (set_big_endian): New inline function.
35996         (maybe_swap_uint32): Likewise.
35997         (maybe_swap_uint32_array): Likewise.
35998         (maybe_swap_uint32_obstack): Likewise.
35999         * locale/programs/locfile.c: Include <stdbool.h>.
36000         (swap_endianness_p): New variable.
36001         (add_locale_uint32): Call maybe_swap_uint32.
36002         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
36003         (write_locale_data): Call maybe_swap_uint32_array.
36004         * locale/programs/ld-collate.c (obstack_int32_grow): Call
36005         maybe_swap_uint32.
36006         (obstack_int32_grow_fast): Likewise.
36007         (output_weightwc): Call maybe_swap_uint32_obstack.
36008         (collate_output): Likewise.
36009         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
36010         (OPT_LITTLE_ENDIAN): Likewise.
36011         (options): Add --little-endian and --big-endian options.
36012         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
36013         * locale/programs/locarchive.c: Include "locfile.h".
36014         (GET): New macro.
36015         (SET): Likewise.
36016         (INC): Likewise.
36017         (create_archive): Use the new macros to access fields of
36018         structures directly mapped from or written to locale archives.
36019         (oldlocrecentcmp): Likewise.
36020         (enlarge_archive): Likewise.
36021         (insert_name): Likewise.
36022         (add_alias): Likewise.
36023         (add_locale): Likewise.
36024         (delete_locales_from_archive): Likewise.
36025         (show_archive_content): Likewise.
36026         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
36027         locale data.
36029 2013-09-24  Roland McGrath  <roland@hack.frob.com>
36031         * manual/freemanuals.texi: Updated from (newly) canonical copy at
36032         http://www.gnu.org/doc/freemanuals.texi.
36033         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
36035 2013-09-24  Will Newton  <will.newton@linaro.org>
36037         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
36038         macro.
36040 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
36042         * locale/hashval.h (compute_hashval): Interpret bytes of key as
36043         unsigned char.
36045 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
36047         * manual/threads.texi (POSIX Threads): Fix a typo.
36049 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36051         [BZ #14547]
36052         * string/tst-strcoll-overflow.c: New test case.
36053         * string/Makefile (xtests): Add tst-strcoll-overflow.
36054         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
36055         cache if string sizes may cause integer overflow.
36057         [BZ #14547]
36058         * string/strcoll_l.c (coll_seq): New members rule, idx,
36059         save_idx and back_us.
36060         (get_next_seq_nocache): New function.
36061         (do_compare_nocache): New function.
36062         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
36063         when malloc fails.
36065 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
36067         [BZ #15754]
36068         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
36069         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
36070         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
36072         [BZ #15754]
36073         * elf/Makefile (tests): Add tst-ptrguard1.
36074         (tests-static): Add tst-ptrguard1-static.
36075         (tst-ptrguard1-ARGS): Define.
36076         (tst-ptrguard1-static-ARGS): Define.
36077         * elf/tst-ptrguard1.c: New file.
36078         * elf/tst-ptrguard1-static.c: New file.
36079         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
36080         * sysdeps/i386/stackguard-macros.h: Likewise.
36081         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36082         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36083         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36084         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36085         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36086         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36088 2013-09-23  Hector Marco  <hecmargi@upv.es>
36089             Ismael Ripoll  <iripoll@disca.upv.es>
36090             Carlos O'Donell  <carlos@redhat.com>
36092         [BZ #15754]
36093         * sysdeps/generic/stackguard-macros.h: Define
36094         __pointer_chk_guard_local and POINTER_CHK_GUARD.
36095         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
36096         Define __pointer_chk_guard_local.
36097         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
36098         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
36100 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
36102         [BZ #15859]
36103         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
36105 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
36107         * include/string.h (__ffs): Declare as hidden.
36108         * string/ffs.c (__ffs): Define as hidden.
36109         * sysdeps/i386/ffs.c (__ffs): Likewise.
36110         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
36111         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
36112         * sysdeps/s390/ffs.c (__ffs): Likewise.
36113         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
36115 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
36117         * NEWS: Mention malloc probes.
36119         * malloc/arena.c (new_heap): New memory_heap_new probe.
36120         (grow_heap): New memory_heap_more probe.
36121         (shrink_heap): New memory_heap_less probe.
36122         (heap_trim): New memory_heap_free probe.
36123         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
36124         (systrim): New memory_sbrk_less probe.
36125         * manual/probes.texi: Document them.
36127         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
36128         * manual/probes.texi: Document it.
36130         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
36131         (__libc_realloc): Add memory_realloc_retry probe.
36132         (__libc_memalign): Add memory_memalign_retry probe.
36133         (__libc_valloc): Add memory_valloc_retry probe.
36134         (__libc_pvalloc): Add memory_pvalloc_retry probe.
36135         (__libc_calloc): Add memory_calloc_retry probe.
36136         * manual/probes.texi: Document them.
36138         * malloc/arena.c (get_free_list): Add probe
36139         memory_arena_reuse_free_list.
36140         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
36141         and memory_arena_reuse.
36142         (arena_get2) [!PER_THREAD]: Likewise.
36143         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
36144         memory_arena_reuse_realloc.
36145         * manual/probes.texi: Document them.
36147         * malloc/malloc.c (__libc_free): Add
36148         memory_mallopt_free_dyn_thresholds probe.
36149         (__libc_mallopt): Add multiple memory_mallopt probes.
36150         * manual/probes.texi: Document them.
36152         * malloc/malloc.c: Include stap-probe.h.
36153         (__libc_mallopt): Add memory_mallopt probe.
36154         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
36155         * manual/probes.texi: New.
36156         * manual/Makefile (chapters): Add probes.
36157         * manual/threads.texi: Set next node.
36159 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
36161         [BZ #15963, #13985]
36162         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
36163         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
36164         Add `Chinese' to `nan' entry name.
36166 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36168         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
36169         (POLYNOMIAL): Likewise.
36170         (TAYLOR_SINCOS): Likewise.
36171         (TAYLOR_SLOW): Likewise.
36172         (__sin): Use TAYLOR_SINCOS.
36173         (__cos): Likewise.
36174         (slow): Use TAYLOR_SLOW.
36175         (sloww): Likewise.
36176         (bsloww): Likewise.
36177         (csloww): Likewise.
36179 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36181         * stdlib/strtod_l.c: Fix buffer overrun.
36183 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36185         * benchtests/Makefile (bench): Add sincos.
36186         * benchtests/bench-sincos.c: New file.
36188         * math/libm-test.inc (cos_test_data): New test inputs.
36189         (sin_test_data): Likewise.
36191         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
36192         macro.
36193         (__sin): Use it.
36194         (__cos): Likewise.
36195         (slow1): Likewise.
36196         (slow2): Likewise.
36197         (sloww1): Likewise.
36198         (sloww2): Likewise.
36199         (bsloww1): Likewise.
36200         (bsloww2): Likewise.
36201         (cslow2): Likewise.
36202         (csloww1): Likewise.
36203         (csloww2): Likewise.
36205         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
36206         function.
36207         (__sin): Use it.
36208         (__cos): Likewise.
36210         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
36211         gotos.
36212         (__cos): Likewise.
36214 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
36216         * config.h.in (HAVE_MIPS_NAN2008): New macro.
36217         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
36218         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
36219         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
36220         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
36221         * elf/cache.c (print_entry): Handle the new cache flags.
36223 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36224             Aldy Hernandez  <aldyh@redhat.com>
36226         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
36227         Change condition to [_SOFT_FLOAT].
36228         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
36229         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
36230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
36231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
36232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
36233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
36234         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
36235         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
36236         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
36237         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
36238         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
36239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
36240         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
36241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
36242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
36243         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
36244         declaration.
36246 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36248         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
36249         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36250         (__longjmp): Use LOAD_GP to load saved GPRs.
36251         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
36252         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36253         (__sigsetjmp): Use SAVE_GP to save GPRs.
36255         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
36256         Do not append -msoft-float.
36257         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
36259 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36261         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
36263 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
36265         [BZ #15966]
36266         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
36267         (_FPU_GETCW): Use initial "__" on variable and field names but not
36268         on macro parameter name.
36269         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
36270         parentheses around reference to macro parameter.
36272 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
36274         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
36275         prototype.
36276         (ctype_startup): Use uint32_t in cast and sizeof for
36277         ctype->charnames.
36279 2013-09-11  Jia Liu  <proljc@gmail.com>
36281         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
36282         __daddr_t_defined.
36283         [__FreeBSD__]: Likewise.
36285 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
36287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36288         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
36289         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
36290         (strchr): Remove __strchr_sse42 ifunc selection.
36291         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
36292         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
36294 2013-09-11  Will Newton  <will.newton@linaro.org>
36296         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
36297         parameter to RES. Remove hardcoded 1000 value.
36298         * benchtests/bench-skeleton.c (main): Pass RES parameter
36299         to TIMING_INIT and multiply result by 1000.
36301 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36305 2013-09-11  Andreas Schwab  <schwab@suse.de>
36307         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36308         if not defined.
36309         (O_TMPFILE) [__USE_GNU]: Define.
36310         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
36311         Define.
36313 2013-09-11  Will Newton  <will.newton@linaro.org>
36315         [BZ #15857]
36316         * malloc/malloc.c (__libc_memalign): Check the value of bytes
36317         does not overflow.
36319 2013-09-11  Will Newton  <will.newton@linaro.org>
36321         [BZ #15856]
36322         * malloc/malloc.c (__libc_valloc): Check the value of bytes
36323         does not overflow.
36325 2013-09-11  Will Newton  <will.newton@linaro.org>
36327         [BZ #15855]
36328         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
36329         does not overflow.
36331 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
36333         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
36334         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36335         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36336         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36337         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36339 2013-09-10  Allan McRae  <allan@archlinux.org>
36341         [BZ #15748]
36342         * manual/arith.texi (Parsing of Floats): Clarify
36343         cross-reference.
36345         [BZ #15849]
36346         * manual/install.texi (Running make install): Mention
36347         --enable-pt-chown.
36348         * INSTALL: Regenerated.
36350 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
36352         * csu/init-first.c (_init): Remove the !SHARED condition around
36353         FPU control word initialization.
36354         * elf/dl-support.c (_dl_fpu_control): New variable.
36355         (_dl_aux_init) <AT_FPUCW>: Initialize it.
36356         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
36357         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
36358         * math/test-fpucw-static.c: New file.
36359         * math/test-fpucw-ieee.c: New file.
36360         * math/test-fpucw-ieee-static.c: New file.
36361         * math/Makefile (tests): Add `test-fpucw-ieee' and
36362         `$(tests-static)'.
36363         (tests-static): New variable.
36364         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
36365         dependency to...
36366         [($(build-shared),yes)]
36367         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36368         ... this.
36369         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
36370         New dependency.
36372 2013-09-09  Allan McRae  <allan@archlinux.org>
36374         [BZ #15939]
36375         * manual/string.texi (Collation Functions): Fix typo in
36376         strcoll example.
36377         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
36379         [BZ #15893]
36380         * stdlib/isomac.c (get_null_defines): Fix memory leak.
36382         [BZ #15892]
36383         * libio/memstream.c (open_memstream): Fix memory leak.
36384         * libio/wmemstream.c (open_wmemstream): Likewise.
36386         [BZ #15895]
36387         * nscd/netgroupcache.c: Fix nesting of ifdefs.
36389 2013-09-09  Will Newton  <will.newton@linaro.org>
36391         * malloc/Makefile: Add tst-realloc to tests.
36392         * malloc/tst-realloc.c: New file.
36394 2013-09-09  Allan McRae  <allan@archlinux.org>
36396         [BZ #15844]
36397         * COPYING: Update from GNU website to fix FSF address.
36398         * COPYING.LIB: Likewise.
36400 2013-09-06  David S. Miller  <davem@davemloft.net>
36402         * po/zh_TW.po: Update Chinese (traditional) translation from
36403         translation project.
36405 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
36406             Joseph Myers  <joseph@codesourcery.com>
36408         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
36409         "localeinfo.h".
36410         (obstack_chunk_alloc): New macro.
36411         (obstack_chunk_free): Likewise.
36412         (record_offset): New function.
36413         (init_locale_data): Likewise.
36414         (align_locale_data): Likewise.
36415         (add_locale_empty): Likewise.
36416         (add_locale_raw_data): Likewise.
36417         (add_locale_raw_obstack): Likewise.
36418         (add_locale_string): Likewise.
36419         (add_locale_wstring): Likewise.
36420         (add_locale_uint32): Likewise.
36421         (add_locale_uint32_array): Likewise.
36422         (add_locale_char): Likewise.
36423         (start_locale_structure): Likewise.
36424         (end_locale_structure): Likewise.
36425         (start_locale_prelude): Likewise.
36426         (end_locale_prelude): Likewise.
36427         (write_locale_data): Take locale_file structure rather than an
36428         iovec.
36429         * locale/programs/locfile.h: Include "obstack.h".
36430         (struct locale_file): Change to store locale file contents instead
36431         of header.
36432         (init_locale_data): New prototype.
36433         (align_locale_data): Likewise.
36434         (add_locale_empty): Likewise.
36435         (add_locale_raw_data): Likewise.
36436         (add_locale_raw_obstack): Likewise.
36437         (add_locale_string): Likewise.
36438         (add_locale_wstring): Likewise.
36439         (add_locale_uint32): Likewise.
36440         (add_locale_uint32_array): Likewise.
36441         (add_locale_char): Likewise.
36442         (start_locale_structure): Likewise.
36443         (end_locale_structure): Likewise.
36444         (start_locale_prelude): Likewise.
36445         (end_locale_prelude): Likewise.
36446         (write_locale_data): Update prototype.
36447         * locale/programs/3level.h (struct TABLE): Remove result field.
36448         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
36449         Use new locale_file interface.
36450         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
36451         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
36452         * locale/programs/ld-address.c (address_output): Use new
36453         locale_file interface.
36454         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
36455         NO_ADD_LOCALE.
36456         (collate_finish): Don't call collseq_table_finalize.
36457         (collate_output): Use new locale_file interface.
36458         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
36459         in file.
36460         (NO_FINALIZE): Change to NO_ADD_LOCALE.
36461         (TABLE): Move defines earlier in file.
36462         (ELEMENT): Likewise.
36463         (DEFAULT): Likewise.
36464         (wctrans_table_add): Move macro and inline function earlier in
36465         file.
36466         (struct wctype_table): Move type earlier in file.
36467         (add_locale_wctype_table): New static prototype.
36468         (struct locale_ctype_t): Use logical types instead of struct iovec
36469         pointers for members.
36470         (ctype_output): Use new locale_file interface.
36471         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
36472         new locale_file interface.
36473         (allocate_arrays): Update for use of new locale_file interface.
36474         * locale/programs/ld-identification.c (identification_output): Use
36475         new locale_file interface.
36476         * locale/programs/ld-measurement.c (measurement_output): Likewise.
36477         * locale/programs/ld-messages.c (messages_output): Likewise.
36478         * locale/programs/ld-monetary.c (monetary_output): Likewise.
36479         * locale/programs/ld-name.c (name_output): Likewise.
36480         * locale/programs/ld-numeric.c (numeric_output): Likewise.
36481         * locale/programs/ld-paper.c (paper_output): Likewise.
36482         * locale/programs/ld-telephone.c (telephone_output): Likewise.
36483         * locale/programs/ld-time.c (time_output): Likewise.
36485 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36487         * benchtests/Makefile: Add memrchr benchmark.
36488         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
36489         benchmark as memrchr.
36490         * benchtests/bench-memrchr-ifunc.c: New file.
36491         * benchtests/bench-memrchr.c: New file.
36493 2013-09-06   Will Newton  <will.newton@linaro.org>
36495         * benchtests/Makefile (string-bench): Add memcpy.
36497 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
36498             Cong Wang  <amwang@redhat.com>
36500         [BZ #15850]
36501         * sysdeps/unix/sysv/linux/bits/in.h
36502         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
36503         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
36504         before __USE_KERNEL_IPV6_DEFS uses.
36505         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
36506         IPPROTO_BEETPH.
36507         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
36508         sockaddr_in6, or ipv6_mreq.
36510 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36512         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
36513         memory access for final bytes in some large inputs.
36514         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
36516 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36518         * string/test-memrchr.c: New file.
36519         * string/test-memrchr-ifunc.c: New file.
36520         * string/Makefile: Add new memrchr testcase.
36522 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
36524         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
36525         fanotify_init returns EPERM.
36527 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36529         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
36530         errors.
36531         (top level): Treat second token from macro or constant entries for
36532         allowed headers as allowed.
36533         * include/complex.h: Condition internal declarations on
36534         [!_ISOMAC].
36535         * include/fenv.h: Condition include of <stdbool.h> and internal
36536         declarations on [!_ISOMAC].
36538 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
36540         [BZ #15923]
36541         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
36543 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36545         * configure.in (--enable-versioning): Remove configure option.
36546         (libc_cv_asm_symver_directive): Remove configure test.
36547         (libc_cv_ld_version_script_option): Likewise.
36548         (VERSIONING): Remove variable and AC_SUBST.
36549         (DO_VERSIONING): Remove AC_DEFINE.
36550         * configure: Regenerated.
36551         * config.h.in (DO_VERSIONING): Remove macro.
36552         * Makerules [$(versioning) = yes]: Change conditionals to
36553         [$(build-shared) = yes].
36554         * config.make.in (versioning): Remove variable.
36555         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
36556         [$(build-shared) = yes].
36557         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
36558         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
36559         * elf/Makefile [$(versioning) = yes]: Change conditionals to
36560         [$(build-shared) = yes].
36561         * extra-lib.mk [$(versioning) = yes]: Likewise.
36562         * hurd/Makefile [$(versioning) = yes]: Likewise.
36563         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
36564         [SHARED].
36565         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
36566         [SHARED].
36567         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36568         [SHARED && !NO_HIDDEN].
36569         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
36570         [SHARED].
36571         [SHARED && DO_VERSIONING]: Likewise..
36572         * libio/Makefile [$(versioning) = yes]: Change conditionals to
36573         [$(build-shared) = yes].
36574         * manual/install.texi (--disable-versioning): Remove
36575         documentation.
36576         * INSTALL: Regenerated.
36577         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
36578         to [SHARED].
36579         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
36580         [$(build-shared) = yes].
36581         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
36582         * sysdeps/i386/i686/multiarch/strstr-c.c
36583         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36584         [SHARED && !NO_HIDDEN].
36585         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
36586         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
36587         * sysdeps/powerpc/powerpc32/dl-machine.c
36588         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
36589         * sysdeps/powerpc/powerpc32/sysdep.h
36590         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
36591         to [SHARED && PIC && !NO_HIDDEN].
36592         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
36593         conditional to [SHARED].
36595 2013-09-04   Will Newton  <will.newton@linaro.org>
36597         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
36598         * benchtests/bench-string.h: Include bench-timing.h instead
36599         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
36600         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
36601         call to HP_TIMING_DIFF_INIT.
36602         * benchtests/bench-memccpy.c: Use bench-timing.h macros
36603         instead of hp-timing.h macros.
36604         * benchtests/bench-memchr.c: Likewise.
36605         * benchtests/bench-memcmp.c: Likewise.
36606         * benchtests/bench-memcpy.c: Likewise.
36607         * benchtests/bench-memmem.c: Likewise.
36608         * benchtests/bench-memmove.c: Likewise.
36609         * benchtests/bench-memset.c: Likewise.
36610         * benchtests/bench-rawmemchr.c: Likewise.
36611         * benchtests/bench-strcasecmp.c: Likewise.
36612         * benchtests/bench-strcasestr.c: Likewise.
36613         * benchtests/bench-strcat.c: Likewise.
36614         * benchtests/bench-strchr.c: Likewise.
36615         * benchtests/bench-strcmp.c: Likewise.
36616         * benchtests/bench-strcpy.c: Likewise.
36617         * benchtests/bench-strcpy_chk.c: Likewise.
36618         * benchtests/bench-strlen.c: Likewise.
36619         * benchtests/bench-strncasecmp.c: Likewise.
36620         * benchtests/bench-strncat.c: Likewise.
36621         * benchtests/bench-strncmp.c: Likewise.
36622         * benchtests/bench-strncpy.c: Likewise.
36623         * benchtests/bench-strnlen.c: Likewise.
36624         * benchtests/bench-strpbrk.c: Likewise.
36625         * benchtests/bench-strrchr.c: Likewise.
36626         * benchtests/bench-strspn.c: Likewise.
36627         * benchtests/bench-strstr.c: Likewise.
36629 2013-09-04  Will Newton  <will.newton@linaro.org>
36631         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
36633 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
36635         [BZ #15427]
36636         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36637         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
36638         * math/libm-test.inc (lgamma_test_data): Add more tests.
36639         * sysdeps/i386/fpu/libm-test-ulps: Update.
36640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36642 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
36644         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
36645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36646         Add ifunc.
36647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36648         Add strcmp-sse2-unaligned
36649         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
36651 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36653         * Versions.def (libc): Add GLIBC_2.19.
36655 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36657         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
36658         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
36660 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
36662         [BZ #14155]
36663         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
36664         intermediate calculations in recurrence.
36665         (__ieee754_ynf): Likewise.
36666         * math/libm-test.inc (jn_test_data): Do not allow spurious
36667         underflow exception.  Add more tests.
36668         (yn_test_data): Add more tests.
36669         * sysdeps/i386/fpu/libm-test-ulps: Update.
36670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36672 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
36674         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
36676 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36678         * csu/init-first.c: Fix then/than typos.
36679         * locale/programs/ld-collate.c: Likewise.
36680         * locale/programs/linereader.h: Likewise.
36681         * manual/charset.texi: Likewise.
36682         * manual/filesys.texi: Likewise.
36683         * manual/stdio.texi: Likewise.
36684         * manual/string.texi: Likewise.
36685         * stdlib/fmtmsg.c: Likewise.
36686         * sysdeps/i386/stpncpy.S: Likewise.
36687         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36688         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36689         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36690         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36692 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36694         * elf/dl-open.c: Fix typos.
36695         * iconvdata/gbbig5.c: Likewise.
36696         * iconvdata/iso-2022-jp.c: Likewise.
36697         * iconv/gconv_int.h: Likewise.
36698         * iconv/loop.c: Likewise.
36699         * nis/rpcsvc/nis.h: Likewise.
36700         * resolv/ns_name.c: Likewise.
36701         * stdio-common/vfscanf.c: Likewise.
36702         * streams/stropts.h: Likewise.
36703         * sunrpc/rpc_thread.c: Likewise.
36704         * sysdeps/i386/strpbrk.S: Likewise.
36705         * sysdeps/ieee754/k_standard.c: Likewise.
36706         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36707         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36708         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
36709         * sysdeps/mach/hurd/profil.c: Likewise.
36710         * sysdeps/s390/dl-procinfo.h: Likewise.
36711         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
36712         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36713         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
36714         * sysdeps/x86_64/dl-trampoline.S: Likewise.
36715         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36717 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
36719         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
36720         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
36722 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
36724         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
36725         aix specific files.
36726         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
36727         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
36728         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
36729         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
36730         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
36731         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
36732         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
36733         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
36735 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36736             Roland McGrath  <roland@hack.frob.com>
36738         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
36739         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
36741 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36743         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
36744         __executable_start symbol instead of _start.
36746 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36748         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
36749         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
36750         Move macros to...
36751         * sysdeps/gnu/ldsodefs.h: ... this new file.
36753         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
36754         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
36755         instead of ELFOSABI_LINUX.
36757         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
36758         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
36759         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
36760         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
36761         Likewise.
36762         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
36763         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
36764         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
36765         Likewise.
36766         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36767         (ibm_extended_long_double): Add ieee_nan member.
36768         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
36769         (do_test): New function.
36771         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
36772         TEST_TRUNC.
36773         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
36774         functions, renamed from truncdfsf_test, trunctfsf_test,
36775         trunctfdf_test.
36776         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
36777         functions.
36778         (do_test): Run all these.
36780 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
36782         * argp/argp-help.c: Fix typos.
36783         * argp/argp-parse.c: Likewise.
36784         * debug/backtracesyms.c: Likewise.
36785         * elf/elf.h: Likewise.
36786         * malloc/malloc.c: Likewise.
36787         * nis/nis_print.c: Likewise.
36788         * resolv/res_comp.c: Likewise.
36789         * stdlib/stdlib.h: Likewise.
36790         * sunrpc/clnt_tcp.c: Likewise.
36791         * sunrpc/clnt_udp.c: Likewise.
36792         * sunrpc/clnt_unix.c: Likewise.
36793         * sysdeps/unix/bsd/ptsname.c: Likewise.
36794         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36795         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
36796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
36797         Likewise.
36798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
36799         Likewise.
36800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36801         Likewise.
36802         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36804 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36806         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
36807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36809 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
36811         [BZ #15897]
36812         * dlfcn/Makefile (tests): Add bug-dl-leaf.
36813         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
36814         ($(objpfx)bug-dl-leaf): New rule.
36815         ($(objpfx)bug-dl-leaf.so): Likewise.
36816         ($(objpfx)bug-dl-leaf.out): Likewise.
36817         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
36818         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
36819         * dlfcn/bug-dl-leaf.c: New test.
36820         * dlfcn/bug-dl-leaf-lib.c: Likewise.
36821         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
36822         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
36823         (dlclose): Likewise.
36824         (dlmopen): Likewise.
36826 2013-08-27  Roland McGrath  <roland@hack.frob.com>
36828         * include/netdb.h [!_ISOMAC]:
36829         Don't include <tls.h>.
36830         (h_errno, __libc_h_errno): Move declaration and macros out of
36831         [_LIBC_REENTRANT].
36833         * include/resolv.h [_RESOLV_H_]:
36834         Don't include <tls.h>.
36835         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
36836         * resolv/res_libc.c: Don't include <tls.h>.
36837         (_res): Use __attribute__ ((nocommon)) in place of
36838         __attribute__ ((section (".bss"))).
36840         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
36841         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
36843         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
36845         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
36846         only under [SIOCGIFCONF && SIOCGIFNETMASK].
36848         * resolv/res_mkquery.c: Include <sys/time.h>.
36850         * inet/ifreq.c: Moved to ...
36851         * sysdeps/unix/ifreq.c: ... here.
36852         * inet/ifreq.c: New file, true stub version.
36854         * socket/sa_len.c: New file.
36855         * socket/Makefile (aux): Add it.
36856         * sysdeps/unix/sysv/linux/Makefile
36857         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
36858         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
36859         and #include <socket/sa_len.c>.
36860         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
36861         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
36863         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
36864         * bits/socket.h: ... here.
36866         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
36867         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
36868         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
36870 2013-08-27  Andreas Schwab  <schwab@suse.de>
36872         [BZ #15736]
36873         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
36874         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
36875         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
36876         * string/test-strcasecmp.c (test_main): Run tests in several
36877         locales.
36878         * string/test-strncasecmp.c (test_main): Likewise.
36880         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
36881         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
36882         to __strcasecmp_nonascii and __strncasecmp_nonascii.
36883         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
36884         (__strncasecmp_ssse3) [PIC]: Likewise.
36886 2013-08-26  Roland McGrath  <roland@hack.frob.com>
36888         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
36890         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
36891         instead of explicitly declaring xdecrypt.
36892         * nis/nss_nis/nis-publickey.c: Likewise.
36894 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36896         [BZ #15890]
36897         * nscd/aicache.c: Include res_hconf.h.
36898         (addhstaiX): Initialize res_hconf.
36900 2013-08-26  Andreas Schwab  <schwab@suse.de>
36902         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
36903         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
36905 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36907         * nscd/aicache.c (addhstaiX): Fix indentation.
36909 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
36911         * configure.ac: Quote $build_pt_chown test.
36912         * configure: Regenerated.
36914 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
36916         [BZ #15532]
36917         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
36918         * math/s_cexpf.c (__cexpf): Likewise.
36919         * math/s_cexpl.c (__cexpl): Likewise.
36920         * math/libm-test.inc (cexp_test_data): Correct expected return
36921         value for NaN + i0.  Add another test.
36923 2013-08-22  David S. Miller  <davem@davemloft.net>
36925         * po/ca.po: Update Catalan translation from translation project.
36926         * po/uk.po: Add Ukrainian translations from translation project.
36928 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
36930         [BZ #15797]
36931         * math/s_fdim.c (__fdim): Check for infinite arguments if result
36932         is infinite, not alongside NaN test.
36933         * math/s_fdimf.c (__fdimf): Likewise.
36934         * math/s_fdiml.c (__fdiml): Likewise.
36935         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
36936         errno is unchanged.
36938 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
36940         * argp/argp-help.c: Fix typos.
36941         * crypt/speeds.c: Likewise.
36942         * csu/check_fds.c: Likewise.
36943         * elf/dl-load.c: Likewise.
36944         * elf/dl-open.c: Likewise.
36945         * elf/reldep3.c: Likewise.
36946         * elf/reldep.c: Likewise.
36947         * elf/sprof.c: Likewise.
36948         * iconv/iconv_charmap.c: Likewise.
36949         * iconv/skeleton.c: Likewise.
36950         * iconv/strtab.c: Likewise.
36951         * io/lockf64.c: Likewise.
36952         * libio/libioP.h: Likewise.
36953         * resolv/gai_notify.c: Likewise.
36954         * resolv/ns_name.c: Likewise.
36955         * resolv/ns_samedomain.c: Likewise.
36956         * resolv/res_send.c: Likewise.
36957         * stdlib/random.c: Likewise.
36958         * sunrpc/rpc/xdr.h: Likewise.
36959         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
36960         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36961         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36962         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36963         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36964         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36965         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36966         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36967         * sysdeps/mach/hurd/check_fds.c: Likewise.
36968         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36969         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36970         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36971         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36972         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36973         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36974         * sysdeps/pthread/aio_notify.c: Likewise.
36975         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
36976         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
36977         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
36978         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36979         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36981 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36983         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
36984         version if bit_Slow_SSE4_2 is set.
36985         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36986         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36988 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36990         [BZ #15867]
36991         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
36992         trampoline stack frame information.
36993         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
36994         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
36995         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
36996         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
36997         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
36998         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36999         (_libc_vdso_platform_setup): Initialize the signal trampolines.
37000         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
37001         sa_flags value.
37002         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
37003         interrupting a syscall and set with option SA_SIGINFO.
37005 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
37007         [BZ #15531]
37008         * math/s_cproj.c (__cproj): Only return an infinity if one part of
37009         argument is infinite.
37010         * math/s_cprojf.c (__cprojf): Likewise.
37011         * math/s_cprojl.c (__cprojl): Likewise.
37012         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
37013         * math/libm-test.inc (cproj_test_data): Add more tests.
37015         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
37017         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
37018         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
37019         size.  Use __ffs to determine corresponding shift.
37021 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
37022             Roland McGrath  <roland@hack.frob.com>
37024         * Makefile (INSTALL): Remove trailing blank lines from output of
37025         makeinfo.
37027 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37029         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
37030         Align 32 bit compat elf_greg to 8 bytes.
37032 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
37034         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
37036 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37038         * string/strcoll_l.c (coll_seq): New structure.
37039         (get_next_seq_cached): New function.
37040         (get_next_seq): New function.
37041         (do_compare): New function.
37042         (STRCOLL): Use GNU style definition.  Simplify implementation
37043         by using get_next_seq, get_next_seq_cached and do_compare.
37045 2013-08-16  Florian Weimer  <fweimer@redhat.com>
37047         [BZ #14699]
37048         CVE-2013-4237
37049         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
37050         member.
37051         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
37052         member.
37053         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
37054         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
37055         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
37056         conditional.
37057         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
37058         GETDENTS_64BIT_ALIGNED.
37059         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37060         * manual/filesys.texi (Reading/Closing Directory): Document
37061         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
37062         strongly.
37063         * manual/conf.texi (Limits for Files): Add portability note to
37064         NAME_MAX, PATH_MAX.
37065         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
37067 2013-08-13  Andreas Schwab  <schwab@suse.de>
37069         [BZ #15749]
37070         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
37071         of fabs.
37072         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
37073         LDBL_MAX_EXP >= 16384]: Add tests for it.
37075 2013-08-12  David S. Miller  <davem@davemloft.net>
37077         * version.h (RELEASE): Set to "development".
37078         (VERSION): Set to "2.18.90".
37079         * NEWS: Add 2.19 section.
37081 2013-08-03  David S. Miller  <davem@davemloft.net>
37083         * po/ko.po: Update Korean translation from translation project.
37085 2013-08-01  David S. Miller  <davem@davemloft.net>
37087         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
37088         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
37089         Bilka.
37091 2013-07-30  David S. Miller  <davem@davemloft.net>
37093         * po/fr.po: Update French translation from translation project.
37095 2013-07-28  David S. Miller  <davem@davemloft.net>
37097         * po/cs.po: Update Czech translation from translation project.
37099         * po/sv.po: Update Swedish translation from translation project.
37101 2013-07-27  David S. Miller  <davem@davemloft.net>
37103         * po/eo.po: Update Esperanto translation from translation project.
37105         * po/vi.po: Update Vietnamese translation from translation project.
37107         * po/de.po: Update German translation from translation project.
37109 2013-07-26  David S. Miller  <davem@davemloft.net>
37111         * po/bg.po: Update Bulgarian translation from translation project.
37113         * po/nl.po: Update Dutch translation from translation project.
37114         * po/pl.po: Update Polish translation from translation project.
37115         * po/ru.po: Update Russian translation from translation project.
37117 2013-07-24  David S. Miller  <davem@davemloft.net>
37119         * po/libc.pot: Update.
37121 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37123         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
37124         variable page size.
37125         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
37126         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
37127         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
37129 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37131         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
37133 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37134             Andreas Schwab  <schwab@suse.de>
37135             Roland McGrath  <roland@hack.frob.com>
37136             Joseph Myers  <joseph@codesourcery.com>
37137             Carlos O'Donell  <carlos@redhat.com>
37139         [BZ #15755]
37140         * config.h.in: Define HAVE_PT_CHOWN.
37141         * config.make.in (build-pt-chown): New variable.
37142         * configure.in (--enable-pt_chown): New configure option.
37143         * configure: Regenerate.
37144         * login/Makefile: Include Makeconfig.  Build pt_chown only if
37145         build-pt-chown is enabled.
37146         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
37147         pt_chown to fix pty ownership.
37148         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
37149         CLOSE_ALL_FDS.
37150         * manual/install.texi (Configuring and compiling): Mention
37151         --enable-pt_chown. Add @findex for grantpt.
37152         * INSTALL: Regenerate.
37154 2013-07-20  David S. Miller  <davem@davemloft.net>
37156         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
37157         difference between 32-bit and 64-bit.
37159 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
37161         [BZ #15711]
37162         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
37163         Avoid system header dependency with -ffreestanding.
37164         ($(objpfx)bits/syscall%d): Likewise.
37166 2013-07-13  David S. Miller  <davem@davemloft.net>
37168         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
37169         underflows from atanl/atan2l due to bug 15319.
37170         (casinh_test_data): Likewise.
37172 2013-07-07  David S. Miller  <davem@davemloft.net>
37174         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37176 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
37178         * sysdeps/i386/fpu/libm-test-ulps: Update.
37179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37181 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37183         * configure.in (--enable-lock-elision): Fix message text.
37184         * INSTALL: Regenerate.
37185         * configure: Regenerate.
37187 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37191 2013-07-03  Andreas Jaeger  <aj@suse.de>
37193         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
37194         define.
37195         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
37196         (ptrace_peeksiginfo_args): Add.
37197         (__ptrace_peeksiginfo_flags): Add.
37198         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37199         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37200         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37202 2013-07-03  Allan McRae  <allan@archlinux.org>
37204         * sysdeps/i386/fpu/libm-test-ulps: Update.
37206 2013-07-02  David S. Miller  <davem@davemloft.net>
37208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37210 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
37212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37214 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37216         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37219 2013-07-02  Andi Kleen <ak@linux.intel.com>
37221         * config.h.in (ENABLE_LOCK_ELISION): Add.
37222         * configure.in (--enable-lock-elision): Add option.
37223         * manual/install.texi: Document --enable lock elision.
37224         * configure: Regenerate
37225         * INSTALL: Regenerate.
37227 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
37229         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
37230         SSE4.2 strcasecmp for libc.a.
37231         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37233 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37235         [BZ #13304]
37236         * soft-fp/op-common.h (_FP_FMA): New macro.
37237         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
37238         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
37239         (_FP_MUL_MEAT_1_imm): ... here.
37240         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
37241         (_FP_MUL_MEAT_1_wide): ... here.
37242         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
37243         (_FP_MUL_MEAT_1_hard): ... here.
37244         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
37245         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
37246         (_FP_MUL_MEAT_2_wide): ... here.
37247         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
37248         (_FP_MUL_MEAT_2_wide_3mul): ... here.
37249         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
37250         (_FP_MUL_MEAT_2_gmp): ... here.
37251         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
37252         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
37253         (_FP_MUL_MEAT_4_wide): ... here.
37254         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
37255         (_FP_MUL_MEAT_4_gmp): ... here.
37256         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
37257         (_FP_WFRACBITS_DW_S): Likewise.
37258         (_FP_WFRACXBITS_DW_S): Likewise.
37259         (_FP_HIGHBIT_DW_S): Likewise.
37260         (FP_FMA_S): Likewise.
37261         (_FP_FRAC_HIGH_DW_S): Likewise.
37262         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
37263         (_FP_WFRACBITS_DW_D): Likewise.
37264         (_FP_WFRACXBITS_DW_D): Likewise.
37265         (_FP_HIGHBIT_DW_D): Likewise.
37266         (FP_FMA_D): Likewise.
37267         (_FP_FRAC_HIGH_DW_D): Likewise.
37268         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
37269         (_FP_WFRACBITS_DW_E): Likewise.
37270         (_FP_WFRACXBITS_DW_E): Likewise.
37271         (_FP_HIGHBIT_DW_E): Likewise.
37272         (FP_FMA_E): Likewise.
37273         (_FP_FRAC_HIGH_DW_E): Likewise.
37274         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
37275         (_FP_WFRACBITS_DW_Q): Likewise.
37276         (_FP_WFRACXBITS_DW_Q): Likewise.
37277         (_FP_HIGHBIT_DW_Q): Likewise.
37278         (FP_FMA_Q): Likewise.
37279         (_FP_FRAC_HIGH_DW_Q): Likewise.
37280         * soft-fp/fmasf4.c: New file.
37281         * soft-fp/fmadf4.c: Likewise.
37282         * soft-fp/fmatf4.c: Likewise.
37284 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37287         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
37288         Silvermont.
37289         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
37290         macro.
37291         (index_Slow_SSE4_2): Likewise.
37292         (index_Prefer_PMINUB_for_stringop): Likewise.
37293         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
37294         bit_Slow_SSE4_2 is set.
37295         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37296         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37298 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37300         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
37301         rtld_global._dl_hwcap2.
37302         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
37303         POWER8.
37304         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
37305         POWER8 feature descriptions defined in _dl_hwcap2.
37306         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
37307         string handling for POWER8 feature bits.
37308         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
37309         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
37310         _dl_powerpc_cap_flags.
37311         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
37312         * sysdeps/powerpc/rtld-global-offsets.sym
37313         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
37314         _dl_hwcap2 in the rtld_global_ro structure.
37316 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37318         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
37319         hardware capabilities in support of AT_HWCAP2.
37320         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
37321         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
37322         GLRO(dl_hwcap2).
37323         (_dl_show_auxv): Add support for calling _dl_procinfo to display
37324         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
37325         explicitly the unknown a_type display mechanism is used.
37326         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
37327         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
37328         struct member.
37329         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
37330         to macro prototype for AT_HWCAP2 support.
37331         * sysdeps/i386/dl-procinfo.h: Likewise.
37332         * sysdeps/s390/dl-procinfo.h: Likewise.
37333         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
37334         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
37335         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
37336         return -1 for unknown a_type display fallback.
37337         * sysdeps/sparc/dl-procinfo.h: Likewise.
37338         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
37339         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
37341 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
37343         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
37344         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
37346 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
37348         [BZ #12492]
37349         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
37350         mprotect making __stack_prot writable.
37352 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
37353             Joseph Myers  <joseph@codesourcery.com>
37355         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
37356         as being properly aligned.
37358 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
37360         * dlfcn/modstatic5.c: New file.
37361         * dlfcn/tststatic5.c: New file.
37362         * dlfcn/Makefile (tests): Add tststatic5.
37363         (tests-static): Likewise.
37364         (modules-names): Add modstatic5.
37365         (tststatic5-ENV): New variable.
37366         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
37368         [BZ #15022]
37369         * elf/dl-support.c (_dl_main_map): New variable.
37370         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
37371         (_dl_nns, _dl_load_adds): Set to 1.
37372         (_dl_initial_searchlist): Refer to _dl_main_map.
37373         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
37374         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
37375         call to _dl_get_origin.
37376         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
37377         around call_map.
37378         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
37379         * dlfcn/modstatic3.c: New file.
37380         * dlfcn/tststatic3.c: New file.
37381         * dlfcn/tststatic4.c: New file.
37382         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
37383         (tests-static): Likewise.
37384         (modules-names): Add modstatic3.
37385         (tststatic3-ENV, tststatic4-ENV): New variables.
37386         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
37387         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
37389 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
37391         * configure.in (CC): Require GCC version 4.4 or later.
37392         * configure: Regenerated.
37393         * manual/install.texi (Tools for Compilation): Update GCC version
37394         requirement.
37395         * INSTALL: Regenerated.
37397 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37399         [BZ #15674]
37400         * string/test-memcmp.c (check2): New.
37401         (main): Call check2.
37403         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
37405 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
37407         [BZ #15022]
37408         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
37409         over to...
37410         (dl_open_worker) [!SHARED]: ... here.
37412 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37414         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
37416 2013-06-25  Richard Henderson  <rth@redhat.com>
37418         * locale/programs/locarchive.c: Include <libc-internal.h>
37420 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
37422         * manual/texinfo.tex: Update to version 2013-06-21.17, with
37423         trailing whitespace removed.
37425 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37427         [BZ #10283]
37428         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
37429         * locale/programs/locarchive.c: Include libc-mmap.h.
37430         (prepare_address_space): Take two new outputs (the mmap base and len).
37431         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
37432         values.
37433         (create_archive): Declare new mmap base and len values for
37434         prepare_address_space, and store the result in ah.
37435         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
37436         (enlarge_archive): If ah->mmap_base is not NULL, use that and
37437         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
37438         Declare new mmap base and len values for
37439         prepare_address_space, and store the result in new_ah.
37440         (open_archive): Declare new mmap base and len values for
37441         prepare_address_space, and store the result in ah.
37442         (close_archive): If ah->mmap_base is not NULL, use that and
37443         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
37444         * sysdeps/generic/libc-mmap.h: New file.
37446 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37448         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
37449         (ALIGN_UP): Likewise.
37450         (PTR_ALIGN_DOWN): Likewise.
37451         (PTR_ALIGN_UP): Likewise.
37453 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37455         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
37456         entry mapped to PPC_PLATFORM_POWER8.
37457         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
37458         POWER8.
37459         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
37460         (_dl_string_platform): Add case for exporting platform position for
37461         POWER8.
37462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
37463         search path to sysdeps/powerpc/powerpc32/power8 directory.
37464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
37465         search path to sysdeps/powerpc/powerpc64/power8 directory.
37466         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
37467         power7 directories.
37468         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
37469         power7 directories.
37471 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37473         * INSTALL: Regenerate.
37475         * nscd/connections.c (nscd_init): Fix comment.
37477 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
37479         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
37481         [BZ #15667]
37482         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
37483         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
37485 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37487         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
37488         DL_DST_REQ_STATIC.
37489         (DL_DST_REQ_STATIC): Remove macro.
37491 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
37493         [BZ #7006]
37494         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
37495         with a shift of 0 bits.
37497 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37499         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
37500         $(tststatic-ENV).
37502 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37504         [BZ #15655]
37505         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
37507 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37509         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
37510         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
37511         accepts -fno-tree-loop-distribute-patterns.
37512         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
37513         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
37514         recursive call.
37515         * string/memset.c (memset): Likewise.
37516         * string/test-memmove.c (simple_memmove): Disable loop transformation
37517         to library calls.
37518         * string/test-memset.c (simple_memset): Likewise.
37519         * benchtests/bench-memmove.c (simple_memmove): Likewise.
37520         * benchtests/bench-memset.c (simple_memset): Likewise.
37521         * configure: Regenerated.
37523 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
37525         * math/test-misc.c (main): Ignore fesetround failure when failures
37526         of subsequent rounding tests would be ignored.
37528         [BZ #15654]
37529         * math/fedisblxcpt.c (fedisableexcept): Return 0.
37530         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
37531         * math/fegetenv.c (__fegetenv): Return 0.
37532         * math/fegetexcept.c (fegetexcept): Return 0.
37533         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
37534         FE_TONEAREST.
37535         * math/feholdexcpt.c (feholdexcept): Return 0.
37536         * math/fesetenv.c (__fesetenv): Return 0.
37537         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
37538         argument FE_TONEAREST.
37539         * math/feupdateenv.c (__feupdateenv): Return 0.
37540         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
37542 2013-06-18  Roland McGrath  <roland@hack.frob.com>
37544         * elf/rtld-Rules (rtld-compile-command.S): New variable.
37545         (rtld-compile-command.s, rtld-compile-command.c): New variables.
37546         ($(objpfx)rtld-%.os rules): Use them.
37548 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37550         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
37551         fields.
37553 2013-06-17  Roland McGrath  <roland@hack.frob.com>
37555         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
37556         length of target pattern, then descending length of dependency pattern.
37557         * configure.in (AWK): Require gawk 3.1.2 or newer.
37558         * manual/install.texi (Tools for Compilation): Say that we do.
37559         * configure: Regenerated.
37561         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
37562         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
37563         * scripts/sysd-rules.awk: ... this new script.
37564         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
37565         than a glob-style pattern.
37567 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
37569         * math/test-misc.c (main): Do not treat incorrectly rounded
37570         conversions as failure unless ROUNDING_TESTS passes.
37572 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
37574         [BZ #15631]
37575         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
37576         restore exception state around main square root computation, then
37577         check for inexactness explicitly.
37579         * math/libm-test.inc (fma_test_data): Add another test.
37581 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37583         * manual/threads.texi (Non-POSIX Extensions): New document
37584         node.  Document pthread_getattr_default_np and
37585         pthread_setattr_default_np.
37587         * Versions.def (libpthread): Add GLIBC_2.18.
37588         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
37589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37590         Likewise.
37591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37592         Likewise.
37593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37594         Likewise.
37595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37596         Likewise.
37597         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
37598         Likewise.
37599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37600         Likewise.
37601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37602         Likewise.
37603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37604         Likewise.
37605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37606         Likewise.
37608 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37610         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37611         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
37613 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37614             H.J. Lu  <hjl.tools@gmail.com>
37616         [BZ #15627]
37617         * sysdeps/x86_64/rtld-memset.c: Remove file.
37618         * sysdeps/x86_64/rtld-memset.S: New file.
37620 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
37622         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
37623         (test_in_one_mode): Take arguments for whether the rounding mode
37624         is supported for each floating-point type.
37625         (do_test): Pass new arguments to test_in_one_mode using
37626         ROUNDING_TESTS.
37628 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37630         * posix/tst-waitid.c (do_test): Distinguish different instances of
37631         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
37632         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
37633         before entering the kernel for waitpid.
37635 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37637         * NEWS: Fix note on clock function precision.  Text by Roland
37638         McGrath.
37640 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37642         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
37643         it into place only when and if the sanity check passes.
37645 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
37647         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
37648         output for whether conversion result is exact.  Take argument
37649         indicating whether type is IBM long double.
37650         (round_for_all): Change need_exact field to ibm_ld.
37651         * stdlib/tst-strtod-round.c (struct exactness): New type.
37652         (struct test): Change bool ld_ok field to struct exactness exact.
37653         (TEST): Update all definitions for change to field.
37654         (tests): Regenerate array contents.
37655         (test_in_one_mode): Take pointer to new field instead of old ld_ok
37656         field value.  Check for IBM long double here.
37657         (do_test): Update calls to test_in_one_mode.
37659 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37661         [BZ #12515]
37662         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
37663         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
37665 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37667         [BZ #15605]
37668         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
37669         generated by the compiler on loop optimizations.
37670         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
37671         general definitions.
37673 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
37675         * math/bug-nextafter.c: Include <math-tests.h>.
37676         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37677         the relevant type.
37678         * math/bug-nexttoward.c: Include <math-tests.h>.
37679         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37680         the relevant type.
37681         * math/test-misc.c: Include <math-tests.h>.
37682         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37683         the relevant type.
37685 2013-06-12  Andreas Jaeger  <aj@suse.de>
37687         * po/ia.po: Update Interlingua translation from translation
37688         project.
37690 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37692         * include/fenv.h: Include stdbool.h.
37693         (struct rm_ctx): New structure.
37694         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
37695         Define macro.
37696         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
37697         (SET_RESTORE_ROUNDF): Likewise.
37698         (SET_RESTORE_ROUNDL): Likewise.
37699         (SET_RESTORE_ROUND_NOEX): Likewise.
37700         (SET_RESTORE_ROUND_NOEXF): Likewise.
37701         (SET_RESTORE_ROUND_NOEXL): Likewise.
37702         (SET_RESTORE_ROUND_53BIT): Likewise.
37703         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
37704         (libc_feresetround_noexf_ctx): Likewise.
37705         (libc_feresetround_noexl_ctx): Likewise.
37706         (libc_feholdsetround_53bit_ctx): Likewise.
37707         (libc_feresetround_53bit_ctx): Likewise.
37708         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
37709         (libc_feholdexcept_setround_sse_ctx): New function.
37710         (libc_fesetenv_sse_ctx): Likewise.
37711         (libc_feupdateenv_sse_ctx): Likewise.
37712         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
37713         (libc_feholdexcept_setround_387_ctx): Likewise.
37714         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
37715         (libc_feholdsetround_387_prec_ctx): Likewise.
37716         (libc_feholdsetround_387_ctx): Likewise.
37717         (libc_feholdsetround_387_53bit_ctx): Likewise.
37718         (libc_feholdsetround_sse_ctx): Likewise.
37719         (libc_feresetround_sse_ctx): Likewise.
37720         (libc_feresetround_387_ctx): Likewise.
37721         (libc_feupdateenv_387_ctx): Likewise.
37722         (libc_feholdexcept_setroundf_ctx): Define macro.
37723         (libc_fesetenvf_ctx): Likewise.
37724         (libc_feupdateenvf_ctx): Likewise.
37725         (libc_feholdsetroundf_ctx): Likewise.
37726         (libc_feresetroundf_ctx): Likewise.
37727         (libc_feholdexcept_setround_ctx): Likewise.
37728         (libc_fesetenv_ctx): Likewise.
37729         (libc_feupdateenv_ctx): Likewise.
37730         (libc_feholdsetround_ctx): Likewise.
37731         (libc_feresetround_ctx): Likewise.
37732         (libc_feholdexcept_setroundl_ctx): Likewise.
37733         (libc_feupdateenvl_ctx): Likewise.
37734         (libc_feholdsetroundl_ctx): Likewise.
37735         (libc_feresetroundl_ctx): Likewise.
37736         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
37737         (libc_feresetround_53bit_ctx): Likewise.
37739 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37741         * locale/iso-639.def: Convert to UTF-8.
37743 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
37745         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
37746         (EXCEPTION_TESTS_double): Likewise.
37747         (EXCEPTION_TESTS_long_double): Likewise.
37748         (EXCEPTION_TESTS): Likewise.
37749         * math/libm-test.inc (test_exceptions): Only test exceptions if
37750         EXCEPTION_TESTS (FLOAT).
37752 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37754         * benchtests/Makefile (string-bench): Add strcpy_chk and
37755         stpcpy_chk.
37756         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
37757         * benchtests/bench-stpcpy_chk.c: New file.
37758         * benchtests/bench-strcpy_chk-ifunc.c: New file.
37759         * benchtests/bench-strcpy_chk.c: New file.
37760         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
37761         code.
37762         (do_test): Likewise.
37764 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37766         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
37767         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
37768         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
37769         with tabs where appropriate.
37770         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
37771         dl-procinfo.h.
37772         [PPC_PLATFORM_PPC440]: Likewise.
37773         [PPC_PLATFORM_PPC464]: Likewise.
37774         [PPC_PLATFORM_PPC476]: Likewise.
37775         (_dl_string_platform): Add support for detecting ppc405, ppc440,
37776         ppc464, and ppc476 platform strings merging from ports/
37777         dl-procinfo.h.
37779 2013-06-11  Andreas Schwab  <schwab@suse.de>
37781         [BZ #14991]
37782         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
37783         (from_ucs4_idx): Regenerate.
37784         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
37785         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
37786         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
37787         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
37788         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
37789         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
37790         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
37791         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
37792         from FROM_LOOP and TO_LOOP specific macros.
37793         (BODY): Handle combining characters.
37794         * iconvdata/BIG5HKSCS.irreversible: Update.
37795         * iconvdata/BIG5HKSCS.precomposed: New file.
37796         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
37797         characters.
37798         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
37800 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37802         * include/sys/time.h: Fix indentation and add copyright header.
37804         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
37805         (do_test): Likewise.
37806         * string/test-memchr.c (do_one_test): Likewise.
37807         (do_test): Likewise.
37808         * string/test-memcmp.c (do_one_test): Likewise.
37809         (do_test): Likewise.
37810         * string/test-memcpy.c (do_one_test): Likewise.
37811         (do_test): Likewise.
37812         * string/test-memmem.c (do_one_test): Likewise.
37813         (do_test): Likewise.
37814         (do_random_tests): Likewise.
37815         * string/test-memmove.c (do_one_test): Likewise.
37816         (do_test): Likewise.
37817         * string/test-memset.c (do_one_test): Likewise.
37818         (do_test): Likewise.
37819         * string/test-rawmemchr.c (do_one_test): Likewise.
37820         (do_test): Likewise.
37821         * string/test-strcasecmp.c (do_one_test): Likewise.
37822         (do_test): Likewise.
37823         * string/test-strcasestr.c (do_one_test): Likewise.
37824         (do_test): Likewise.
37825         * string/test-strcat.c (do_one_test): Likewise.
37826         (do_test): Likewise.
37827         * string/test-strchr.c (do_one_test): Likewise.
37828         (do_test): Likewise.
37829         * string/test-strcmp.c (do_one_test): Likewise.
37830         (do_test): Likewise.
37831         * string/test-strcpy.c (do_one_test): Likewise.
37832         (do_test): Likewise.
37833         * string/test-string.h: Likewise.
37834         (test_init): Likewise.
37835         * string/test-strlen.c (do_one_test): Likewise.
37836         (do_test): Likewise.
37837         * string/test-strncasecmp.c (do_one_test): Likewise.
37838         (do_test): Likewise.
37839         * string/test-strncat.c (do_one_test): Likewise.
37840         (do_test): Likewise.
37841         * string/test-strncmp.c (do_one_test): Likewise.
37842         (do_test_limit): Likewise.
37843         (do_test): Likewise.
37844         * string/test-strncpy.c (do_one_test): Likewise.
37845         (do_test): Likewise.
37846         * string/test-strnlen.c (do_one_test): Likewise.
37847         (do_test): Likewise.
37848         * string/test-strpbrk.c (do_one_test): Likewise.
37849         (do_test): Likewise.
37850         * string/test-strrchr.c (do_one_test): Likewise.
37851         (do_test): Likewise.
37852         * string/test-strspn.c (do_one_test): Likewise.
37853         (do_test): Likewise.
37854         * string/test-strstr.c (do_one_test): Likewise.
37855         (do_test): Likewise.
37857         * benchtests/Makefile (string-bench): Add string benchmarks.
37858         * benchtests/bench-bcopy-ifunc.c: New file.
37859         * benchtests/bench-bcopy.c: New file.
37860         * benchtests/bench-bzero-ifunc.c: New file.
37861         * benchtests/bench-bzero.c: New file.
37862         * benchtests/bench-memccpy-ifunc.c: New file.
37863         * benchtests/bench-memccpy.c: New file.
37864         * benchtests/bench-memchr-ifunc.c: New file.
37865         * benchtests/bench-memchr.c: New file.
37866         * benchtests/bench-memcmp-ifunc.c: New file.
37867         * benchtests/bench-memcmp.c: New file.
37868         * benchtests/bench-memmem-ifunc.c: New file.
37869         * benchtests/bench-memmem.c: New file.
37870         * benchtests/bench-memmove-ifunc.c: New file.
37871         * benchtests/bench-memmove.c: New file.
37872         * benchtests/bench-mempcpy-ifunc.c: New file.
37873         * benchtests/bench-mempcpy.c: New file.
37874         * benchtests/bench-memset-ifunc.c: New file.
37875         * benchtests/bench-memset.c: New file.
37876         * benchtests/bench-rawmemchr-ifunc.c: New file.
37877         * benchtests/bench-rawmemchr.c: New file.
37878         * benchtests/bench-stpcpy-ifunc.c: New file.
37879         * benchtests/bench-stpcpy.c: New file.
37880         * benchtests/bench-stpncpy-ifunc.c: New file.
37881         * benchtests/bench-stpncpy.c: New file.
37882         * benchtests/bench-strcasecmp-ifunc.c: New file.
37883         * benchtests/bench-strcasecmp.c: New file.
37884         * benchtests/bench-strcasestr-ifunc.c: New file.
37885         * benchtests/bench-strcasestr.c: New file.
37886         * benchtests/bench-strcat-ifunc.c: New file.
37887         * benchtests/bench-strcat.c: New file.
37888         * benchtests/bench-strchr-ifunc.c: New file.
37889         * benchtests/bench-strchr.c: New file.
37890         * benchtests/bench-strchrnul-ifunc.c: New file.
37891         * benchtests/bench-strchrnul.c: New file.
37892         * benchtests/bench-strcmp-ifunc.c: New file.
37893         * benchtests/bench-strcmp.c: New file.
37894         * benchtests/bench-strcpy-ifunc.c: New file.
37895         * benchtests/bench-strcpy.c: New file.
37896         * benchtests/bench-strcspn-ifunc.c: New file.
37897         * benchtests/bench-strcspn.c: New file.
37898         * benchtests/bench-strlen-ifunc.c: New file.
37899         * benchtests/bench-strlen.c: New file.
37900         * benchtests/bench-strncasecmp-ifunc.c: New file.
37901         * benchtests/bench-strncasecmp.c: New file.
37902         * benchtests/bench-strncat-ifunc.c: New file.
37903         * benchtests/bench-strncat.c: New file.
37904         * benchtests/bench-strncmp-ifunc.c: New file.
37905         * benchtests/bench-strncmp.c: New file.
37906         * benchtests/bench-strncpy-ifunc.c: New file.
37907         * benchtests/bench-strncpy.c: New file.
37908         * benchtests/bench-strnlen-ifunc.c: New file.
37909         * benchtests/bench-strnlen.c: New file.
37910         * benchtests/bench-strpbrk-ifunc.c: New file.
37911         * benchtests/bench-strpbrk.c: New file.
37912         * benchtests/bench-strrchr-ifunc.c: New file.
37913         * benchtests/bench-strrchr.c: New file.
37914         * benchtests/bench-strspn-ifunc.c: New file.
37915         * benchtests/bench-strspn.c: New file.
37916         * benchtests/bench-strstr-ifunc.c: New file.
37917         * benchtests/bench-strstr.c: New file.
37919         * benchtests/Makefile: Disable parallel execution of targets.
37920         (string-bench): Add memcpy.
37921         (benchset): New variable to store a list of benchmark sets.
37922         (bench-func): Renamed from bench.
37923         (bench-set): New target.
37924         (bench): Depend on bench-func and bench-set.
37925         * benchtests/README: Add section on benchmark sets.
37926         * benchtests/bench-memcpy-ifunc.c: New file.
37927         * benchtests/bench-memcpy.c: New file.
37928         * benchtests/bench-string.h: New file.
37930 2013-06-11  Andreas Schwab  <schwab@suse.de>
37932         [BZ #15577]
37933         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
37934         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
37935         values in the triple.
37936         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
37937         terminator in the group key.
37939 2013-06-11  Andreas Jaeger  <aj@suse.de>
37941         * po/zh_TW.po: Update Chinese (traditional) translation from
37942         translation project.
37944 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37946         * include/time.h (__clock_gettime): Add libc_hidden_proto.
37947         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
37948         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
37949         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37950         (clock_getcpuclockid): Likewise.
37951         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
37952         Add weak_alias and libc_hidden_def.
37953         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
37954         * rt/clock_gettime.c (clock_gettime): Rename to
37955         __clock_gettime.  Add weak_alias and libc_hidden_def.
37956         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
37957         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
37958         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
37959         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
37960         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
37961         Likewise.
37962         * rt/clock_settime.c (clock_settime): Rename to
37963         __clock_settime.  Add weak_alias and libc_hidden_def.
37964         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
37966 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
37968         * mach/err_boot.sub: Remove trailing whitespace.
37969         * mach/err_ipc.sub: Likewise.
37970         * mach/err_mach.sub: Likewise.
37972         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
37973         (ROUNDING_TESTS_double): Likewise.
37974         (ROUNDING_TESTS_long_double): Likewise.
37975         (ROUNDING_TESTS): Likewise.
37976         * math/libm-test.inc: Include <math-tests.h>.
37977         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
37978         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37979         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37980         (IF_ROUND_INIT_FE_UPWARD): Likewise.
37982 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37984         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
37985         of assigning.
37987 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
37989         * sysdeps/gnu/errlist.awk: Do not generate space at end of
37990         otherwise empty TRANS lines.
37991         * sysdeps/gnu/errlist.c: Regenerated.
37993         * catgets/gencat.c (error_print): Use (void) in function
37994         definition.
37995         * crypt/crypt_util.c (__init_des): Likewise.
37996         * crypt/speeds.c (Stop): Likewise.
37997         (main): Likewise.
37998         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
37999         * inet/ruserpass.c (token): Likewise.
38000         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
38001         * intl/localealias.c (extend_alias_table): Likewise.
38002         * intl/plural-exp.c (init_germanic_plural): Likewise.
38003         * libio/fcloseall.c (__fcloseall): Likewise.
38004         * libio/genops.c (_IO_flush_all): Likewise.
38005         (_IO_flush_all_linebuffered): Likewise.
38006         (_IO_cleanup): Likewise.
38007         (_IO_iter_begin): Likewise.
38008         (_IO_iter_end): Likewise.
38009         (_IO_list_lock): Likewise.
38010         (_IO_list_unlock): Likewise.
38011         (_IO_list_resetlock): Likewise.
38012         * libio/getchar.c (getchar): Likewise.
38013         * libio/getchar_u.c (getchar_unlocked): Likewise.
38014         * libio/getwchar.c (getwchar): Likewise.
38015         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
38016         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
38017         * login/getpt.c (__getpt): Likewise.
38018         * login/tst-utmp.c (main): Likewise.
38019         * malloc/hooks.c (__malloc_check_init): Likewise.
38020         * malloc/malloc.c (__malloc_stats): Likewise.
38021         * malloc/mtrace.c (tr_break): Likewise.
38022         (mtrace): Likewise.
38023         (muntrace): Likewise.
38024         * misc/fstab.c (endfsent): Likewise.
38025         * misc/getclktck.c (__getclktck): Likewise.
38026         * misc/getdtsz.c (__getdtablesize): Likewise.
38027         * misc/gethostid.c (gethostid): Likewise.
38028         * misc/getpagesize.c (__getpagesize): Likewise.
38029         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
38030         (__get_nprocs): Likewise.
38031         (__get_phys_pages): Likewise.
38032         (__get_avphys_pages): Likewise.
38033         * misc/getttyent.c (getttyent): Likewise.
38034         (setttyent): Likewise.
38035         (endttyent): Likewise.
38036         * misc/getusershell.c (getusershell): Likewise.
38037         (endusershell): Likewise.
38038         (setusershell): Likewise.
38039         (initshells): Likewise.
38040         * misc/hsearch.c (__hdestroy): Likewise.
38041         * misc/sync.c (sync): Likewise.
38042         * misc/syslog.c (closelog_internal): Likewise.
38043         (closelog): Likewise.
38044         * misc/ttyslot.c (ttyslot): Likewise.
38045         * misc/vhangup.c (vhangup): Likewise.
38046         * posix/fork.c (__fork): Likewise.
38047         * posix/getegid.c (__getegid): Likewise.
38048         * posix/geteuid.c (__geteuid): Likewise.
38049         * posix/getgid.c (__getgid): Likewise.
38050         * posix/getpid.c (__getpid): Likewise.
38051         * posix/getppid.c (__getppid): Likewise.
38052         * posix/getuid.c (__getuid): Likewise.
38053         * posix/pause.c (pause): Likewise.
38054         * posix/setpgrp.c (setpgrp): Likewise.
38055         * posix/setsid.c (__setsid): Likewise.
38056         * posix/test-vfork.c (noop): Likewise.
38057         * resolv/gethnamaddr.c (_endhtent): Likewise.
38058         (_gethtent): Likewise.
38059         (ht_endhostent): Likewise.
38060         (gethostent): Likewise.
38061         (dns_service): Likewise.
38062         * stdlib/drand48.c (drand48): Likewise.
38063         * stdlib/lrand48.c (lrand48): Likewise.
38064         * stdlib/mrand48.c (mrand48): Likewise.
38065         * stdlib/rand.c (rand): Likewise.
38066         * stdlib/random.c (__random): Likewise.
38067         * stdlib/setenv.c (clearenv): Likewise.
38068         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
38069         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
38070         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
38071         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
38072         (__get_nprocs): Likewise.
38073         (__get_phys_pages): Likewise.
38074         (__get_avphys_pages): Likewise.
38075         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
38076         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
38077         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
38078         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
38079         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
38080         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
38081         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
38082         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
38083         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
38084         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
38085         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
38086         * sysdeps/mach/hurd/sync.c (sync): Likewise.
38087         * sysdeps/posix/clock.c (clock): Likewise.
38088         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
38089         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
38090         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
38091         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
38092         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
38093         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
38094         (__get_nprocs_conf): Likewise.
38095         (__get_phys_pages): Likewise.
38096         (__get_avphys_pages): Likewise.
38097         * time/clock.c (clock): Likewise.
38098         * time/tzset.c (__tzname_max): Likewise.
38100 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
38102         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
38103         (__bswap_32): Do not use "register".
38104         * crypt/crypt.c (_ufc_doit_r): Likewise.
38105         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38106         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38107         * gmon/gmon.c (__monstartup): Likewise.
38108         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
38109         * hurd/hurdmalloc.c (more_memory): Likewise.
38110         (malloc): Likewise.
38111         (free): Likewise.
38112         (realloc): Likewise.
38113         (malloc_fork_prepare): Likewise.
38114         (malloc_fork_parent): Likewise.
38115         (malloc_fork_child): Likewise.
38116         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
38117         (_svcauth_des): Likewise.
38118         * inet/inet_lnaof.c (inet_lnaof): Likewise.
38119         * inet/inet_net.c (inet_network): Likewise.
38120         * inet/inet_netof.c (inet_netof): Likewise.
38121         * inet/rcmd.c (__validuser2_sa): Likewise.
38122         * io/fts.c (fts_open): Likewise.
38123         (fts_load): Likewise.
38124         (fts_close): Likewise.
38125         (fts_read): Likewise.
38126         (fts_children): Likewise.
38127         (fts_build): Likewise.
38128         (fts_stat): Likewise.
38129         (fts_sort): Likewise.
38130         (fts_alloc): Likewise.
38131         (fts_lfree): Likewise.
38132         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
38133         (_IO_file_xsgetn): Likewise.
38134         (_IO_file_xsgetn_mmap): Likewise.
38135         * libio/iofopncook.c (_IO_cookie_read): Likewise.
38136         (_IO_cookie_write): Likewise.
38137         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
38138         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
38139         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
38140         * malloc/obstack.c (_obstack_begin): Likewise.
38141         (_obstack_begin_1): Likewise.
38142         (_obstack_newchunk): Likewise.
38143         (_obstack_allocated_p): Likewise.
38144         (obstack_free): Likewise.
38145         (_obstack_memory_used): Likewise.
38146         * misc/getttyent.c (getttynam): Likewise.
38147         (getttyent): Likewise.
38148         (skip): Likewise.
38149         (value): Likewise.
38150         * misc/getusershell.c (initshells): Likewise.
38151         * misc/syslog.c (__vsyslog_chk): Likewise.
38152         * misc/ttyslot.c (ttyslot): Likewise.
38153         * nis/nis_hash.c (__nis_hash): Likewise.
38154         * posix/fnmatch_loop.c (FCT): Likewise.
38155         * posix/getconf.c (print_all): Likewise.
38156         (main): Likewise.
38157         * posix/getopt.c (exchange): Likewise.
38158         * posix/glob.c (globfree): Likewise.
38159         (prefix_array): Likewise.
38160         (__glob_pattern_type): Likewise.
38161         * resolv/arpa/nameser.h (NS_GET16): Likewise.
38162         (NS_GET32): Likewise.
38163         (NS_PUT16): Likewise.
38164         (NS_PUT32): Likewise.
38165         * resolv/gethnamaddr.c (getanswer): Likewise.
38166         (gethostbyname2): Likewise.
38167         (gethostbyaddr): Likewise.
38168         (_gethtent): Likewise.
38169         (_gethtbyname2): Likewise.
38170         (_gethtbyaddr): Likewise.
38171         * resolv/ns_print.c (dst_s_get_int16): Likewise.
38172         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38173         * resolv/res_init.c (__res_vinit): Likewise.
38174         (net_mask): Likewise.
38175         * resolv/res_mkquery.c (outchar): Likewise.
38176         (PRINT): Likewise.
38177         * stdio-common/printf_fp.c (outchar): Likewise.
38178         (PRINT): Likewise.
38179         * stdio-common/printf_fphex.c (outchar): Likewise.
38180         (PRINT): Likewise.
38181         * stdio-common/printf_size.c (outchar): Likewise.
38182         (PRINT): Likewise.
38183         * stdio-common/test_rdwr.c (main): Likewise.
38184         * stdio-common/tfformat.c (matches): Likewise.
38185         * stdio-common/vfprintf.c (outchar): Likewise.
38186         (printf_unknown): Likewise.
38187         (buffered_vfprintf): Likewise.
38188         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38189         * stdio-common/xbug.c (AppendToBuffer): Likewise.
38190         (ReadFile): Likewise.
38191         * stdlib/qsort.c (SWAP): Likewise.
38192         (_quicksort): Likewise.
38193         * stdlib/setenv.c (__add_to_environ): Likewise.
38194         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38195         * stdlib/strtol_l.c (__strtol_l): Likewise.
38196         * stdlib/tst-strtod.c (main): Likewise.
38197         * stdlib/tst-strtol.c (main): Likewise.
38198         * stdlib/tst-strtoll.c (main): Likewise.
38199         * string/bits/string2.h (__strcmp_cc): Likewise.
38200         (__strcmp_cg): Likewise.
38201         (__strcspn_c1): Likewise.
38202         (__strcspn_c2): Likewise.
38203         (__strcspn_c3): Likewise.
38204         (__strspn_c1): Likewise.
38205         (__strspn_c2): Likewise.
38206         (__strspn_c3): Likewise.
38207         (__strsep_1c): Likewise.
38208         (__strsep_2c): Likewise.
38209         (__strsep_3c): Likewise.
38210         * string/memccpy.c (__memccpy): Likewise.
38211         * string/stpcpy.c (__stpcpy): Likewise.
38212         * string/strcmp.c (strcmp): Likewise.
38213         * string/strrchr.c (strrchr): Likewise.
38214         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
38215         Likewise.
38216         * sysdeps/mach/hurd/getcwd.c
38217         (_hurd_canonicalize_directory_name_internal): Likewise.
38218         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
38219         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
38220         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
38221         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
38222         Likewise, in both definitions.
38223         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
38224         definitions.
38225         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
38226         64] (__bswap_64): Likewise.
38227         * time/test_time.c (main): Likewise.
38228         * time/tzfile.c (__tzfile_read): Likewise.
38229         (__tzfile_compute): Likewise.
38230         * time/tzset.c (__tzset_parse_tz): Likewise.
38231         (tzset_internal): Likewise.
38232         (compute_change): Likewise.
38233         * wcsmbs/wcscat.c (__wcscat): Likewise.
38234         * wcsmbs/wcschr.c (wcschr): Likewise.
38235         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
38236         * wcsmbs/wcscspn.c (wcscspn): Likewise.
38237         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
38238         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
38239         * wcsmbs/wcsspn.c (wcsspn): Likewise.
38240         * wcsmbs/wcsstr.c (wcsstr): Likewise.
38241         * wcsmbs/wmemchr.c (wmemchr): Likewise.
38242         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38243         * wcsmbs/wmemset.c (wmemset): Likewise.
38245 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
38247         * scripts/config.guess: Update to version 2013-05-16.
38248         * scripts/config.sub: Update to version 2013-04-24.
38249         * scripts/install-sh: Update to version 2011-11-20.07.
38250         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
38251         * scripts/move-if-change: Update to version 2012-01-06 07:23.
38253 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
38255         * debug/fgetws_u_chk.c: Fix leading whitespaces.
38256         * elf/sln.c: Likewise.
38257         * hurd/hurd/ioctl.h: Likewise.
38258         * hurd/hurdmalloc.c: Likewise.
38259         * hurd/xattr.c: Likewise.
38260         * include/shlib-compat.h: Likewise.
38261         * inet/ruserpass.c: Likewise.
38262         * libio/iofgets_u.c: Likewise.
38263         * libio/iofgetws_u.c: Likewise.
38264         * locale/programs/ld-identification.c: Likewise.
38265         * locale/programs/ld-time.c: Likewise.
38266         * mach/msg-destroy.c: Likewise.
38267         * nss/nss_files/files-netgrp.c: Likewise.
38268         * resolv/res_data.c: Likewise.
38269         * soft-fp/op-1.h: Likewise.
38270         * soft-fp/op-2.h: Likewise.
38271         * soft-fp/op-4.h: Likewise.
38272         * soft-fp/op-common.h: Likewise.
38273         * stdio-common/printf_fphex.c: Likewise.
38274         * stdlib/strtod_l.c: Likewise.
38275         * sunrpc/rpc/clnt.h: Likewise.
38276         * sysdeps/generic/framestate.c: Likewise.
38277         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38278         * sysdeps/i386/bsd-setjmp.S: Likewise.
38279         * sysdeps/i386/__longjmp.S: Likewise.
38280         * sysdeps/i386/setjmp.S: Likewise.
38281         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38282         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38283         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38284         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38285         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38286         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38287         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38288         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38289         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38290         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38291         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38292         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38293         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38294         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38295         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38296         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38297         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38298         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
38299         * sysdeps/ieee754/support.c: Likewise.
38300         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38301         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
38302         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
38303         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
38304         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
38305         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
38306         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
38307         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
38308         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
38309         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
38310         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
38311         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
38312         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
38313         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
38314         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
38315         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
38316         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38319 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
38321         * posix/transbug.c: Remove executable mode.
38323 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
38325         * crypt/speeds.c: Remove trailing whitespace.
38326         * dlfcn/default.c: Likewise.
38327         * elf/ifuncdep2.c: Likewise.
38328         * elf/ifuncmain1.c: Likewise.
38329         * elf/ifuncmain1vis.c: Likewise.
38330         * elf/testobj.h: Likewise.
38331         * elf/tst-stackguard1.c: Likewise.
38332         * gmon/sys/gmon.h: Likewise.
38333         * hurd/hurdmsg.c: Likewise.
38334         * hurd/new-fd.c: Likewise.
38335         * hurd/ports-get.c: Likewise.
38336         * iconvdata/ibm1008_420.c: Likewise.
38337         * inet/tst-getni1.c: Likewise.
38338         * inet/tst-getni2.c: Likewise.
38339         * libio/ioungetc.c: Likewise.
38340         * libio/wfiledoalloc.c: Likewise.
38341         * manual/libm-err-tab.pl: Likewise.
38342         * math/w_dremf.c: Likewise.
38343         * misc/ftruncate.c: Likewise.
38344         * posix/bug-glob2.c: Likewise.
38345         * posix/tst-pcre.c: Likewise.
38346         * posix/wait4.c: Likewise.
38347         * resolv/README: Likewise.
38348         * resolv/res_debug.h: Likewise.
38349         * resolv/tst-inet_ntop.c: Likewise.
38350         * setjmp/bug269-setjmp.c: Likewise.
38351         * soft-fp/extended.h: Likewise.
38352         * soft-fp/op-1.h: Likewise.
38353         * soft-fp/op-2.h: Likewise.
38354         * soft-fp/op-4.h: Likewise.
38355         * soft-fp/op-8.h: Likewise.
38356         * soft-fp/testit.c: Likewise.
38357         * stdio-common/bug16.c: Likewise.
38358         * stdlib/random.c: Likewise.
38359         * sunrpc/rpcsvc/rquota.x: Likewise.
38360         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
38361         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38362         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38363         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38364         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38365         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38366         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38367         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38368         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38369         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38370         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38371         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38372         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38373         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38374         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38375         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38376         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38377         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38378         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38379         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38380         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38381         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38382         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
38383         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38384         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38385         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38386         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38387         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38388         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38389         * sysdeps/ieee754/s_lib_version.c: Likewise.
38390         * sysdeps/mach/hurd/check_fds.c: Likewise.
38391         * sysdeps/mach/hurd/getsockname.c: Likewise.
38392         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
38393         * sysdeps/mach/hurd/recvfrom.c: Likewise.
38394         * sysdeps/powerpc/bits/link.h: Likewise.
38395         * sysdeps/powerpc/dl-procinfo.c: Likewise.
38396         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
38397         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
38398         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
38399         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38400         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38401         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
38402         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38403         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
38404         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38405         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38406         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38407         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
38408         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38409         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38410         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38411         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38412         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38413         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38414         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38415         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38416         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
38417         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38418         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38419         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
38420         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38421         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38422         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38423         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38424         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38425         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38426         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38427         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38428         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38429         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
38430         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38431         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
38432         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38433         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38434         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
38435         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
38436         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
38437         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
38438         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
38439         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38440         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
38441         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
38442         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38443         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
38444         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
38445         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38446         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38447         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38448         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38449         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
38450         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38451         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38452         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38453         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
38454         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38455         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
38456         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
38457         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
38458         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38459         * sysdeps/powerpc/sysdep.h: Likewise.
38460         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38461         * sysdeps/s390/s390-64/sub_n.S: Likewise.
38462         * sysdeps/sh/dl-trampoline.S: Likewise.
38463         * sysdeps/sh/memset.S: Likewise.
38464         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
38465         * sysdeps/sh/strlen.S: Likewise.
38466         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
38467         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
38468         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
38469         * sysdeps/sparc/sparc32/rem.S: Likewise.
38470         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
38471         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
38472         * sysdeps/sparc/sparc32/strchr.S: Likewise.
38473         * sysdeps/sparc/sparc32/udiv.S: Likewise.
38474         * sysdeps/sparc/sparc32/urem.S: Likewise.
38475         * sysdeps/sparc/sparc64/add_n.S: Likewise.
38476         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38477         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
38478         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
38479         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
38480         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
38481         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38482         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
38483         * sysdeps/unix/bsd/times.c: Likewise.
38484         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
38485         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
38486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38489         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
38490         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38491         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
38492         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
38493         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
38494         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
38495         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38496         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
38497         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38498         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38499         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
38500         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38501         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
38502         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
38503         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
38504         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
38505         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
38506         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38507         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
38508         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
38509         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
38510         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
38511         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38512         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
38513         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
38514         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
38515         * sysdeps/x86_64/strcspn.S: Likewise.
38517 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38519         * locale/C-translit.h: Revert #include <stdint.h> because this is a
38520         generated file.  Regenerate properly from gen-translit.pl.
38521         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
38522         locale/C-translit.h.
38524 2013-06-05  Andreas Schwab  <schwab@suse.de>
38526         [BZ #15100]
38527         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
38528         week as 6 instead of -1.
38529         * time/tst-strptime.c (day_tests): Add test case.
38531 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38533         * sysdeps/generic/math_private.h
38534         (libc_feholdexcept_setround_53bit): Replace with
38535         libc_feholdsetround_53bit.
38536         (libc_feupdateenv_53bit): Replace with
38537         libc_feresetround_53bit.
38538         (SET_RESTORE_ROUND_53BIT): Adjust.
38540 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38542         * string/test-strchrnul.c: Add copyright header.
38544         * posix/tst-getaddrinfo4.c: Increase test timeout.
38546 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
38548         [BZ #15536]
38549         * math/libm-test.inc (MAX_EXP): Remove
38550         (MIN_EXP): Define.
38551         (ulp): Use MIN_EXP - MANT_DIG.
38552         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
38554 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
38556         * po/be.po: Revert last change.
38557         * po/zh_CN.po: Likewise.
38558         * po/header.pot: Likewise.
38560 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
38562         * Makefile ($(common-objpfx)linkobj/libc.so): Define
38563         link-libc-deps to empty as target-specific variable.
38564         * Makerules (link-libc-args): New variable.
38565         (libc-for-link): Likewise.
38566         (link-libc-deps): Likewise.
38567         (lib%.so): Depend on $(link-libc-deps).  Link with
38568         $(link-libc-args).
38569         (build-module): Link with $(link-libc-args).
38570         (build-module-asneeded): Likewise.
38571         (build-module-helper-objlist): Filter out $(link-libc-deps) from
38572         list of objects.
38573         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
38574         target-specific variable.
38575         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
38576         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
38577         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
38578         libc.
38579         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
38580         libc and ld.so.
38581         ($(objpfx)libpcprofile.so): Likewise.
38582         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
38583         libc_nonshared.a.
38584         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
38585         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
38586         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
38587         $(link-libc-deps).
38588         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
38589         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
38590         * login/Makefile ($(objpfx)libutil.so): Likewise.
38591         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
38592         * math/Makefile ($(objpfx)libm.so): Likewise.
38593         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
38594         $(objpfx)libnsl.so): Define libc-for-link as target-specific
38595         variable instead of depending directly on libc.
38596         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
38597         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
38598         $(link-libc-deps).
38599         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
38600         libc.
38601         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
38602         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
38603         ($(objpfx)libanl.so): Likewise.
38604         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
38605         ld.so.
38606         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
38607         $(link-libc-deps).
38608         * sysdeps/i386/fpu/Makefile: Remove file.
38609         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
38610         ($(objpfx)libm.so): Remove dependency on ld.so.
38612 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
38614         [BZ # 15553]
38615         * nis/yp_xdr.c (XDRMAXNAME): Define.
38616         (XDRMAXRECORD): Define.
38617         (xdr_domainname): Use XDRMAXNAME.
38618         (xdr_mapname): Likewise.
38619         (xdr_peername): Likewise.
38620         (xdr_keydat): Use XDRMAXRECORD.
38621         (xdr_valdat): Likewise.
38623 2013-05-30  Jeff Law  <law@redhat.com>
38625         [BZ #14256]
38626         * manual/errno.texi (ESTALE): Update to account for more than
38627         just NFS file systems.
38628         * sysdeps/gnu/errlist.c: Regenerated.
38630 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38632         [BZ #15465]
38633         * elf/Makefile (tests): Add tst-null-argv.
38634         (modules-names):  Add tst-null-argv-lib.
38635         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
38636         (tst-null-argv-ENV): Set environment for tst-null-argv.
38637         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
38638         (RTLD_PROGNAME): New macro.
38639         * elf/tst-null-argv.c: New test case.
38640         * elf/tst-null-argv-lib.c: Library for test case.
38641         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
38642         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
38643         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
38644         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
38645         * elf/dl-init.c (call_init): Likewise.
38646         (_dl_init): Likewise.
38647         * elf/dl-load.c (print_search_path): Likewise.
38648         (_dl_map_object): Likewise.
38649         * elf/dl-lookup.c (do_lookup_x): Likewise.
38650         (add_dependency): Likewise.
38651         (_dl_lookup_symbol_x): Likewise.
38652         (_dl_debug_bindings): Likewise.
38653         * elf/dl-open.c (_dl_show_scope): Likewise.
38654         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38655         * elf/dl-version.c (match_symbol): Likewise.
38656         (_dl_check_map_versions): Likewise.
38657         * elf/rtld.c (dl_main): Likewise.
38658         (print_unresolved): Use RTLD_PROGNAME.
38659         (print_missing_version): Likewise.
38660         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
38661         (elf_machine_rela): Likewise.
38662         * sysdeps/powerpc/powerpc32/dl-machine.c
38663         (__process_machine_rela): Likewise.
38664         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38665         Likewise.
38666         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38667         Likewise.
38668         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38669         Likewise.
38670         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38671         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
38672         Likewise.
38673         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
38674         Likewise.
38675         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38677 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
38679         * po/be.po: Add descriptive title.
38680         * po/zh_CN.po: Likewise.
38681         * po/header.pot: Likewise.
38683 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
38685         * locale/programs/locarchive.c (create_archive): Inlucde fname in
38686         error message.
38687         (enlarge_archive): Likewise.
38689 2013-05-28  Ben North  <ben@redfrontdoor.org>
38691         * manual/arith.texi (frexp): It is the magnitude of the return
38692         value which lies in [0.5, 1), not the return value itself.
38694 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38698 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
38700         * stdio-common/bug26.c (main): Correct fscanf template.
38702         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
38703         declare _dl_skip_args.
38705         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
38706         Don't declare.
38708         * manual/platform.texi: Add missing @end deftypefun.
38710 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38712         [BZ #15529]
38713         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
38714         bit of mantissa of 2^16382.
38715         * math/libm-test.inc (hypot_test_data): Add more tests.
38717         * math/libm-test.inc: Add drem and pow10 to list of tested
38718         functions.
38719         (pow10_test): New function.
38720         (drem_test): Likewise.
38721         (drem_test_tonearest): Likewise.
38722         (drem_test_towardzero): Likewise.
38723         (drem_test_downward): Likewise.
38724         (drem_test_upward): Likewise.
38725         (main): Call the new functions.
38727         * math/libm-test.inc (finite_test_data): Remove.
38728         (finite_test): Run tests from isfinite_test_data.
38729         (gamma_test_data): Remove.
38730         (gamma_test): Run tests from lgamma_test_data.
38731         * sysdeps/i386/fpu/libm-test-ulps: Update.
38732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38734 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38736         * manual/platform.texi: Add PowerPC PPR function set documentation.
38737         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
38738         implementation.
38740 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
38742         * math/libm-test.inc (MAX_EXP): Define.
38743         (ULPDIFF): Define.
38744         (ulp): New function.
38745         (check_float_internal): Use ULPDIFF.
38746         (cpow_test): Disable failing test.
38747         (check_ulp): Test ulp() implemetnation.
38748         (main): Call check_ulp before starting tests.
38750 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38752         * math/gen-libm-test.pl (generate_testfile): Do not handle
38753         START_DATA and END_DATA.
38754         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
38755         END_DATA.
38756         (acos_tonearest_test_data): Likewise.
38757         (acos_towardzero_test_data): Likewise.
38758         (acos_downward_test_data): Likewise.
38759         (acos_upward_test_data): Likewise.
38760         (acosh_test_data): Likewise.
38761         (asin_test_data): Likewise.
38762         (asin_tonearest_test_data): Likewise.
38763         (asin_towardzero_test_data): Likewise.
38764         (asin_downward_test_data): Likewise.
38765         (asin_upward_test_data): Likewise.
38766         (asinh_test_data): Likewise.
38767         (atan_test_data): Likewise.
38768         (atanh_test_data): Likewise.
38769         (atan2_test_data): Likewise.
38770         (cabs_test_data): Likewise.
38771         (cacos_test_data): Likewise.
38772         (cacosh_test_data): Likewise.
38773         (carg_test_data): Likewise.
38774         (casin_test_data): Likewise.
38775         (casinh_test_data): Likewise.
38776         (catan_test_data): Likewise.
38777         (catanh_test_data): Likewise.
38778         (cbrt_test_data): Likewise.
38779         (ccos_test_data): Likewise.
38780         (ccosh_test_data): Likewise.
38781         (ceil_test_data): Likewise.
38782         (cexp_test_data): Likewise.
38783         (cimag_test_data): Likewise.
38784         (clog_test_data): Likewise.
38785         (clog10_test_data): Likewise.
38786         (conj_test_data): Likewise.
38787         (copysign_test_data): Likewise.
38788         (cos_test_data): Likewise.
38789         (cos_tonearest_test_data): Likewise.
38790         (cos_towardzero_test_data): Likewise.
38791         (cos_downward_test_data): Likewise.
38792         (cos_upward_test_data): Likewise.
38793         (cosh_test_data): Likewise.
38794         (cosh_tonearest_test_data): Likewise.
38795         (cosh_towardzero_test_data): Likewise.
38796         (cosh_downward_test_data): Likewise.
38797         (cosh_upward_test_data): Likewise.
38798         (cpow_test_data): Likewise.
38799         (cproj_test_data): Likewise.
38800         (creal_test_data): Likewise.
38801         (csin_test_data): Likewise.
38802         (csinh_test_data): Likewise.
38803         (csqrt_test_data): Likewise.
38804         (ctan_test_data): Likewise.
38805         (ctan_tonearest_test_data): Likewise.
38806         (ctan_towardzero_test_data): Likewise.
38807         (ctan_downward_test_data): Likewise.
38808         (ctan_upward_test_data): Likewise.
38809         (ctanh_test_data): Likewise.
38810         (ctanh_tonearest_test_data): Likewise.
38811         (ctanh_towardzero_test_data): Likewise.
38812         (ctanh_downward_test_data): Likewise.
38813         (ctanh_upward_test_data): Likewise.
38814         (erf_test_data): Likewise.
38815         (erfc_test_data): Likewise.
38816         (exp_test_data): Likewise.
38817         (exp_tonearest_test_data): Likewise.
38818         (exp_towardzero_test_data): Likewise.
38819         (exp_downward_test_data): Likewise.
38820         (exp_upward_test_data): Likewise.
38821         (exp10_test_data): Likewise.
38822         (exp2_test_data): Likewise.
38823         (expm1_test_data): Likewise.
38824         (fabs_test_data): Likewise.
38825         (fdim_test_data): Likewise.
38826         (finite_test_data): Likewise.
38827         (floor_test_data): Likewise.
38828         (fma_test_data): Likewise.
38829         (fma_towardzero_test_data): Likewise.
38830         (fma_downward_test_data): Likewise.
38831         (fma_upward_test_data): Likewise.
38832         (fmax_test_data): Likewise.
38833         (fmin_test_data): Likewise.
38834         (fmod_test_data): Likewise.
38835         (fpclassify_test_data): Likewise.
38836         (frexp_test_data): Likewise.
38837         (gamma_test_data): Likewise.
38838         (hypot_test_data): Likewise.
38839         (ilogb_test_data): Likewise.
38840         (isfinite_test_data): Likewise.
38841         (isgreater_test_data): Likewise.
38842         (isgreaterequal_test_data): Likewise.
38843         (isinf_test_data): Likewise.
38844         (isless_test_data): Likewise.
38845         (islessequal_test_data): Likewise.
38846         (islessgreater_test_data): Likewise.
38847         (isnan_test_data): Likewise.
38848         (isnormal_test_data): Likewise.
38849         (issignaling_test_data): Likewise.
38850         (isunordered_test_data): Likewise.
38851         (j0_test_data): Likewise.
38852         (j1_test_data): Likewise.
38853         (jn_test_data): Likewise.
38854         (ldexp_test_data): Likewise.
38855         (lgamma_test_data): Likewise.
38856         (lrint_test_data): Likewise.
38857         (lrint_tonearest_test_data): Likewise.
38858         (lrint_towardzero_test_data): Likewise.
38859         (lrint_downward_test_data): Likewise.
38860         (lrint_upward_test_data): Likewise.
38861         (llrint_test_data): Likewise.
38862         (llrint_tonearest_test_data): Likewise.
38863         (llrint_towardzero_test_data): Likewise.
38864         (llrint_downward_test_data): Likewise.
38865         (llrint_upward_test_data): Likewise.
38866         (log_test_data): Likewise.
38867         (log10_test_data): Likewise.
38868         (log1p_test_data): Likewise.
38869         (log2_test_data): Likewise.
38870         (logb_test_data): Likewise.
38871         (logb_downward_test_data): Likewise.
38872         (lround_test_data): Likewise.
38873         (llround_test_data): Likewise.
38874         (modf_test_data): Likewise.
38875         (nearbyint_test_data): Likewise.
38876         (nextafter_test_data): Likewise.
38877         (nexttoward_test_data): Likewise.
38878         (pow_test_data): Likewise.
38879         (pow_tonearest_test_data): Likewise.
38880         (pow_towardzero_test_data): Likewise.
38881         (pow_downward_test_data): Likewise.
38882         (pow_upward_test_data): Likewise.
38883         (remainder_test_data): Likewise.
38884         (remainder_tonearest_test_data): Likewise.
38885         (remainder_towardzero_test_data): Likewise.
38886         (remainder_downward_test_data): Likewise.
38887         (remainder_upward_test_data): Likewise.
38888         (remquo_test_data): Likewise.
38889         (rint_test_data): Likewise.
38890         (rint_tonearest_test_data): Likewise.
38891         (rint_towardzero_test_data): Likewise.
38892         (rint_downward_test_data): Likewise.
38893         (rint_upward_test_data): Likewise.
38894         (round_test_data): Likewise.
38895         (scalb_test_data): Likewise.
38896         (scalbn_test_data): Likewise.
38897         (scalbln_test_data): Likewise.
38898         (signbit_test_data): Likewise.
38899         (sin_test_data): Likewise.
38900         (sin_tonearest_test_data): Likewise.
38901         (sin_towardzero_test_data): Likewise.
38902         (sin_downward_test_data): Likewise.
38903         (sin_upward_test_data): Likewise.
38904         (sincos_test_data): Likewise.
38905         (sinh_test_data): Likewise.
38906         (sinh_tonearest_test_data): Likewise.
38907         (sinh_towardzero_test_data): Likewise.
38908         (sinh_downward_test_data): Likewise.
38909         (sinh_upward_test_data): Likewise.
38910         (sqrt_test_data): Likewise.
38911         (tan_test_data): Likewise.
38912         (tan_tonearest_test_data): Likewise.
38913         (tan_towardzero_test_data): Likewise.
38914         (tan_downward_test_data): Likewise.
38915         (tan_upward_test_data): Likewise.
38916         (tanh_test_data): Likewise.
38917         (tgamma_test_data): Likewise.
38918         (trunc_test_data): Likewise.
38919         (y0_test_data): Likewise.
38920         (y1_test_data): Likewise.
38921         (yn_test_data): Likewise.
38922         (significand_test_data): Likewise.
38924         * math/gen-libm-test.pl (@functions): Remove variable.
38925         (generate_testfile): Don't handle START and END lines.
38926         * math/libm-test.inc (START): New macro.
38927         (END): Likewise.
38928         (END_COMPLEX): Likewise.
38929         (acos_test): Use END macro without arguments.
38930         (acos_test_tonearest): Likewise.
38931         (acos_test_towardzero): Likewise.
38932         (acos_test_downward): Likewise.
38933         (acos_test_upward): Likewise.
38934         (acosh_test): Likewise.
38935         (asin_test): Likewise.
38936         (asin_test_tonearest): Likewise.
38937         (asin_test_towardzero): Likewise.
38938         (asin_test_downward): Likewise.
38939         (asin_test_upward): Likewise.
38940         (asinh_test): Likewise.
38941         (atan_test): Likewise.
38942         (atanh_test): Likewise.
38943         (atan2_test): Likewise.
38944         (cabs_test): Likewise.
38945         (cacos_test): Use END_COMPLEX macro without arguments.
38946         (cacosh_test): Likewise.
38947         (carg_test): Use END macro without arguments.
38948         (casin_test): Use END_COMPLEX macro without arguments.
38949         (casinh_test): Likewise.
38950         (catan_test): Likewise.
38951         (catanh_test): Likewise.
38952         (cbrt_test): Use END macro without arguments.
38953         (ccos_test): Use END_COMPLEX macro without arguments.
38954         (ccosh_test): Likewise.
38955         (ceil_test): Use END macro without arguments.
38956         (cexp_test): Use END_COMPLEX macro without arguments.
38957         (cimag_test): Use END macro without arguments.
38958         (clog_test): Use END_COMPLEX macro without arguments.
38959         (clog10_test): Likewise.
38960         (conj_test): Likewise.
38961         (copysign_test): Use END macro without arguments.
38962         (cos_test): Likewise.
38963         (cos_test_tonearest): Likewise.
38964         (cos_test_towardzero): Likewise.
38965         (cos_test_downward): Likewise.
38966         (cos_test_upward): Likewise.
38967         (cosh_test): Likewise.
38968         (cosh_test_tonearest): Likewise.
38969         (cosh_test_towardzero): Likewise.
38970         (cosh_test_downward): Likewise.
38971         (cosh_test_upward): Likewise.
38972         (cpow_test): Use END_COMPLEX macro without arguments.
38973         (cproj_test): Likewise.
38974         (creal_test): Use END macro without arguments.
38975         (csin_test): Use END_COMPLEX macro without arguments.
38976         (csinh_test): Likewise.
38977         (csqrt_test): Likewise.
38978         (ctan_test): Likewise.
38979         (ctan_test_tonearest): Likewise.
38980         (ctan_test_towardzero): Likewise.
38981         (ctan_test_downward): Likewise.
38982         (ctan_test_upward): Likewise.
38983         (ctanh_test): Likewise.
38984         (ctanh_test_tonearest): Likewise.
38985         (ctanh_test_towardzero): Likewise.
38986         (ctanh_test_downward): Likewise.
38987         (ctanh_test_upward): Likewise.
38988         (erf_test): Use END macro without arguments.
38989         (erfc_test): Likewise.
38990         (exp_test): Likewise.
38991         (exp_test_tonearest): Likewise.
38992         (exp_test_towardzero): Likewise.
38993         (exp_test_downward): Likewise.
38994         (exp_test_upward): Likewise.
38995         (exp10_test): Likewise.
38996         (exp2_test): Likewise.
38997         (expm1_test): Likewise.
38998         (fabs_test): Likewise.
38999         (fdim_test): Likewise.
39000         (finite_test): Likewise.
39001         (floor_test): Likewise.
39002         (fma_test): Likewise.
39003         (fma_test_towardzero): Likewise.
39004         (fma_test_downward): Likewise.
39005         (fma_test_upward): Likewise.
39006         (fmax_test): Likewise.
39007         (fmin_test): Likewise.
39008         (fmod_test): Likewise.
39009         (fpclassify_test): Likewise.
39010         (frexp_test): Likewise.
39011         (gamma_test): Likewise.
39012         (hypot_test): Likewise.
39013         (ilogb_test): Likewise.
39014         (isfinite_test): Likewise.
39015         (isgreater_test): Likewise.
39016         (isgreaterequal_test): Likewise.
39017         (isinf_test): Likewise.
39018         (isless_test): Likewise.
39019         (islessequal_test): Likewise.
39020         (islessgreater_test): Likewise.
39021         (isnan_test): Likewise.
39022         (isnormal_test): Likewise.
39023         (issignaling_test): Likewise.
39024         (isunordered_test): Likewise.
39025         (j0_test): Likewise.
39026         (j1_test): Likewise.
39027         (jn_test): Likewise.
39028         (ldexp_test): Likewise.
39029         (lgamma_test): Likewise.
39030         (lrint_test): Likewise.
39031         (lrint_test_tonearest): Likewise.
39032         (lrint_test_towardzero): Likewise.
39033         (lrint_test_downward): Likewise.
39034         (lrint_test_upward): Likewise.
39035         (llrint_test): Likewise.
39036         (llrint_test_tonearest): Likewise.
39037         (llrint_test_towardzero): Likewise.
39038         (llrint_test_downward): Likewise.
39039         (llrint_test_upward): Likewise.
39040         (log_test): Likewise.
39041         (log10_test): Likewise.
39042         (log1p_test): Likewise.
39043         (log2_test): Likewise.
39044         (logb_test): Likewise.
39045         (logb_test_downward): Likewise.
39046         (lround_test): Likewise.
39047         (llround_test): Likewise.
39048         (modf_test): Likewise.
39049         (nearbyint_test): Likewise.
39050         (nextafter_test): Likewise.
39051         (nexttoward_test): Likewise.
39052         (pow_test): Likewise.
39053         (pow_test_tonearest): Likewise.
39054         (pow_test_towardzero): Likewise.
39055         (pow_test_downward): Likewise.
39056         (pow_test_upward): Likewise.
39057         (remainder_test): Likewise.
39058         (remainder_test_tonearest): Likewise.
39059         (remainder_test_towardzero): Likewise.
39060         (remainder_test_downward): Likewise.
39061         (remainder_test_upward): Likewise.
39062         (remquo_test): Likewise.
39063         (rint_test): Likewise.
39064         (rint_test_tonearest): Likewise.
39065         (rint_test_towardzero): Likewise.
39066         (rint_test_downward): Likewise.
39067         (rint_test_upward): Likewise.
39068         (round_test): Likewise.
39069         (scalb_test): Likewise.
39070         (scalbn_test): Likewise.
39071         (scalbln_test): Likewise.
39072         (signbit_test): Likewise.
39073         (sin_test): Likewise.
39074         (sin_test_tonearest): Likewise.
39075         (sin_test_towardzero): Likewise.
39076         (sin_test_downward): Likewise.
39077         (sin_test_upward): Likewise.
39078         (sincos_test): Likewise.
39079         (sinh_test): Likewise.
39080         (sinh_test_tonearest): Likewise.
39081         (sinh_test_towardzero): Likewise.
39082         (sinh_test_downward): Likewise.
39083         (sinh_test_upward): Likewise.
39084         (sqrt_test): Likewise.
39085         (tan_test): Likewise.
39086         (tan_test_tonearest): Likewise.
39087         (tan_test_towardzero): Likewise.
39088         (tan_test_downward): Likewise.
39089         (tan_test_upward): Likewise.
39090         (tanh_test): Likewise.
39091         (tgamma_test): Likewise.
39092         (trunc_test): Likewise.
39093         (y0_test): Likewise.
39094         (y1_test): Likewise.
39095         (yn_test): Likewise.
39096         (significand_test): Likewise.
39098 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
39100         [BZ #15381]
39101         * libio/genops.c (_IO_no_init): Initialize wide struct info.
39103 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39105         [BZ #14894]
39106         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
39107         __ppc_mdoio and __ppc_mdoom.
39108         * manual/platform.texi: Document new functions __ppc_yield,
39109         __ppc_mdoio and __ppc_mdoom.
39111 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
39113         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
39114         (main): Mention "tls" pseudo-hwcap is legacy.
39115         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
39117 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39119         * math/gen-libm-test.pl (parse_args): Output only string of
39120         arguments as text for test name, not full call or descriptions of
39121         tests for extra outputs.
39122         (generate_testfile): Do not pass function name to parse_args.
39123         Generate this_func variable from START.
39124         * math/libm-test.inc (struct test_f_f_data): Rename test_name
39125         field to arg_str.
39126         (struct test_ff_f_data): Likewise.
39127         (test_ff_f_data_nexttoward): Likewise.
39128         (struct test_fi_f_data): Likewise.
39129         (struct test_fl_f_data): Likewise.
39130         (struct test_if_f_data): Likewise.
39131         (struct test_fff_f_data): Likewise.
39132         (struct test_c_f_data): Likewise.
39133         (struct test_f_f1_data): Likewise.  Remove field extra_name.
39134         (struct test_fF_f1_data): Likewise.
39135         (struct test_ffI_f1_data): Likewise.
39136         (struct test_c_c_data): Rename test_name field to arg_str.
39137         (struct test_cc_c_data): Likewise.
39138         (struct test_f_i_data): Likewise.
39139         (struct test_ff_i_data): Likewise.
39140         (struct test_f_l_data): Likewise.
39141         (struct test_f_L_data): Likewise.
39142         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
39143         and extra2_name.
39144         (COMMON_TEST_SETUP): New macro.
39145         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
39146         (COMMON_TEST_CLEANUP): Likewise.
39147         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
39148         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
39149         macros.
39150         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
39151         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
39152         macros.
39153         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
39154         (RUN_TEST_fff_f): Take argument string.  Call new setup and
39155         cleanup macros.
39156         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
39157         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
39158         macros.
39159         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
39160         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
39161         macros.
39162         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39163         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
39164         cleanup macros.
39165         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39166         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
39167         cleanup macros.
39168         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39169         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
39170         cleanup macros.
39171         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39172         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
39173         macros.
39174         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
39175         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
39176         macros.
39177         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
39178         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
39179         macros.
39180         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
39181         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
39182         cleanup macros.
39183         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
39184         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
39185         cleanup macros.
39186         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
39187         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
39188         macros.
39189         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
39190         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
39191         cleanup macros.
39192         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
39193         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
39194         macros.
39195         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
39196         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
39197         macros.
39198         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
39199         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
39200         cleanup macros.
39201         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
39203 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
39205         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
39206         to _sifields.sigfault.
39207         (si_addr_lsb): Define new macro.
39208         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
39209         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39210         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
39212 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
39214         [BZ #15441]
39215         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
39216         returns -1.
39217         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
39218         null return -1.
39219         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
39220         loading the domain.
39222 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39224         * math/gen-libm-test.pl (parse_args): Do not include expected
39225         result in test name.
39226         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
39227         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39228         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39229         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39230         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39233 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39235         * benchtests/Makefile: Sort function entries.
39237         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
39238         tanh, asinh, acosh, atanh.
39239         * benchtests/acos-inputs: New file.
39240         * benchtests/acosh-inputs: New file.
39241         * benchtests/asin-inputs: New file.
39242         * benchtests/asinh-inputs: New file.
39243         * benchtests/atanh-inputs: New file.
39244         * benchtests/cosh-inputs: New file.
39245         * benchtests/log-inputs: New file.
39246         * benchtests/sinh-inputs: New file.
39247         * benchtests/tanh-inputs: New file.
39249 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
39251         [BZ #15339]
39252         * posix/tst-getaddrinfo4.c: New test.
39253         * posix/Makefile (tests): Add it.
39255 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39257         [BZ #15339]
39258         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
39259         when no services were used.
39260         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
39261         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
39263 2013-05-21  Andreas Schwab  <schwab@suse.de>
39265         [BZ #15014]
39266         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
39267         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
39268         successful.
39269         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
39270         redundant variable declarations and reallocation of buffer when
39271         parsing as IPv6 address.  Always set NSS status when called from
39272         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
39273         buffer too small.  Correct computation of needed size.
39274         * nss/Makefile (tests): Add test-digits-dots.
39275         * nss/test-digits-dots.c: New test.
39277 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39279         * benchtests/Makefile: Remove instructions for adding
39280         benchmark tests.
39281         * benchtests/README: New file to explain how to execute and
39282         enhance the benchmark tests.
39284 2013-05-21  Andreas Schwab  <schwab@suse.de>
39286         [BZ #15493]
39287         * setjmp/Makefile (tests): Add tst-sigsetjmp.
39288         * setjmp/tst-sigsetjmp.c: New test.
39290 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39292         * sysdeps/x86_64/memset.S (memset): New implementation.
39293         (__bzero): Likewise.
39294         (__memset_tail): New function.
39296 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39298         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
39299         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
39300         __memcpy_sse2_unaligned ifunc selection.
39301         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39302         Add memcpy-sse2-unaligned.S.
39303         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39304         Add: __memcpy_sse2_unaligned.
39306 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
39308         [BZ #15490]
39309         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39310         math_force_eval before restoring floating-point envrionment.
39311         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
39312         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
39313         Likewise.
39314         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
39315         <math_private.h>.
39316         (__nearbyintl): Use math_force_eval before restoring
39317         floating-point environment.
39318         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
39320         * math/gen-libm-test.pl (special_functions): Remove.
39321         (parse_args): Don't handle TEST_extra.  Handle functions with no
39322         return value.
39323         * math/libm-test.inc (struct test_sincos_data): Replace with
39324         struct test_fFF_11_data.
39325         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
39326         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
39327         (sincos_test_data): Change element type to struct
39328         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
39329         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
39330         RUN_TEST_LOOP_sincos.
39331         * math/README.libm-test: Don't mention special handling of
39332         individual functions.
39333         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
39334         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39335         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39336         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39337         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39340         * math/gen-libm-test.pl (get_variable): Remove function.
39341         (parse_args): Don't show pointer parameters to call in test
39342         names.  Use "extra output N" in test names for extra outputs
39343         rather than naming variables.
39345 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
39347         [BZ #15488]
39348         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
39349         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
39350         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
39351         double tests.
39352         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
39353         disable.
39354         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
39355         check_long_double.
39357         * math/gen-libm-test.pl (@tests): Remove variable.
39358         ($count): Likewise.
39359         (new_test): Remove function.
39360         (show_exceptions): New function.
39361         (special_functions): Use show_exceptions instead of new_test.
39362         (parse_args): Likewise.
39363         (generate_testfile): Pass only function name in generated call to
39364         print_max_error or print_complex_max_error.
39365         (get_ulps): Do not handle complex tests specially.
39366         (output_test): Rename to ...
39367         (get_all_ulps_for_test): ... this.  Return a string rather than
39368         printing to a file.  Require ulps to be present.
39369         (output_ulps): Generate arrays rather than #defines.
39370         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
39371         (struct ulp_data): New type.
39372         (BUILD_COMPLEX_ULP): Remove macro.
39373         (compare_ulp_data): New function.
39374         (find_ulps): Likewise.
39375         (find_test_ulps): Likewise.
39376         (find_function_ulps): Likewise.
39377         (find_complex_function_ulps): Likewise.
39378         (print_max_error): Determine allowed ulps using
39379         find_function_ulps.
39380         (print_complex_max_error): Determine allowed ulps using
39381         find_complex_function_ulps.
39382         (check_float_internal): Determine max ulps using find_test_ulps.
39383         (check_float): Do not take max_ulp parameter.  Update call to
39384         check_float_internal.
39385         (check_complex): Likewise.
39386         (check_int): Do not take max_ulp parameter.
39387         (check_long): Likewise.
39388         (check_bool): Likewise.
39389         (check_longlong): Likewise.
39390         (struct test_f_f_data): Remove max_ulp field.
39391         (struct test_ff_f_data): Likewise.
39392         (struct test_ff_f_data_nexttoward): Likewise.
39393         (struct test_fi_f_data): Likewise.
39394         (struct test_fl_f_data): Likewise.
39395         (struct test_if_f_data): Likewise.
39396         (struct test_fff_f_data): Likewise.
39397         (struct test_c_f_data): Likewise.
39398         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
39399         (struct test_fF_f1_data): Likewise.
39400         (struct test_ffI_f1_data): Likewise.
39401         (struct test_c_c_data): Remove max_ulp field.
39402         (struct test_cc_c_data): Likewise.
39403         (struct test_f_i_data): Likewise.
39404         (struct test_ff_i_data): Likewise.
39405         (struct test_f_l_data): Likewise.
39406         (struct test_f_L_data): Likewise.
39407         (struct test_sincos_data): Likewise.
39408         (RUN_TEST_f_f): Do not handle ulps.
39409         (RUN_TEST_LOOP_f_f): Likewise.
39410         (RUN_TEST_2_f): Likewise.
39411         (RUN_TEST_LOOP_2_f): Likewise.
39412         (RUN_TEST_fff_f): Likewise.
39413         (RUN_TEST_LOOP_fff_f): Likewise.
39414         (RUN_TEST_c_f): Likewise.
39415         (RUN_TEST_LOOP_c_f): Likewise.
39416         (RUN_TEST_f_f1): Likewise.
39417         (RUN_TEST_LOOP_f_f1): Likewise.
39418         (RUN_TEST_fF_f1): Likewise.
39419         (RUN_TEST_LOOP_fF_f1): Likewise.
39420         (RUN_TEST_fI_f1): Likewise.
39421         (RUN_TEST_LOOP_fI_f1): Likewise.
39422         (RUN_TEST_ffI_f1): Likewise.
39423         (RUN_TEST_LOOP_ffI_f1): Likewise.
39424         (RUN_TEST_c_c): Likewise.
39425         (RUN_TEST_LOOP_c_c): Likewise.
39426         (RUN_TEST_cc_c): Likewise.
39427         (RUN_TEST_LOOP_cc_c): Likewise.
39428         (RUN_TEST_f_i): Likewise.
39429         (RUN_TEST_LOOP_f_i): Likewise.
39430         (RUN_TEST_f_i_tg): Likewise.
39431         (RUN_TEST_LOOP_f_i_tg): Likewise.
39432         (RUN_TEST_ff_i_tg): Likewise.
39433         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39434         (RUN_TEST_f_b): Likewise.
39435         (RUN_TEST_LOOP_f_b): Likewise.
39436         (RUN_TEST_f_b_tg): Likewise.
39437         (RUN_TEST_LOOP_f_b_tg): Likewise.
39438         (RUN_TEST_f_l): Likewise.
39439         (RUN_TEST_LOOP_f_l): Likewise.
39440         (RUN_TEST_f_L): Likewise.
39441         (RUN_TEST_LOOP_f_L): Likewise.
39442         (RUN_TEST_sincos): Likewise.
39443         (RUN_TEST_LOOP_sincos): Likewise.
39445 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
39447         [BZ #15480]
39448         [BZ #15485]
39449         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
39450         main case of finite arguments, set rounding mode to FE_TONEAREST
39451         and discard exceptions.
39452         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
39453         exceptions.
39454         (remainder_tonearest_test_data): New variable.
39455         (remainder_test_tonearest): New function.
39456         (remainder_towardzero_test_data): New variable.
39457         (remainder_test_towardzero): New function.
39458         (remainder_downward_test_data): New variable.
39459         (remainder_test_downward): New function.
39460         (remainder_upward_test_data): New variable.
39461         (remainder_test_upward): New function.
39462         (main): Call the new test functions.
39464         * math/libm-test.inc (struct test_f_f1_data): Remove field
39465         extra_init.
39466         (struct test_fF_f1_data): Likewise.
39467         (struct test_ffI_f1_data): Likewise.
39468         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
39469         based on value of EXTRA_EXPECTED.
39470         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39471         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
39472         EXTRA_VAR based on value of EXTRA_EXPECTED.
39473         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39474         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
39475         EXTRA_VAR based on value of EXTRA_EXPECTED.
39476         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39477         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
39478         EXTRA_VAR based on value of EXTRA_EXPECTED.
39479         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39480         * math/gen-libm-test.pl (parse_args): Don't output initializers
39481         for extra output values.
39483         * math/libm-test.inc (check_int): Expect result to be exactly
39484         equal to expected value and do not handle ulps.
39485         (check_long): Likewise.
39486         (check_longlong): Likewise.
39488         * math/libm-test.inc (ceil_test_data): Test for "inexact"
39489         exceptions.
39490         (cimag_test_data): Likewise.
39491         (conj_test_data): Likewise.
39492         (copysign_test_data): Likewise.
39493         (cproj_test_data): Likewise.
39494         (creal_test_data): Likewise.
39495         (fabs_test_data): Likewise.
39496         (fdim_test_data): Likewise.
39497         (finite_test_data): Likewise.
39498         (floor_test_data): Likewise.
39499         (fmax_test_data): Likewise.
39500         (fmin_test_data): Likewise.
39501         (fmod_test_data): Likewise.
39502         (fpclassify_test_data): Likewise.
39503         (frexp_test_data): Likewise.
39504         (ilogb_test_data): Likewise.
39505         (isfinite_test_data): Likewise.
39506         (isgreater_test_data): Likewise.
39507         (isgreaterequal_test_data): Likewise.
39508         (isinf_test_data): Likewise.
39509         (isless_test_data): Likewise.
39510         (islessequal_test_data): Likewise.
39511         (islessgreater_test_data): Likewise.
39512         (isnan_test_data): Likewise.
39513         (isnormal_test_data): Likewise.
39514         (issignaling_test_data): Likewise.
39515         (isunordered_test_data): Likewise.
39516         (ldexp_test_data): Likewise.
39517         (lrint_test_data): Likewise.
39518         (lrint_test_data) [TEST_FLOAT]: Disable one test.
39519         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
39520         (lrint_tonearest_test_data): Test for "inexact" exceptions.
39521         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39522         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
39523         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39524         test input.
39525         (lrint_towardzero_test_data): Test for "inexact" exceptions.
39526         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39527         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
39528         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
39529         that test input.
39530         (lrint_downward_test_data): Test for "inexact" exceptions.
39531         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39532         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
39533         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39534         test input.
39535         (lrint_upward_test_data): Test for "inexact" exceptions.
39536         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
39537         test input.
39538         (llrint_test_data): Test for "inexact" exceptions.
39539         (llrint_test_data) [TEST_FLOAT]: Disable one test.
39540         (llrint_tonearest_test_data): Test for "inexact" exceptions.
39541         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39542         (llrint_towardzero_test_data): Test for "inexact" exceptions.
39543         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39544         (llrint_downward_test_data): Test for "inexact" exceptions.
39545         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39546         (llrint_upward_test_data): Test for "inexact" exceptions.
39547         (logb_test_data): Likewise.
39548         (logb_downward_test_data): Likewise.
39549         (nextafter_test_data): Likewise.
39550         (nexttoward_test_data): Likewise.
39551         (remainder_test_data): Likewise.
39552         (remquo_test_data): Likewise.
39553         (scalbn_test_data): Likewise.
39554         (scalbln_test_data): Likewise.
39555         (signbit_test_data): Likewise.
39556         (sqrt_test_data): Likewise.
39557         (significand_test_data): Likewise.
39559 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39561         [BZ #15424]
39562         * benchtests/bench-modf.c (struct args): Mark arg0 as
39563         volatile.
39564         * scripts/bench.pl: Mark members of struct args as volatile.
39566 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39568         [BZ # 15497]
39569         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
39570         negative infinity on POWER6 or lower.
39571         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
39573 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39575         [BZ #15442]
39576         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
39577         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
39578         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
39579         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
39580         (_FP_SETQNAN): New macro.
39581         (_FP_SETQNAN_SEMIRAW): Likewise.
39582         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
39583         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
39584         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
39585         (FP_EXTEND): Use _FP_FRAC_SNANP.
39586         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
39587         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
39588         into account.
39589         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39590         New macro.
39591         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39592         Likewise.
39594 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39596         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
39597         with DIVIDE_BY_ZERO_EXCEPTION.
39598         (gamma_test_data): Likewise.
39599         (lgamma_test_data): Likewise.
39600         (log_test_data): Likewise.
39601         (log10_test_data): Likewise.
39602         (log2_test_data): Likewise.
39603         (tgamma_test_data): Likewise.
39605         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
39606         (acos_test_tonearest): Likewise.
39607         (acos_test_towardzero): Likewise.
39608         (acos_test_downward): Likewise.
39609         (acos_test_upward): Likewise.
39610         (acosh_test): Likewise.
39611         (asin_test): Likewise.
39612         (asin_test_tonearest): Likewise.
39613         (asin_test_towardzero): Likewise.
39614         (asin_test_downward): Likewise.
39615         (asin_test_upward): Likewise.
39616         (asinh_test): Likewise.
39617         (atan_test): Likewise.
39618         (atanh_test): Likewise.
39619         (atan2_test): Likewise.
39620         (cabs_test): Likewise.
39621         (cacos_test): Likewise.
39622         (cacosh_test): Likewise.
39623         (casin_test): Likewise.
39624         (casinh_test): Likewise.
39625         (catan_test): Likewise.
39626         (catanh_test): Likewise.
39627         (cbrt_test): Likewise.
39628         (ccos_test): Likewise.
39629         (ccosh_test): Likewise.
39630         (cexp_test): Likewise.
39631         (clog_test): Likewise.
39632         (clog10_test): Likewise.
39633         (cos_test): Likewise.
39634         (cos_test_tonearest): Likewise.
39635         (cos_test_towardzero): Likewise.
39636         (cos_test_downward): Likewise.
39637         (cos_test_upward): Likewise.
39638         (cosh_test): Likewise.
39639         (cosh_test_tonearest): Likewise.
39640         (cosh_test_towardzero): Likewise.
39641         (cosh_test_downward): Likewise.
39642         (cosh_test_upward): Likewise.
39643         (cpow_test): Likewise.
39644         (csin_test): Likewise.
39645         (csinh_test): Likewise.
39646         (csqrt_test): Likewise.
39647         (ctan_test): Likewise.
39648         (ctan_test_tonearest): Likewise.
39649         (ctan_test_towardzero): Likewise.
39650         (ctan_test_downward): Likewise.
39651         (ctan_test_upward): Likewise.
39652         (ctanh_test): Likewise.
39653         (ctanh_test_tonearest): Likewise.
39654         (ctanh_test_towardzero): Likewise.
39655         (ctanh_test_downward): Likewise.
39656         (ctanh_test_upward): Likewise.
39657         (erf_test): Likewise.
39658         (erfc_test): Likewise.
39659         (exp_test): Likewise.
39660         (exp_test_tonearest): Likewise.
39661         (exp_test_towardzero): Likewise.
39662         (exp_test_downward): Likewise.
39663         (exp_test_upward): Likewise.
39664         (exp10_test): Likewise.
39665         (exp2_test): Likewise.
39666         (expm1_test): Likewise.
39667         (fmod_test): Likewise.
39668         (gamma_test): Likewise.
39669         (hypot_test): Likewise.
39670         (j0_test): Likewise.
39671         (j1_test): Likewise.
39672         (jn_test): Likewise.
39673         (lgamma_test): Likewise.
39674         (log_test): Likewise.
39675         (log10_test): Likewise.
39676         (log1p_test): Likewise.
39677         (log2_test): Likewise.
39678         (logb_test_downward): Likewise.
39679         (pow_test): Likewise.
39680         (pow_test_tonearest): Likewise.
39681         (pow_test_towardzero): Likewise.
39682         (pow_test_downward): Likewise.
39683         (pow_test_upward): Likewise.
39684         (remainder_test): Likewise.
39685         (remquo_test): Likewise.
39686         (sin_test): Likewise.
39687         (sin_test_tonearest): Likewise.
39688         (sin_test_towardzero): Likewise.
39689         (sin_test_downward): Likewise.
39690         (sin_test_upward): Likewise.
39691         (sincos_test): Likewise.
39692         (sinh_test): Likewise.
39693         (sinh_test_tonearest): Likewise.
39694         (sinh_test_towardzero): Likewise.
39695         (sinh_test_downward): Likewise.
39696         (sinh_test_upward): Likewise.
39697         (sqrt_test): Likewise.
39698         (tan_test): Likewise.
39699         (tan_test_tonearest): Likewise.
39700         (tan_test_towardzero): Likewise.
39701         (tan_test_downward): Likewise.
39702         (tan_test_upward): Likewise.
39703         (tanh_test): Likewise.
39704         (tgamma_test): Likewise.
39705         (y0_test): Likewise.
39706         (y1_test): Likewise.
39707         (yn_test): Likewise.
39709         * math/gen-libm-test.pl (adjust_arg): Remove function.
39710         (special_function): Remove argument $in_func.  Only handle
39711         generating output for tables of tests, not inside functions.
39712         (parse_args): Likewise.
39713         (generate_testfile): Remove variable $in_func.  Update call to
39714         parse_args.
39715         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
39716         (MINUS_ZERO_INIT): Rename macro to minus_zero.
39717         (PLUS_INFTY_INIT): Rename macro to plus_infty.
39718         (MINUS_INFTY_INIT): Rename macro to minus_infty.
39719         (QNAN_VALUE_INIT): Rename macro to qnan_value.
39720         (MAX_VALUE_INIT): Rename macro to max_value.
39721         (MIN_VALUE_INIT): Rename macro to min_value.
39722         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
39723         (plus_zero): Remove variable.
39724         (minus_zero): Likewise.
39725         (plus_infty): Likewise.
39726         (minus_infty): Likewise.
39727         (qnan_value): Likewise.
39728         (max_value): Likewise.
39729         (min_value): Likewise.
39730         (min_subnorm_value): Likewise.
39732 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39734         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
39735         uint64_t or uint32_t usage.
39736         * crypt/sha256-block.c: Likewise.
39737         * crypt/sha256-crypt.c: Likewise.
39738         * crypt/sha256.c: Likewise.
39739         * crypt/sha512-block.c: Likewise.
39740         * crypt/sha512-crypt.c: Likewise.
39741         * crypt/sha512.c: Likewise.
39742         * debug/backtrace-tst.c: Likewise.
39743         * debug/pcprofiledump.c: Likewise.
39744         * elf/cache.c: Likewise.
39745         * elf/dl-cache.c: Likewise.
39746         * elf/dl-misc.c: Likewise.
39747         * elf/dl-profile.c: Likewise.
39748         * elf/dl-support.c: Likewise.
39749         * elf/ldconfig.c: Likewise.
39750         * elf/sprof.c: Likewise.
39751         * iconv/dummy-repertoire.c: Likewise.
39752         * iconv/iconv_charmap.c: Likewise.
39753         * iconv/skeleton.c: Likewise.
39754         * iconvdata/8bit-generic.c: Likewise.
39755         * iconvdata/cp737.h: Likewise.
39756         * iconvdata/cp775.h: Likewise.
39757         * iconvdata/ibm1008.h: Likewise.
39758         * iconvdata/ibm1025.h: Likewise.
39759         * iconvdata/ibm1046.h: Likewise.
39760         * iconvdata/ibm1097.h: Likewise.
39761         * iconvdata/ibm1112.h: Likewise.
39762         * iconvdata/ibm1122.h: Likewise.
39763         * iconvdata/ibm1123.h: Likewise.
39764         * iconvdata/ibm1124.h: Likewise.
39765         * iconvdata/ibm1129.h: Likewise.
39766         * iconvdata/ibm1130.h: Likewise.
39767         * iconvdata/ibm1132.h: Likewise.
39768         * iconvdata/ibm1133.h: Likewise.
39769         * iconvdata/ibm1137.h: Likewise.
39770         * iconvdata/ibm1140.h: Likewise.
39771         * iconvdata/ibm1141.h: Likewise.
39772         * iconvdata/ibm1142.h: Likewise.
39773         * iconvdata/ibm1143.h: Likewise.
39774         * iconvdata/ibm1144.h: Likewise.
39775         * iconvdata/ibm1145.h: Likewise.
39776         * iconvdata/ibm1146.h: Likewise.
39777         * iconvdata/ibm1147.h: Likewise.
39778         * iconvdata/ibm1148.h: Likewise.
39779         * iconvdata/ibm1149.h: Likewise.
39780         * iconvdata/ibm1153.h: Likewise.
39781         * iconvdata/ibm1154.h: Likewise.
39782         * iconvdata/ibm1155.h: Likewise.
39783         * iconvdata/ibm1156.h: Likewise.
39784         * iconvdata/ibm1157.h: Likewise.
39785         * iconvdata/ibm1158.h: Likewise.
39786         * iconvdata/ibm1160.h: Likewise.
39787         * iconvdata/ibm1161.h: Likewise.
39788         * iconvdata/ibm1162.h: Likewise.
39789         * iconvdata/ibm1163.h: Likewise.
39790         * iconvdata/ibm1164.h: Likewise.
39791         * iconvdata/ibm1166.h: Likewise.
39792         * iconvdata/ibm1167.h: Likewise.
39793         * iconvdata/ibm12712.h: Likewise.
39794         * iconvdata/ibm1390.h: Likewise.
39795         * iconvdata/ibm1399.h: Likewise.
39796         * iconvdata/ibm16804.h: Likewise.
39797         * iconvdata/ibm4517.h: Likewise.
39798         * iconvdata/ibm4899.h: Likewise.
39799         * iconvdata/ibm4909.h: Likewise.
39800         * iconvdata/ibm4971.h: Likewise.
39801         * iconvdata/ibm5347.h: Likewise.
39802         * iconvdata/ibm803.h: Likewise.
39803         * iconvdata/ibm856.h: Likewise.
39804         * iconvdata/ibm901.h: Likewise.
39805         * iconvdata/ibm902.h: Likewise.
39806         * iconvdata/ibm9030.h: Likewise.
39807         * iconvdata/ibm9066.h: Likewise.
39808         * iconvdata/ibm921.h: Likewise.
39809         * iconvdata/ibm922.h: Likewise.
39810         * iconvdata/ibm9448.h: Likewise.
39811         * iconvdata/isiri-3342.h: Likewise.
39812         * iconvdata/jis0201.h: Likewise.
39813         * include/link.h: Likewise.
39814         * include/netdb.h: Likewise.
39815         * inet/check_native.c: Likewise.
39816         * inet/check_pf.c: Likewise.
39817         * inet/getipv4sourcefilter.c: Likewise.
39818         * inet/getnameinfo.c: Likewise.
39819         * inet/getsourcefilter.c: Likewise.
39820         * inet/htonl.c: Likewise.
39821         * inet/setipv4sourcefilter.c: Likewise.
39822         * inet/setsourcefilter.c: Likewise.
39823         * inet/test-inet6_opt.c: Likewise.
39824         * inet/tst-network.c: Likewise.
39825         * locale/C-collate.c: Likewise.
39826         * locale/C-ctype.c: Likewise.
39827         * locale/C-time.c: Likewise.
39828         * locale/C-translit.h: Likewise.
39829         * locale/loadarchive.c: Likewise.
39830         * locale/programs/3level.h: Likewise.
39831         * locale/programs/charmap.c: Likewise.
39832         * locale/programs/charmap.h: Likewise.
39833         * locale/programs/ld-address.c: Likewise.
39834         * locale/programs/ld-collate.c: Likewise.
39835         * locale/programs/ld-ctype.c: Likewise.
39836         * locale/programs/ld-identification.c: Likewise.
39837         * locale/programs/ld-measurement.c: Likewise.
39838         * locale/programs/ld-messages.c: Likewise.
39839         * locale/programs/ld-monetary.c: Likewise.
39840         * locale/programs/ld-name.c: Likewise.
39841         * locale/programs/ld-numeric.c: Likewise.
39842         * locale/programs/ld-paper.c: Likewise.
39843         * locale/programs/ld-telephone.c: Likewise.
39844         * locale/programs/ld-time.c: Likewise.
39845         * locale/programs/linereader.c: Likewise.
39846         * locale/programs/locale.c: Likewise.
39847         * locale/programs/locarchive.c: Likewise.
39848         * locale/programs/locfile.h: Likewise.
39849         * locale/programs/repertoire.c: Likewise.
39850         * locale/programs/simple-hash.c: Likewise.
39851         * locale/programs/simple-hash.h: Likewise.
39852         * malloc/memusage.c: Likewise.
39853         * malloc/memusagestat.c: Likewise.
39854         * nis/nis_defaults.c: Likewise.
39855         * nis/nis_hash.c: Likewise.
39856         * nis/nis_print.c: Likewise.
39857         * nis/nis_xdr.c: Likewise.
39858         * nscd/connections.c: Likewise.
39859         * nscd/hstcache.c: Likewise.
39860         * nscd/nscd_gethst_r.c: Likewise.
39861         * nscd/nscd_getserv_r.c: Likewise.
39862         * nscd/nscd_helper.c: Likewise.
39863         * nscd/servicescache.c: Likewise.
39864         * nss/makedb.c: Likewise.
39865         * nss/nss_db/db-XXX.c: Likewise.
39866         * nss/nss_db/db-initgroups.c: Likewise.
39867         * nss/nss_db/db-netgrp.c: Likewise.
39868         * nss/nss_files/files-network.c: Likewise.
39869         * nss/nss_files/files-parse.c: Likewise.
39870         * posix/bug-regex5.c: Likewise.
39871         * posix/fnmatch_loop.c: Likewise.
39872         * posix/regcomp.c: Likewise.
39873         * posix/regexec.c: Likewise.
39874         * posix/tst-rfc3484-2.c: Likewise.
39875         * posix/tst-rfc3484-3.c: Likewise.
39876         * posix/tst-rfc3484.c: Likewise.
39877         * resolv/nss_dns/dns-canon.c: Likewise.
39878         * resolv/nss_dns/dns-network.c: Likewise.
39879         * resolv/res_init.c: Likewise.
39880         * resolv/res_mkquery.c: Likewise.
39881         * resolv/tst-aton.c: Likewise.
39882         * stdlib/cxa_atexit.c: Likewise.
39883         * stdlib/cxa_finalize.c: Likewise.
39884         * stdlib/gen-fpioconst.c: Likewise.
39885         * stdlib/strtol_l.c: Likewise.
39886         * string/tst-endian.c: Likewise.
39887         * sunrpc/auth_des.c: Likewise.
39888         * sunrpc/clnt_udp.c: Likewise.
39889         * sunrpc/rtime.c: Likewise.
39890         * sunrpc/svcauth_des.c: Likewise.
39891         * sunrpc/xdr.c: Likewise.
39892         * sunrpc/xdr_intXX_t.c: Likewise.
39893         * sunrpc/xdr_rec.c: Likewise.
39894         * sysdeps/generic/ldconfig.h: Likewise.
39895         * sysdeps/generic/ldsodefs.h: Likewise.
39896         * sysdeps/generic/memusage.h: Likewise.
39897         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39898         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
39899         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
39900         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39901         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39902         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39903         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39904         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39905         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39906         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39907         * sysdeps/posix/getaddrinfo.c: Likewise.
39908         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39909         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39910         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39911         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39912         * sysdeps/powerpc/test-gettimebase.c: Likewise.
39913         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39914         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
39915         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
39916         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39917         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
39918         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39919         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39920         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
39921         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
39922         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
39923         * sysdeps/x86_64/dl-tls.h: Likewise.
39924         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
39925         * time/alt_digit.c: Likewise.
39926         * time/era.c: Likewise.
39927         * wcsmbs/tst-c16c32-1.c: Likewise.
39929 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39931         * math/libm-test.inc (struct test_sincos_data): New type.
39932         (RUN_TEST_LOOP_sincos): New macro.
39933         (sincos_test_data): New variable.
39934         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
39936 2013-05-16  Richard Henderson  <rth@redhat.com>
39938         * math/atest-exp2.c (LIMB64): New macro.
39939         (CONSTSZ): New macro.
39940         (mp_exp1, mp_exp_m1, mp_log2): New variables.
39941         (hexdig): Move ...
39942         (print_mpn_fp): ... to function scope.
39943         (read_mpn_hex): Remove.
39944         (get_log2): Remove.
39945         (exp2_mpn): Use mp_log2.
39946         (main): Use mp_exp1.
39948 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39950         * math/libm-test.inc: Remove comment about not testing "inexact"
39951         exceptions.
39952         (INEXACT_EXCEPTION): New macro.
39953         (NO_INEXACT_EXCEPTION): Likewise.
39954         (INVALID_EXCEPTION_OK): Update value.
39955         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39956         (OVERFLOW_EXCEPTION_OK): Likewise.
39957         (UNDERFLOW_EXCEPTION_OK): Likewise.
39958         (IGNORE_ZERO_INF_SIGN): Likewise.
39959         (ERRNO_UNCHANGED): Likewise.
39960         (ERRNO_EDOM): Likewise.
39961         (ERRNO_ERANGE): Likewise.
39962         (test_exceptions): Handle testing "inexact" exceptions.
39963         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
39964         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
39965         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
39966         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
39967         INEXACT_EXCEPTION.
39968         (rint_towardzero_test_data): Likewise.
39969         (rint_downward_test_data): Likewise.
39970         (rint_upward_test_data): Likewise.
39972         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
39973         with OVERFLOW_EXCEPTION.
39974         (exp10_test_data): Likewise.
39975         (exp2_test_data): Likewise.
39976         (expm1_test_data): Likewise.
39977         (lgamma_test_data): Likewise.
39978         (pow_test_data): Likewise.
39979         (tgamma_test_data): Likewise.
39980         (yn_test_data): Remove duplicate test of overflow.
39982         * math/libm-test.inc (struct test_cc_c_data): New type.
39983         (RUN_TEST_LOOP_cc_c): New macro.
39984         (cpow_test_data): New variable.
39985         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
39987         * math/libm-test.inc (struct test_f_L_data): New type.
39988         (RUN_TEST_LOOP_f_L): New macro.
39989         (llrint_test_data): New variable.
39990         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
39991         (llrint_tonearest_test_data): New variable.
39992         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
39993         (llrint_towardzero_test_data): New variable.
39994         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
39995         (llrint_downward_test_data): New variable.
39996         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
39997         (llrint_upward_test_data): New variable.
39998         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
39999         (llround_test_data): New variable.
40000         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
40002 2013-05-13  Peter Collingbourne  <pcc@google.com>
40004         * math/atest-exp2.c (get_log2): Remove const attribute.
40006 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
40008         * math/libm-test.inc (struct test_f_l_data): New type.
40009         (RUN_TEST_LOOP_f_l): New macro.
40010         (lrint_test_data): New variable.
40011         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
40012         (lrint_tonearest_test_data): New variable.
40013         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
40014         (lrint_towardzero_test_data): New variable.
40015         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
40016         (lrint_downward_test_data): New variable.
40017         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
40018         (lrint_upward_test_data): New variable.
40019         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
40020         (lround_test_data): New variable.
40021         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
40023 2013-05-15  Peter Collingbourne  <pcc@google.com>
40025         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
40026         (EXTRACT_WORDS64) Use where appropriate.
40027         (INSERT_WORDS64) Likewise.
40029         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
40030         constraints with x constraints.
40031         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
40033         * malloc/obstack.c (_obstack_compat): Add initializer.
40035 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40037         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
40038         si_trapno and add si_addr_lsb to _sifields.sigfault.
40039         (si_trapno): Remove macro.
40040         (si_addr_lsb): Define new macro.
40041         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40043 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
40045         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
40046         instead of TEST_f_l.
40047         (llrint_test_tonearest): Likewise.
40048         (llrint_test_towardzero): Likewise.
40049         (llrint_test_downward): Likewise.
40050         (llrint_test_upward): Likewise.
40051         (llround_test): Likewise.
40053         * math/libm-test.inc (struct test_f_i_data): Add comment.
40054         (RUN_TEST_LOOP_f_b): New macro.
40055         (RUN_TEST_LOOP_f_b_tg): Likewise.
40056         (finite_test_data): New variable.
40057         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
40058         (isfinite_test_data): New variable.
40059         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40060         (isinf_test_data): New variable.
40061         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40062         (isnan_test_data): New variable.
40063         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40064         (isnormal_test_data): New variable.
40065         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40066         (issignaling_test_data): New variable.
40067         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40068         (signbit_test_data): New variable.
40069         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40071         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
40072         with INVALID_EXCEPTION.
40073         (acosh_test_data): Likewise.
40074         (asin_test_data): Likewise.
40075         (atanh_test_data): Likewise.
40076         (fmod_test_data): Likewise.
40077         (log_test_data): Likewise.
40078         (log10_test_data): Likewise.
40079         (log2_test_data): Likewise.
40080         (pow_test_data): Likewise.
40081         (sqrt_test_data): Likewise.
40082         (y0_test_data): Likewise.
40083         (y1_test_data): Likewise.
40084         (yn_test_data): Likewise.
40086         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
40087         function contents.
40089         * math/libm-test.inc (struct test_ff_i_data): New type.
40090         (RUN_TEST_LOOP_ff_i_tg): New macro.
40091         (isgreater_test_data): New variable.
40092         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40093         (isgreaterequal_test_data): New variable.
40094         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40095         (isless_test_data): New variable.
40096         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40097         (islessequal_test_data): New variable.
40098         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40099         (islessgreater_test_data): New variable.
40100         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40101         (isunordered_test_data): New variable.
40102         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40104 2013-05-14  David S. Miller  <davem@davemloft.net>
40106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40108 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
40110         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
40112         * math/libm-test.inc (struct test_fF_f1_data): Change type of
40113         extra_test to int.
40114         (struct test_f_i_data): Change type of max_ulp to int.
40116         * math/libm-test.inc (test_ffI_f1_data): New type.
40117         (RUN_TEST_LOOP_ffI_f1): New macro.
40118         (remquo_test_data): New variable.
40119         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
40121         * setjmp/tst-setjmp-fp.c: New file.
40122         * setjmp/Makefile (tests): Add tst-setjmp-fp.
40123         (link-libm): New variable.
40124         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
40126         * math/libm-test.inc (struct test_f_i_data): New type.
40127         (RUN_TEST_LOOP_f_i): New macro.
40128         (RUN_TEST_LOOP_f_i_tg): Likewise.
40129         (fpclassify_test_data): New variable.
40130         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
40131         (ilogb_test_data): New variable.
40132         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
40134         * math/libm-test.inc (scalbln_test): Correct function name in END
40135         call.
40137         * math/libm-test.inc (struct test_f_f1_data): Add comment.
40138         (RUN_TEST_LOOP_fI_f1): New macro.
40139         (frexp_test_data): New variable.
40140         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
40142         * math/libm-test.inc (struct test_fF_f1_data): New type.
40143         (RUN_TEST_LOOP_fF_f1): New macro.
40144         (modf_test_data): New variable.
40145         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
40147         * math/libm-test.inc (struct test_f_f1_data): New type.
40148         (RUN_TEST_LOOP_f_f1): New macro.
40149         (gamma_test_data): New variable.
40150         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40151         (lgamma_test_data): New variable.
40152         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40154 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
40156         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
40157         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
40158         (main): Comment "tls" pseudo-hwcap.
40160 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
40162         * math/libm-test.inc (struct test_fl_f_data): New type.
40163         (RUN_TEST_LOOP_fl_f): New variable.
40164         (scalbln_test_data): New variable.
40165         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
40167         * math/libm-test.inc (struct test_fi_f_data): New type.
40168         (RUN_TEST_LOOP_fi_f): New macro.
40169         (ldexp_test_data): New variable.
40170         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
40171         (scalbn_test_data): New variable.
40172         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
40174         * math/libm-test.inc (struct test_c_f_data): New type.
40175         (RUN_TEST_LOOP_c_f): New macro.
40176         (cabs_test_data): New variable.
40177         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
40178         (carg_test_data): New variable.
40179         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
40180         (cimag_test_data): New variable.
40181         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
40182         (creal_test_data): New variable.
40183         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
40185         * math/libm-test.inc (struct test_if_f_data): New type.
40186         (RUN_TEST_LOOP_if_f): New macro.
40187         (jn_test_data): New variable.
40188         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
40189         (yn_test_data): New variable.
40190         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
40192         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
40194 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40196         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
40197         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
40199 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40201         * benchtests/Makefile (CPPFLAGS-nonlib): Add
40202         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
40203         (bench-deps): Add bench-timing.h.
40204         * benchtests-bench-skeleton.c: Include bench-timing.h.
40205         (main): Use TIMING_* macros instead of clock_gettime.
40206         * benchtests/bench-timing.h: New file.
40208         [BZ #14582]
40209         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
40210         Renamed from _LIB_VERSION.
40211         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
40213 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
40215         * math/libm-test.inc (struct test_fff_f_data): New type.
40216         (RUN_TEST_LOOP_fff_f): New macro.
40217         (fma_test_data): New variable.
40218         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
40219         (fma_towardzero_test_data): New variable.
40220         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
40221         (fma_downward_test_data): New variable.
40222         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
40223         (fma_upward_test_data): New variable.
40224         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
40226         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
40227         (struct test_c_c_data): New type.
40228         (RUN_TEST_LOOP_c_c): New macro.
40229         (cacos_test_data): New variable.
40230         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
40231         (cacosh_test_data): New variable.
40232         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
40233         (casin_test_data): New variable.
40234         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
40235         (casinh_test_data): New variable.
40236         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
40237         (catan_test_data): New variable.
40238         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
40239         (catanh_test_data): New variable.
40240         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
40241         (ccos_test_data): New variable.
40242         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
40243         (ccosh_test_data): New variable.
40244         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
40245         (cexp_test_data): New variable.
40246         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
40247         (clog_test_data): New variable.
40248         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
40249         (clog10_test_data): New variable.
40250         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
40251         (conj_test_data): New variable.
40252         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
40253         (cproj_test_data): New variable.
40254         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
40255         (csin_test_data): New variable.
40256         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
40257         (csinh_test_data): New variable.
40258         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
40259         (csqrt_test_data): New variable.
40260         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
40261         (ctan_test_data): New variable.
40262         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
40263         (ctan_tonearest_test_data): New variable.
40264         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40265         (ctan_towardzero_test_data): New variable.
40266         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40267         (ctan_downward_test_data): New variable.
40268         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40269         (ctan_upward_test_data): New variable.
40270         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40271         (ctanh_test_data): New variable.
40272         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
40273         (ctanh_tonearest_test_data): New variable.
40274         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40275         (ctanh_towardzero_test_data): New variable.
40276         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40277         (ctanh_downward_test_data): New variable.
40278         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40279         (ctanh_upward_test_data): New variable.
40280         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40281         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
40282         of BUILD_COMPLEX.
40284         * math/libm-test.inc (struct test_ff_f_data): New type.
40285         (struct test_ff_f_data_nexttoward): Likewise.
40286         (RUN_TEST_LOOP_2_f): New macro.
40287         (RUN_TEST_LOOP_ff_f): Likewise.
40288         (atan2_test_data): New variable.
40289         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
40290         (copysign_test_data): New variable.
40291         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
40292         (fdim_test_data): New variable.
40293         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
40294         (fmax_test_data): New variable.
40295         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
40296         (fmin_test_data): New variable.
40297         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
40298         (fmod_test_data): New variable.
40299         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
40300         (hypot_test_data): New variable.
40301         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
40302         (nextafter_test_data): New variable.
40303         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
40304         (nexttoward_test_data): New variable.
40305         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
40306         (pow_test_data): New variable.
40307         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
40308         (pow_tonearest_test_data): New variable.
40309         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
40310         (pow_towardzero_test_data): New variable.
40311         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
40312         (pow_downward_test_data): New variable.
40313         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
40314         (pow_upward_test_data): New variable.
40315         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
40316         (remainder_test_data): New variable.
40317         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
40318         (scalb_test_data): New variable.
40319         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
40320         * sysdeps/i386/fpu/libm-test-ulps: Update.
40322 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
40324         * math/libm-test.inc (fma_test): Use max_value instead of local
40325         variable fltmax.
40326         (nextafter_test): Likewise.
40328         * math/libm-test.inc (acos_towardzero_test_data): New variable.
40329         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40330         (acos_downward_test_data): New variable.
40331         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40332         (acos_upward_test_data): New variable.
40333         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40334         (acosh_test_data): New variable.
40335         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
40336         (asin_test_data): New variable.
40337         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
40338         (asin_tonearest_test_data): New variable.
40339         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40340         (asin_towardzero_test_data): New variable.
40341         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40342         (asin_downward_test_data): New variable.
40343         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40344         (asin_upward_test_data): New variable.
40345         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40346         (asinh_test_data): New variable.
40347         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
40348         (atan_test_data): New variable.
40349         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
40350         (atanh_test_data): New variable.
40351         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
40352         (cbrt_test_data): New variable.
40353         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
40354         (ceil_test_data): New variable.
40355         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
40356         (cos_test_data): New variable.
40357         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
40358         (cos_tonearest_test_data): New variable.
40359         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40360         (cos_towardzero_test_data): New variable.
40361         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40362         (cos_downward_test_data): New variable.
40363         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40364         (cos_upward_test_data): New variable.
40365         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40366         (cosh_test_data): New variable.
40367         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
40368         (cosh_tonearest_test_data): New variable.
40369         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40370         (cosh_towardzero_test_data): New variable.
40371         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40372         (cosh_downward_test_data): New variable.
40373         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40374         (cosh_upward_test_data): New variable.
40375         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40376         (erf_test_data): New variable.
40377         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
40378         (erfc_test_data): New variable.
40379         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
40380         (exp_test_data): New variable.
40381         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
40382         (exp_tonearest_test_data): New variable.
40383         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40384         (exp_towardzero_test_data): New variable.
40385         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40386         (exp_downward_test_data): New variable.
40387         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40388         (exp_upward_test_data): New variable.
40389         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40390         (exp10_test_data): New variable.
40391         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
40392         (exp2_test_data): New variable.
40393         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
40394         (expm1_test_data): New variable.
40395         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
40396         (fabs_test_data): New variable.
40397         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
40398         (floor_test_data): New variable.
40399         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
40400         (j0_test_data): New variable.
40401         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
40402         (j1_test_data): New variable.
40403         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
40404         (log_test_data): New variable.
40405         (log_test): Run tests with RUN_TEST_LOOP_f_f.
40406         (log10_test_data): New variable.
40407         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
40408         (log1p_test_data): New variable.
40409         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
40410         (log2_test_data): New variable.
40411         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
40412         (logb_test_data): New variable.
40413         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
40414         (logb_downward_test_data): New variable.
40415         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40416         (nearbyint_test_data): New variable.
40417         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
40418         (rint_test_data): New variable.
40419         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
40420         (rint_tonearest_test_data): New variable.
40421         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40422         (rint_towardzero_test_data): New variable.
40423         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40424         (rint_downward_test_data): New variable.
40425         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40426         (rint_upward_test_data): New variable.
40427         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40428         (round_test_data): New variable.
40429         (round_test): Run tests with RUN_TEST_LOOP_f_f.
40430         (sin_test_data): New variable.
40431         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
40432         (sin_tonearest_test_data): New variable.
40433         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40434         (sin_towardzero_test_data): New variable.
40435         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40436         (sin_downward_test_data): New variable.
40437         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40438         (sin_upward_test_data): New variable.
40439         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40440         (sinh_test_data): New variable.
40441         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
40442         (sinh_tonearest_test_data): New variable.
40443         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40444         (sinh_towardzero_test_data): New variable.
40445         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40446         (sinh_downward_test_data): New variable.
40447         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40448         (sinh_upward_test_data): New variable.
40449         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40450         (sqrt_test_data): New variable.
40451         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
40452         (tan_test_data): New variable.
40453         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
40454         (tan_tonearest_test_data): New variable.
40455         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40456         (tan_towardzero_test_data): New variable.
40457         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40458         (tan_downward_test_data): New variable.
40459         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40460         (tan_upward_test_data): New variable.
40461         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40462         (tanh_test_data): New variable.
40463         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
40464         (tgamma_test_data): New variable.
40465         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
40466         (trunc_test_data): New variable.
40467         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
40468         (y0_test_data): New variable.
40469         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
40470         (y1_test_data): New variable.
40471         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
40472         (significand_test_data): New variable.
40473         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
40475 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
40477         [BZ #12387]
40478         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
40480 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40482         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
40484 2013-05-10  Andreas Jaeger  <aj@suse.de>
40486         [BZ #15448]
40487         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
40488         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
40490 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40492         * math/gen-libm-test.pl (adjust_arg): New function.
40493         (special_functions): Handle generating output in both functions
40494         and arrays.
40495         (parse_args): Likewise.
40496         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
40497         $in_func argument to parse_args.
40498         * math/libm-test.inc (struct test_f_f_data): New type.
40499         (IF_ROUND_INIT_): New macro.
40500         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
40501         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40502         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40503         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40504         (ROUND_RESTORE_): Likewise.
40505         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
40506         (ROUND_RESTORE_FE_TONEAREST): Likewise.
40507         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
40508         (ROUND_RESTORE_FE_UPWARD): Likewise.
40509         (RUN_TEST_LOOP_f_f): New macro.
40510         (acos_test_data): New variable.
40511         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
40512         (acos_tonearest_test_data): New variable.
40513         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40515 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40517         * benchtests/bench-skeleton.c (startup): Fix coding style.
40519 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40521         [BZ #6809]
40522         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
40523         negative infinity argument.
40524         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
40525         negative infinity argument.
40526         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
40527         negative infinity argument.
40528         * math/libm-test.inc (tgamma_test): Expect errno to be set for
40529         domain errors.
40531 2013-05-10  Florian Weimer  <fweimer@redhat.com>
40533         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
40534         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
40535         * iconv/iconv_prog.c (main): Likewise.
40536         * locale/programs/charmap-dir.c (charmap_readdir)
40537         (fopen_uncompressed): Likewise.
40538         * locale/programs/locfile.c (siblings_uncached)
40539         (write_locale_data): Use lstat64 instead of lstat.
40540         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
40541         stat.
40543 2013-05-10  Andreas Jaeger  <aj@suse.de>
40545         [BZ #15395]
40546         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
40547         localization.
40548         Include <locale.h>.
40550 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
40552         * elf/dl-close.c (_dl_close_worker): Add comments.
40554 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
40556         [BZ #15359]
40557         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
40558         high part of pi/2.
40559         (__ieee754_rem_pio2l): Update comments.
40561         [BZ #15429]
40562         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
40563         high part of pi/2.
40564         (__ieee754_rem_pio2l): Update comments.
40566         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
40567         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
40569         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
40570         M_PI_4l.
40572         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
40573         (M_PI_34_LOG10El): Likewise.
40574         (M_PI2_LOG10El): Likewise.
40575         (M_PI4_LOG10El): Likewise.
40576         (M_PI_LOG10El): Likewise.
40578 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40582 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
40584         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
40585         (MINUS_ZERO_INIT): Likewise.
40586         (PLUS_INFTY_INIT): Likewise.
40587         (MINUS_INFTY_INIT): Likewise.
40588         (QNAN_VALUE_INIT): Likewise.
40589         (MAX_VALUE_INIT): Likewise.
40590         (MIN_VALUE_INIT): Likewise.
40591         (MIN_SUBNORM_VALUE_INIT): Likewise.
40592         (plus_zero): Initialize with PLUS_ZERO_INIT.
40593         (minus_zero): Initialize with MINUS_ZERO_INIT.
40594         (plus_infty): Initialize with PLUS_INFTY_INIT.
40595         (minus_infty): Initialize with MINUS_INFTY_INIT.
40596         (qnan_value): Initialize with QNAN_VALUE_INIT.
40597         (max_value): Initialize with MAX_VALUE_INIT.
40598         (min_value): Initialize with MIN_VALUE_INIT.
40599         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
40601         * math/libm-test.inc (RUN_TEST_if_f): New macro.
40602         (jn_test): Use TEST_if_f instead of TEST_ff_f.
40603         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
40604         (yn_test): Use TEST_if_f instead of TEST_ff_f.
40606         * math/libm-test.inc (RUN_TEST_f_f): New macro.
40607         (RUN_TEST_2_f): Likewise.
40608         (RUN_TEST_ff_f): Likewise.
40609         (RUN_TEST_fi_f): Likewise.
40610         (RUN_TEST_fl_f): Likewise.
40611         (RUN_TEST_fff_f): Likewise.
40612         (RUN_TEST_c_f): Likewise.
40613         (RUN_TEST_f_f1): Likewise.
40614         (RUN_TEST_fF_f1): Likewise.
40615         (RUN_TEST_fI_f1): Likewise.
40616         (RUN_TEST_ffI_f1): Likewise.
40617         (RUN_TEST_c_c): Likewise.
40618         (RUN_TEST_cc_c): Likewise.
40619         (RUN_TEST_f_i): Likewise.
40620         (RUN_TEST_f_i_tg): Likewise.
40621         (RUN_TEST_ff_i_tg): Likewise.
40622         (RUN_TEST_f_b): Likewise.
40623         (RUN_TEST_f_b_tg): Likewise.
40624         (RUN_TEST_f_l): Likewise.
40625         (RUN_TEST_f_L): Likewise.
40626         (RUN_TEST_sincos): Likewise.
40627         * math/gen-libm-test.pl (new_test): Take new argument to indicate
40628         whether to show exceptions.  Do not include ");\n" in return
40629         value.
40630         (special_functions): Output call to RUN_TEST_sincos instead of
40631         check_float calls.  Update calls to new_test.
40632         (parse_args): Output call to single RUN_TEST_* macro instead of
40633         check_* calls and other assignments.  Update calls to new_test.
40635         [BZ #2546]
40636         [BZ #2560]
40637         [BZ #5159]
40638         [BZ #15426]
40639         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
40640         input to result for tgamma overflow.
40641         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
40642         (gamma_coeff): New variable.
40643         (NCOEFF): New macro.
40644         (gamma_positive): New function.
40645         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
40646         underflow here.  Use gamma_positive instead of exp (lgamma) for
40647         other arguments.
40648         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
40649         (gamma_coeff): New variable.
40650         (NCOEFF): New macro.
40651         (gammaf_positive): New function.
40652         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
40653         underflow here.  Use gamma_positive instead of exp (lgamma) for
40654         other arguments.
40655         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
40656         (gamma_coeff): New variable.
40657         (NCOEFF): New macro.
40658         (gammal_positive): New function.
40659         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
40660         underflow here.  Use gamma_positive instead of exp (lgamma) for
40661         other arguments.
40662         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
40663         (gamma_coeff): New variable.
40664         (NCOEFF): New macro.
40665         (gammal_positive): New function.
40666         (__ieee754_gammal_r): Handle positive infinity, overflow and
40667         underflow here.  Handle NaN the same as positive infinity.  Remove
40668         check x < 0xffffffff for negative integers.  Use gamma_positive
40669         instead of exp (lgamma) for other arguments.
40670         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
40671         (gamma_coeff): New variable.
40672         (NCOEFF): New macro.
40673         (gammal_positive): New function.
40674         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
40675         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
40676         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
40677         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
40678         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
40679         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
40680         * sysdeps/generic/math_private.h (__gamma_productf): New
40681         prototype.
40682         (__gamma_product): Likewise.
40683         (__gamma_productl): Likewise.
40684         * math/Makefile (libm-calls): Add gamma_product.
40685         * math/libm-test.inc (tgamma_test): Add more tests.
40686         * sysdeps/i386/fpu/libm-test-ulps: Update.
40687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40689 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
40691         * benchtests/bench-skeleton.c (main): Preheat CPU.
40693 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
40695         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
40697 2013-05-07  Roland McGrath  <roland@hack.frob.com>
40699         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
40700         and _dl_skip_args_internal.
40702 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
40704         * manual/message.texi (Message Translation): Talk about users.
40705         Message to key mapping impacts design.
40707 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40709         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
40711         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
40713         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
40714         * sysdeps/wordsize-64/glob64.c: ... here.
40716         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
40717         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
40718         New macros.
40720         * debug/getlogin_r_chk.c: Moved to ...
40721         * login/getlogin_r_chk.c: ... here.
40722         * debug/Makefile (routines): Move getlogin_r_chk to ...
40723         * login/Makefile (routines): ... here.
40724         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
40725         * login/Versions (libc: GLIBC_2.4): ... here.
40727         * io/poll.c (__poll): Renamed from poll.
40728         Add libc_hidden_def.
40729         (poll): Define as weak alias.
40731         * debug/ptsname_r_chk.c: Moved to ...
40732         * login/ptsname_r_chk.c: ... here.
40733         * debug/Makefile (routines): Move ptsname_r_chk to ...
40734         * login/Makefile (routines): ... here.
40735         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
40736         * login/Versions (libc: GLIBC_2.4): ... here.
40738         * posix/getlogin.c: Moved to ...
40739         * login/getlogin.c: ... here.
40740         * posix/getlogin_r.c: Moved to ...
40741         * login/getlogin_r.c: ... here.
40742         * posix/getlogin_r.c: Moved to ...
40743         * login/getlogin_r.c: ... here.
40744         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
40745         * login/Makefile (routines): ... here.
40746         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
40747         * login/Versions (libc: GLIBC_2.0): ... here.
40749         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
40750         (setrlimit): Define as weak alias.
40752         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
40753         Call __ names for open, ftruncate, and close.
40754         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
40755         (truncate): Define as weak alias.
40757 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
40759         * math/gen-libm-test.pl (parse_args): Initialize x before each
40760         test of frexp, modf and remquo.
40762         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
40763         test signgam value.
40765 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40767         [BZ #15418]
40768         [BZ #15419]
40769         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
40770         internal tests.
40771         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40773 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40775         * elf/dl-writev.h: New file.
40776         * elf/dl-misc.c: Include it.
40777         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
40778         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
40780 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
40782         * math/libm-test.inc (noXFails): Remove variable.
40783         (noXPasses): Likewise.
40784         (BUILD_COMPLEX_INT): Remove macro.
40785         (print_screen): Remove xfail argument.
40786         (print_screen_max_error): Likewise.
40787         (update_stats): Likewise.
40788         (print_max_error): Likewise.  Update calls to other affected
40789         functions.
40790         (print_complex_max_error): Likewise.
40791         (test_single_exception): Update calls to print_screen.
40792         (test_single_errno): Likewise.
40793         (check_float_internal): Remove xfail argument.  Update calls to
40794         other affected functions.
40795         (check_float): Likewise.
40796         (check_complex): Likewise.
40797         (check_int): Likewise.
40798         (check_long): Likewise.
40799         (check_bool): Likewise.
40800         (check_longlong): Likewise.
40801         (main): Don't print noXFails and noXPasses.
40802         * math/gen-libm-test.pl (top level): Don't mention expected
40803         failure handling in comment.
40804         (new_test): Don't handle expected failures.
40805         (parse_args): Don't mention expected failure handling in comment.
40806         (generate_testfile): Don't handle expected failures.
40807         (parse_ulps): Likewise.
40808         (print_ulps_file): Likewise.
40809         (get_failure): Remove function.
40810         (output_test): Don't handle expected failures.
40811         * make/README.libm-test: Don't mention expected failure handling.
40813         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
40814         (minus_zero): Likewise.
40815         (plus_infty): Likewise.
40816         (minus_infty): Likewise.
40817         (qnan_value): Likewise.
40818         (max_value): Likewise.
40819         (min_value): Likewise.
40820         (min_subnorm_value): Likewise.
40821         (initialize): Do not initialize those variables dynamically.
40823 2013-05-03  Roland McGrath  <roland@hack.frob.com>
40825         * io/open.c (__open_2): Moved to ...
40826         * io/open_2.c: ... this new file.
40827         * io/open64.c (__open64_2): Moved to ...
40828         * io/open64_2.c: ... this new file.
40829         * io/openat.c (__openat_2): Moved to ...
40830         * io/openat_2.c: ... this new file.
40831         * io/openat64.c (__openat64_2): Moved to ...
40832         * io/openat64_2.c: ... this new file.
40833         * io/Makefile (routines): Add them.
40834         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
40835         * sysdeps/unix/sysv/linux/open_2.c: File removed.
40836         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
40837         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
40838         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
40839         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
40840         (__openat64): Add hidden_ver.
40841         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
40842         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
40844         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
40845         Separately conditionalize setting of GLRO(dl_sysinfo) so
40846         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
40847         as well, but the actual setting is only under [NEED_DL_SYSINFO].
40849 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40851         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
40852         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
40853         definition.
40854         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
40855         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40856         (_libc_vdso_platform_setup): Add __vdso_time initialization.
40857         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
40858         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
40860 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
40862         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
40863         test signgam value.
40865         * math/libm-test.inc (hypot_test): Do not use
40866         IGNORE_ZERO_INF_SIGN.
40868 2013-05-03  Andreas Jaeger  <aj@suse.de>
40870         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
40871         Linux 3.9.
40872         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
40873         (PF_MAX): Adjust for VSOCK change.
40875 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40879 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
40881         [BZ #15264]
40882         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
40883         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
40884         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
40886 2013-05-02  David S. Miller  <davem@davemloft.net>
40888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40890 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
40892         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
40894 2013-05-01  Roland McGrath  <roland@hack.frob.com>
40896         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
40898 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
40900         [BZ #14952]
40901         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
40902         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40903         Use __attribute__ ((__gnu_inline__)).
40904         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40905         Don't use __attribute__ ((__gnu_inline__)).
40907 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
40909         [BZ #15423]
40910         * math/s_catan.c (__catan): Handle small real or imaginary part of
40911         input specially to avoid spurious underflow.
40912         * math/s_catanf.c (__catanf): Likewise.
40913         * math/s_catanh.c (__catanh): Likewise.
40914         * math/s_catanhf.c (__catanhf): Likewise.
40915         * math/s_catanhl.c (__catanhl): Likewise.
40916         * math/s_catanl.c (__catanl): Likewise.
40917         * math/libm-test.inc (catan_test): Add more tests.
40918         (catanh_test): Likewise.
40919         * sysdeps/i386/fpu/libm-test-ulps: Update.
40920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40922 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40926 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
40928         [BZ #15416]
40929         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
40930         accurately for denominator in atan2.
40931         * math/s_catanf.c (__catanf): Likewise.
40932         * math/s_catanh.c (__catanh): Likewise.
40933         * math/s_catanhf.c (__catanhf): Likewise.
40934         * math/s_catanhl.c (__catanhl): Likewise.
40935         * math/s_catanl.c (__catanl): Likewise.
40936         * math/libm-test.inc (catan_test): Add more tests.
40937         (catanh_test): Likewise.
40938         * sysdeps/i386/fpu/libm-test-ulps: Update.
40939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40941 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40943         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
40945         * benchtests/Makefile (bench): Remove slow benchmarks.
40946         * benchtests/atan-inputs: Add slow benchmark inputs.
40947         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
40948         (BENCH_FUNC): Accept variant offset.
40949         (VARIANT): Define.
40950         * benchtests/bench-skeleton.c (main): Run benchmark for each
40951         variant.
40952         * benchtests/cos-inputs: Add slow benchmark inputs.
40953         * benchtests/exp-inputs: Likewise.
40954         * benchtests/pow-inputs: Likewise.
40955         * benchtests/sin-inputs: Likewise.
40956         * benchtests/slowatan-inputs: Remove.
40957         * benchtests/slowatan.c: Remove.
40958         * benchtests/slowcos-inputs: Remove.
40959         * benchtests/slowcos.c: Remove.
40960         * benchtests/slowexp-inputs: Remove.
40961         * benchtests/slowexp.c: Remove.
40962         * benchtests/slowpow-inputs: Remove.
40963         * benchtests/slowpow.c: Remove.
40964         * benchtests/slowsin-inputs: Remove.
40965         * benchtests/slowsin.c: Remove.
40966         * benchtests/slowtan-inputs: Remove.
40967         * benchtests/slowtan.c: Remove.
40968         * benchtests/tan-inputs: Add slow benchmark inputs.
40969         * scripts/bench.pl: Parse comments and directives.
40971         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
40972         in CPPFLAGS.
40973         ($(objpfx)bench-%.c): Remove *-ITER.
40974         * benchtests/bench-modf.c: Remove definition of ITER.
40975         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
40976         (main): Loop for DURATION seconds instead of fixed number of
40977         iterations.
40978         * scripts/bench.pl: Don't expect iterations in parameters.
40980 2013-04-29  Roland McGrath  <roland@hack.frob.com>
40982         * io/fchdir.c (__fchdir): Renamed from fchdir.
40983         (fchdir): Define as weak alias.
40985 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40987         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
40988         (ERRNO_EDOM): Likewise.
40989         (ERRNO_ERANGE): Likewise.
40990         (noErrnoTests): New variable.
40991         (init_max_error): Set errno to 0.
40992         (test_single_errno): New function.
40993         (test_errno): Likewise.
40994         (check_float_internal): Call test_errno.  Set errno to 0.
40995         (check_complex): Refer to errno tests in comment.
40996         (check_int): Call test_errno.  Set errno to 0.
40997         (check_long): Likewise.
40998         (check_bool): Likewise.
40999         (check_longlong): Likewise.
41000         (cos_test): Use ERRNO_* flags for errno tests instead of
41001         check_int.
41002         (expm1_test): Likewise.
41003         (fmod_test): Likewise.
41004         (ilogb_test): Likewise.
41005         (lgamma_test): Likewise.
41006         (pow_test): Likewise.
41007         (remainder_test): Likewise.
41008         (sin_test): Likewise.
41009         (tan_test): Likewise.
41010         (yn_test): Likewise.
41011         (initialize): Set errno to 0.
41012         (main): Print number of errno tests.
41013         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
41015 2013-04-29  Andreas Jaeger  <aj@suse.de>
41017         [BZ #15084]
41018         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
41019         and RES_USEVC.
41021         [BZ #15085]
41022         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
41023         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
41024         unimplemented.
41026         [BZ #15380]
41027         * stdlib/random.c (__initstate): Return NULL if
41028         __initstate fails.
41030         [BZ #15086]
41031         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
41032         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
41033         RES_SNGLKUPREOP.
41035 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41039 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
41041         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
41042         of individual tests.
41043         (casin_test): Likewise.
41044         (casinh_test): Likewise.
41046 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
41048         [BZ #15409]
41049         * math/s_catan.c (__catan): Handle arguments with large real or
41050         imaginary part separately without squaring.
41051         * math/s_catanf.c (__catanf): Likewise.
41052         * math/s_catanh.c (__catanh): Likewise.
41053         * math/s_catanhf.c (__catanhf): Likewise.
41054         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41055         and redefine.
41056         (__catanhl): Handle arguments with large real or imaginary part
41057         separately without squaring.
41058         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41059         and redefine.
41060         (__catanl): Handle arguments with large real or imaginary part
41061         separately without squaring.
41062         * math/libm-test.inc (catan_test): Add more tests.
41063         (catanh_test): Likewise.
41064         * sysdeps/i386/fpu/libm-test-ulps: Update.
41065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41067 2013-04-27  Andreas Jaeger  <aj@suse.de>
41069         [BZ #15007]
41070         * stdlib/stdlib.h: Update guards for qecvt.
41071         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
41072         <stdlib.h>.
41074 2013-04-27  Allan McRae  <allan@archlinux.org>
41076         * sysdeps/i386/fpu/libm-test-ulps: Update.
41078 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
41080         [BZ #15406]
41081         * math/s_catan.c: Include <float.h>.
41082         (__catan): Ensure underflow exception occurs for underflowed
41083         result.
41084         * math/s_catanf.c: Include <float.h>.
41085         (__catanf): Ensure underflow exception occurs for underflowed
41086         result.
41087         * math/s_catanh.c: Include <float.h>.
41088         (__catanh): Ensure underflow exception occurs for underflowed
41089         result.
41090         * math/s_catanhf.c: Include <float.h>.
41091         (__catanhf): Ensure underflow exception occurs for underflowed
41092         result.
41093         * math/s_catanhl.c: Include <float.h>.
41094         (__catanhl): Ensure underflow exception occurs for underflowed
41095         result.
41096         * math/s_catanl.c: Include <float.h>.
41097         (__catanl): Ensure underflow exception occurs for underflowed
41098         result.
41099         * math/libm-test.inc (catan_test): Add more tests.
41100         (catanh_test): Likewise.
41102         [BZ #15405]
41103         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
41104         underflowed result.
41105         * math/s_ccoshf.c (__ccoshf): Likewise.
41106         * math/s_ccoshl.c (__ccoshl): Likewise.
41107         * math/s_csin.c (__csin): Likewise.
41108         * math/s_csinf.c (__csinf): Likewise.
41109         * math/s_csinh.c (__csinh): Likewise.
41110         * math/s_csinhf.c (__csinhf): Likewise.
41111         * math/s_csinhl.c (__csinhl): Likewise.
41112         * math/s_csinl.c (__csinl): Likewise.
41113         * math/libm-test.inc (ccos_test): Add more tests.
41114         (ccosh_test): Likewise.
41115         (csin_test): Likewise.
41116         (csinh_test): Likewise.
41118 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41120         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
41121         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
41122         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
41123         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
41124         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
41125         powerpc/power5+/fpu folders.
41126         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
41129 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41133 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
41135         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
41136         additions to variable.
41137         [$(config-machine) = x86_64] (modules-names): Likewise.
41138         ($(objpfx)tst-audit3): Remove dependency.
41139         ($(objpfx)tst-audit3.out): Likewise.
41140         ($(objpfx)tst-audit4): Likewise.
41141         ($(objpfx)tst-audit4.out): Likewise.
41142         ($(objpfx)tst-audit5): Likewise.
41143         ($(objpfx)tst-audit5.out): Likewise.
41144         ($(objpfx)tst-audit6): Likewise.
41145         ($(objpfx)tst-audit6.out): Likewise.
41146         ($(objpfx)tst-audit7): Likewise.
41147         ($(objpfx)tst-audit7.out): Likewise.
41148         (tst-audit3-ENV): Remove variable.
41149         (tst-audit4-ENV): Likewise.
41150         (tst-audit5-ENV): Likewise.
41151         (tst-audit6-ENV): Likewise.
41152         (tst-audit7-ENV): Likewise.
41153         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
41154         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
41155         addition to variable.
41156         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
41157         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
41158         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
41159         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
41160         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
41161         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
41162         tst-audit3, tst-audit4 and tst-audit5.
41163         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
41164         tst-audit6 and tst-audit7.
41165         [$(subdir) = elf] (modules-names): Add audit modules for those
41166         tests.
41167         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
41168         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
41169         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
41170         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
41171         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
41172         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
41173         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
41174         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
41175         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
41176         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
41177         [$(subdir) = elf] (tst-audit3-ENV): New variable.
41178         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
41179         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
41180         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
41181         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
41182         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
41183         Likewise.
41184         [$(subdir) = elf && $(config-cflags-avx) = yes]
41185         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
41186         [$(subdir) = elf && $(config-cflags-avx) = yes]
41187         (CFLAGS-tst-auditmod4a.c): Likewise.
41188         [$(subdir) = elf && $(config-cflags-avx) = yes]
41189         (CFLAGS-tst-auditmod4b.c): Likewise.
41190         [$(subdir) = elf && $(config-cflags-avx) = yes]
41191         (CFLAGS-tst-auditmod6b.c): Likewise.
41192         [$(subdir) = elf && $(config-cflags-avx) = yes]
41193         (CFLAGS-tst-auditmod6c.c): Likewise.
41194         [$(subdir) = elf && $(config-cflags-avx) = yes]
41195         (CFLAGS-tst-auditmod7b.c): Likewise.
41196         * elf/tst-audit3.c: Move to ...
41197         * sysdeps/x86_64/tst-audit3.c: ... here.
41198         * elf/tst-audit4.c: Move to ...
41199         * sysdeps/x86_64/tst-audit4.c: ... here.
41200         * elf/tst-audit5.c: Move to ...
41201         * sysdeps/x86_64/tst-audit5.c: ... here.
41202         * elf/tst-audit6.c: Move to ...
41203         * sysdeps/x86_64/tst-audit6.c: ... here.
41204         * elf/tst-audit7.c: Move to ...
41205         * sysdeps/x86_64/tst-audit7.c: ... here.
41206         * elf/tst-auditmod3a.c: Move to ...
41207         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
41208         * elf/tst-auditmod3b.c: Move to ...
41209         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
41210         * elf/tst-auditmod4a.c: Move to ...
41211         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
41212         * elf/tst-auditmod4b.c: Move to ...
41213         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
41214         * elf/tst-auditmod5a.c: Move to ...
41215         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
41216         * elf/tst-auditmod5b.c: Move to ...
41217         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
41218         * elf/tst-auditmod6a.c: Move to ...
41219         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
41220         * elf/tst-auditmod6b.c: Move to ...
41221         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
41222         * elf/tst-auditmod6c.c: Move to ...
41223         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
41224         * elf/tst-auditmod7a.c: Move to ...
41225         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
41226         * elf/tst-auditmod7b.c: Move to ...
41227         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
41229 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
41231         [BZ #15366]
41232         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
41233         define unconditionally.
41234         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
41235         define unconditionally.
41236         (INT8_C, INT16_C, etc.): Likewise.
41238 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
41240         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
41241         __ehdr_start with hidden visibility.
41243         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
41245 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
41247         * math/libm-test.inc (cos_test): Use accurate hex constants.
41248         (sincost_test): Likewise.
41250 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
41252         * math/libm-test.inc (catan_test): Add more tests.
41253         (catanh_test): Likewise.
41255         * math/s_catanf.c (__catanf): Use suffixed floating-point
41256         constants.
41257         * math/s_catanhf.c (__catanhf): Likewise.
41258         * math/s_catanhl.c (__catanhl): Likewise.
41259         * math/s_catanl.c (__catanl): Likewise.
41261         [BZ #15394]
41262         * math/s_catan.c (__catan): Calculate imaginary part of result
41263         with log1p not log unless computing log of number close to 0.
41264         * math/s_catanf.c (__catanf): Likewise.
41265         * math/s_catanl.c (__catanl): Likewise.
41266         * math/s_catanh.c (__catanh): Calculate real part of result with
41267         log1p not log unless computing log of number close to 0.
41268         * math/s_catanhf.c (__catanhf): Likewise.
41269         * math/s_catanhl.c (__catanhl): Likewise.
41270         * math/libm-test.inc (catan_test): Add more tests.
41271         (catanh_test): Likewise.
41272         * sysdeps/i386/fpu/libm-test-ulps: Update.
41273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41275 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41277         * benchtests/Makefile: Mention files in which fast and slow
41278         paths of math functions are implemented.
41280 2013-04-23  Roland McGrath  <roland@hack.frob.com>
41282         * sysdeps/posix/timespec_get.c: New file.
41284 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41286         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
41287         POWER.
41288         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
41289         for POWER.
41290         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
41291         powerpc/power5/fpu folders.
41292         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
41293         * benchtests/Makefile: Add modf testcase.
41294         * benchtests/bench-modf.c: New file: Benchmark test for mo
41296 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41298         [BZ #14888]
41299         * time/Makefile (tests): Add tst-strptime-whitespace.
41300         * time/strptime_l.c (get_number): Use ISSPACE.
41301         (__strptime_internal): Likewise.
41302         * time/tst-strptime-whitespace.c: New test case.
41304 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
41306         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
41307         member.
41308         (_nss_files_init): Set it here.
41310 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
41312         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
41313         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
41314         unsigned.
41316 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
41318         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
41320 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41322         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
41323         size just once.
41325 2013-04-21  David S. Miller  <davem@davemloft.net>
41327         * po/ru.po: Update Russion translation from translation project.
41329 2013-04-17  Adam Conrad  <adconrad@0c3.net>
41331         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
41332         and setfsgid.
41334 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
41336         * configure.in: Remove i386 configure warning. Remove i386 case.
41337         * configure: Regenerate.
41338         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
41339         Add example to error message.
41340         * sysdeps/i386/configure: Regenerate.
41342 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41344         * benchtests/Makefile (bench): Add cos, tan, slowcos and
41345         slowtan.
41346         * benchtests/cos-inputs: New file.
41347         * benchtests/slowcos-inputs: New file.
41348         * benchtests/slowcos.c: New file.
41349         * benchtests/slowtan-inputs: New file.
41350         * benchtests/slowtan.c: New file.
41351         * benchtests/tan-inputs: New file.
41353 2013-04-16  Roland McGrath  <roland@hack.frob.com>
41355         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
41356         considered kosher.
41358 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41360         * benchtests/Makefile: Include cppflags-iterator.mk to add
41361         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
41363         * Makefile.in (bench-clean): New target.
41364         * benchtests/Makefile (bench-clean): Likewise.
41366 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
41368         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
41370 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
41372         * stdio-common/tstdiomisc.c: Fix coding-style violation.
41374 2013-04-15  Andreas Schwab  <schwab@suse.de>
41376         * nscd/grpcache.c (cache_addgr): Properly check for short write.
41377         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41378         * nscd/pwdcache.c (cache_addpw): Likewise.
41379         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
41380         more than recsize.
41382 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41384         * benchtests/Makefile (bench): Write all output to
41385         bench-out.tmp together.
41387 2013-04-15  Andreas Schwab  <schwab@suse.de>
41389         * nscd/nscd.c (main): Don't fork again after closing files.
41391 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41393         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
41395         * benchtests/Rules (bench-deps): Collect dependencies into a
41396         single variable.  Add Makefile to dependencies.
41397         ($(objpfx)bench-%.c): Depend on bench-deps.
41399 2013-04-12  Roland McGrath  <roland@hack.frob.com>
41400             Xavier Roche  <roche+kml2@exalead.com>
41402         [BZ #15361]
41403         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
41404         just that it's a file descriptor.
41405         * manual/llio.texi (Synchronizing AIO Operations): Update description
41406         for EBADF error from aio_fsync.
41408 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41410         * Rules (bench): Move target definition...
41411         * benchtests/Makefile: ... here.
41413 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
41415         * math/libm-test.inc (cos_test): Fix PI/2 test.
41416         (sincos_test): Likewise.
41417         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41418         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
41420 2013-04-11  Andreas Schwab  <schwab@suse.de>
41422         [BZ #13988]
41423         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
41424         accept exponent character only when digits were seen.
41425         * stdio-common/Makefile (tests): Add bug26.
41426         * stdio-common/bug26.c: New file.
41428         [BZ #14293]
41429         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
41430         non-freeable.
41432 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41434         * Makeconfig (rtld-prefix): Define built linker prefix.
41435         * Rules (run-bench): Use it.
41436         * math/Makefile (run-regen-ulps): Likewise.
41438         * Rules (bench): Remove eval.
41440 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41441             Roland McGrath  <roland@hack.frob.com>
41442             Ondrej Bilka  <neleai@seznam.cz>
41444         [BZ #15346]
41445         * time/getdate.c: Include ctype.h and alloca.h.
41446         (__getdate_r): Trim leading and trailing spaces of input.
41447         * time/tst-getdate.c (tests): Add tests with leading and
41448         trailing spaces.
41450 2013-04-08  Roland McGrath  <roland@hack.frob.com>
41452         [BZ #14280]
41453         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
41454         when computing value.
41456 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41458         * math/README.libm-test (How can I generate "libm-test-ulps"?):
41459         Use testrun.sh to run libm tests.
41461         [BZ #15309]
41462         * elf/dl-open.c (dl_open_worker): memset all of seen array.
41464 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
41466         [BZ #15264]
41467         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
41469 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41471         * Makefile.in (regen-ulps): New target.
41472         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
41473         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
41474         [ifneq (no,$(PERL)] (regen-ulps): New target.
41475         [ifeq (no,$(PERL)] (regen-ulps): New target.
41476         * math/libm-test.inc (ulps_file_name): Define.
41477         (output_dir): New variable.
41478         (options): Add "output-dir" option.
41479         (parse_opt): Handle 'o' case.
41480         (main): If output_dir is non-NULL use it as a prefix
41481         otherwise use "".
41482         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
41484 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41486         [BZ #10060, #10062]
41487         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
41488         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
41489         fail configure if __sync_val_compare_and_swap is not inlined.
41490         * sysdeps/i386/configure: Regenerate.
41491         * configure.in: Build for i686 when configured for i386.
41492         * configure: Regenerate.
41493         * README: Remove i386 reference.
41495 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41497         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
41498         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41500 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41502         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
41503         (lmsnanval): New variables.
41504         (F): Add conversion tests.
41505         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
41506         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
41508         * stdio-common/tstdiomisc.c (F): Properly collect individual
41509         tests' results.
41511         [BZ #14686, #15336]
41512         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
41513         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
41514         Instead, use input NaN values or generate a qNaN by arithmetic
41515         operation.  Also fix bugs to comply with the standard.
41516         * math/libm-test.inc (remainder_test): Add more tests.
41518         [BZ #15335, #15342]
41519         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
41520         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
41521         input NaN values or generate a qNaN by arithmetic operation.
41523         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
41524         unreachable code.
41526         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
41527         definitions.
41529 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
41531         [BZ #14478]
41532         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
41533         underflowed result.
41534         * math/s_cexpf.c (__cexpf): Likewise.
41535         * math/s_cexpl.c (__cexpl): Likewise.
41536         * math/libm-test.inc (cexp_test): Add more tests.
41538 2013-04-03  Andreas Schwab  <schwab@suse.de>
41540         [BZ #15330]
41541         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
41542         order arrays from heap if bigger than alloca cutoff.
41544 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
41546         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
41547         (SNAN_TESTS_double): Refer to GCC PR56831.
41548         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
41549         GCC PR56828.
41551 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41553         * Rules (bench): Move bench.out after the run is complete.
41555         * Rules (bench): Echo currently running benchmark.
41557         * benchtests/Makefile (bench): Add atan and slowatan.
41558         * benchtests/atan-inputs: New file.
41559         * benchtests/slowatan-inputs: New file.
41560         * benchtests/slowatan.c: New file.
41562         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
41563         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
41564         its value.
41566         [BZ #15305]
41567         * sysdeps/unix/sysv/linux/kernel-features.h
41568         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
41569         __ASSUME_XFS_RESTRICTED_CHOWN.
41570         * sysdeps/unix/sysv/linux/pathconf.c
41571         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41572         Save and restore errno.
41574 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
41576         [BZ #15327]
41577         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
41578         arguments using __kernel_casinh.
41579         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
41580         arguments using __kernel_casinhf.
41581         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
41582         arguments using __kernel_casinhl.
41583         * math/libm-test.inc (cacosh_test): Add more tests.
41584         * sysdeps/i386/fpu/libm-test-ulps: Update.
41585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41587 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41589         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
41590         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
41592         * bench/Makefile (bench): Add sin and slowsin.
41593         * benchtests/sin-inputs: New file.
41594         * benchtests/slowsin-inputs: New file.
41595         * benchtests/slowsin.c: New file.
41597         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
41598         (bench): Add slowexp and slowpow.
41599         (exp-ITER): Increase iterations.
41600         (pow-ITER): Likewise.
41601         * benchtests/exp-inputs: Change input.
41602         * benchtests/pow-inputs: Likewise.
41603         * benchtests/slowexp-inputs: New file.
41604         * benchtests/slowexp.c: New file.
41605         * benchtests/slowpow-inputs: New file.
41606         * benchtests/slowpow.c: New file.
41608 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41610         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
41611         instructions.
41612         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41613         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
41614         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41615         * benchtests/Makefile: Add rint benchtest.
41616         * benchtests/rint-inputs: Input for rint benchtest.
41618 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41620         * Versions.def (libm): Add GLIBC_2.18.
41621         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
41622         hidden libm prototypes.
41623         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
41624         * math/Makefile (libm-calls): Add s_issignaling.
41625         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
41626         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
41627         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
41628         declaration.
41629         * math/math.h [__USE_GNU] (issignaling): New macro.
41630         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
41631         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
41632         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
41633         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
41634         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
41635         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
41636         * manual/arith.texi (issignaling): New section.
41637         * manual/libm-err-tab.pl (@all_functions): Update comment.
41638         * math/gen-libm-test.pl (parse_args): Apply special handling for
41639         issignaling.
41640         * math/libm-test.inc (print_float, issignaling_test): New
41641         functions.
41642         (check_float_internal): Add issignaling checks.
41643         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
41644         default definition.
41645         * sysdeps/powerpc/math-tests.h: New file.
41646         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
41647         tests.
41648         * math/test-snan.c (TEST_FUNC): Likewise.
41650 2013-03-30  David S. Miller  <davem@davemloft.net>
41652         * po/de.po: Update from translation team.
41654 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
41656         [BZ #10357]
41657         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41658         imaginary part less than 1.0 and real part less than 0.5
41659         specially.
41660         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41661         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41662         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
41663         (cacos_test): Add more tests.
41664         (casin_test): Likewise.
41665         (casinh_test): Likewise.
41666         * sysdeps/i386/fpu/libm-test-ulps: Update.
41667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41669 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41671         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
41672         ONE with its value.
41674         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
41675         (__pow_mp): Replace ONE and MONE with their values.
41676         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41677         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
41678         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41679         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
41680         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41681         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41683         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
41685         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
41686         (__pow_mp): Replace ZERO and MZERO with their values.
41687         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41688         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41689         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41690         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41691         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41692         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
41693         (__sqr): Likewise.
41695         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
41697         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
41699 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41701         * include/stdlib.h [!SHARED] (__call_tls_dtors):
41702         Declare with __attribute__ ((weak)).
41703         * stdlib/exit.c (__libc_atexit) [!SHARED]:
41704         Call __call_tls_dtors only if it's not NULL.
41706 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41708         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
41709         didn't do it already, then set _dl_phdr and _dl_phnum based on the
41710         magic __ehdr_start linker symbol if it's defined.
41711         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
41712         them up here if it was already done.
41714         * elf/dl-support.c (_dl_phdr): Make pointer to const.
41715         (_dl_aux_init): Use const in cast when setting it.
41716         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
41717         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
41718         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
41720         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
41721         Declare them here.
41722         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
41723         * csu/libc-tls.c: Nor here.
41724         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
41726         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
41727         (__libc_message): Never call vsyslog.
41729 2013-03-28  Alan Modra  <amodra@gmail.com>
41731         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
41732         Define as empty.
41733         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
41734         Likewise.
41736 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41738         [BZ #15214]
41739         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
41740         underflow.
41741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41743 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41745         [BZ #15304]
41746         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41747         Don't add gid passed as argument.
41749         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
41751 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
41753         [BZ #15307]
41754         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41755         imaginary part between 1.0 and 1.5 and real part less than 0.5
41756         specially.
41757         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41758         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41759         * math/libm-test.inc (cacos_test): Add more tests.
41760         (casin_test): Likewise.
41761         (casinh_test): Likewise.
41762         * sysdeps/i386/fpu/libm-test-ulps: Update.
41763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41765 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41767         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
41768         constants.
41769         (norm): Likewise.
41770         (denorm): Likewise.
41771         (__dbl_mp): Likewise.
41772         (add_magnitudes): Likewise.
41773         (sub_magnitudes): Likewise.
41774         (__add): Likewise.
41775         (__sub): Likewise.
41776         (__mul): Likewise.
41777         (__sqr): Likewise.
41778         (__inv): Likewise.
41779         (__dvd): Likewise.
41781         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
41782         commented code.
41783         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
41784         (__dubcos): Likewise.
41785         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
41786         (__ieee754_acos): Likewise.
41787         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41788         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
41789         (__exp1): Likewise.
41790         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41791         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41792         (log1): Likewise.
41793         (my_log2): Likewise.
41794         (checkint): Likewise.
41795         * sysdeps/ieee754/dbl-64/e_remainder.c
41796         (__ieee754_remainder): Likewise.
41797         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41798         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
41799         (bsloww): Likewise.
41800         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41802         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41803         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
41804         MANTISSA_STORE_T to store computations on mantissa.  Use
41805         macros for rounding and division.
41806         (denorm): Likewise.
41807         (__dbl_mp): Likewise.
41808         (add_magnitudes): Likewise.
41809         (sub_magnitudes): Likewise.
41810         (__mul): Likewise.
41811         (__sqr): Likewise.
41812         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41813         powers of two in terms of TWOPOW macro.
41814         (mp_no): Make type of mantissa as MANTISSA_T.
41815         [!RADIXI]: Define RADIXI.
41816         [!TWO52]: Define TWO52.
41817         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41819 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41821         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
41822         llroundl symbol when building for PPC32.
41824 2013-03-24  Mark H Weaver  <mhw@netris.org>
41826         * manual/arith.texi (Normalization Functions): Fix prototypes for
41827         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
41829 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41831         [BZ #13889]
41832         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
41833         high value to check if expl overflow.
41834         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
41835         to check for underflow and overflow.
41836         * math/libm-test.inc: Add exp test.
41838 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
41840         [BZ #11120]
41841         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
41842         with NOT_IN_libc.
41844 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41846         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
41847         symbol.
41849 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41851         * math/gen-libm-test.pl (parse_args, special_functions): Properly
41852         wrap blocks consisting of several statements.
41854         * sysdeps/generic/math-tests.h: New file.
41855         * sysdeps/i386/fpu/math-tests.h: Likewise.
41856         * math/test-snan.c: Include it.
41857         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
41859 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41861         [BZ #15285]
41862         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
41863         (__ieee754_j0l): Do not improve calculations using cos of twice
41864         input for inputs above LDBL_MAX / 2.0L.
41865         (__ieee754_y0l): Likewise.
41866         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
41867         (__ieee754_j1l): Do not improve calculations using cos of twice
41868         input for inputs above LDBL_MAX / 2.0L.
41869         (__ieee754_y1l): Likewise.
41870         * math/libm-test.inc (j0_test): Add another test.
41871         (j1_test): Likewise.
41872         (y0_test): Likewise.
41873         (y1_test): Likewise.
41874         * sysdeps/i386/fpu/libm-test-ulps: Update.
41876 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41878         * Rules ($(objpfx)bench-%.c): Include code from a C source
41879         file.
41881 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41883         [BZ #15287]
41884         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41885         imaginary part 1.0 and real part less than 0.5 specially.
41886         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41887         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41888         * math/libm-test.inc (cacos_test): Add more tests.
41889         (casin_test): Likewise.
41890         (casinh_test): Likewise.
41891         * sysdeps/i386/fpu/libm-test-ulps: Update.
41892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41894 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41896         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
41897         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
41899 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
41901         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
41902         * config.make.in (config-cflags-sse4): Remove variable.
41903         (config-cflags-avx): Likewise.
41904         (config-cflags-sse2avx): Likewise.
41905         (config-cflags-novzeroupper): Likewise.
41906         (config-asflags-i686): Likewise.
41907         (have-mfma4): Likewise.
41908         (have-as-vis3): Likewise.
41909         (MIG): Likewise.
41910         * configure.in (MIG): Do not AC_SUBST.
41911         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
41912         (libc_cv_cc_sse4): Do not AC_SUBST.
41913         (libc_cv_cc_avx): Likewise.
41914         (libc_cv_cc_sse2avx): Likewise.
41915         (libc_cv_cc_novzeroupper): Likewise.
41916         (libc_cv_cc_fma4): Likewise.
41917         (libc_cv_as_i686): Likewise.
41918         (libc_cv_sparc_as_vis3): Likewise.
41919         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
41920         LIBC_CONFIG_VAR.
41921         (config-asflags-i686): Likewise.
41922         (config-cflags-avx): Likewise.
41923         (config-cflags-sse2avx): Likewise.
41924         (have-mfma4): Likewise.
41925         (config-cflags-novzeroupper): Likewise.
41926         * sysdeps/mach/configure.in (MIG): Likewise.
41927         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
41928         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
41929         LIBC_CONFIG_VAR.
41930         (config-cflags-avx): Likewise.
41931         (config-cflags-sse2avx): Likewise.
41932         (have-mfma4): Likewise.
41933         (config-cflags-novzeroupper): Likewise.
41934         * configure: Regenerated.
41935         * sysdeps/i386/configure: Likewise.
41936         * sysdeps/mach/configure: Likewise.
41937         * sysdeps/sparc/configure: Likewise.
41938         * sysdeps/x86_64/configure: Likewise.
41940 2013-03-20  Roland McGrath  <roland@hack.frob.com>
41942         [BZ #14812]
41943         * locale/programs/localedef.c (options): Put N_ translation marker
41944         on argument names, not just descriptions.
41946 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41948         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
41950 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
41952         [BZ #14176]
41953         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
41955 2013-03-19  Roland McGrath  <roland@hack.frob.com>
41957         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
41958         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
41959         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
41960         [!BEFORE_ABORT] (before_abort): New function.
41961         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
41962         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
41963         (writev_for_fatal): New function.
41964         (WRITEV_FOR_FATAL): New macro; call that.
41965         (backtrace_and_maps): New function.
41966         (BEFORE_ABORT): New macro; call that.
41967         (struct str_list): Type removed.
41968         (__libc_message, __libc_fatal): Functions removed.
41969         Include <sysdeps/posix/libc_fatal.c> instead.
41971 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
41973         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
41974         constants.
41975         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
41976         double constants.
41978 2013-03-19  Andreas Schwab  <schwab@suse.de>
41980         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
41981         * sysdeps/gnu/configure: Regenerate.
41983         * configure.in: Substitute libc_cv_rtlddir.
41984         * configure: Regenerate.
41985         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
41986         * Makeconfig (rtlddir, inst_rtlddir): New variables.
41987         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
41988         * elf/Makefile (install-others, CFLAGS-interp.c)
41989         (ldso_install, common-ldd-rewrite): Likewise.
41990         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
41991         $(inst_slibdir)/$(rtld-installed-name).
41992         * scripts/rellns-sh: Add -p option.
41993         * Makerules (make-shlib-link): Use rellns-sh to get relative name
41994         for source.
41996 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41998         * manual/nptl.texi: Renamed to ...
41999         * manual/threads.texi: ... this.
42000         * manual/Makefile (chapters): Update.
42002 2013-03-18  Roland McGrath  <roland@hack.frob.com>
42004         [BZ #14812]
42005         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
42006         on argument names, not just descriptions.
42007         * malloc/memusagestat.c (options): Likewise.
42008         * nss/getent.c (options): Likewise.
42010 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
42012         [BZ #14812]
42013         * iconv/iconv_prog.c (options): Put N_ translation marker
42014         on argument names, not just descriptions.
42015         * iconv/iconvconfig.c (options): Likewise.
42017 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
42019         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
42020         implementation which is faster on all x86_64 architectures.
42021         Tested on AMD, Intel Nehalem, SNB, IVB.
42022         * sysdeps/x86_64/strnlen.S: Likewise.
42024         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42025         Remove all multiarch strlen and strnlen versions.
42026         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42027         Remove strlen and strnlen related parts.
42029         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
42030         Inline strlen part.
42031         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42033         * sysdeps/x86_64/multiarch/strlen.S: Remove.
42034         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
42035         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
42036         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
42037         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42038         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
42040 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
42042         * manual/memory.texi (Malloc Tunable Parameters):
42043         Sort parameters alphabetically. Add comments for missing entries.
42045 2013-03-17  David S. Miller  <davem@davemloft.net>
42047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42049 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
42051         [BZ #15283]
42052         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
42053         for arguments at most half maximum finite value.
42054         * math/libm-test.inc (j0_test): Add more tests.
42055         (j1_test): Likewise.
42056         (y0_test): Likewise.
42057         (y1_test): Likewise.
42058         * sysdeps/i386/fpu/libm-test-ulps: Update.
42059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42061         [BZ #14155]
42062         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
42063         1 / x and functions P and Q for arguments above 0x1p256L.
42064         (__ieee754_y0l): Likewise.
42065         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
42066         (__ieee754_y1l): Likewise.
42067         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
42068         (j1_test): Likewise.
42069         (y0_test): Likewise.
42070         (y1_test): Likewise.
42072 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
42074         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
42075         variable.
42077 2013-03-15  Roland McGrath  <roland@hack.frob.com>
42079         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
42080         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
42081         zero since it's initialized to EXEC_PAGESIZE.
42083         * sysdeps/unix/sysv/linux/ldsodefs.h
42084         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
42085         * sysdeps/generic/ldsodefs.h: ... here.
42087 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
42089         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
42091         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
42092         math/test-snan.c.
42093         * math/test-snan.c: Renamed from
42094         sysdeps/powerpc/fpu/test-powerpc-snan.c.
42095         * math/Makefile (tests): Add test-snan.
42096         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
42097         test-powerpc-snan.
42099         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
42100         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
42101         functions.
42102         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
42103         __builtin_nan family of functions.
42104         * math/libm-test.inc (initialize): Initialize qnan_value with
42105         __builtin_nan family of functions.
42106         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
42107         Remove variables.
42108         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
42109         Remove functions.
42110         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
42111         storage class.  Initialize qNaN_var and sNaN_var with
42112         __builtin_nan and __builtin_nans families of functions,
42113         respectively.
42115         * math/libm-test.inc (acosh_test): Also test with qNaN input.
42116         (sqrt_test): Remove duplicate test with qNaN input.
42117         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
42118         (round_test, signbit_test, significand_test): Note missing +/-Inf
42119         as well as qNaN tests.
42121         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
42122         qNaN_var.  Fix a few strings, too.
42123         * math/libm-test.inc (nan_value): Rename to qnan_value.
42124         * math/gen-libm-test.pl (%beautify): Adjust to that.
42125         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
42126         * math/test-misc.c (main): Likewise.
42127         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
42128         to __qnan_bytes, and __qnan_union, respectively.
42129         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
42130         Likewise.
42131         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
42132         and lqnanval, respectively.
42133         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
42134         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
42135         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
42136         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
42138         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
42139         * math/test-misc.c (main) [__x86_64__]: Enable test for long
42140         doubles.
42142         * math/test-misc.c (main): Fix copy'n'pastos.
42143         * misc/tst-efgcvt.c (special): Likewise.
42145         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
42146         Remove declarations.
42148 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42150         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
42151         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
42152         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
42153         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
42155 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42157         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
42158         macro to return vdso values correctly in IFUNC implementations.
42159         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42160         Optimization by using IFUNC.
42162 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42163             Richard Henderson  <rth@redhat.com>
42164             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42166         * Makefile.in (bench): New target.
42167         * NEWS: Mention the benchmark framework.
42168         * Rules (bench): Likewise.
42169         (binaries-bench): Generate binaries for functions to
42170         benchmark.
42171         * benchtests/Makefile: New makefile for benchmark tests.
42172         * benchtests/bench-skeleton.c: New skeleton file for benchmark
42173         programs.
42174         * benchtests/exp-inputs: New input file for EXP function.
42175         * benchtests/pow-inputs: New input file for POW function.
42176         * scripts/bench.pl: New script to generate source files for
42177         benchmark programs.
42179 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42181         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
42182         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
42183         computations on mantissa.  Use macros for rounding and
42184         division.
42185         (denorm): Likewise.
42186         (__dbl_mp): Likewise.
42187         (add_magnitudes): Likewise.
42188         (sub_magnitudes): Likewise.
42189         (__mul): Likewise.
42190         (__sqr): Likewise.
42191         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
42192         powers of two in terms of TWOPOW macro.
42193         (mp_no): Make type of mantissa as MANTISSA_T.
42194         [!RADIXI]: Define RADIXI.
42195         [!TWO52]: Define TWO52.
42196         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
42198         * manual/nptl.texi (cindex): Modify threads to pthreads.
42200 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
42202         * sysdeps/x86_64/preconfigure: Regenerated.
42204 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
42206         [BZ #14155]
42207         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
42208         0x1p28 and above.
42209         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
42210         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
42211         0x1p28 and above.
42212         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
42213         * math/libm-test.inc (j0_test): Do not allow one spurious
42214         underflow exception.
42215         (y1_test): Likewise.
42217 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42219         * manual/Makefile (chapters): Add nptl.
42220         * manual/debug.texi (Debugging Support): Add link to Threads
42221         chapter.
42222         * manual/nptl.texi: New file.
42224         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
42226 2013-03-14  Petr Baudis  <pasky@ucw.cz>
42228         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
42229         for non-NULL pointer before the memory validity test. Pointed
42230         out by Holger Brunck <holger.brunck@keymile.com>.
42232 2013-03-13  Andreas Schwab  <schwab@suse.de>
42234         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
42235         instead of .os.
42237 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
42239         * timezone/zic.c: Update from tzcode 2013b.
42241 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
42243         * manual/install.texi (Configuring and compiling):
42244         Mention i686 and i586.
42245         * INSTALL: Regenerate.
42247 2013-03-12  Roland McGrath  <roland@hack.frob.com>
42249         * sysdeps/init_array/elf-init.c: New file.
42250         * csu/elf-init.c
42251         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
42252         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
42254         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
42255         __gmon_start__ as global, but as static with a .preinit_array pointer.
42256         * sysdeps/init_array/gmon-start.c: New file.  Use that.
42257         * sysdeps/init_array/crti.S: New file, empty except for comments.
42258         * sysdeps/init_array/crtn.S: Likewise.
42260 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
42262         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
42263         definining bcopy.
42264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42265         Remove Prefer_SSE_for_memop.
42266         * sysdeps/x86_64/multiarch/init-arch.h: Remove
42267         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
42268         HAS_PREFER_SSE_FOR_MEMOP.
42269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
42270         memset-x86-64.
42271         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42272         Remove bzero, memset ifunc support.
42273         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
42274         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
42275         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42276         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42278 2013-03-11  Andreas Schwab  <schwab@suse.de>
42280         [BZ #15234]
42281         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
42282         by SHLIB_COMPAT.
42283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
42284         (GLIBC_2.16): Remove pthread_atfork.
42286 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
42288         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
42289         (ptestcases.h): Likewise.
42291 2013-03-08  Roland McGrath  <roland@hack.frob.com>
42293         * Makeconfig ($(common-objpfx)config.status): Depend on
42294         sysdeps/*/preconfigure{,.in} too.
42296 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
42298         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
42299         (__free_hook): Use void * instead of __malloc_ptr_t.
42300         (__malloc_hook): Likewise.
42301         (__realloc_hook): Likewise.
42302         (__memalign_hook): Likewise.
42303         (__after_morecore_hook): Likewise.
42304         * malloc/arena.c (save_malloc_hook): Likewise.
42305         (save_free_hook): Likewise.
42306         * malloc/hooks.c (malloc_hook_ini): Likewise.
42307         (realloc_hook_ini): Likewise.
42308         (memalign_hook_ini): Likewise.
42309         * malloc/malloc.c (malloc_hook_ini): Likewise.
42310         (realloc_hook_ini): Likewise.
42311         (memalign_hook_ini): Likewise.
42312         (__free_hook): Likewise.
42313         (__malloc_hook): Likewise.
42314         (__realloc_hook): Likewise.
42315         (__memalign_hook): Likewise.
42316         (__libc_malloc): Likewise.
42317         (__libc_free): Likewise.
42318         (__libc_realloc): Likewise.
42319         (__libc_memalign): Likewise.
42320         (__libc_valloc): Likewise.
42321         (__libc_pvalloc): Likewise.
42322         (__libc_calloc): Likewise.
42323         (__posix_memalign): Likewise.
42324         * malloc/morecore.c (__sbrk): Likewise.
42325         (__default_morecore): Likewise.
42327         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
42329         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
42330         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
42331         __malloc_ptrdiff_t.
42333         * malloc/malloc.h (__malloc_size_t): Remove macro.
42334         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
42335         __malloc_size_t.
42336         (old_memalign_hook): Likewise.
42337         (old_realloc_hook): Likewise.
42338         (struct hdr): Likewise.
42339         (flood): Likewise.
42340         (mallochook): Likewise.
42341         (memalignhook): Likewise.
42342         (reallochook): Likewise.
42343         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
42344         (tr_old_realloc_hook): Likewise.
42345         (tr_old_memalign_hook): Likewise.
42346         (tr_mallochook): Likewise.
42347         (tr_reallochook): Likewise.
42348         (tr_memalignhook): Likewise.
42350 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42352         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
42353         default_ldbl_pack and using as default implementation.
42354         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
42355         implementation.
42356         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
42357         redundant definition.
42358         (ldbl_insert_mantissa): Likewise.
42359         (ldbl_canonicalize): Likewise.
42360         (ldbl_nearbyint): Likewise.
42361         (ldbl_pack): Rename to ldbl_pack_ppc.
42362         (ldbl_unpack): Rename to ldbl_unpack_ppc.
42363         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
42364         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
42366 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
42369         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
42370         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
42371         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
42372         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
42373         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
42374         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
42375         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
42377 2013-03-07  Andreas Jaeger  <aj@suse.de>
42379         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42380         bits/mman-linux.h.
42382 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42384         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
42385         Include mpa.h and declare __MPEXP.
42386         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
42387         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42388         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42389         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
42390         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42391         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42392         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
42394         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
42395         (__slowpow): Use long double EXPL and LOGL functions to
42396         compute POW.
42397         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42398         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42399         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
42400         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42401         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42402         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
42404         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
42405         intermediate variable to calculate exponent.
42406         (__sqr): Likewise.
42407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
42408         Likewise.
42409         (__sqr): Likewise.
42411         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
42412         [!NO__SQR]: Define __sqr.
42413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
42414         and NO__SQR.  Remove all code except __mul and __sqr.  Include
42415         sysdeps/ieee754/dbl-64/mpa.c.
42416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42418         [BZ #12723]
42419         * posix/Makefile (tests): Add tst-pathconf.
42420         * posix/tst-pathconf.c: New test case.
42421         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
42422         _PC_PIPE_BUF.
42423         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
42425 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
42427         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
42429 2013-03-06  Andreas Jaeger  <aj@suse.de>
42431         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
42432         definition via __MAP_ANONYMOUS.
42434         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
42435         it's not part of Linux headers.
42437         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
42438         (MAP_HUGE_MASK): Define.
42440         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42441         Define.
42442         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42443         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42444         Define.
42445         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42446         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42447         Define.
42448         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42449         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
42450         Define.
42451         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42453         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
42454         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
42455         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
42456         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
42457         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
42458         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
42460         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42461         Handle f2fs.
42463         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42464         Handle f2fs and efivarfs.
42466         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
42467         f2fs.
42469         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
42470         (EFIVARFS_MAGIC): Add.
42471         (F2FS_LINK_MAX): Add.
42473 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42475         * stdio-common/vfprintf.c: Replace __builtin_expect with
42476         __glibc_unlikely.
42478 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
42480         [BZ #13550]
42481         * sysdeps/generic/bp-sym.h: Remove file.
42482         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
42483         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
42484         <bp-sym.h> and <bp-asm.h>.
42485         (__longjmp): Don't use BP_SYM.
42486         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
42487         and <bp-asm.h>.
42488         (memcpy): Don't use BP_SYM.
42489         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
42490         <bp-sym.h> and <bp-asm.h>.
42491         (memcpy): Don't use BP_SYM.
42492         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
42493         <bp-asm.h>.
42494         (memcpy): Don't use BP_SYM.
42495         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
42496         <bp-asm.h>.
42497         (memset): Don't use BP_SYM.
42498         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42499         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42500         (__bzero): Don't use BP_SYM.
42501         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42502         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42503         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
42504         <bp-sym.h> and <bp-asm.h>.
42505         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42506         pointers.
42507         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
42508         <bp-sym.h> and <bp-asm.h>.
42509         (memcpy): Don't use BP_SYM.
42510         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
42511         <bp-sym.h> and <bp-asm.h>.
42512         (memset): Don't use BP_SYM.
42513         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42514         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42515         (__bzero): Don't use BP_SYM.
42516         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42517         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42518         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
42519         <bp-sym.h> and <bp-asm.h>.
42520         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42521         pointers.
42522         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
42523         <bp-sym.h> and <bp-asm.h>.
42524         (memcpy): Don't use BP_SYM.
42525         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
42526         <bp-sym.h> and <bp-asm.h>.
42527         (memset): Don't use BP_SYM.
42528         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42529         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42530         (__bzero): Don't use BP_SYM.
42531         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42532         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42533         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
42534         <bp-sym.h> and <bp-asm.h>.
42535         (__memchr): Don't use BP_SYM.
42536         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
42537         <bp-sym.h> and <bp-asm.h>.
42538         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42539         pointers.
42540         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
42541         <bp-sym.h> and <bp-asm.h>.
42542         (memcpy): Don't use BP_SYM.
42543         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
42544         <bp-sym.h> and <bp-asm.h>.
42545         (__mempcpy): Don't use BP_SYM.
42546         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
42547         <bp-sym.h> and <bp-asm.h>.
42548         (__memrchr): Don't use BP_SYM.
42549         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
42550         <bp-sym.h> and <bp-asm.h>.
42551         (memset): Don't use BP_SYM.
42552         (__bzero): Likewise.
42553         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
42554         <bp-sym.h> and <bp-asm.h>.
42555         (__rawmemchr): Don't use BP_SYM.
42556         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
42557         <bp-sym.h> and <bp-asm.h>.
42558         (__STRCMP): Don't use BP_SYM.
42559         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
42560         <bp-sym.h> and <bp-asm.h>.
42561         (strchr): Don't use BP_SYM.
42562         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
42563         <bp-sym.h> and <bp-asm.h>.
42564         (__strchrnul): Don't use BP_SYM.
42565         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
42566         <bp-sym.h> and <bp-asm.h>.
42567         (strlen): Don't use BP_SYM.
42568         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
42569         <bp-sym.h> and <bp-asm.h>.
42570         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42571         pointers.
42572         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
42573         <bp-sym.h> and <bp-asm.h>.
42574         (__strnlen): Don't use BP_SYM.
42575         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
42576         <bp-sym.h> and <bp-asm.h>.
42577         (__GI__setjmp): Don't use BP_SYM.
42578         (_setjmp): Likewise.
42579         (__sigsetjmp): Likewise.
42580         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
42581         (L(start_addresses)): Don't use BP_SYM.
42582         (_start): Likewise.
42583         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
42584         <bp-asm.h>.
42585         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
42586         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
42587         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42588         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42589         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
42590         <bp-asm.h>.
42591         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
42592         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
42593         about bounded pointers.
42594         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42595         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42596         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
42597         <bp-asm.h>.
42598         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42599         about bounded pointers.  Remove GKM FIXME comments.
42600         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42601         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
42602         <bp-asm.h>.
42603         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
42604         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
42605         Remove GKM FIXME comments.
42606         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42607         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42608         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
42609         <bp-asm.h>.
42610         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42611         about bounded pointers.  Remove GKM FIXME comment.
42612         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
42613         and <bp-asm.h>.
42614         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42615         pointers.
42616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
42617         <bp-sym.h> and <bp-asm.h>.
42618         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
42620         <bp-sym.h> and <bp-asm.h>.
42621         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42622         comment.
42624 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42626         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
42627         call free(NULL).
42629 2013-03-05  David S. Miller  <davem@davemloft.net>
42631         * po/es.po: Update from translation team.
42633 2013-03-05  Andreas Jaeger  <aj@suse.de>
42635         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
42636         <bits/mman-linux.h>.
42637         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42638         is fine.
42639         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
42640         <bits/mman-linux.h> to end of file.
42641         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42642         is fine.
42643         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
42644         <bits/mman-linux.h> to end of file.
42645         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42646         is fine.
42647         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
42648         <bits/mman-linux.h> to end of file.
42650         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
42651         (MCL_CURRENT, MCL_FUTURE): Define here.
42653 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42655         [BZ #15232]
42656         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
42657         attribute_hidden.
42658         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42660 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42662         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
42663         fourth parameter needed for rt_sigprocmask syscall.
42664         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42665         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42666         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
42667         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42668         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42669         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
42671 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
42673         [BZ #13550]
42674         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
42675         comment about bounded pointers.
42676         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
42677         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
42679 2013-03-04  Andreas Jaeger  <aj@suse.de>
42681         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
42682         common definitions.
42684         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
42685         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
42686         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
42687         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42688         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42689         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42691 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42693         [BZ #15055]
42694         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
42695         __ieee754_sqrl instead of __sqrl.
42697 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
42699         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
42700         * sysdeps/powerpc/fpu_control.h: ... here.
42701         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
42702         * sysdeps/powerpc/bits/fenvinline.h: ... here.
42703         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
42704         * sysdeps/powerpc/bits/mathinline.h: ... here.
42706 2013-03-01  Roland McGrath  <roland@hack.frob.com>
42708         * elf/dl-hwcaps.c (_dl_important_hwcaps):
42709         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
42710         to just [NEED_DL_SYSINFO_DSO].
42711         * elf/dl-support.c: Likewise.
42712         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42713         * elf/rtld.c (dl_main): Likewise.
42714         * elf/setup-vdso.h (setup_vdso): Likewise.
42715         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
42716         * sysdeps/unix/sysv/linux/dl-sysdep.c
42717         (_dl_discover_osversion): Likewise.
42719 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
42721         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
42722         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42724 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42726         * NEWS: Mention libm performance improvements and non-x86 PI
42727         futex support.
42729         * csu/libc-start.c (__pthread_initialize_minimal): Change
42730         function arguments.
42731         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42733 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
42735         [BZ #13550]
42736         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
42737         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
42738         <bp-sym.h> and <bp-asm.h>.
42739         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42740         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
42741         and <bp-asm.h>.
42742         (memcpy): Don't use BP_SYM.
42743         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
42744         <bp-asm.h>.
42745         (__mpn_add_n): Don't use BP_SYM.
42746         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
42747         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
42748         and <bp-asm.h>.
42749         (__mpn_addmul_1): Don't use BP_SYM.
42750         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42751         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
42752         <bp-sym.h>.
42753         (_setjmp): Don't use BP_SYM.
42754         (__novmx_setjmp): Likewise.
42755         (__GI__setjmp): Likewise.
42756         (__vmx_setjmp): Likewise.
42757         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
42758         <bp-sym.h>.
42759         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
42760         (__bzero): Don't use BP_SYM.
42761         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42762         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42763         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
42764         <bp-sym.h> and <bp-asm.h>.
42765         (memcpy): Don't use BP_SYM.
42766         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
42767         <bp-sym.h> and <bp-asm.h>.
42768         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42769         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
42770         <bp-sym.h> and <bp-asm.h>.
42771         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42772         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
42773         <bp-asm.h>.
42774         (__mpn_lshift): Don't use BP_SYM.
42775         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42776         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
42777         <bp-asm.h>.
42778         (memset): Don't use BP_SYM.
42779         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42780         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42781         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
42782         <bp-asm.h>.
42783         (__mpn_mul_1): Don't use BP_SYM.
42784         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42785         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
42786         <bp-sym.h> and <bp-asm.h>.
42787         (memcmp): Don't use BP_SYM.
42788         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
42789         <bp-sym.h> and <bp-asm.h>.
42790         (memcpy): Don't use BP_SYM.
42791         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
42792         <bp-sym.h> and <bp-asm.h>.
42793         (memset): Don't use BP_SYM.
42794         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
42795         <bp-sym.h> and <bp-asm.h>.
42796         (strncmp): Don't use BP_SYM.
42797         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
42798         <bp-sym.h> and <bp-asm.h>.
42799         (memcpy): Don't use BP_SYM.
42800         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
42801         <bp-sym.h> and <bp-asm.h>.
42802         (memset): Don't use BP_SYM.
42803         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
42804         <bp-sym.h> and <bp-asm.h>.
42805         (__memchr): Don't use BP_SYM.
42806         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
42807         <bp-sym.h> and <bp-asm.h>.
42808         (memcmp): Don't use BP_SYM.
42809         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
42810         <bp-sym.h> and <bp-asm.h>.
42811         (memcpy): Don't use BP_SYM.
42812         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
42813         <bp-sym.h> and <bp-asm.h>.
42814         (__mempcpy): Don't use BP_SYM.
42815         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
42816         <bp-sym.h> and <bp-asm.h>.
42817         (__memrchr): Don't use BP_SYM.
42818         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
42819         <bp-sym.h> and <bp-asm.h>.
42820         (memset): Don't use BP_SYM.
42821         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
42822         <bp-sym.h> and <bp-asm.h>.
42823         (__rawmemchr): Don't use BP_SYM.
42824         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
42825         <bp-sym.h> and <bp-asm.h>.
42826         (__STRCMP): Don't use BP_SYM.
42827         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
42828         <bp-sym.h> and <bp-asm.h>.
42829         (strchr): Don't use BP_SYM.
42830         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
42831         <bp-sym.h> and <bp-asm.h>.
42832         (__strchrnul): Don't use BP_SYM.
42833         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
42834         <bp-sym.h> and <bp-asm.h>.
42835         (strlen): Don't use BP_SYM.
42836         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
42837         <bp-sym.h> and <bp-asm.h>.
42838         (strncmp): Don't use BP_SYM.
42839         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
42840         <bp-sym.h> and <bp-asm.h>.
42841         (__strnlen): Don't use BP_SYM.
42842         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
42843         <bp-asm.h>.
42844         (__mpn_rshift): Don't use BP_SYM.
42845         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42846         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
42847         <bp-sym.h> and <bp-asm.h>.
42848         (__sigsetjmp): Don't use BP_SYM.
42849         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
42850         (L(start_addresses)): Don't use BP_SYM.
42851         (_start): Likewise.
42852         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
42853         <bp-asm.h>.
42854         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
42855         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42856         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42857         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
42858         <bp-asm.h>.
42859         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
42860         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42861         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42862         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
42863         <bp-asm.h>.
42864         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42865         comments.
42866         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42867         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
42868         <bp-asm.h>.
42869         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
42870         FIXME comments.
42871         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42872         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42873         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
42874         <bp-asm.h>.
42875         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42876         comment.
42877         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
42878         and <bp-asm.h>.
42879         (strncmp): Don't use BP_SYM,
42880         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
42881         <bp-asm.h>.
42882         (__mpn_sub_n): Don't use BP_SYM.
42883         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42884         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
42885         and <bp-asm.h>.
42886         (__mpn_submul_1): Don't use BP_SYM.
42887         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
42889         <bp-sym.h> and <bp-asm.h>.
42890         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
42892         <bp-sym.h> and <bp-asm.h>.
42893         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42894         comment.
42896 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42898         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
42899         Use ZK to minimize writes to Z.
42900         (sub_magnitudes): Simplify code a bit.
42901         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
42902         Use ZK to minimize writes to Z.
42903         (sub_magnitudes): Simplify code a bit.
42905 2013-02-27  Roland McGrath  <roland@hack.frob.com>
42907         * csu/gmon-start.c: Add special exception to license text.
42909 2013-02-27  Richard Henderson  <rth@redhat.com>
42911         * scripts/config.guess: Update from config.git.
42912         * scripts/config.sub: Likewise.
42914 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42916         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
42918         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
42920         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
42922         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
42924         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
42926 2013-02-26  Roland McGrath  <roland@hack.frob.com>
42928         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
42929         [$(build-shared = yes].
42931 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42933         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
42934         (__mul): Reduce iterations for calculating mantissa.
42936         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
42937         MPTWO.
42938         (__mpranred): Likewise.
42940         [BZ #15160]
42941         * malloc/memusagestat.c (main): Draw graphs for heap and stack
42942         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
42944 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
42946         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
42947         Define __attribute__.
42949 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42951         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
42952         unused.
42953         * posix/regex_internal.h (__attribute): Remove.
42954         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
42955         (re_string_context_at): Likewise.
42956         (bitset_not): Use __attribute__ and mark function as possibly
42957         unused.
42958         (bitset_merge): Likewise.
42959         (bitset_mask): Likewise.
42960         (re_string_char_size_at): Likewise.
42961         (re_string_wchar_at): Likewise.
42962         (re_string_elem_size_at): Likewise.
42964 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42966         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
42967         code.
42968         (cc32): Likewise.
42970         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
42971         (__acr): Likewise.
42972         (__cpy): Likewise.
42973         (norm): Likewise.
42974         (denorm): Likewise.
42975         (__dbl_mp): Likewise.
42976         (add_magnitudes): Likewise.
42977         (sub_magnitudes): Likewise.
42978         (__mul): Likewise.
42979         (__inv): Likewise.
42981         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
42982         style.
42984         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
42985         style.
42987         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
42988         code.
42990         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
42991         up changes with default code.
42992         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
42993         Likewise.
42995 2013-02-24  Allan McRae  <allan@archlinux.org>
42997         * manual/socket.texi (The Internet Namespace): Order menu items
42998         to match that in the file.
43000         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
43001         node listing of the info page menu.
43003 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
43005         [BZ #13550]
43006         * sysdeps/i386/bp-asm.h: Remove file.
43007         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
43008         (PARMS): Do not use macros from bp-asm.h.
43009         (S1): Likewise.
43010         (S2): Likewise.
43011         (SIZE): Likewise.
43012         (__mpn_add_n): Do not use BP_SYM
43013         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
43014         "bp-asm.h".
43015         (PARMS): Do not use macros from bp-asm.h.
43016         (S1): Likewise.
43017         (SIZE): Likewise.
43018         (__mpn_addmul_1): Do not use BP_SYM
43019         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
43020         "bp-asm.h".
43021         (PARMS): Do not use macros from bp-asm.h.
43022         (SIGMSK): Likewise.
43023         (_setjmp): Likewise.  Do not use BP_SYM.
43024         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
43025         "bp-asm.h".
43026         (PARMS): Do not use macros from bp-asm.h.
43027         (SIGMSK): Likewise.
43028         (setjmp): Likewise.  Do not use BP_SYM.
43029         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
43030         "bp-asm.h".
43031         (PARMS): Do not use macros from bp-asm.h.
43032         (__frexp): Do not use BP_SYM.
43033         (frexp): Likewise.
43034         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
43035         "bp-asm.h".
43036         (PARMS): Do not use macros from bp-asm.h.
43037         (__frexpf): Do not use BP_SYM.
43038         (frexpf): Likewise.
43039         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
43040         "bp-asm.h".
43041         (PARMS): Do not use macros from bp-asm.h.
43042         (__frexpl): Do not use BP_SYM.
43043         (frexpl): Likewise.
43044         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
43045         "bp-asm.h".
43046         (PARMS): Do not use macros from bp-asm.h.
43047         (__remquo): Do not use BP_SYM.
43048         (remquo): Likewise.
43049         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
43050         "bp-asm.h".
43051         (PARMS): Do not use macros from bp-asm.h.
43052         (__remquof): Do not use BP_SYM.
43053         (remquof): Likewise.
43054         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
43055         "bp-asm.h".
43056         (PARMS): Do not use macros from bp-asm.h.
43057         (__remquol): Do not use BP_SYM.
43058         (remquol): Likewise.
43059         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
43060         "bp-asm.h".
43061         (PARMS): Do not use macros from bp-asm.h.
43062         (DEST): Likewise.
43063         (SRC): Likewise.
43064         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
43065         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
43066         "bp-asm.h".
43067         (PARMS): Do not use macros from bp-asm.h.
43068         (strlen): Do not use BP_SYM.
43069         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
43070         "bp-asm.h".
43071         (PARMS): Do not use macros from bp-asm.h.
43072         (S1): Likewise.
43073         (S2): Likewise.
43074         (SIZE): Likewise.
43075         (__mpn_add_n): Do not use BP_SYM.
43076         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
43077         "bp-asm.h".
43078         (PARMS): Do not use macros from bp-asm.h.
43079         (S1): Likewise.
43080         (SIZE): Likewise.
43081         (__mpn_addmul_1): Do not use BP_SYM.
43082         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
43083         weak_alias.
43084         (bzero): Likewise.
43085         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
43086         "bp-asm.h".
43087         (PARMS): Do not use macros from bp-asm.h.
43088         (S): Likewise.
43089         (SIZE): Likewise.
43090         (__mpn_lshift): Do not use BP_SYM.
43091         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
43092         "bp-asm.h".
43093         (PARMS): Do not use macros from bp-asm.h.
43094         (DEST): Likewise.
43095         (SRC): Likewise.
43096         (LEN): Likewise.
43097         (memcpy): Likewise.  Do not use BP_SYM.
43098         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
43099         libc_hidden_def and weak_alias.
43100         (mempcpy): Do not use BP_SYM in weak_alias.
43101         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
43102         "bp-asm.h".
43103         (PARMS): Do not use macros from bp-asm.h.
43104         (DEST): Likewise.
43105         (LEN): Likewise.
43106         [!BZERO_P] (CHR): Likewise.
43107         (memset): Likewise.  Do not use BP_SYM.
43108         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
43109         "bp-asm.h".
43110         (PARMS): Do not use macros from bp-asm.h.
43111         (S1): Likewise.
43112         (SIZE): Likewise.
43113         (__mpn_mul_1): Do not use BP_SYM.
43114         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
43115         "bp-asm.h".
43116         (PARMS): Do not use macros from bp-asm.h.
43117         (S): Likewise.
43118         (SIZE): Likewise.
43119         (__mpn_rshift): Do not use BP_SYM.
43120         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
43121         "bp-asm.h".
43122         (PARMS): Do not use macros from bp-asm.h.
43123         (STR): Likewise.
43124         (CHR): Likewise.
43125         (strchr): Likewise.  Do not use BP_SYM.
43126         (index): Do not use BP_SYM in weak_alias.
43127         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
43128         "bp-asm.h".
43129         (PARMS): Do not use macros from bp-asm.h.
43130         (DEST): Likewise.
43131         (SRC): Likewise.
43132         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
43133         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
43134         "bp-asm.h".
43135         (PARMS): Do not use macros from bp-asm.h.
43136         (strlen): Do not use BP_SYM.
43137         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
43138         "bp-asm.h".
43139         (PARMS): Do not use macros from bp-asm.h.
43140         (S1): Likewise.
43141         (S2): Likewise.
43142         (SIZE): Likewise.
43143         (__mpn_sub_n): Do not use BP_SYM.
43144         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
43145         "bp-asm.h".
43146         (PARMS): Do not use macros from bp-asm.h.
43147         (S1): Likewise.
43148         (SIZE): Likewise.
43149         (__mpn_submul_1): Do not use BP_SYM.
43150         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
43151         "bp-asm.h".
43152         (PARMS): Do not use macros from bp-asm.h.
43153         (S1): Likewise.
43154         (S2): Likewise.
43155         (SIZE): Likewise.
43156         (__mpn_add_n): Do not use BP_SYM.
43157         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
43158         weak_alias.
43159         (bzero): Likewise.
43160         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
43161         "bp-asm.h".
43162         (PARMS): Do not use macros from bp-asm.h.
43163         (BLK2): Likewise.
43164         (LEN): Likewise.
43165         (memcmp): Do not use BP_SYM.
43166         (bcmp): Do not use BP_SYM in weak_alias.
43167         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
43168         "bp-asm.h".
43169         (PARMS): Do not use macros from bp-asm.h.
43170         (DEST): Likewise.
43171         (SRC): Likewise.
43172         (LEN): Likewise.
43173         (memcpy): Likewise.  Do not use BP_SYM.
43174         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
43175         "bp-asm.h".
43176         (PARMS): Do not use macros from bp-asm.h.
43177         (DEST): Likewise.
43178         (SRC): Likewise.
43179         (LEN): Likewise.
43180         (memmove): Likewise.  Do not use BP_SYM.
43181         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
43182         "bp-asm.h".
43183         (PARMS): Do not use macros from bp-asm.h.
43184         (DEST): Likewise.
43185         (SRC): Likewise.
43186         (LEN): Likewise.
43187         (__mempcpy): Likewise.  Do not use BP_SYM.
43188         (mempcpy): Do not use BP_SYM in weak_alias.
43189         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
43190         "bp-asm.h".
43191         (PARMS): Do not use macros from bp-asm.h.
43192         (DEST): Likewise.
43193         (LEN): Likewise.
43194         [!BZERO_P] (CHR): Likewise.
43195         (memset): Likewise.  Do not use BP_SYM.
43196         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
43197         "bp-asm.h".
43198         (PARMS): Do not use macros from bp-asm.h.
43199         (STR2): Likewise.
43200         (strcmp): Do not use BP_SYM.
43201         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
43202         "bp-asm.h".
43203         (PARMS): Do not use macros from bp-asm.h.
43204         (STR): Likewise.
43205         (DELIM): Likewise.
43206         [USE_AS_STRTOK_R] (SAVE): Likewise.
43207         (FUNCTION): Likewise.  Do not use BP_SYM.
43208         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
43209         aliases.
43210         (strtok_r): Likewise.
43211         (__GI___strtok_r): Likewise.
43212         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43213         (PARMS): Do not use macros from bp-asm.h.
43214         (S): Likewise.
43215         (SIZE): Likewise.
43216         (__mpn_lshift): Do not use BP_SYM.
43217         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43218         (PARMS): Do not use macros from bp-asm.h.
43219         (STR): Likewise.
43220         (CHR): Likewise.
43221         (__memchr): Do not use BP_SYM.
43222         (memchr): Do not use BP_SYM in weak_alias.
43223         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43224         (PARMS): Do not use macros from bp-asm.h.
43225         (BLK2): Likewise.
43226         (LEN): Likewise.
43227         (memcmp): Do not use BP_SYM.
43228         (bcmp): Do not use BP_SYM in weak_alias.
43229         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
43230         (PARMS): Do not use macros from bp-asm.h.
43231         (S1): Likewise.
43232         (SIZE): Likewise.
43233         (__mpn_mul_1): Do not use BP_SYM.
43234         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
43235         "bp-asm.h".
43236         (PARMS): Do not use macros from bp-asm.h.
43237         (STR): Likewise.
43238         (CHR): Likewise.
43239         (__rawmemchr): Do not use BP_SYM.
43240         (rawmemchr): Do not use BP_SYM in weak_alias.
43241         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43242         (PARMS): Do not use macros from bp-asm.h.
43243         (S): Likewise.
43244         (SIZE): Likewise.
43245         (__mpn_rshift): Do not use BP_SYM.
43246         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43247         (PARMS): Do not use macros from bp-asm.h.
43248         (SIGMSK): Likewise.
43249         (__sigsetjmp): Likewise.  Do not use BP_SYM.
43250         * sysdeps/i386/start.S: Do not include "bp-sym.h".
43251         (_start): Do not use BP_SYM.
43252         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
43253         (PARMS): Do not use macros from bp-asm.h.
43254         (DEST): Likewise.
43255         (SRC): Likewise.
43256         (__stpcpy): Likewise.  Do not use BP_SYM.
43257         (stpcpy): Do not use BP_SYM in weak_alias.
43258         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
43259         "bp-asm.h".
43260         (PARMS): Do not use macros from bp-asm.h.
43261         (DEST): Likewise.
43262         (SRC): Likewise.
43263         (LEN): Likewise.
43264         (__stpncpy): Likewise.  Do not use BP_SYM.
43265         (stpncpy): Do not use BP_SYM in weak_alias.
43266         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43267         (PARMS): Do not use macros from bp-asm.h.
43268         (STR): Likewise.
43269         (CHR): Likewise.
43270         (strchr): Likewise.  Do not use BP_SYM.
43271         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
43272         "bp-asm.h".
43273         (PARMS): Do not use macros from bp-asm.h.
43274         (STR): Likewise.
43275         (CHR): Likewise.
43276         (__strchrnul): Likewise.  Do not use BP_SYM.
43277         (strchrnul): Do not use BP_SYM in weak_alias.
43278         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
43279         "bp-asm.h".
43280         (PARMS): Do not use macros from bp-asm.h.
43281         (STOP): Likewise.
43282         (strcspn): Do not use BP_SYM.
43283         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
43284         "bp-asm.h".
43285         (PARMS): Do not use macros from bp-asm.h.
43286         (STR): Likewise.
43287         (STOP): Likewise.
43288         (strpbrk): Likewise.  Do not use BP_SYM.
43289         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
43290         "bp-asm.h".
43291         (PARMS): Do not use macros from bp-asm.h.
43292         (STR): Likewise.
43293         (CHR): Likewise.
43294         (strrchr): Likewise.  Do not use BP_SYM.
43295         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
43296         (PARMS): Do not use macros from bp-asm.h.
43297         (SKIP): Likewise.
43298         (strspn): Do not use BP_SYM.
43299         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
43300         (PARMS): Do not use macros from bp-asm.h.
43301         (STR): Likewise.
43302         (DELIM): Likewise.
43303         (SAVE): Likewise.
43304         (FUNCTION): Likewise.  Do not use BP_SYM.
43305         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
43306         aliases.
43307         (strtok_r): Likewise.
43308         (__GI___strtok_r): Likewise.
43309         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
43310         (PARMS): Do not use macros from bp-asm.h.
43311         (S1): Likewise.
43312         (S2): Likewise.
43313         (SIZE): Likewise.
43314         (__mpn_sub_n): Do not use BP_SYM.
43315         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
43316         "bp-asm.h".
43317         (PARMS): Do not use macros from bp-asm.h.
43318         (S1): Likewise.
43319         (SIZE): Likewise.
43320         (__mpn_submul_1): Do not use BP_SYM.
43321         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
43322         <bp-sym.h>.
43323         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
43324         and <bp-asm.h>.
43325         (PARMS): Do not use macros from bp-asm.h.
43326         (FLAGS): Likewise.
43327         (PTID): Likewise.
43328         (TLS): Likewise.
43329         (CTID): Likewise.
43330         (__clone): Do not use BP_SYM.
43331         (clone): Do not use BP_SYM in weak_alias.
43332         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
43333         and <bp-asm.h>.
43334         (PARMS): Do not use macros from bp-asm.h.
43335         (LEN): Likewise.
43336         (__mmap64): Do not use BP_SYM.
43337         (mmap64): Do not use BP_SYM in weak_alias.
43338         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43339         <bp-sym.h> and <bp-asm.h>.
43340         (PARMS): Do not use macros from bp-asm.h.
43341         (__posix_fadvise64_l64): Do not use BP_SYM.
43342         * sysdeps/unix/sysv/linux/i386/semtimedop.S
43343         (PARMS): Do not use macros from bp-asm.h.
43344         (NSOPS): Likewise.
43345         (semtimedop): Do not use BP_SYM.
43346         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
43347         and <bp-asm.h>.
43349 2013-02-21  Allan McRae  <allan@archlinux.org>
43351         * manual/message.texi (Charset conversion in gettext):
43352         Move @end statement to beginning of line.
43354 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
43357         static.
43358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
43359         Likewise.
43361         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
43362         (denorm): Likewise.
43363         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
43364         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
43366 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43368         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
43369         tail-call to the resolved function if pltexit isn't needed.
43371 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
43374         or Y being zero as being unlikely.
43375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43376         Likewise.
43378 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
43380         * manual/nss.texi (System Databases and Name Service Switch):
43381         Remove frobnicate @pxref.
43383 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43385         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43386         __attribute__ ((unused)) to __attribute__ ((__unused__)).
43388 2013-02-20  Petr Machata  <pmachata@redhat.com>
43390         * elf/elf.h (R_ARM_TARGET1): New macro.
43391         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
43392         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
43393         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
43394         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
43395         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
43396         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
43397         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
43398         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
43399         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
43400         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
43401         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
43402         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
43403         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
43404         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
43405         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
43406         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
43407         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
43408         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
43409         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
43410         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
43411         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
43412         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
43413         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
43414         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
43415         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
43416         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
43417         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
43418         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
43419         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
43420         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
43421         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
43422         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
43423         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
43424         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
43425         (R_ARM_THM_GOT_BREL12): Likewise.
43426         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
43427         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
43428         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
43429         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
43430         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
43431         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
43432         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
43433         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
43434         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
43436 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43438         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43439         __attribute_used__ to __attribute__ ((unused)).
43441 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43443         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
43444         powerpc mpa.c.
43445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
43446         comment formatting.
43447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
43449 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
43451         [BZ #13550]
43452         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
43453         Remove macro.
43454         (ENTER): Remove both macro definitions.
43455         (LEAVE): Likewise.
43456         (CHECK_BOUNDS_LOW): Likewise.
43457         (CHECK_BOUNDS_HIGH): Likewise.
43458         (CHECK_BOUNDS_BOTH): Likewise.
43459         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
43460         (RETURN_BOUNDED_POINTER): Likewise.
43461         (RETURN_NULL_BOUNDED_POINTER): Likewise.
43462         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
43463         (POP_ERRNO_LOCATION_RETURN): Likewise.
43464         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
43465         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43466         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
43467         macros.
43468         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43469         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
43470         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
43471         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
43472         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
43473         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
43474         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
43475         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
43476         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
43477         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
43478         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
43479         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
43480         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43481         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
43482         removed macros.
43483         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43484         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
43485         macros.
43486         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43487         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
43488         * sysdeps/i386/i586/memset.S (memset): Likewise.
43489         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
43490         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43491         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
43492         macros.
43493         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43494         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
43495         Change uses of L(2) to L(out).
43496         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
43497         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
43498         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
43499         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43500         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
43501         removed macros.
43502         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43503         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
43504         macros.
43505         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43506         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
43507         (RETURN): Do not use macro LEAVE.
43508         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
43509         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
43510         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
43511         * sysdeps/i386/i686/memset.S (memset): Likewise.
43512         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
43513         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
43514         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43515         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
43516         Likewise.
43517         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43518         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
43519         L(1_2) and L(1_3) into L(1).
43520         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43521         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
43522         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43523         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
43524         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43525         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
43526         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
43527         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43528         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
43529         macros.
43530         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
43531         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43532         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
43533         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
43534         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
43535         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43536         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
43537         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
43538         * sysdeps/i386/strcspn.S (strcspn): Likewise.
43539         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
43540         * sysdeps/i386/strrchr.S (strrchr): Likewise.
43541         * sysdeps/i386/strspn.S (strspn): Likewise.
43542         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
43543         conditional code.
43544         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43545         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
43546         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43547         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
43548         L(1_3) into L(1_1).
43549         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
43550         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43551         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
43552         macros.
43553         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43555 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
43557         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
43558         macro.
43560 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43562         * math/atest-exp.c (exp_mpn): Remove ROUND.
43563         * math/atest-exp2.c (exp_mpn): Likewise.
43564         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
43566         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
43567         * stdlib/tst-tls-atexit-lib.c: Likewise.
43568         * stdlib/tst-tls-atexit.c: Likewise.
43570 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43572         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
43573         and __attribute_alloc_size__.
43575 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43577         * include/programs/xmalloc.h: Change __attribute_alloc_size to
43578         __attribute_alloc_size__.
43579         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
43580         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
43582 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43584         * include/programs/xmalloc.h: New file.
43585         * catgets/gencat.c: Include it.
43586         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
43587         * elf/pldd.c: Likewise.
43588         * iconv/iconv_charmap.c: Likewise.
43589         * iconv/iconvconfig.c: Likewise.
43590         * iconv/strtab.c: Likewise.
43591         * locale/programs/locale.c: Likewise.
43592         * locale/programs/localedef.h: Likewise.
43593         * locale/programs/simple-hash.c: Likewise.
43594         * nscd/nscd.h: Likewise.
43595         * nss/makedb.c: Likewise.
43596         * sysdeps/generic/ldconfig.h: Likewise.
43598 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43600         * Versions.def: Add GLIBC_2.18.
43601         * include/link.h (struct link_map): New member l_tls_dtor_count.
43602         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
43603         (__call_tls_dtors): Likewise.
43604         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
43605         __cxa_thread_atexit_impl.
43606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43607         Likewise.
43608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43609         Likewise.
43610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43611         Likewise.
43612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43613         Likewise.
43614         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
43616         Likewise.
43617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
43618         Likewise.
43619         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43621         Likewise.
43622         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
43623         (tests): Add test case tst-tls-atexit.
43624         (modules-names): Add shared library for tst-tls-atexit.
43625         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
43626         (GLIBC_PRIVATE): Add __call_tls_dtors.
43627         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
43628         for libstdc++.
43629         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
43630         * stdlib/tst-tls-atexit.c: New test case.
43631         * stdlib/tst-tls-atexit-lib.c: New test case.
43633         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
43635         * elf/Versions (ld): Add _dl_find_dso_for_object.
43636         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
43637         * elf/dl-open.c (_dl_find_dso_for_object): New function.
43638         (dl_open_worker): Use _dl_find_dso_for_object.
43639         * elf/dl-sym.c (do_sym): Likewise.
43640         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
43642 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43644         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
43645         Syntactic changes only.
43646         (_dl_runtime_profile): Do a tail-call to the resolved function.
43648 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
43650         [BZ #13550]
43651         * sysdeps/x86_64/bp-asm.h: Remove file.
43652         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
43653         <bp-sym.h> and <bp-asm.h>.
43654         (__clone): Do not use BP_SYM.
43655         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
43656         <bp-sym.h> and <bp-asm.h>.
43657         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43658         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
43659         "bp-asm.h".
43660         (_setjmp): Do not use BP_SYM.
43661         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
43662         "bp-asm.h".
43663         (setjmp): Do not use BP_SYM.
43664         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
43665         libc_hidden_def.
43666         (mempcpy): Do not use BP_SYM in weak_alias.
43667         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
43668         "bp-asm.h".
43669         (strchr): Do not use BP_SYM.
43670         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
43671         "bp-asm.h".
43672         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
43673         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
43674         (_start): Do not use BP_SYM.
43675         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
43676         "bp-asm.h".
43677         (strcat): Do not use BP_SYM.
43678         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
43679         "bp-asm.h".
43680         (STRCMP): Do not use BP_SYM.
43681         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
43682         "bp-asm.h".
43683         (STRCPY): Do not use BP_SYM.
43684         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
43685         "bp-asm.h".
43686         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
43687         "bp-asm.h".
43688         (FUNCTION): Do not use BP_SYM.
43689         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
43690         weak_alias.
43691         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
43693 2013-02-17  Andreas Jaeger  <aj@suse.de>
43695         * time/Versions: Sort entries.
43696         * string/Versions: Likewise.
43697         * resolv/Versions: Likewise.
43698         * posix/Versions: Likewise.
43699         * iconv/Versions: Likewise.
43700         * elf/Versions: Likewise.
43701         * wcsmbs/Versions: Likewise.
43703 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43705         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
43706         loop termination condition.
43708         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
43709         variable to calculate EZ.
43710         (__sqr): Likewise.
43712         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
43713         the lower precision input.
43715 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
43717         [BZ #13550]
43718         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
43719         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
43720         (run-via-rtld-prefix): Do not handle %-bp tests.
43721         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
43722         (all-object-suffixes): Remove .ob.
43723         (bppfx): Remove variable.
43724         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
43725         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
43726         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
43727         [$(build-bounded) = yes] (libtype.ob): Likewise.
43728         * Makerules (elide-routines.ob): Remove variable.
43729         (do-tests-clean): Do not handle *-bp.out.
43730         (common-mostlyclean): Do not handle *-bp and *-bp.out.
43731         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
43732         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
43733         (tests): Do not include $(tests-bp.out).
43734         (xtests): Do not include $(xtests-bp.out).
43735         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
43736         [$(build-bounded) = yes] ($(addprefix
43737         $(objpfx),$(binaries-bounded))): Remove rule.
43738         ($(objpfx)%-bp.out): Remove rule.
43739         * config.make.in (build-bounded): Remove variable.
43740         * crypt/Makefile [$(build-bounded) = yes]
43741         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
43742         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
43743         append to variable.
43744         [$(build-bounded) = yes] (install-lib): Likewise.
43745         [$(build-bounded) = yes] (generated): Likewise.
43746         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
43747         Remove rule.
43748         * intl/Makefile [$(build-bounded) = yes]
43749         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
43750         * math/Makefile [$(build-bounded) = yes]
43751         ($(tests:%=$(objpfx)%-bp): Likewise.
43752         * misc/Makefile [$(build-bounded) = yes]
43753         ($(objpfx)tst-tsearch-bp): Likewise.
43754         * nptl/Makeconfig (bounded-thread-library): Remove variable.
43755         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
43756         Remove dependency.
43757         * string/Makefile (o-objects.ob): Remove variable.
43758         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
43759         (CFLAGS-.ob): Remove variable.
43760         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
43761         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
43762         both definitions of variable.
43763         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
43764         (ASFLAGS-.ob): Remove variable.
43766 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
43768         [BZ #13550]
43769         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
43770         Remove __BOUNDED_POINTERS__ from condition.
43771         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
43772         * string/bits/string2.h [!__NO_STRING_INLINES &&
43773         !__BOUNDED_POINTERS__]: Likewise.
43774         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
43775         Likewise.
43776         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
43777         Remove conditional code.
43778         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
43779         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
43780         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
43781         condition.
43783         [BZ #13550]
43784         * csu/libc-start.c: Do not include <bp-sym.h>.
43785         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
43786         * elf/dl-open.c: Do not include <bp-sym.h>.
43787         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
43788         * math/fegetenv.c: Do not include <bp-sym.h>.
43789         (fegetenv): Do not use BP_SYM in versioned symbols.
43790         * nptl/sysdeps/pthread/bits/libc-lockP.h
43791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
43792         <bp-sym.h>.
43793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43794         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
43795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43796         (__pthread_mutex_destroy): Likewise.
43797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43798         (__pthread_mutex_lock): Likewise.
43799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43800         (__pthread_mutex_trylock): Likewise.
43801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43802         (__pthread_mutex_unlock): Likewise.
43803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43804         (__pthread_mutexattr_init): Likewise.
43805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43806         (__pthread_mutexattr_destroy): Likewise.
43807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43808         (__pthread_mutexattr_settype): Likewise.
43809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43810         (__pthread_rwlock_init): Likewise.
43811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43812         (__pthread_rwlock_destroy): Likewise.
43813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43814         (__pthread_rwlock_rdlock): Likewise.
43815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43816         (__pthread_rwlock_tryrdlock): Likewise.
43817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43818         (__pthread_rwlock_wrlock): Likewise.
43819         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43820         (__pthread_rwlock_trywrlock): Likewise.
43821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43822         (__pthread_rwlock_unlock): Likewise.
43823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43824         (__pthread_key_create): Likewise.
43825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43826         (__pthread_setspecific): Likewise.
43827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43828         (__pthread_getspecific): Likewise.
43829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
43830         Likewise.
43831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43832         (_pthread_cleanup_push_defer): Likewise.
43833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43834         (_pthread_cleanup_pop_restore): Likewise.
43835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43836         (pthread_setcancelstate): Likewise.
43837         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
43838         <bp-sym.h>.
43839         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
43840         (memchr): Do not use BP_SYM in weak_alias.
43841         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
43842         (fegetenv): Do not use BP_SYM in versioned symbols.
43843         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
43844         (fesetenv): Do not use BP_SYM in versioned symbols.
43845         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43846         (feupdateenv): Do not use BP_SYM in versioned symbols.
43847         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43848         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43849         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
43850         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
43851         (open64): Do not use BP_SYM in weak_alias.
43852         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
43853         (fegetenv): Do not use BP_SYM in versioned symbols.
43854         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
43855         (fesetenv): Do not use BP_SYM in versioned symbols.
43856         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43857         (feupdateenv): Do not use BP_SYM in versioned symbols.
43858         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
43859         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
43860         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
43861         (feraiseexcept): Do not use BP_SYM in versioned symbols.
43862         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43863         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43864         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
43865         <bp-sym.h>.
43866         (__libc_start_main): Do not use BP_SYM.
43868 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
43871         redundant return line.
43872         (norm): Likewise.
43873         (denorm): Likewise.
43874         (dbl_mp): Likewise.
43875         (sub_magnitudes): Likewise.
43876         (__add): Likewise.
43877         (__sub): Likewise.
43878         (__mul): Likewise.
43879         (__inv): Likewise.
43880         (__dvd): Likewise.
43881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
43882         (norm): Likewise.
43883         (denorm): Likewise.
43884         (dbl_mp): Likewise.
43885         (sub_magnitudes): Likewise.
43886         (__add): Likewise.
43887         (__sub): Likewise.
43888         (__mul): Likewise.
43889         (__inv): Likewise.
43890         (__dvd): Likewise.
43892         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
43893         instead of __mul.
43894         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43895         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
43896         (cc32): Likewise.
43898         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
43899         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
43900         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
43901         of __mul for squares.
43902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
43903         function
43904         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
43905         Likewise.
43906         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
43907         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43909 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
43911         [BZ #13550]
43912         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
43913         code.
43914         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
43915         prototype or function definition.  Rename ubp_* variables and
43916         parameters.  Remove argv definitions conditional on
43917         [__BOUNDED_POINTERS__].
43918         * debug/backtrace.c (__backtrace): Do not use __unbounded.
43919         * elf/dl-runtime.c (_dl_fixup): Likewise.
43920         * include/set-hooks.h (RUN_HOOK): Likewise.
43921         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
43922         definition.
43923         * string/strcpy.c (strcpy): Do not use __unbounded.
43924         * sysdeps/generic/frame.h (struct layout): Likewise.
43925         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
43926         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
43927         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
43928         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
43929         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
43930         (__backtrace): Likewise.
43931         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
43932         use __ptrvalue.
43933         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
43934         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43935         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
43936         Likewise.
43937         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
43938         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
43939         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43940         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43941         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
43942         Do not use __unbounded.
43943         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
43944         Rename __unboundedrlimits parameter to rlimits in prototype.
43945         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
43946         Do not use __unbounded.
43947         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
43948         not use __ptrvalue.
43949         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43950         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
43951         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43952         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
43953         __ptrvalue or __unbounded.
43954         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
43955         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
43956         use __unbounded.
43957         (__new_msgctl): Do not use __ptrvalue.
43958         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
43959         __unbounded.
43960         (__libc_msgrcv): Do not use __ptrvalue.
43961         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
43962         startup_info): Do not use __unbounded.
43963         (__libc_start_main): Likewise.  Rename ubp_* variables and
43964         parameters.  Remove argv definitions conditional on
43965         [__BOUNDED_POINTERS__].
43966         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
43967         __ptrvalue.
43968         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
43969         use __unbounded.
43970         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
43971         or __ptrvalue.
43972         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
43973         use __unbounded.
43974         (__new_shmctl): Do not use __ptrvalue.
43975         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
43976         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
43977         Likewise.
43978         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
43979         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
43980         (__libc_sigaction): Likewise.
43981         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
43982         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
43983         Likewise.
43984         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43986 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
43988         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
43990         * string/mempcpy.c: Implement by calling memcpy.
43992 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43994         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
43996         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
43997         evaluation.
43999         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
44000         values in the mantissa.
44002         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
44003         minimize writes to Z.
44004         (sub_magnitudes): Simplify code a bit.
44006 2013-02-12  Roland McGrath  <roland@hack.frob.com>
44008         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
44009         from the message.  The linker prefixes all warnings with that already.
44011 2013-02-12  Andreas Schwab  <schwab@suse.de>
44013         [BZ #15078]
44014         * posix/regexec.c (extend_buffers): Add parameter min_len.
44015         (check_matching): Pass minimum needed length.
44016         (clean_state_log_if_needed): Likewise.
44017         (get_subexp): Likewise.
44018         * posix/Makefile (tests): Add bug-regex34.
44019         (bug-regex34-ENV): Define.
44020         * posix/bug-regex34.c: New file.
44022         [BZ #11561]
44023         * posix/regcomp.c (parse_bracket_exp): When looking up collating
44024         elements compare against the byte sequence of it, not its name.
44025         * posix/Makefile (tests): Add bug-regex35.
44026         (bug-regex35-ENV): Define.
44027         * posix/bug-regex35.c: New file.
44029 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44031         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
44032         comment.
44033         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
44034         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
44035         (CHECK_EOL): Add undef.
44037 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
44039         * bits/stdlib-bsearch.h: New file.
44040         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
44041         * stdlib/stdlib.h: Likewise.
44043 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44045         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
44046         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
44047         declaration.
44048         * manual/search.texi (Array Search Function): Add missing const in
44049         lfind prototype.
44050         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
44051         declaration to use rlim_t.
44052         (Basic Scheduling Functions): Remove erroneous const from
44053         sched_getparam prototype.  Remove erroneous * from
44054         sched_get_priority_max and sched_get_priority_min prototypes.
44055         (Resource Usage): Fix summary @comment on vtimes to refer to
44056         sys/vtimes.h rather than vtimes.h.
44057         Add missing *s in vtimes prototype.
44058         (Limits on Resources): Fix ulimit prototype to return long int.
44059         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
44060         prototypes to use long int rather than double.
44061         (BSD Random): Fix initstate and setstate to use char *, not void *.
44062         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
44063         prototype to make second argument 'struct aiocb64 *const[]'.
44064         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
44065         (Status of AIO Operations): Remove erroneous const in aio_return and
44066         aio_return64 prototypes.
44067         (Synchronizing I/O): Fix sync prototype to return void.
44068         * manual/startup.texi (Suboptions): Remove an erroneous const in
44069         getsubopt prototype.
44070         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
44071         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
44072         use size_t rather than int.
44073         (Scanning All Users): Likewise for getpwent_r.
44074         (Setting Groups): Add missing const to setgroups prototype.
44075         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
44076         * manual/socket.texi (Host Names): Fix gethostbyaddr and
44077         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
44078         'const void *' rather than 'const char *'.
44079         (Host Address Functions): Likewise for inet_ntop.
44080         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
44081         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
44082         ssize_t for return value.
44083         (Sending Data): Likewise for send, sendto, sendmsg.
44084         (Socket Option Functions): Add a missing const in setsockopt prototype.
44085         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
44086         use wchar_t for the argument.
44087         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
44088         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
44089         take no arguments.
44090         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
44091         double/float/long double for second argument.
44092         Fix return types of significand, significandf, significandl.
44093         * manual/filesys.texi (Setting Permissions): Use mode_t for second
44094         argument in fchmod prototype.
44095         (File Owner): Use uid_t and gid_t in fchown prototype.
44096         (File Times): Add const to utimes, futimes, and lutimes prototypes.
44097         (Making Special Files): Use mode_t and dev_t in mknod prototype.
44098         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
44099         use 'const struct dirent **' as argument types to CMP function pointer
44100         argument.
44101         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
44102         (File Times): Fix summary magic @comment for struct utimbuf and utime
44103         to refer to utime.h, not time.h.
44104         * manual/string.texi (Argz Functions): Add missing const in
44105         argz_extract and argz_next prototypes.
44106         (Finding Tokens in a String): Likewise for basename.
44107         (String/Array Comparison): Fix typo in wcscasecmp prototype.
44108         (Copying and Concatenation): Fix typo in wmemmove prototype.
44109         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
44110         (Signal Stack): Remove erroneous const in sigstack prototype.
44111         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
44112         prototype.
44113         (Simple Calendar Time): Likewise for stime.
44114         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
44115         prototype.
44116         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
44117         say sys/sysctl.h instead.
44118         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
44119         and vsyslog prototypes.
44121 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44123         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
44124         Remove.
44126 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44128         * misc/sys/mman.h: Fix typo in mremap comment.
44130 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44132         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
44133         the '\0' terminator.
44135 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44137         [BZ #13550]
44138         * debug/segfault.c: Don't include <bp-checks.h>.
44139         * sysdeps/generic/bp-checks.h: Remove file.
44140         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
44141         (__GETDENTS): Don't use CHECK_N.
44142         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
44143         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44144         (__getgroups): Don't use CHECK_N.
44145         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
44146         (setgroups): Don't use CHECK_N.
44147         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
44148         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
44149         (__libc_msgrcv): Don't use CHECK_N.
44150         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
44151         (__libc_msgsnd): Don't use CHECK_N.
44152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
44153         <bp-checks.h>.
44154         (__libc_pread): Don't use CHECK_N.
44155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
44156         include <bp-checks.h>.
44157         (__libc_pread64): Don't use CHECK_N.
44158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
44159         include <bp-checks.h>.
44160         (__libc_pwrite): Don't use CHECK_N.
44161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
44162         include <bp-checks.h>.
44163         (__libc_pwrite64): Don't use CHECK_N.
44164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
44165         <bp-checks.h>.
44166         (__libc_pread): Don't use CHECK_N.
44167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
44168         include <bp-checks.h>.
44169         (__libc_pread64): Don't use CHECK_N.
44170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
44171         include <bp-checks.h>.
44172         (__libc_pwrite): Don't use CHECK_N.
44173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
44174         include <bp-checks.h>.
44175         (__libc_pwrite64): Don't use CHECK_N.
44176         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
44177         (do_pread): Don't use CHECK_N.
44178         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
44179         (do_pread64): Don't use CHECK_N.
44180         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
44181         (do_pwrite): Don't use CHECK_N.
44182         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
44183         (do_pwrite64): Don't use CHECK_N.
44184         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
44185         (__libc_readv): Don't use CHECK_N.
44186         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
44187         (semop): Don't use CHECK_N.
44188         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
44189         <bp-checks.h>.
44190         (semtimedop): Don't use CHECK_N.
44191         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
44192         (__libc_pread): Don't use CHECK_N.
44193         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
44194         <bp-checks.h>.
44195         (__libc_pread64): Don't use CHECK_N.
44196         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
44197         <bp-checks.h>.
44198         (__libc_pwrite): Don't use CHECK_N.
44199         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
44200         <bp-checks.h>.
44201         (__libc_pwrite64): Don't use CHECK_N.
44202         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
44203         <bp-checks.h>.
44204         (__libc_msgrcv): Don't use CHECK_N.
44205         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
44206         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
44207         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
44208         (__libc_writev): Don't use CHECK_N.
44210 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44212         * string/strcpy.c: Removed unused variable.
44214         * Makeconfig (+sysdep-includes): Define with := rather than =.
44215         Use an existing include/ subdir of each sysdeps dir before it.
44217 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44219         * nscd/connection.c (register_traced_file): Comment function.
44220         [HAVE_INOTIFY] (union __inev): Define.
44221         [HAVE_INOTIFY] (inotify_check_files): New function.
44222         [HAVE_INOTIFY] (clear_db_cache): Likewise.
44223         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
44224         clear_db_cache.
44225         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
44227 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44229         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
44230         loaded if not already and that a failure is permanent.
44232 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44234         [BZ #15006]
44235         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
44236         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
44238 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44240         [BZ #13550]
44241         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
44242         (CHECK_1_NULL_OK): Likewise.
44243         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
44244         (__fxstat): Do not use CHECK_1.
44245         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
44246         <bp-checks.h>.
44247         (___fxstat64): Do not use CHECK_1.
44248         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44249         <bp-checks.h>.
44250         (__fxstatat): Do not use CHECK_1.
44251         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44252         <bp-checks.h>.
44253         (__fxstatat64): Do not use CHECK_1.
44254         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
44255         <bp-checks.h>.
44256         (__fxstat): Do not use CHECK_1.
44257         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44258         <bp-checks.h>.
44259         (__fxstatat): Do not use CHECK_1.
44260         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44261         <bp-checks.h>.
44262         (__getresgid): Do not use CHECK_1.
44263         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44264         <bp-checks.h>.
44265         (__getresuid): Do not use CHECK_1.
44266         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
44267         <bp-checks.h>.
44268         (__lxstat): Do not use CHECK_1.
44269         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44270         <bp-checks.h>.
44271         (__old_msgctl): Do not use CHECK_1.
44272         (__new_msgctl): Likewise.
44273         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
44274         <bp-checks.h>.
44275         (__new_setrlimit): Do not use CHECK_1.
44276         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44277         <bp-checks.h>.
44278         (__old_shmctl): Do not use CHECK_1.
44279         (__new_shmctl): Likewise.
44280         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
44281         <bp-checks.h>.
44282         (__xstat): Do not use CHECK_1.
44283         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
44284         (__lxstat): Do not use CHECK_1.
44285         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
44286         <bp-checks.h>.
44287         (___lxstat64): Do not use CHECK_1.
44288         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
44289         (__old_msgctl): Do not use CHECK_1.
44290         (__new_msgctl): Likewise.
44291         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
44292         <bp-checks.h>.
44293         (__gettimeofday): Do not use CHECK_1.
44294         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
44295         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
44296         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
44297         <bp-checks.h>.
44298         (__gettimeofday): Do not use CHECK_1.
44299         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
44300         (__old_shmctl): Do not use CHECK_1_NULL_OK.
44301         (__new_shmctl): Do not use CHECK_1.
44302         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
44303         <bp-checks.h>.
44304         (do_sigtimedwait): Do not use CHECK_1.
44305         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
44306         <bp-checks.h>.
44307         (do_sigwaitinfo): Do not use CHECK_1.
44308         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
44309         <bp-checks.h>.
44310         (msgctl): Do not use CHECK_1.
44311         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
44312         <bp-checks.h>.
44313         (shmctl): Do not use CHECK_1.
44314         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
44315         (ustat): Do not use CHECK_1.
44316         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
44317         <bp-checks.h>.
44318         (__fxstat): Do not use CHECK_1.
44319         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44320         <bp-checks.h>.
44321         (__fxstatat): Do not use CHECK_1.
44322         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
44323         <bp-checks.h>.
44324         (__lxstat): Do not use CHECK_1.
44325         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
44326         <bp-checks.h>.
44327         (__xstat): Do not use CHECK_1.
44328         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
44329         (__xstat): Do not use CHECK_1.
44330         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
44331         (___xstat64): Do not use CHECK_1.
44333         [BZ #13550]
44334         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
44335         definitions.
44336         (CHECK_BOUNDS_HIGH): Likewise.
44337         * string/strcpy.c: Do not include <bp-checks.h>.
44338         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
44340 2013-02-07  Roland McGrath  <roland@hack.frob.com>
44342         * nscd/nscd-client.h (__nscd_drop_map_ref):
44343         Add __attribute__ ((unused)).
44344         * nis/nss-nisplus.h (niserr2nss): Likewise.
44346         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
44347         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
44349         * csu/libc-tls.c (init_static_tls, init_slotinfo):
44350         Remove inline keyword.
44351         * include/rounding-mode.h (round_away): Likewise.
44352         * libio/wfileops.c (adjust_wide_data): Likewise.
44353         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
44354         (__m128i_strloadu_tolower): Likewise.
44355         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
44356         (__m128i_strloadu_tolower): Likewise.
44357         * time/mktime.c (ydhms_diff): Likewise.
44358         * locale/elem-hash.h (elem_hash): Likewise.
44359         * locale/setlocale.c (setdata): Likewise.
44360         * posix/regex_internal.h (re_string_char_size_at): Likewise.
44361         (re_string_wchar_at): Likewise.
44362         (bitset_not, bitset_merge, bitset_mask): Likewise.
44363         [!(__GNUC__ > 3)] (inline): Remove macro.
44364         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
44365         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
44366         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
44367         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
44368         * string/memcmp.c (memcmp_bytes): Likewise.
44369         * locale/programs/locarchive.c (compute_hashval): Likewise.
44370         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
44371         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
44372         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
44373         * nss/getent.c (print_rpc, print_protocols): Likewise.
44374         (print_passwd, print_group, print_aliases): Likewise.
44375         * nis/nss-nisplus.h (niserr2nss): Likewise.
44376         * nscd/connections.c (restart_p): Likewise.
44377         Change return type to bool.
44379 2013-02-05  Roland McGrath  <roland@hack.frob.com>
44381         * Makeconfig (all-Depend-files): Add existing
44382         $(sorted-subdirs:=/Depend) files.
44383         (all-subdirs): Remove nss.
44384         * sysdeps/unix/inet/Subdirs: Add it here instead.
44385         * hesiod/Depend: New file.
44387         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
44388         instead of calling alloca.
44390         * io/lseek.c (__lseek): Rename to __libc_lseek.
44391         Define __lseek as an alias.
44393         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
44395 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
44397         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
44398         else clause and remove check for non-standard endianness.
44400 2013-02-04  David S. Miller  <davem@davemloft.net>
44402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44404 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
44406         [BZ #13550]
44407         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
44408         (__ubp_memchr): Remove prototype.
44409         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
44410         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44411         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
44412         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44413         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
44414         Remove alias.
44415         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
44416         (__ubp_memchr): Likewise.
44417         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
44418         (__ubp_memchr): Likewise.
44419         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
44420         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
44421         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
44422         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
44423         CHECK_STRING.
44424         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44425         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
44426         (__getcwd): Do not use CHECK_STRING.
44427         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44428         <bp-checks.h>.
44429         (__real_chown): Do not use CHECK_STRING.
44430         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
44431         <bp-checks.h>.
44432         (fchownat): Do not use CHECK_STRING.
44433         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
44434         CHECK_STRING.
44435         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44436         <bp-checks.h>.
44437         (__lchown): Do not use CHECK_STRING.
44438         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
44439         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
44440         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
44441         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
44442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44443         include <bp-checks.h>.
44444         (truncate64): Do not use CHECK_STRING.
44445         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44446         <bp-checks.h>.
44447         (__real_chown): Do not use CHECK_STRING.
44448         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44449         <bp-checks.h>.
44450         (__lchown): Do not use CHECK_STRING.
44451         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44452         <bp-checks.h>.
44453         (__chown): Do not use CHECK_STRING.
44454         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
44455         <bp-checks.h>.
44456         (truncate64): Do not use CHECK_STRING.
44457         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
44458         Likewise.
44459         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
44460         (__xmknod): Do not use CHECK_STRING.
44461         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44462         <bp-checks.h>.
44463         (__xmknodat): Do not use CHECK_STRING.
44464         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
44465         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
44467 2013-02-04  Andreas Schwab  <schwab@suse.de>
44469         [BZ #14142]
44470         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
44471         * include/netdb.h: Likewise for h_errno.
44472         * elf/tst-stackguard1.c: Include <tls.h>.
44474 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
44476         * elf/link.h (struct link_map): Extend the l_addr comment.
44477         * include/link.h (struct link_map): Likewise.
44479 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
44481         [BZ #13550]
44482         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
44483         (BOUNDED_1): Remove macro.
44484         * debug/backtrace.c: Don't include <bp-checks.h>.
44485         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
44486         (__backtrace): Likewise.
44487         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
44488         <bp-checks.h>.
44489         (__backtrace): Don't use BOUNDED_1.
44490         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
44491         <bp-checks.h>.
44492         (__backtrace): Don't use BOUNDED_1.
44493         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
44494         (__backtrace): Don't use BOUNDED_1.
44495         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
44496         (shmat): Don't use BOUNDED_N.
44498 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
44500         [BZ #13550]
44501         * sysdeps/generic/bp-start.h: Remove file.
44502         * csu/libc-start.c: Don't include <bp-start.h>.
44503         (LIBC_START_MAIN): Set up __environ directly instead of using
44504         INIT_ARGV_and_ENVIRON.
44505         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
44506         <bp-start.h>.
44508         [BZ #13550]
44509         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
44510         definitions.
44511         (CHECK_FCNTL): Likewise.
44512         (CHECK_N_PAGES): Likewise.
44514         [BZ #13550]
44515         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
44516         definitions.
44517         (CHECK_SIGSET_NULL_OK): Likewise.
44518         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
44519         <bp-checks.h>.
44520         (sigpending): Don't use CHECK_SIGSET.
44521         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
44522         <bp-checks.h>.
44523         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44524         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
44525         <bp-checks.h>.
44526         (do_sigsuspend): Don't use CHECK_SIGSET.
44527         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
44528         use CHECK_SIGSET.
44529         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
44530         (do_sigwait): Don't use CHECK_SIGSET.
44531         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
44532         use CHECK_SIGSET.
44533         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
44534         include <bp-checks.h>.
44535         (sigpending): Don't use CHECK_SIGSET.
44536         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
44537         include <bp-checks.h>.
44538         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44539         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
44540         <bp-checks.h>.
44541         (sigpending): Don't use CHECK_SIGSET.
44542         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
44543         <bp-checks.h>.
44544         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44546         [BZ #13550]
44547         * sysdeps/generic/bp-semctl.h: Remove file.
44548         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
44549         <bp-checks.h> and <bp-semctl.h>.
44550         (__old_semctl): Don't use CHECK_SEMCTL.
44551         (__new_semctl): Likewise.
44552         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
44553         and <bp-semctl.h>.
44554         (__old_semctl): Don't use CHECK_SEMCTL.
44555         (__new_semctl): Likewise.
44556         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
44557         <bp-checks.h> and <bp-semctl.h>.
44558         (__old_semctl): Don't use CHECK_SEMCTL.
44559         (__new_semctl): Likewise.
44560         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
44561         <bp-checks.h> and <bp-semctl.h>.
44562         (semctl): Don't use CHECK_SEMCTL.
44564         [BZ #13550]
44565         * Makerules (elide-bp-thunks): Remove variable.
44566         (elide-routines.oS): Don't use $(elide-bp-thunks).
44567         (elide-routines.os): Likewise.
44568         (elide-routines.o): Likewise.
44569         (elide-routines.op): Likewise.
44570         (elide-routines.og): Likewise.
44571         (objects): Don't use $(bp-thunks).
44572         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
44573         include.
44574         (common-generated): Do not add s-proto-bp.d.
44575         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
44576         (int): Likewise.
44577         (typ): Likewise.
44578         Do not generate makefile rules for bounded-pointer thunks.
44579         * sysdeps/generic/bp-thunks.h: Remove file.
44580         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
44581         * sysdeps/unix/s-proto-bp.S: Likewise.
44583         [BZ #15062]
44584         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
44585         parts of result separately when argument is not close to line from
44586         -i to i and one part of argument is small.
44587         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44588         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44589         * math/libm-test.inc (cacos_test): Add more tests.
44590         (casin_test): Likewise.
44591         (casinh_test): Likewise.
44592         * sysdeps/i386/fpu/libm-test-ulps: Update.
44593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44595 2013-01-31  David S. Miller  <davem@davemloft.net>
44597         * po/de.po: Update from translation team.
44599 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
44601         * time/tzfile.c: Include stdint.h for SIZE_MAX.
44603 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
44605         * configure.in (_AC_PROG_CC_C89): New definition.
44606         * configure: Regenerate.
44608         * configure.in (AC_PROG_CPP): New definition.
44609         * configure: Regenerate.
44611 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44613         * debug/tst-backtrace.h: New file.
44614         * debug/tst-backtrace2.c: Include tst-backtrace.h.
44615         (ret): Remove variable.
44616         (x): Likewise.
44617         (FAIL): Remove macro.
44618         (NO_INLINE): Likewise.
44619         (fn1): Use match function instead of strstr.
44620         * debug/tst-backtrace3.c: Include tst-backtrace.h.
44621         (ret): Remove variable.
44622         (x): Likewise.
44623         (FAIL): Remove macro.
44624         (NO_INLINE): Likewise.
44625         (fn): Use match function instead of strstr.
44626         * debug/tst-backtrace4.c: Include tst-backtrace.h.
44627         (ret): Remove variable.
44628         (x): Likewise.
44629         (FAIL): Remove macro.
44630         (NO_INLINE): Likewise.
44631         (handle_signal): Use match function instead of strstr.
44632         * debug/tst-backtrace5.c: Include tst-backtrace.h.
44633         (ret): Remove variable.
44634         (x): Likewise.
44635         (FAIL): Remove macro.
44636         (NO_INLINE): Likewise.
44637         (handle_signal): Use match function instead of strstr.
44639 2013-01-23  Roland McGrath  <roland@hack.frob.com>
44641         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
44643 2013-01-23  David S. Miller  <davem@davemloft.net>
44645         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
44646         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
44647         argument of CAS if possible.
44648         * sysdeps/sparc/sparc64/bits/atomic.h
44649         (__arch_compare_and_exchange_val_32_acq): Likewise.
44650         (__arch_compare_and_exchange_val_64_acq): Likewise.
44652 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
44654         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
44655         * sysdeps/posix/ulimit.c: ... this.
44656         Include <limits.h>.
44657         * sysdeps/unix/bsd/ulimit.c: Remove file.
44659 2013-01-23  Adam Conrad  <adconrad@0c3.net>
44661         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
44662         (LDFLAGS-tst-array5): Likewise.
44664 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44666         [BZ #15036]
44667         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
44668         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
44669         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
44670         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
44672 2013-01-21  David S. Miller  <davem@davemloft.net>
44674         * sysdeps/sparc/backtrace.c: New file.
44675         * sysdeps/sparc/sparc32/backtrace.h: New file.
44676         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
44677         * sysdeps/sparc/sparc64/backtrace.h: New file.
44678         * sysdeps/sparc/sparc64/backtrace.c: Delete.
44679         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
44680         -funwind-tables.
44682 2013-01-21  Andreas Schwab  <schwab@suse.de>
44684         [BZ #15020]
44685         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
44686         closed its stdout.
44688 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
44690         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
44691         "mpa2.h".
44692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44694 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
44695             Mark Mitchell  <mark@codesourcery.com>
44696             Tom de Vries  <tom@codesourcery.com>
44697             Paul Pluzhnikov  <ppluzhnikov@google.com>
44699         * debug/tst-backtrace2.c: New file.
44700         * debug/tst-backtrace3.c: Likewise.
44701         * debug/tst-backtrace4.c: Likewise.
44702         * debug/tst-backtrace5.c: Likewise.
44703         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
44704         (CFLAGS-tst-backtrace3.c): Likewise.
44705         (CFLAGS-tst-backtrace4.c): Likewise.
44706         (CFLAGS-tst-backtrace5.c): Likewise.
44707         (LDFLAGS-tst-backtrace2): Likewise.
44708         (LDFLAGS-tst-backtrace3): Likewise.
44709         (LDFLAGS-tst-backtrace4): Likewise.
44710         (LDFLAGS-tst-backtrace5): Likewise.
44711         (tests): Add new tests tst-backtrace2, tst-backtrace3,
44712         tst-backtrace4 and tst-backtrace5.
44714 2013-01-18  Anton Blanchard  <anton@samba.org>
44715             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44717         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
44718         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
44719         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
44720         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
44721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
44722         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
44723         "+r" and remove output regs list as redundant.  Add explicit inline
44724         asm to specify register of return val to work around compiler codegen
44725         bug.  Remove (int) cast on return value.  Add return type parameter to
44726         use in macro so that this macro does not truncate return value for
44727         64-bit values.
44728         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
44729         pass to INTERNAL_VSYSCALL_NCS.
44730         (INLINE_VSYSCALL): Add 'long int' as return type to
44731         INTERNAL_VSYSCALL_NCS macro invocation.
44732         (INTERNAL_VSYSCALL): Add 'long int' as return type to
44733         INTERNAL_VSYSCALL_NCS macro invocation.
44734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44736 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44738         [BZ #14496]
44739         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
44740         Fix application of SIMD FP exception mask.
44742         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
44743         mp_no from a power of two.
44744         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
44745         __mpexp_twomm1.  Use __pow_mp.
44747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
44748         multiplication.
44750 2013-01-17  David S. Miller  <davem@davemloft.net>
44752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44754 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44756         [BZ #15023]
44757         * include/complex.h: Condition contents on [!_COMPLEX_H].
44758         (__kernel_casinhf): New prototype.
44759         (__kernel_casinh): Likewise.
44760         (__kernel_casinhl): Likewise.
44761         * math/Makefile (libm_calls): Add k_casinh.
44762         * math/k_casinh.c: New file.
44763         * math/k_casinhf.c: Likewise.
44764         * math/k_casinhl.c: Likewise.
44765         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
44766         finite nonzero arguments.
44767         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
44768         finite nonzero arguments.
44769         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
44770         finite nonzero arguments.
44771         * math/s_casinh.c: Do not include <float.h>.
44772         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
44773         * math/s_casinhf.c: Do not include <float.h>.
44774         (__casinhf): Move code for finite nonzero arguments to
44775         k_casinhf.c.
44776         * math/s_casinhl.c: Do not include <float.h>.
44777         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
44778         redefine.
44779         (__casinhl): Move code for finite nonzero arguments to
44780         k_casinhl.c.
44781         * math/libm-test.inc (cacos_test): Add more tests.
44782         * sysdeps/i386/fpu/libm-test-ulps: Update.
44783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44785 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
44787         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
44788         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
44789         [!HAVE_MREMAP]: Remove [defined linux] case.
44790         * malloc/arena.c: Do not include <malloc-sysdep.h>.
44792 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44794         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
44796 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
44798         * elf/elf.h (R_386_SIZE32): New relocation.
44799         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
44800         R_386_SIZE32.
44801         (elf_machine_rela): Likewise.
44802         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44803         R_X86_64_SIZE64 and R_X86_64_SIZE32.
44805 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44807         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
44808         (FP_FAST_FMA): Do not define.
44809         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
44810         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
44811         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
44812         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
44813         !_SOFT_FLOAT]: Likewise.
44814         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
44815         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
44816         value.
44817         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
44818         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
44819         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
44820         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
44821         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
44822         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
44823         file.
44825 2013-01-16  Andreas Schwab  <schwab@suse.de>
44827         [BZ #14327]
44828         * include/stdlib.h (__mktemp): Add declaration.
44829         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
44830         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
44832 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44834         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
44835         definitions.
44836         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
44837         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
44838         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
44839         definitions here.
44840         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
44841         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
44842         definitions.
44843         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
44844         and ONE.
44845         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
44846         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
44847         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
44848         definitions.
44849         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
44850         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
44851         definitions.
44852         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
44854         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
44856 2013-01-15  David S. Miller  <davem@davemloft.net>
44858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44859         trunc{,f} to libm-sysdep_routes.
44860         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
44862         file.
44863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
44864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
44865         file.
44866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
44867         file.
44868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
44869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
44870         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
44871         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
44872         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
44873         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
44874         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
44875         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
44877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44878         nearbyint{,f} to libm-sysdep_routes.
44879         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
44881         New file.
44882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
44883         file.
44884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
44885         New file.
44886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
44887         file.
44888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
44889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
44890         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
44891         file.
44892         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
44893         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
44894         file.
44895         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
44896         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
44897         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
44899         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44900         libc_feholdexcept and libc_fesetenv.
44902 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
44904         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
44906 2013-01-14  David S. Miller  <davem@davemloft.net>
44908         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
44909         (SPARC_ASM_VIS2_IFUNC): Likewise.
44910         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
44911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
44912         use of 'siam' instruction.
44913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
44914         Likewise.
44915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
44916         Likewise.
44917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
44918         Likewise.
44919         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
44920         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
44921         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
44922         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
44923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
44924         file.
44925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
44926         file.
44927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
44928         file.
44929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
44930         file.
44931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
44932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
44933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
44934         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
44935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
44936         new VIS2 routines.
44937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44940         Likewise.
44941         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44942         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44943         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
44946         routines to libm-sysdep_routines.
44947         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44950         fdim/fdimf to libm-sysdep_routines.
44951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
44952         file.
44953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
44954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
44955         file.
44956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
44957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
44958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
44959         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
44960         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
44961         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
44962         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
44964 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44966         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
44967         to optimize copies.
44969         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
44970         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
44974         local variable MPTWO.
44975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44976         Likewise.
44978 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44980         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
44981         GLOB_NOESCAPE.
44983 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44985         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
44987 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44989         * manual/pattern.texi (glob_t): Document gl_flags.
44990         (glob64_t): Likewise.
44992 2013-01-11  David S. Miller  <davem@davemloft.net>
44994         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
44995         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
44996         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
44997         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
44998         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
44999         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
45000         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
45001         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
45002         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
45003         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
45004         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
45005         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
45006         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
45008         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
45009         sparc V9 rather than using V8 code.
45010         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45011         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45013         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45014         Move to...
45015         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
45016         Here.
45018 2013-01-11  Roland McGrath  <roland@hack.frob.com>
45020         [BZ #14941]
45021         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
45022         not in the main loop.
45023         * configure: Regenerated.
45025 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
45027         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
45028         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
45029         to just #else.
45030         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
45031         [!__GLIBC_HAVE_LONG_LONG] case.
45032         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
45033         condition to just #else.
45034         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
45035         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
45036         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
45037         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
45038         unconditional.
45039         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
45040         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45041         #elif condition to just #else.
45042         * sysdeps/unix/sysv/linux/sys/sysmacros.h
45043         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
45044         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45045         #elif condition to just #else.
45047 2013-01-11  Steve Ellcey  <sellcey@mips.com>
45049         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
45050         (EF_MIPS_ARCH_64): Fix value.
45051         (EF_MIPS_ARCH_32R2): New.
45052         (EF_MIPS_ARCH_64R2): New.
45054 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
45056         * Makeconfig (+link-pie-before-libc): New.
45057         (+link-pie-after-libc): Likewise.
45058         (+link-pie-tests): Likewise.
45059         (+link-pie): Rewritten.
45060         (link-before-libc): Remove $(config-LDFLAGS).
45061         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
45062         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
45063         (config-LDFLAGS): Renamed to ...
45064         (rtld-LDFLAGS): This.
45065         (rtld-tests-LDFLAGS): New macro.
45066         (link-libc-rpath-link): Likewise.
45067         (link-libc-tests-rpath-link): Likewise.
45068         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
45069         (link-libc): Prepand $(link-libc-rpath-link).
45070         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
45071         (test-program-prefix): New macro.
45072         (test-via-rtld-prefix): Likewise.
45073         (test-program-cmd): Likewise.
45074         (host-test-program-cmd): Likewise.
45075         * Makefile ($(common-objpfx)testrun.sh): Replace
45076         $(run-program-prefix) with $(test-program-prefix).
45077         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
45078         $(rtld-LDFLAGS).
45079         ($(common-objpfx)shlib.lds): Likewise.
45080         (build-module-helper): Likewise.
45081         ($(common-objpfx)format.lds): Likewise.
45082         * Rules (binaries-pie-tests): New.
45083         (binaries-pie-notests): Likewise.
45084         (binaries-pie): Rewritten.
45085         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
45086         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
45087         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
45088         (make-test-out): Replace $(host-built-program-cmd) with
45089         $(host-test-program-cmd).
45090         * config.make.in (build-hardcoded-path-in-tests): New variable.
45091         * configure.in (--enable-hardcoded-path-in-tests): New configure
45092         option.
45093         (hardcoded_path_in_tests): New AC_SUBST.
45094         * configure: Regenerated.
45095         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
45096         $(built-program-cmd) with $(test-program-cmd).
45097         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
45098         (test_program_cmd): This.
45099         * elf/Makefile ($(objpfx)order.out): Run test with
45100         $(test-program-prefix).
45101         ($(objpfx)order2.out): Likewise.
45102         ($(objpfx)tst-initorder.out): Likewise.
45103         ($(objpfx)tst-initorder2.out): Likewise.
45104         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
45105         $(test-program-cmd).
45106         ($(objpfx)tst-array1-static.out): Likewise.
45107         ($(objpfx)tst-array2.out): Likewise.
45108         ($(objpfx)tst-array3.out): Likewise.
45109         ($(objpfx)tst-array4.out): Likewise.
45110         ($(objpfx)tst-array5.out): Likewise.
45111         ($(objpfx)tst-array5-static.out): Likewise.
45112         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
45113         $(test-program-cmd).
45114         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
45115         $(run-program-prefix) with $(test-program-prefix).
45116         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
45117         (test_program_prefix): This.
45118         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
45119         $(run-program-prefix) with $(test-program-prefix).
45120         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
45121         (test_program_prefix): This.
45122         * iconvdata/tst-tables.sh: Likewise.
45123         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
45124         $(run-program-prefix) with $(test-program-prefix).
45125         ($(objpfx)tst-translit.out): Likewise.
45126         ($(objpfx)tst-gettext2.out): Likewise.
45127         ($(objpfx)tst-gettext4.out): Likewise.
45128         ($(objpfx)tst-gettext6.out): Likewise.
45129         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
45130         (test_program_prefix): This.
45131         * intl/tst-gettext2.sh: Likewise.
45132         * intl/tst-gettext4.sh  Likewise.
45133         * intl/tst-gettext6.sh: Likewise.
45134         * intl/tst-translit.sh: Likewise.
45135         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
45136         with $(test-program-cmd).
45137         * libio/Makefile ($(objpfx)test-freopen.out): Replace
45138         $(run-program-prefix) with $(test-program-prefix).
45139         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
45140         (test_program_prefix): This.
45141         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
45142         $(run-program-prefix) with $(test-program-prefix).
45143         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
45144         (test_program_prefix): This.
45145         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
45146         * posix/Makefile ($(objpfx)globtest.out): Replace
45147         $(run-via-rtld-prefix) and $(test-wrapper) with
45148         $(test-program-prefix) and $(test-via-rtld-prefix).
45149         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
45150         $(test-program-prefix).
45151         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
45152         $(host-test-program-cmd).
45153         (tst-spawn-ARGS): Likewise.
45154         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
45155         $(test-program-prefix).
45156         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
45157         (test_via_rtld_prefix): This.
45158         (test_wrapper): Renamed to ...
45159         (test_program_prefix): This.
45160         (run_program_prefix): Replaced by test_program_prefix.
45161         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
45162         (test_program_prefix): This.
45163         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
45164         with $(host-test-program-cmd).
45165         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
45166         $(run-program-prefix) with $(test-program-prefix).
45167         ($(objpfx)tst-printf.out): Likewise.
45168         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
45169         $(test-program-cmd).
45170         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
45171         (test_program_prefix): This.
45172         * stdio-common/tst-unbputc.sh: Likewise.
45173         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
45174         $(run-program-prefix) with $(test-program-prefix).
45175         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
45176         (test_program_prefix): This.
45177         * string/Makefile ($(objpfx)tst-svc.out):  Replace
45178         $(built-program-cmd) with $(test-program-cmd).
45180 2013-01-11  Andreas Jaeger  <aj@suse.de>
45182         [BZ #15003]
45183         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
45184         value. Sync with Linux 3.7.
45186 2013-01-10  David S. Miller  <davem@davemloft.net>
45188         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
45189         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45190         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45192 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45194         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
45195         never set.
45196         * configure: Regenerated.
45198 2013-01-10  David S. Miller  <davem@davemloft.net>
45200         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
45201         sparc V9 rather than using V8 code.
45202         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45203         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45205 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45207         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
45208         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
45209         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
45210         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
45211         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
45212         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
45213         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
45214         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
45215         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
45216         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
45217         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
45218         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
45219         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
45220         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
45221         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
45222         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
45223         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
45224         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
45225         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
45226         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
45227         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
45228         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
45229         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
45230         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
45231         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
45232         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
45233         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
45235 2013-01-10  David S. Miller  <davem@davemloft.net>
45237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45239 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45241         * posix/Makefile (tests-static): New variable.
45242         (tests): Add $(tests-static).
45243         (tst-exec-static-ARGS): New variable.
45244         (tst-spawn-static-ARGS): Likewise.
45245         * posix/tst-exec-static.c: New file.
45246         * posix/tst-spawn-static.c: Likewise.
45247         * posix/tst-exec.c: Support run directly.
45248         * posix/tst-spawn.c: Likewise.
45250 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
45252         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
45253         long.
45254         * math/bits/mathcalls.h (llrint): Likewise.
45255         (llround): Likewise.
45256         * stdlib/stdlib.h (struct drand48_data): Likewise.
45257         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
45258         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
45259         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
45260         Likewise.
45261         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
45262         Likewise.
45263         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
45264         (elf_greg_t): Likewise.
45265         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
45266         (__jmp_buf): Likewise.
45267         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
45268         definitions.
45269         (llrint): Likewise, for all definitions.
45270         (llrintl): Likewise.
45272         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
45273         Remove [__GNUC__] condition.
45274         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
45275         condition to just [__USE_ISOC99].
45276         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
45278 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45280         [BZ #14200]
45281         * sysdeps/unix/sysv/linux/x86/bits/environments.h
45282         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
45283         defined.
45284         (_POSIX_V6_ILP32_OFF32): Likewise.
45285         (_XBS5_ILP32_OFF32): Likewise.
45286         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
45287         (__ILP32_OFFBIG_LDFLAGS): Likewise.
45289 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45291         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
45293         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
45294         doubles __mpexp_twomm1.  Adjust usage.
45295         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
45296         Remove.
45298 2013-01-10  Andreas Schwab  <schwab@suse.de>
45300         [BZ #14964]
45301         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
45302         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
45304 2013-01-09  David S. Miller  <davem@davemloft.net>
45306         [BZ #15003]
45307         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
45308         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
45309         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
45310         (TCP_FASTOPEN): Define.
45311         (tcp_repair_opt): New structure.
45312         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
45313         enum values.
45314         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
45315         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
45316         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
45317         (tcp_cookie_transactions): New structure.
45319 2013-01-09  Anton Blanchard  <anton@samba.org>
45321         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
45322         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
45323         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
45324         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
45326 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
45328         * include/features.h (__USE_ANSI): Remove.
45330 2013-01-09  Roland McGrath  <roland@hack.frob.com>
45332         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
45334         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
45336 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45338         * sysdeps/s390/fpu/libm-test-ulps: Update.
45340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45342         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
45343         (__acr): Likewise.
45344         (__cpy): Likewise.
45345         (norm): Likewise.
45346         (denorm): Likewise.
45347         (__mp_dbl): Likewise.
45348         (__dbl_mp): Likewise.
45349         (add_magnitudes): Likewise.
45350         (sub_magnitudes): Likewise.
45351         (__add): Likewise.
45352         (__sub): Likewise.
45353         (__mul): Likewise.
45354         (__inv): Likewise.
45355         (__dvd): Likewise.
45356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
45357         (__acr): Likewise.
45358         (__cpy): Likewise.
45359         (norm): Likewise.
45360         (denorm): Likewise.
45361         (__mp_dbl): Likewise.
45362         (__dbl_mp): Likewise.
45363         (add_magnitudes): Likewise.
45364         (sub_magnitudes): Likewise.
45365         (__add): Likewise.
45366         (__sub): Likewise.
45367         (__mul): Likewise.
45368         (__inv): Likewise.
45369         (__dvd): Likewise.
45370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
45371         (__acr): Likewise.
45372         (__cpy): Likewise.
45373         (norm): Likewise.
45374         (denorm): Likewise.
45375         (__mp_dbl): Likewise.
45376         (__dbl_mp): Likewise.
45377         (add_magnitudes): Likewise.
45378         (sub_magnitudes): Likewise.
45379         (__add): Likewise.
45380         (__sub): Likewise.
45381         (__mul): Likewise.
45382         (__inv): Likewise.
45383         (__dvd): Likewise.
45385 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
45387         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
45388         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
45389         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
45390         2 && __USE_EXTERN_INLINES]: Likewise.
45392 2013-01-08  Andreas Jaeger  <aj@suse.de>
45394         [BZ# 14985]
45395         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
45396         Remove.
45397         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45398         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45400 2013-01-07  Anton Blanchard  <anton@samba.org>
45402         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
45403         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45404         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
45405         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45406         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45407         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45408         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
45409         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45410         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45411         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45412         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45413         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45414         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45415         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45416         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45417         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45418         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45419         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45420         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45421         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45422         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45423         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
45424         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45425         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45426         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
45427         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45428         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45429         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45430         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
45431         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45432         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45433         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45434         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45435         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45436         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45437         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45438         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45439         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45440         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
45441         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45442         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
45443         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45444         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45446 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
45448         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
45449         (__MALLOC_PMT): Likewise.
45450         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
45451         [__GNUC__], only on [_LIBC].
45452         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45453         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
45454         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45455         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
45456         forward declaration.
45457         (realloc_hook_ini): Likewise.
45458         (memalign_hook_ini): Likewise.
45459         (__libc_memalign): Do not use __MALLOC_PMT in variable
45460         declaration.
45461         (__libc_valloc): Likewise.
45462         (__libc_pvalloc): Likewise.
45463         (__libc_calloc): Likewise.
45464         (__posix_memalign): Likewise.
45466         [BZ #14996]
45467         * math/s_casinh.c: Include <float.h>.
45468         (__casinh): Do not do computation with squaring and square root
45469         for large arguments.
45470         * math/s_casinhf.c: Include <float.h>.
45471         (__casinhf): Do not do computation with squaring and square root
45472         for large arguments.
45473         * math/s_casinhl.c: Include <float.h>.
45474         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
45475         (__casinhl): Do not do computation with squaring and square root
45476         for large arguments.
45477         * math/libm-test.inc (casin_test): Add more tests.
45478         (casinh_test): Likewise.
45479         * sysdeps/i386/fpu/libm-test-ulps: Update.
45480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45482 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
45484         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
45485         (__x86_64_raw_data_cache_size): Likewise.
45486         (__x86_64_data_cache_size_half): Likewise.
45487         (__x86_64_raw_data_cache_size_half): Likewise.
45488         (__x86_64_shared_cache_size): Likewise.
45489         (__x86_64_raw_shared_cache_size): Likewise.
45490         (__x86_64_shared_cache_size_half): Likewise.
45491         (__x86_64_raw_shared_cache_size_half): Likewise.
45492         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
45493         to ...
45494         (__x86_data_cache_size): This.
45495         (__x86_64_raw_data_cache_size): Renamed to ...
45496         (__x86_raw_data_cache_size): This.
45497         (__x86_64_data_cache_size_half): Renamed to ...
45498         (__x86_data_cache_size_half): This.
45499         (__x86_64_raw_data_cache_size_half): Renamed to ...
45500         (__x86_raw_data_cache_size_half): This.
45501         (__x86_64_shared_cache_size): Renamed to ...
45502         (__x86_shared_cache_size): This.
45503         (__x86_64_raw_shared_cache_size): Renamed to ...
45504         (__x86_raw_shared_cache_size): This.
45505         (__x86_64_shared_cache_size_half): Renamed to ...
45506         (__x86_shared_cache_size_half): This.
45507         (__x86_64_raw_shared_cache_size_half): Renamed to ...
45508         (__x86_raw_shared_cache_size_half): This.
45509         * sysdeps/x86_64/memcpy.S: Updated.
45510         * sysdeps/x86_64/memset.S: Likewise.
45511         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45512         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45513         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45515 2013-01-04  David S. Miller  <davem@davemloft.net>
45517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45519 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
45521         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
45522         1 to avoid redefinition warning.
45523         (__USE_GNU): Don't define.
45524         (init_signaling_nan): Protoize.
45526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45528 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45530         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
45531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
45532         (__cpymn): Likewise.
45533         (norm): Remove commented code.
45534         (denorm): Likewise.
45535         (__mp_dbl): Likewise.
45536         (__inv): Likewise.
45537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
45538         (__cpymn): Likewise.
45539         (norm): Remove commented code.
45540         (denorm): Likewise.
45541         (__mp_dbl): Likewise.
45542         (__inv): Likewise.
45544         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
45545         mp_no value for 1.0 and 2.0.
45546         (norm): Use RADIXI instead of radixi.d.
45547         (denorm): Likewise.
45548         (__mul): Use 0.0 instead of zero.d.
45549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
45550         mp_no value for 1.0 and 2.0.
45551         (norm): Use RADIXI instead of radixi.d.
45552         (denorm): Likewise.
45553         (__mul): Use 0.0 instead of zero.d.
45555 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
45557         [BZ #14994]
45558         * math/s_casinh.c (__casinh): Reduce finite argument to first
45559         quadrant then set signs of results at the end.
45560         * math/s_casinhf.c (__casinhf): Likewise.
45561         * math/s_casinhl.c (__casinhl): Likewise.
45562         * math/libm-test.inc (casin_test): Add more tests.
45563         (casinh_test): Likewise.
45564         * sysdeps/i386/fpu/libm-test-ulps: Update.
45565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45567 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45569         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
45571         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
45573         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
45574         declarations.
45575         (denorm): Likewise.
45576         (__mp_dbl): Likewise.
45577         (__inv): Likewise.
45579         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
45580         and adjust the header comment.
45582         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
45583         variable name from declaration.
45585 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
45587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45588         Initialize COMMON_CPUID_INDEX_7 element.
45589         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
45590         (CPUID_RTM): Likewise.
45591         (HAS_RTM): Likewise.
45592         (COMMON_CPUID_INDEX_7): New enum.
45594 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
45596         [BZ #14981]
45597         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
45598         size is zero, record memory as freed.
45600 2013-01-03  Andreas Jaeger  <aj@suse.de>
45602         * po/ia.po: Add new Interlingua translation.
45604 2012-01-03  Allan McRae  <allan@archlinux.org>
45606         * locale/programs/localedef.c: Fix description of '--posix' flag.
45608 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
45610         * NEWS: Update dates in second copyright notice.
45611         * README: Update copyright dates in example.
45612         * manual/libc.texinfo: Update copyright dates.
45613         * scripts/test-installation.pl: Update copyright date in --version
45614         output.
45616         * hurd/ctty-input.c: Fix copyright notice formatting.
45617         * hurd/ctty-output.c: Likewise.
45618         * hurd/dtable.c: Likewise.
45619         * hurd/hurd-raise.c: Likewise.
45620         * hurd/hurdprio.c: Likewise.
45621         * hurd/msgportdemux.c: Likewise.
45622         * misc/sys/file.h: Likewise.
45623         * misc/sys/ioctl.h: Likewise.
45624         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45625         * sysdeps/mach/hurd/chdir.c: Likewise.
45626         * sysdeps/mach/hurd/fchdir.c: Likewise.
45627         * sysdeps/mach/hurd/rename.c: Likewise.
45628         * sysdeps/mach/hurd/rmdir.c: Likewise.
45629         * sysdeps/mach/hurd/seekdir.c: Likewise.
45630         * sysdeps/mach/hurd/setsid.c: Likewise.
45631         * sysdeps/posix/wait3.c: Likewise.
45633         * All files with FSF copyright notices: Update copyright dates
45634         using scripts/update-copyrights.
45635         * intl/plural.c: Regenerated.
45636         * locale/programs/charmap-kw.h: Likewise.
45637         * locale/programs/locfile-kw.h: Likewise.
45639 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45641         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
45642         four values.
45644         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
45645         calculation loop and add branch prediction.
45647         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
45648         check access beyond bounds of m1np.
45650         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45651         MPTWO.
45652         (__inv): Remove local variable MPTWO to use the global
45653         constant.
45654         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
45655         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45656         variable MPTWO.
45657         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
45658         MP3HALFS static const.
45660 2013-01-01  David S. Miller  <davem@davemloft.net>
45662         * po/ca.po: Update from translation team.
45664 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
45666         * scripts/update-copyrights: New file.
45667         * Makeconfig: Reformat copyright notice.
45668         * ctype/ctype.h: Likewise.
45669         * debug/swprintf_chk.c: Likewise.
45670         * elf/dl-cache.c: Likewise.
45671         * elf/dl-debug.c: Likewise.
45672         * elf/dl-object.c: Likewise.
45673         * grp/initgroups.c: Likewise.
45674         * hurd/Makefile: Likewise.
45675         * hurd/hurd/signal.h: Likewise.
45676         * hurd/hurdfault.c: Likewise.
45677         * hurd/hurdioctl.c: Likewise.
45678         * hurd/hurdlookup.c: Likewise.
45679         * hurd/intr-msg.c: Likewise.
45680         * iconv/gconv_open.c: Likewise.
45681         * libio/swprintf.c: Likewise.
45682         * locale/lc-ctype.c: Likewise.
45683         * locale/nl_langinfo.c: Likewise.
45684         * mach/Machrules: Likewise.
45685         * mach/Makefile: Likewise.
45686         * malloc/obstack.h: Likewise.
45687         * manual/Makefile: Likewise.
45688         * manual/tsort.awk: Likewise.
45689         * misc/bits/stab.def: Likewise.
45690         * nis/nis_print_group_entry.c: Likewise.
45691         * nis/nis_table.c: Likewise.
45692         * nis/nss_compat/compat-pwd.c: Likewise.
45693         * nis/nss_compat/compat-spwd.c: Likewise.
45694         * po/Makefile: Likewise.
45695         * posix/fnmatch.c: Likewise.
45696         * posix/regex.h: Likewise.
45697         * resolv/Makefile: Likewise.
45698         * resolv/nss_dns/dns-network.c: Likewise.
45699         * resolv/res_hconf.c: Likewise.
45700         * scripts/gen-sorted.awk: Likewise.
45701         * soft-fp/soft-fp.h: Likewise.
45702         * stdio-common/printf.h: Likewise.
45703         * stdlib/monetary.h: Likewise.
45704         * stdlib/random.c: Likewise.
45705         * stdlib/random_r.c: Likewise.
45706         * sysdeps/generic/Makefile: Likewise.
45707         * sysdeps/gnu/Makefile: Likewise.
45708         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45709         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45710         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45712         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45713         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45714         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45715         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45716         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45717         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45718         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45719         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45720         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45721         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45722         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
45723         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45724         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45725         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45726         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45727         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45728         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45729         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45730         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45731         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45732         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
45733         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45734         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45735         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
45736         * sysdeps/mach/hurd/errnos.awk: Likewise.
45737         * sysdeps/mach/hurd/fork.c: Likewise.
45738         * sysdeps/mach/hurd/getcwd.c: Likewise.
45739         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
45740         * sysdeps/mach/hurd/mmap.c: Likewise.
45741         * sysdeps/mach/hurd/utimes.c: Likewise.
45742         * sysdeps/mach/hurd/xmknod.c: Likewise.
45743         * sysdeps/posix/profil.c: Likewise.
45744         * sysdeps/posix/readdir_r.c: Likewise.
45745         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45746         * sysdeps/powerpc/bits/setjmp.h: Likewise.
45747         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
45748         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45750         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45751         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45752         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45754         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45755         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45756         * sysdeps/pthread/lio_listio.c: Likewise.
45757         * sysdeps/sparc/dl-procinfo.h: Likewise.
45758         * sysdeps/unix/i386/sysdep.S: Likewise.
45759         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
45760         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
45761         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
45762         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
45763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45764         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
45765         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
45766         * sysdeps/unix/sysv/linux/speed.c: Likewise.
45767         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45768         * sysdeps/wordsize-32/divdi3.c: Likewise.
45769         * time/sys/time.h: Likewise.
45770         * wcsmbs/Makefile: Likewise.
45772 2013-01-01  David S. Miller  <davem@davemloft.net>
45774         * po/fr.po: Update from translation team.
45776         * catgets/gencat.c: Update copyright year.
45777         * csu/version.c: Likewise.
45778         * debug/catchsegv.sh: Likewise.
45779         * debug/pcprofiledump.c: Likewise.
45780         * debug/xtrace.sh: Likewise.
45781         * elf/ldconfig.c: Likewise.
45782         * elf/ldd.bash.in: Likewise.
45783         * elf/pldd.c: Likewise.
45784         * elf/sotruss.ksh: Likewise.
45785         * elf/sprof.c: Likewise.
45786         * iconv/iconv_prog.c: Likewise.
45787         * iconv/iconvconfig.c: Likewise.
45788         * locale/programs/locale.c: Likewise.
45789         * locale/programs/localedef.c: Likewise.
45790         * login/programs/pt_chown.c: Likewise.
45791         * malloc/memusage.sh: Likewise.
45792         * malloc/memusagestat.c: Likewise.
45793         * malloc/mtrace.pl: Likewise.
45794         * nscd/nscd.c: Likewise.
45795         * nss/getent.c: Likewise.
45796         * nss/makedb.c: Likewise.
45797         * posix/getconf.c: Likewise.
45799 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45801         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
45802         numbers.
45804 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
45806         * math/bits/mathcalls.h (modf): Use __nonnull.
45808 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45810         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
45811         (split): Use macro CN instead of the bare value.
45812         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
45813         could be used.
45814         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
45815         instead of the bare value.
45816         (power1): Likewise.
45818 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45820         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
45821         __ATAN_TWOM.
45822         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45824         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
45825         their values.
45826         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45827         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45828         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
45829         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45831 2012-12-28  Andreas Jaeger  <aj@suse.de>
45833         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
45834         values are from Linux 3.7.
45836         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
45837         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
45839 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45841         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
45842         TRUE case.
45844         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
45845         (norm): Likewise.
45846         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
45847         variables with preprocessor constants.
45848         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45849         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45850         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45852 2012-12-27  Bruno Haible  <bruno@clisp.org>
45854         [BZ #14317]
45855         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
45856         only if needed.
45858 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45860         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
45861         and use variable directly.
45862         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
45864         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45865         MPONE.
45866         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
45867         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45868         variable MPONE.
45869         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45871         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
45872         include directive.  Remove local variable MPONE.
45873         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
45874         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
45875         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45877 2012-12-25  David S. Miller  <davem@davemloft.net>
45879         * version.h (RELEASE): Set to "development".
45880         (VERSION): Set to "2.17.90".
45881         * NEWS: Add 2.18 section.
45883 2012-12-21  David S. Miller  <davem@davemloft.net>
45885         * po/hr.po: Update from translation team.
45887 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45889         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
45891 2012-12-19  Steve Ellcey  <sellcey@mips.com>
45893         * NEWS:  Mention new memcpy for MIPS.
45895 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45897         * manual/contrib.texi (Contributors): Spelling correction.
45899 2012-12-15  David S. Miller  <davem@davemloft.net>
45901         * po/ru.po: Update from translation team.
45903 2012-12-13  David S. Miller  <davem@davemloft.net>
45905         * NEWS: Mention IFUNC testsuite enhancements.
45907         * po/pl.po: Update from translation team.
45908         * po/bg.po: Likewise.
45910         * manual/contrib.texi (Contributors): Update entries for Hongjiu
45911         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
45913 2012-12-11  David S. Miller  <davem@davemloft.net>
45915         * po/sv.po: Update from translation team.
45917         * po/vi.po: Update from translation team.
45919         * po/cs.po: Update from translation team.
45921         * po/de.po: Update from translation team.
45922         * po/eo.po: Likewise.
45923         * po/nl.po: Likewise.
45925 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45927         [BZ #14246]
45928         * manual/argp.texi (Argp Helper Functions): Move node to follow
45929         Argp Parsing State.
45931         [BZ #14872]
45932         * manual/conf.texi (Limits on File System Capacity): Mention if
45933         terminating null is included in the max size.
45935 2012-12-10  Andreas Jaeger  <aj@suse.de>
45937         * po/cs.po: Update from translation team.
45939 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45941         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
45942         void pointer and cast to uintptr_t.
45943         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
45944         path.
45945         * sysdeps/s390/s390-64/memcpy.S: Likewise.
45946         * sysdeps/s390/s390-64/memset.S: Likewise.
45948 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
45950         [BZ #14833]
45951         * menual/message.texi (Message Translation): Fix typos.
45952         (Helper programs for gettext): Likewise.
45954 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
45956         [BZ #14898]
45957         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
45958         Change to -1.
45960 2012-12-07  David S. Miller  <davem@davemloft.net>
45962         * po/libc.pot: Update.
45964 2012-12-07  Richard Henderson  <rth@redhat.com>
45966         [BZ #10114]
45967         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
45968         normal/normal case to before the switch.
45969         (_FP_DIV): Likewise.
45971 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
45972             Mike Frysinger  <vapier@gentoo.org>
45974         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
45975         check for __NR_fadvise64_64.
45977 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
45979         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
45980         0, not just to plain "0" as a statement.
45981         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
45982         with cw.
45984 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
45986         * NEWS: Use sourceware.org in Bugzilla URL.
45988 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
45991         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45993         * stdio-common/tst-put-error.c (do_test): Add newline to the
45994         padded test to ensure flush.
45996 2012-12-05  Jeff Law  <law@redhat.com>
45998         * sunrpc/etc.rpc (fedfs_admin): Add entry.
46000 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
46002         * README: Don't refer to ports add-on as distributed separately.
46003         Mention AArch64 in list of systems supported in the ports add-on.
46005         * LICENSES: Add more non-FSF copyright and license notices.
46007         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
46008         ((unused)).
46010         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
46012         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
46013         10000 as width of padded output.
46015 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46017         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
46019         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
46020         variable LX with __attribute__ ((unused)).
46021         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46022         Likewise.
46023         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46024         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46025         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
46026         with __attribute__ ((unused)).
46028 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
46030         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
46032 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46034         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
46035         (CFLAGS-nldbl-acos.c): New variable.
46036         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
46037         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
46038         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
46039         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
46040         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
46041         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
46042         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
46043         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
46044         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
46045         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
46046         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
46047         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
46048         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
46049         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
46050         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
46051         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
46052         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
46053         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
46054         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
46055         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
46056         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
46057         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
46058         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
46059         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
46060         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
46061         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
46062         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
46063         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
46064         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
46065         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
46066         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
46067         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
46068         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
46069         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
46070         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
46071         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
46072         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
46073         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
46074         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
46075         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
46076         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
46077         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
46078         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
46079         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
46080         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
46081         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
46082         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
46083         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
46084         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
46085         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
46086         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
46087         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
46088         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
46089         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
46090         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
46091         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
46092         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
46093         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
46094         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
46095         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
46096         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
46097         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
46098         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
46099         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
46100         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
46101         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
46102         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
46103         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
46104         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
46105         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
46106         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
46107         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
46108         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
46109         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
46110         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
46111         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
46112         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
46113         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
46114         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
46115         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
46116         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
46117         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
46118         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
46119         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
46120         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
46121         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
46122         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
46123         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
46124         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
46125         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
46126         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
46127         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
46128         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
46129         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
46130         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
46131         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
46132         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
46134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46135         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
46137         [BZ #14914]
46138         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
46139         whole low double instead of just low 47 bits when splitting values
46140         into two parts.
46142 2012-12-03  Allan McRae  <allan@archlinux.org>
46144         * manual/stdio.texi (Predefined Printf Handlers): Remove
46145         @hsep and @vsep usage.
46147 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
46149         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
46150         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
46152 2012-12-03  Jeff Law  <law@redhat.com>
46154         * time/sys/time.h (settimeofday): Do not mark TV argument
46155         as __nonnull.
46157 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
46159         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
46160         when currently writing and seek to current position when not.
46161         * libio/Makefile (tests): Remove bug-fclose1.
46162         * libio/bug-fclose1.c: Delete.
46164 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
46166         * manual/arith.texi (feenableexcept): Fix typo.
46167         (fedisableexcept): Likewise.
46169 2012-11-30  Roland McGrath  <roland@hack.frob.com>
46171         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
46172         second, differently-typed declaration, rather than a cast.
46174 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46176         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
46177         * include/rpc/svc.h: ... here.
46179 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
46181         [BZ #13013]
46182         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
46183         depending n and resplen2 to catch cases where answer
46184         equals answerp2.
46186 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
46188         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
46189         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
46191 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
46193         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
46195 2012-11-29  Roland McGrath  <roland@hack.frob.com>
46197         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
46199 2012-11-28  Jeff Law  <law@redhat.com>
46201         [BZ #13761]
46202         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
46203         dataset_temporary.  Track alloca usage into alloca_used.
46204         If dataset is large allocate and release it via malloc/free.
46206 2012-06-04  Florian Weimer  <fweimer@redhat.com>
46208         [BZ #14197]
46209         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
46211 2012-11-28  David S. Miller  <davem@davemloft.net>
46213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46215 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46217         [BZ #14803]
46218         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
46219         of pi/2 rounded to nearest to 64 bits.
46220         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
46221         nearest to 64 bits.
46222         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
46223         bits.
46225 2012-11-28  Jeff Law <law@redhat.com>
46226             Martin Osvald <mosvald@redhat.com>
46228         [BZ #14889]
46229         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
46230         * sunrpc/svc.c: Include time.h.
46231         (__svc_accept_failed): New function.
46232         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
46233         any reason other than EINTR, call __svc_accept_failed.
46234         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
46235         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
46237 2012-11-28  Andreas Schwab  <schwab@suse.de>
46239         * scripts/abilist.awk: Also handle indirect functions in .opd
46240         section.
46242 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46244         [BZ #13881]
46245         * sysdeps/x86/fpu/powl_helper.c: New file.
46246         * sysdeps/x86/fpu/Makefile: Likewise.
46247         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
46248         (p3): New object.
46249         (__ieee754_powl): Use __powl_helper for finite arguments except
46250         integer exponents below 8.
46251         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
46252         (p3): New object.
46253         (__ieee754_powl): Use __powl_helper for finite arguments except
46254         integer exponents below 8.
46255         * math/libm-test.inc (pow_test): Add more tests and enable some
46256         previously disabled tests.
46257         * sysdeps/i386/fpu/libm-test-ulps: Update.
46258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46260 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46261             Carlos O'Donell  <carlos_odonell@mentor.com>
46263         * nss/makedb.c (is_prime): Assert that input is odd and greater
46264         than 4.  Note that fact in a comment too.
46265         (next_prime): Add 4 to input.
46267 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46269         [BZ #11741]
46270         * libio/Makefile (tests): Add test case tst-fwrite-error.
46271         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
46272         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
46273         * libio/tst-fwrite-error.c: New test case.
46275 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
46277         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
46278         before casting to void *.
46279         * include/libc-internal.h (__pointer_type): New macro.
46280         (__integer_if_pointer_type_sub): Likewise.
46281         (__integer_if_pointer_type): Likewise.
46282         (cast_to_integer): Likewise.
46283         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
46284         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
46285         before casting to atomic64_t.
46286         (atomic_exchange_acq): Likewise.
46287         (__arch_exchange_and_add_body): Likewise.
46288         (__arch_add_body): Likewise.
46289         (atomic_add_negative): Likewise.
46290         (atomic_add_zero): Likewise.
46292 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
46294         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
46295         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
46296         (add_fdes): Likewise.
46297         (linear_search_fdes): Likewise.
46298         (binary_search_unencoded_fdes): Likewise.
46300 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
46302         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
46304 2012-11-24  Adam Conrad  <adconrad@0c3.net>
46306         * configure.in: Autodetect C++ header directories.
46307         * configure: Regenerated.
46309 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
46311         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
46313 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
46315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46317 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
46319         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
46320         LDBL_MANT_DIG == 106]: Disable some tests.
46321         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46322         Likewise.
46323         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46324         Likewise.
46326         [BZ #14871]
46327         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
46328         input for small inputs.  Return +/- pi/2 for large inputs.
46329         * math/libm-test.inc (atan_test): Add more tests.
46331         * sysdeps/generic/unwind-dw2-fde-glibc.c
46332         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
46333         __attribute__ ((unused)).
46335         [BZ #14645]
46336         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
46337         x * y if x and y are nonzero and z is zero.
46339         [BZ #14811]
46340         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
46341         nonzero exponents with absolute value below 0x1p-117 to +/-
46342         0x1p-117.
46344         [BZ #14869]
46345         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
46346         up arguments below 2**-450, not just those below 2**-500.
46347         * math/libm-test.inc (hypot_test): Add another test.
46349         [BZ #14868]
46350         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
46351         Return a+b for ratio over 2**120, not 2**60.
46352         * math/libm-test.inc (hypot_test): Add another test.
46354         * math/libm-test.inc (clog_test): Use
46355         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
46356         (clog10_test): Likewise.
46358         [BZ #6778]
46359         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
46361 2012-11-22  Andreas Schwab  <schwab@suse.de>
46363         * sysdeps/i386/fpu/libm-test-ulps: Update.
46365 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
46367         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
46368         printf output with newline.
46370 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
46372         [BZ #14865]
46373         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
46374         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
46375         -z nodlopen, -z initfirst and -z execstack support.
46376         * configure: Regenerated.
46378         * elf/elf.h (DF_1_NODIRECT): New macro.
46379         (DF_1_IGNMULDEF): Likewise.
46380         (DF_1_NOKSYMS): Likewise.
46381         (DF_1_NOHDR): Likewise.
46382         (DF_1_EDITED): Likewise.
46383         (DF_1_NORELOC): Likewise.
46384         (DF_1_SYMINTPOSE): Likewise.
46385         (DF_1_GLOBAUDIT): Likewise.
46386         (DF_1_SINGLETON): Likewise.
46387         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
46388         DT_1_SUPPORTED_MASK bits.
46389         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
46391 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
46393         * sysdeps/unix/make-syscalls.sh: Document prefixes.
46395 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
46397         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
46398         macro.
46400         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
46401         (sendmmsg): Move declarations...
46402         * socket/sys/socket.h: ... here.
46403         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
46404         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
46405         include it from...
46406         * socket/recvmmsg.c: ... this new file.
46407         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
46408         (sendmmsg): Rename to __sendmmsg, create weak alias and make
46409         definition of __sendmmsg hidden.
46410         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
46411         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
46412         Move ENOSYS stub into and include it from...
46413         * socket/sendmmsg.c: ... this new file.
46414         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
46415         (sysdep_routines): Move recvmmsg and sendmmsg...
46416         * socket/Makefile (routines): ... here.
46417         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
46418         (GLIBC_PRIVATE): Add __sendmmsg.
46419         * include/sys/socket.h (__sendmmsg): Add declarations.
46420         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
46421         sendmmsg.
46423 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
46425         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
46426         variable I1 with __attribute__ ((unused)).
46427         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46429 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46431         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
46432         DUMMY variables with __attribute__ ((unused)).
46434         * bits/byteswap.h: Include <bits/types.h>.
46435         (__bswap_64): Use __uint64_t instead of unsigned long long int.
46437 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46439         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
46440         string_t.  Do not manually set errno.
46441         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
46442         length with __strnlen.  Make sure to both set errno and return it on
46443         failure.
46445 2012-11-19  David S. Miller  <davem@davemloft.net>
46447         With help from Joseph Myers.
46448         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
46449         very large arguments properly.
46450         * math/libm-test.inc (atan_test): New tests.
46451         (atan2_test): New tests.
46452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46453         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46455 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46457         [BZ #14856]
46458         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
46459         Define to 3.
46461         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
46462         [POSIX] (EADDRNOTAVAIL): Likewise.
46463         [POSIX] (EAFNOSUPPORT): Likewise.
46464         [POSIX] (EALREADY): Likewise.
46465         [POSIX] (ECONNABORTED): Likewise.
46466         [POSIX] (ECONNREFUSED): Likewise.
46467         [POSIX] (ECONNRESET): Likewise.
46468         [POSIX] (EDESTADDRREQ): Likewise.
46469         [POSIX] (EDQUOT): Likewise.
46470         [POSIX] (EHOSTUNREACH): Likewise.
46471         [POSIX] (EIDRM): Likewise.
46472         [POSIX] (EISCONN): Likewise.
46473         [POSIX] (ELOOP): Likewise.
46474         [POSIX] (EMULTIHOP): Likewise.
46475         [POSIX] (ENETDOWN): Likewise.
46476         [POSIX] (ENETUNREACH): Likewise.
46477         [POSIX] (ENOBUFS): Likewise.
46478         [POSIX] (ENODATA): Likewise.
46479         [POSIX] (ENOLINK): Likewise.
46480         [POSIX] (ENOMSG): Likewise.
46481         [POSIX] (ENOPROTOOPT): Likewise.
46482         [POSIX] (ENOSR): Likewise.
46483         [POSIX] (ENOSTR): Likewise.
46484         [POSIX] (ENOTCONN): Likewise.
46485         [POSIX] (ENOTSOCK): Likewise.
46486         [POSIX] (EOPNOTSUPP): Likewise.
46487         [POSIX] (EOVERFLOW): Likewise.
46488         [POSIX] (EPROTO): Likewise.
46489         [POSIX] (EPROTONOSUPPORT): Likewise.
46490         [POSIX] (EPROTOTYPE): Likewise.
46491         [POSIX] (ESTALE): Likewise.
46492         [POSIX] (ETIME): Likewise.
46493         [POSIX] (ETXTBSY): Likewise.
46494         [POSIX] (EWOULDBLOCK): Likewise.
46495         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
46496         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
46497         [POSIX] (SEEK_CUR): Likewise.
46498         [POSIX] (SEEK_END): Likewise.
46499         [POSIX || UNIX98] (mode_t): Do not require.
46500         [POSIX] (off_t): Likewise.
46501         [POSIX] (pid_t): Likewise.
46502         [POSIX] (sys/stat.h): Do not allow header.
46503         [POSIX] (unistd.h): Likewise.
46504         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
46505         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
46506         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
46507         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
46508         require.
46509         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
46510         sigevent): Specify elements.
46511         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
46512         entry.
46513         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
46514         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
46516         * conform/data/cpio.h-data [POSIX]: Disable whole file.
46517         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
46518         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
46519         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
46520         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
46521         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
46522         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
46523         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
46524         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
46525         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
46526         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
46527         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
46528         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
46529         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
46530         Likewise.
46531         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
46532         Likewise.
46533         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
46534         Likewise.
46535         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
46536         Likewise.
46537         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
46538         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
46539         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
46540         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
46541         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
46542         Specify lower bound on value.
46543         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
46544         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
46545         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
46546         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
46547         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
46548         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
46549         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
46550         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
46551         value.
46552         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
46553         as optional.
46554         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
46555         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
46556         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
46557         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
46558         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
46559         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
46560         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
46561         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
46562         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
46563         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
46564         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
46565         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
46566         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
46567         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
46568         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
46569         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
46570         entry.
46571         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
46572         optional.
46573         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
46574         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
46575         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
46576         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
46577         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
46578         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
46579         Likewise.
46580         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
46581         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
46582         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
46583         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
46584         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
46585         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
46586         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
46587         as optional.
46588         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
46589         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
46590         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
46591         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
46592         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
46593         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
46594         specify as optional.
46595         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
46596         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
46597         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
46598         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
46599         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
46600         [XPG3] (NL_LANGMAX): Likewise.
46601         [POSIX || XPG3] (NL_MSGMAX): Likewise.
46602         [POSIX || XPG3] (NL_NMAX): Likewise.
46603         [POSIX || XPG3] (NL_SETMAX): Likewise.
46604         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
46605         [XPG3] (NZERO): Likewise.
46606         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
46607         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
46608         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
46609         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
46610         (REG_ERANGE): Expect.
46611         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
46612         optional-constant.
46613         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
46614         Use (void) in prototype.
46615         [POSIX] (*_t): Allow.
46616         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
46617         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
46618         (WRDE_BADVAL): Expect.
46620         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
46621         expect.
46622         [XPG3 || XPG4] (O_RSYNC): Likewise.
46623         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
46624         Likewise.
46625         [XPG3 || XPG4] (pthread_sigmask): Likewise.
46626         [XPG3 || XPG4] (sigqueue): Likewise.
46627         [XPG3 || XPG4] (sigtimedwait): Likewise.
46628         [XPG3 || XPG4] (sigwaitinfo): Likewise.
46629         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
46630         [XPG3 || XPG4] (vsnprintf): Likewise.
46631         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
46632         Likewise.
46633         [XPG3 || XPG4] (blksize_t): Likewise.
46634         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
46635         Likewise.
46636         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
46637         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46638         [XPG3 || XPG4] (struct itimerspec): Likewise.
46639         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
46640         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
46641         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
46642         [XPG3 || XPG4] (clockid_t): Likewise.
46643         [XPG3 || XPG4] (timer_t): Likewise.
46644         [XPG3 || XPG4] (clock_getres): Likewise.
46645         [XPG3 || XPG4] (clock_gettime): Likewise.
46646         [XPG3 || XPG4] (clock_settime): Likewise.
46647         [XPG3 || XPG4] (nanosleep): Likewise.
46648         [XPG3 || XPG4] (timer_create): Likewise.
46649         [XPG3 || XPG4] (timer_delete): Likewise.
46650         [XPG3 || XPG4] (timer_gettime): Likewise.
46651         [XPG3 || XPG4] (timer_getoverrun): Likewise.
46652         [XPG3 || XPG4] (timer_settime): Likewise.
46653         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
46654         [XPG3 || XPG4] (getlogin_r): Likewise.
46655         [XPG3 || XPG4] (pread): Likewise.
46656         [XPG3 || XPG4] (pthread_atfork): Likewise.
46657         [XPG3 || XPG4] (pwrite): Likewise.
46659         [BZ #14835]
46660         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
46661         <bits/siginfo.h>.
46663 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46665         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
46666         finalizing MALLSTREAM.
46668         * sysdeps/mach/hurd/syncfs.c: New file.
46670 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46672         [BZ #14719]
46673         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
46674         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
46675         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
46676         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
46677         (_nss_dns_gethostbyname4_r): Likewise.
46678         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
46679         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
46681 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
46683         [BZ #13763]
46684         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
46686 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
46688         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
46689         * elf/cache.c (print_entry): Print ",AArch64" for
46690         FLAG_AARCH64_LIB64
46692         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
46693         * elf/cache.c (print_entry): Print ",hard-float" for
46694         FLAG_ARM_LIBHF.
46696 2012-11-18  David S. Miller  <davem@davemloft.net>
46698         With help from Joseph Myers.
46699         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
46700         cutoff to 2**-13.
46701         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
46702         cutoff to 2**-25.
46703         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
46704         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
46705         small.
46706         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
46707         * math/libm-test.inc (y0_test): New tests.
46708         (y1_test): New tests.
46709         * sysdeps/i386/fpu/libm-test-ulps: Update.
46710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46713 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
46715         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
46716         64-bit targets.
46717         * configure: Regenerated.
46719 2012-11-17  David S. Miller  <davem@davemloft.net>
46721         [BZ #14811]
46722         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
46723         nonzero exponents with absolute value below 0x1p-128 to +/-
46724         0x1p-128.
46726 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
46728         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
46730         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
46732         * posix/getconf-speclist.c: New file.
46733         * posix/posix-envs.def: Likewise.
46734         * posix/confstr.c (START_ENV_GROUP): New macro.
46735         (END_ENV_GROUP): Likewise.
46736         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46737         (KNOWN_PRESENT_ENV_STRING): Likewise.
46738         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46739         (UNKNOWN_ENVIRONMENT): Likewise.
46740         (confstr): Include posix-envs.def instead of handling
46741         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
46742         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
46743         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
46744         (END_ENV_GROUP): Likewise.
46745         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46746         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46747         (UNKNOWN_ENVIRONMENT): Likewise.
46748         (__sysconf): Include posix-envs.def instead of handling associated
46749         cases directly here.
46750         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
46751         preprocessing getconf-speclist.c rather than running getconf or
46752         generating empty file.
46754 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
46756         * scripts/check-local-headers.sh: Ignore 'mach' headers.
46758 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
46760         [BZ #14672]
46761         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
46763 2012-11-16  David S. Miller  <davem@davemloft.net>
46765         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
46766         smaller than LDBL_EPSILON/2.0L, just return xm1.
46768 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
46770         * elf/tst-array1.c (init): Set constructor priority to 1000.
46771         (fini): Set destructor priority to 1000.
46772         * elf/tst-array2dep.c: Likewise.
46774 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46776         [BZ #11741]
46777         * libio/fileops.c (_IO_new_file_write): Correctly return error.
46778         (_IO_new_file_xsputn): Also return EOF if none of the input
46779         data was written when overflow failed.
46780         * libio/iopadn.c (_IO_padn): Likewise.
46781         * libio/iowpadn.c (_IO_wpadn): Likewise.
46782         * stdio-common/tst-put-error.c: Add copyright notice.
46783         (do_test): Add case for printing padded string.
46784         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
46785         _IO_padn returned error.
46786         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
46787         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
46788         return EOF.
46790 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46792         * libio/libioP.h: Add comment note that the references to C++
46793         bits are now obsolete.
46795 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46797         * math/libm-test.inc (check_complex): Use asprintf.
46799 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
46801         * debug/pcprofiledump.c (print_version): Update copyright year.
46802         * malloc/memusagestat.c (print_version): Likewise.
46804 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
46806         [BZ #14831]
46807         * elf/Makefile (tests): Add tst-audit8.
46808         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
46809         ($(objpfx)tst-audit8.out): New target.
46810         (tst-audit8-ENV): New variable.
46811         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
46812         audit if l_reloc_result is NULL.
46813         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
46814         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
46815         * elf/tst-audit8.c: New file.
46817 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46819         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
46820         * misc/Makefile (CFLAGS-select.c): Define.
46821         * posix/Makefile (CFLAGS-pause.c): Define.
46823 2012-11-13  David S. Miller  <davem@davemloft.net>
46825         * crypt/Makefile: Move test targets after toplevel Rules
46826         inclusion.  Grab any necessary sysdep routines when linking.
46827         * crypt/md5.c (md5_process_block): Remove define, we will always
46828         name it __md5_process_block.
46829         (md5_finish_ctx): Update md5_process_block call.
46830         (md5_stream): Likewise.
46831         (md5_process_bytes): Likewise.
46832         (md5_process_block): Rename to __md5_process_block and move to ...
46833         * crypt/md5-block.c: ... here.
46834         * crypt/sha256.c (sha256_process_block): Move to ...
46835         * crypt/sha256-block.c: ... here.
46836         * crypt/sha512.c (sha512_process_block): Move to ...
46837         * crypt/sha512-block.c: ... here.
46838         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
46839         path.
46840         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
46841         * sysdeps/sparc/sparc64/multiarch/Makefile
46842         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
46843         crypt subdir.
46844         (localedef-aux): Add md5 crypto assembler when in locale subdir.
46845         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
46846         multiarch changes.
46847         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
46848         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
46849         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
46850         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
46851         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
46852         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
46853         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
46854         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
46855         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
46856         file.
46857         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
46858         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
46859         file.
46860         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
46862 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
46864         * timezone/tzselect.ksh: Update from tzcode git revision
46865         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
46866         * timezone/zdump.c: Likewise.
46867         * timezone/zic.c: Likewise.
46868         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
46869         in TZVERSION setting, not $(PKGVERSION).
46870         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
46871         REPORT_BUGS_TO settings.
46873         [BZ #14838]
46874         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
46875         macro.
46877 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46879         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
46880         detection to immediately after _FP_ROUND().
46881         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
46882         bits are 0.
46884 2012-11-11  David S. Miller  <davem@davemloft.net>
46886         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
46887         inttypes.h
46888         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
46889         __close rather than their public counterparts.
46891 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
46893         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
46894         file.
46895         [UNIX98] (sem_timedwait): Do not expect.
46896         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
46897         [XPG4 || UNIX98] (sockatmark): Do not expect.
46898         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
46899         (clock_getcpuclockid): Do not expect.
46900         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
46901         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
46902         Do not expect.
46903         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
46904         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
46905         [UNIX98] (vwscanf): Likewise.
46906         [UNIX98] (vswscanf): Likewise.
46908 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
46910         * timezone/version.h: Remove file.
46911         * timezone/README: Do not refer to version.h.
46912         * timezone/Makefile ($(objpfx)zic.o): New dependency on
46913         $(objpfx)version.h.
46914         ($(objpfx)zdump.o): Likewise.
46915         ($(objpfx)version.h): New target.
46917         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
46918         2012i.
46919         * timezone/README: Don't mention modification to tzselect.ksh.
46920         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
46921         work on unmodified tzselect.ksh.  Substitute version numbers in
46922         tzselect.ksh.
46924         * Makefile (format-me): Remove.
46925         (INSTALL): Adjust indentation.  Use commands directly instead of
46926         using $(format-me).
46928         * aclocal.m4 (ACX_PKGVERSION): New macro.
46929         (ACX_BUGURL): Likewise.
46930         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
46931         (PKGVERSION): New AC_DEFINE_UNQUOTED.
46932         (REPORT_BUGS_TO): Likewise.
46933         * configure: Regenerated.
46934         * config.h.in (PKGVERSION): New macro.
46935         (REPORT_BUGS_TO): Likewise.
46936         * config.make.in (PKGVERSION): New variable.
46937         (PKGVERSION_TEXI): Likewise.
46938         (REPORT_BUGS_TO): Likewise.
46939         (REPORT_BUGS_TEXI): Likewise.
46940         * Makefile (format-me): Use -I$(common-objpfx)manual.
46941         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
46942         ($(common-objpfx)manual/%): New target.
46943         (manual/%): Remove target.
46944         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
46945         (print_version): Use PKGVERSION.
46946         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
46947         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
46948         and REPORT_BUGS_TO.
46949         ($(objpfx)xtrace): Likewise.
46950         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
46951         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
46952         (print_version): Use PKGVERSION.
46953         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
46954         (do_version): Use PKGVERSION.
46955         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
46956         REPORT_BUGS_TO.
46957         (common-ldd-rewrite): Likewise.
46958         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
46959         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
46960         (print_version): Use PKGVERSION.
46961         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
46962         * elf/pldd.c (argp_program_bug_address): Remove variable.
46963         (more_help): New function.
46964         (argp): Use more_help.
46965         (print_version): Use PKGVERSION.
46966         * elf/sln.c (main): Use PKGVERSION.
46967         (usage): Use REPORT_BUGS_TO.
46968         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
46969         (top level): Use PKGVERSION.
46970         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
46971         (print_version): Use PKGVERSION.
46972         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
46973         (print_version): Use PKGVERSION.
46974         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
46975         (print_version): Use PKGVERSION.
46976         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
46977         (print_version): Use PKGVERSION.
46978         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
46979         (print_version): Use PKGVERSION.
46980         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
46981         (print_version): Use PKGVERSION.
46982         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
46983         and BUGURL.
46984         ($(objpfx)memusage): Likewise.
46985         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
46986         (do_version): Use PKGVERSION.
46987         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
46988         (print_version): Use PKGVERSION.
46989         * malloc/mtrace.pl ($PACKAGE): Remove variable.
46990         ($PKGVERSION): New variable.
46991         ($REPORT_BUGS_TO): Likewise.
46992         (usage): Use $REPORT_BUGS_TO.
46993         (top level): Use $PKGVERSION.
46994         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
46995         ($(objpfx)pkgvers.texi): New rule.
46996         ($(objpfx)stamp-pkgvers): Likewise.
46997         * manual/install.texi: Include pkgvers.texi.
46998         (--with-pkgversion): Document new configure option.
46999         (--with-bugurl): Likewise.
47000         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
47001         than necessarily for this particular distribution.  Use
47002         REPORT_BUGS_TO for where to report bugs.
47003         * INSTALL: Regenerated.
47004         * manual/libc.texinfo: Include pkgvers.texi.
47005         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
47006         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
47007         (print_version): Use PKGVERSION.
47008         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
47009         (print_version): Use PKGVERSION.
47010         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
47011         (print_version): Use PKGVERSION.
47012         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
47013         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
47014         macro.
47015         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
47016         (print_version): Use PKGVERSION.
47017         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
47018         (print_version): Use PKGVERSION.
47019         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
47020         and PKGVERSION.
47022         * timezone/checktab.awk: Update from tzcode 2012i.
47023         * timezone/ialloc.c: Likewise.
47024         * timezone/private.h: Likewise.
47025         * timezone/scheck.c: Likewise.
47026         * timezone/tzfile.h: Likewise.
47027         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
47028         (TZVERSION): Hardcode tzcode version number.
47029         * timezone/zdump.c: Update from tzcode 2012i.
47030         * timezone/zic.c: Likewise.
47031         * timezone/version.h: New file.
47032         * timezone/README: Describe version.h.  Update upstream location.
47034         [BZ #14824]
47035         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
47036         (mktemp): Enable declaration.
47037         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
47038         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
47039         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
47040         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
47041         Likewise.
47042         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
47043         Likewise.
47044         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
47045         Likewise.
47046         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
47047         Likewise.
47048         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
47049         Likewise.
47050         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
47051         Likewise.
47053         [BZ #14821]
47054         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
47055         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
47056         for copies of such integer values.
47057         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47058         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47060 2012-11-09  Andreas Jaeger  <aj@suse.de>
47062         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
47063         definitions and declarations that are provided by
47064         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
47066 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47068         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
47069         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
47070         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
47071         definition.
47073 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47075         * elf/elf.h: Update comment before AArch64 relocations.
47077 2012-11-07  David S. Miller  <davem@davemloft.net>
47079         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
47080         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47081         (__start_context): Declare.
47082         (__makecontext_ret): Delete.
47083         (__makecontext): Hook up __start_context instead of
47084         __makecontext_ret.
47085         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
47086         (sysdep_routines): Add __start_context when in stdlib.
47088 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47090         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
47091         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
47092         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
47093         hardcoded "nm".
47094         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
47095         (READELF): New variable.  Use it instead of hardcoded "readelf".
47097 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47099         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
47100         * sysdeps/x86/Makefile: Here.
47101         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
47102         * sysdeps/x86/tst-xmmymm.sh: This.
47104 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47106         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
47107         expectations.
47108         [UNIX98] (pthread_barrier_t): Do not expect.
47109         [UNIX98] (pthread_barrierattr_t): Likewise.
47110         [UNIX98] (pthread_spinlock_t): Likewise.
47111         [UNIX98] (pthread_barrier_destroy): Likewise.
47112         [UNIX98] (pthread_barrier_init): Likewise.
47113         [UNIX98] (pthread_barrier_wait): Likewise.
47114         [UNIX98] (pthread_barrierattr_destroy): Likewise.
47115         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
47116         [UNIX98] (pthread_barrierattr_init): Likewise.
47117         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
47118         [UNIX98] (pthread_getcpuclockid): Likewise.
47119         [UNIX98] (pthread_mutex_timedlock): Likewise.
47120         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
47121         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
47122         [UNIX98] (pthread_sigmask): Likewise.
47123         [UNIX98] (pthread_spin_destroy): Likewise.
47124         [UNIX98] (pthread_spin_init): Likewise.
47125         [UNIX98] (pthread_spin_lock): Likewise.
47126         [UNIX98] (pthread_spin_trylock): Likewise.
47127         [UNIX98] (pthread_spin_unlock): Likewise.
47128         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
47129         Do not expect.
47130         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
47131         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
47132         [XPG3 || XPG4] (pthread_cond_t): Likewise.
47133         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
47134         [XPG3 || XPG4] (pthread_key_t): Likewise.
47135         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
47136         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
47137         [XPG3 || XPG4] (pthread_once_t): Likewise.
47138         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
47139         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
47140         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
47141         [XPG3 || XPG4] (pthread_t): Likewise.
47143         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
47144         not expect.
47145         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
47147         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
47148         Change function return type to int.
47150         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
47151         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
47152         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
47153         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
47154         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
47155         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
47156         [!POSIX] (posix_madvise): Likewise.
47157         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
47158         && !UNIX98].
47159         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
47160         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
47161         (mode_t): Likewise.
47162         (posix_mem_offset): Likewise.
47163         (posix_typed_mem_get_info): Likewise.
47164         (posix_typed_mem_open): Likewise.
47166         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
47167         Change condition to [XOPEN2K8].
47169         * conform/conformtest.pl: Preprocess allow-header data with -x c
47170         instead of from stdin.
47171         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
47172         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
47173         [C99-based standards] (cerfc): Likewise.
47174         [C99-based standards] (cexp2): Likewise.
47175         [C99-based standards] (cexpm1): Likewise.
47176         [C99-based standards] (clog10): Likewise.
47177         [C99-based standards] (clog1p): Likewise.
47178         [C99-based standards] (clog2): Likewise.
47179         [C99-based standards] (clgamma): Likewise.
47180         [C99-based standards] (ctgamma): Likewise.
47181         [C99-based standards] (cerff): Likewise.
47182         [C99-based standards] (cerfcf): Likewise.
47183         [C99-based standards] (cexp2f): Likewise.
47184         [C99-based standards] (cexpm1f): Likewise.
47185         [C99-based standards] (clog10f): Likewise.
47186         [C99-based standards] (clog1pf): Likewise.
47187         [C99-based standards] (clog2f): Likewise.
47188         [C99-based standards] (clgammaf): Likewise.
47189         [C99-based standards] (ctgammaf): Likewise.
47190         [C99-based standards] (cerfl): Likewise.
47191         [C99-based standards] (cerfcl): Likewise.
47192         [C99-based standards] (cexp2l): Likewise.
47193         [C99-based standards] (cexpm1l): Likewise.
47194         [C99-based standards] (clog10l): Likewise.
47195         [C99-based standards] (clog1pl): Likewise.
47196         [C99-based standards] (clog2l): Likewise.
47197         [C99-based standards] (clgammal): Likewise.
47198         [C99-based standards] (ctgammal): Likewise.
47199         * conform/data/inttypes.h-data [C99-based standards]: Include
47200         stdint.h-data.  Remove all expectations for stdint.h contents.
47201         [C99-based standards] (PRI*): Do not allow.
47202         [C99-based standards] (SCN*): Likewise.
47203         [C99-based standards] (*_t): Likewise.
47204         [C99-based-standards] (PRId8): Expect macro.
47205         [C99-based-standards] (PRIi8): Likewise.
47206         [C99-based-standards] (PRIo8): Likewise.
47207         [C99-based-standards] (PRIu8): Likewise.
47208         [C99-based-standards] (PRIx8): Likewise.
47209         [C99-based-standards] (PRIX8): Likewise.
47210         [C99-based-standards] (SCNd8): Likewise.
47211         [C99-based-standards] (SCNi8): Likewise.
47212         [C99-based-standards] (SCNo8): Likewise.
47213         [C99-based-standards] (SCNu8): Likewise.
47214         [C99-based-standards] (SCNx8): Likewise.
47215         [C99-based-standards] (PRIdLEAST8): Likewise.
47216         [C99-based-standards] (PRIiLEAST8): Likewise.
47217         [C99-based-standards] (PRIoLEAST8): Likewise.
47218         [C99-based-standards] (PRIuLEAST8): Likewise.
47219         [C99-based-standards] (PRIxLEAST8): Likewise.
47220         [C99-based-standards] (PRIXLEAST8): Likewise.
47221         [C99-based-standards] (SCNdLEAST8): Likewise.
47222         [C99-based-standards] (SCNiLEAST8): Likewise.
47223         [C99-based-standards] (SCNoLEAST8): Likewise.
47224         [C99-based-standards] (SCNuLEAST8): Likewise.
47225         [C99-based-standards] (SCNxLEAST8): Likewise.
47226         [C99-based-standards] (PRIdFAST8): Likewise.
47227         [C99-based-standards] (PRIiFAST8): Likewise.
47228         [C99-based-standards] (PRIoFAST8): Likewise.
47229         [C99-based-standards] (PRIuFAST8): Likewise.
47230         [C99-based-standards] (PRIxFAST8): Likewise.
47231         [C99-based-standards] (PRIXFAST8): Likewise.
47232         [C99-based-standards] (SCNdFAST8): Likewise.
47233         [C99-based-standards] (SCNiFAST8): Likewise.
47234         [C99-based-standards] (SCNoFAST8): Likewise.
47235         [C99-based-standards] (SCNuFAST8): Likewise.
47236         [C99-based-standards] (SCNxFAST8): Likewise.
47237         [C99-based-standards] (PRId16): Likewise.
47238         [C99-based-standards] (PRIi16): Likewise.
47239         [C99-based-standards] (PRIo16): Likewise.
47240         [C99-based-standards] (PRIu16): Likewise.
47241         [C99-based-standards] (PRIx16): Likewise.
47242         [C99-based-standards] (PRIX16): Likewise.
47243         [C99-based-standards] (SCNd16): Likewise.
47244         [C99-based-standards] (SCNi16): Likewise.
47245         [C99-based-standards] (SCNo16): Likewise.
47246         [C99-based-standards] (SCNu16): Likewise.
47247         [C99-based-standards] (SCNx16): Likewise.
47248         [C99-based-standards] (PRIdLEAST16): Likewise.
47249         [C99-based-standards] (PRIiLEAST16): Likewise.
47250         [C99-based-standards] (PRIoLEAST16): Likewise.
47251         [C99-based-standards] (PRIuLEAST16): Likewise.
47252         [C99-based-standards] (PRIxLEAST16): Likewise.
47253         [C99-based-standards] (PRIXLEAST16): Likewise.
47254         [C99-based-standards] (SCNdLEAST16): Likewise.
47255         [C99-based-standards] (SCNiLEAST16): Likewise.
47256         [C99-based-standards] (SCNoLEAST16): Likewise.
47257         [C99-based-standards] (SCNuLEAST16): Likewise.
47258         [C99-based-standards] (SCNxLEAST16): Likewise.
47259         [C99-based-standards] (PRIdFAST16): Likewise.
47260         [C99-based-standards] (PRIiFAST16): Likewise.
47261         [C99-based-standards] (PRIoFAST16): Likewise.
47262         [C99-based-standards] (PRIuFAST16): Likewise.
47263         [C99-based-standards] (PRIxFAST16): Likewise.
47264         [C99-based-standards] (PRIXFAST16): Likewise.
47265         [C99-based-standards] (SCNdFAST16): Likewise.
47266         [C99-based-standards] (SCNiFAST16): Likewise.
47267         [C99-based-standards] (SCNoFAST16): Likewise.
47268         [C99-based-standards] (SCNuFAST16): Likewise.
47269         [C99-based-standards] (SCNxFAST16): Likewise.
47270         [C99-based-standards] (PRId32): Likewise.
47271         [C99-based-standards] (PRIi32): Likewise.
47272         [C99-based-standards] (PRIo32): Likewise.
47273         [C99-based-standards] (PRIu32): Likewise.
47274         [C99-based-standards] (PRIx32): Likewise.
47275         [C99-based-standards] (PRIX32): Likewise.
47276         [C99-based-standards] (SCNd32): Likewise.
47277         [C99-based-standards] (SCNi32): Likewise.
47278         [C99-based-standards] (SCNo32): Likewise.
47279         [C99-based-standards] (SCNu32): Likewise.
47280         [C99-based-standards] (SCNx32): Likewise.
47281         [C99-based-standards] (PRIdLEAST32): Likewise.
47282         [C99-based-standards] (PRIiLEAST32): Likewise.
47283         [C99-based-standards] (PRIoLEAST32): Likewise.
47284         [C99-based-standards] (PRIuLEAST32): Likewise.
47285         [C99-based-standards] (PRIxLEAST32): Likewise.
47286         [C99-based-standards] (PRIXLEAST32): Likewise.
47287         [C99-based-standards] (SCNdLEAST32): Likewise.
47288         [C99-based-standards] (SCNiLEAST32): Likewise.
47289         [C99-based-standards] (SCNoLEAST32): Likewise.
47290         [C99-based-standards] (SCNuLEAST32): Likewise.
47291         [C99-based-standards] (SCNxLEAST32): Likewise.
47292         [C99-based-standards] (PRIdFAST32): Likewise.
47293         [C99-based-standards] (PRIiFAST32): Likewise.
47294         [C99-based-standards] (PRIoFAST32): Likewise.
47295         [C99-based-standards] (PRIuFAST32): Likewise.
47296         [C99-based-standards] (PRIxFAST32): Likewise.
47297         [C99-based-standards] (PRIXFAST32): Likewise.
47298         [C99-based-standards] (SCNdFAST32): Likewise.
47299         [C99-based-standards] (SCNiFAST32): Likewise.
47300         [C99-based-standards] (SCNoFAST32): Likewise.
47301         [C99-based-standards] (SCNuFAST32): Likewise.
47302         [C99-based-standards] (SCNxFAST32): Likewise.
47303         [C99-based-standards] (PRId64): Likewise.
47304         [C99-based-standards] (PRIi64): Likewise.
47305         [C99-based-standards] (PRIo64): Likewise.
47306         [C99-based-standards] (PRIu64): Likewise.
47307         [C99-based-standards] (PRIx64): Likewise.
47308         [C99-based-standards] (PRIX64): Likewise.
47309         [C99-based-standards] (SCNd64): Likewise.
47310         [C99-based-standards] (SCNi64): Likewise.
47311         [C99-based-standards] (SCNo64): Likewise.
47312         [C99-based-standards] (SCNu64): Likewise.
47313         [C99-based-standards] (SCNx64): Likewise.
47314         [C99-based-standards] (PRIdLEAST64): Likewise.
47315         [C99-based-standards] (PRIiLEAST64): Likewise.
47316         [C99-based-standards] (PRIoLEAST64): Likewise.
47317         [C99-based-standards] (PRIuLEAST64): Likewise.
47318         [C99-based-standards] (PRIxLEAST64): Likewise.
47319         [C99-based-standards] (PRIXLEAST64): Likewise.
47320         [C99-based-standards] (SCNdLEAST64): Likewise.
47321         [C99-based-standards] (SCNiLEAST64): Likewise.
47322         [C99-based-standards] (SCNoLEAST64): Likewise.
47323         [C99-based-standards] (SCNuLEAST64): Likewise.
47324         [C99-based-standards] (SCNxLEAST64): Likewise.
47325         [C99-based-standards] (PRIdFAST64): Likewise.
47326         [C99-based-standards] (PRIiFAST64): Likewise.
47327         [C99-based-standards] (PRIoFAST64): Likewise.
47328         [C99-based-standards] (PRIuFAST64): Likewise.
47329         [C99-based-standards] (PRIxFAST64): Likewise.
47330         [C99-based-standards] (PRIXFAST64): Likewise.
47331         [C99-based-standards] (SCNdFAST64): Likewise.
47332         [C99-based-standards] (SCNiFAST64): Likewise.
47333         [C99-based-standards] (SCNoFAST64): Likewise.
47334         [C99-based-standards] (SCNuFAST64): Likewise.
47335         [C99-based-standards] (SCNxFAST64): Likewise.
47336         [C99-based-standards] (PRIdMAX): Likewise.
47337         [C99-based-standards] (PRIiMAX): Likewise.
47338         [C99-based-standards] (PRIoMAX): Likewise.
47339         [C99-based-standards] (PRIuMAX): Likewise.
47340         [C99-based-standards] (PRIxMAX): Likewise.
47341         [C99-based-standards] (PRIXMAX): Likewise.
47342         [C99-based-standards] (SCNdMAX): Likewise.
47343         [C99-based-standards] (SCNiMAX): Likewise.
47344         [C99-based-standards] (SCNoMAX): Likewise.
47345         [C99-based-standards] (SCNuMAX): Likewise.
47346         [C99-based-standards] (SCNxMAX): Likewise.
47347         [C99-based-standards] (PRIdPTR): Likewise.
47348         [C99-based-standards] (PRIiPTR): Likewise.
47349         [C99-based-standards] (PRIoPTR): Likewise.
47350         [C99-based-standards] (PRIuPTR): Likewise.
47351         [C99-based-standards] (PRIxPTR): Likewise.
47352         [C99-based-standards] (PRIXPTR): Likewise.
47353         [C99-based-standards] (SCNdPTR): Likewise.
47354         [C99-based-standards] (SCNiPTR): Likewise.
47355         [C99-based-standards] (SCNoPTR): Likewise.
47356         [C99-based-standards] (SCNuPTR): Likewise.
47357         [C99-based-standards] (SCNxPTR): Likewise.
47358         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
47359         allow.
47360         * conform/data/stdint.h-data: Update comments to clarify
47361         requirements.
47362         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
47363         type.
47364         [C99-based standards] (INT8_MAX): Likewise.
47365         [C99-based standards] (INT16_MIN): Likewise.
47366         [C99-based standards] (INT16_MAX): Likewise.
47367         [C99-based standards] (INT32_MIN): Likewise.
47368         [C99-based standards] (INT32_MAX): Likewise.
47369         [C99-based standards] (INT64_MIN): Likewise.
47370         [C99-based standards] (INT64_MAX): Likewise.
47371         [C99-based standards] (UINT8_MAX): Likewise.
47372         [C99-based standards] (UINT16_MAX): Likewise.
47373         [C99-based standards] (UINT32_MAX): Likewise.
47374         [C99-based standards] (UINT64_MAX): Likewise.
47375         [C99-based standards] (INT_LEAST8_MIN): Likewise.
47376         [C99-based standards] (INT_LEAST8_MAX): Likewise.
47377         [C99-based standards] (INT_LEAST16_MIN): Likewise.
47378         [C99-based standards] (INT_LEAST16_MAX): Likewise.
47379         [C99-based standards] (INT_LEAST32_MIN): Likewise.
47380         [C99-based standards] (INT_LEAST32_MAX): Likewise.
47381         [C99-based standards] (INT_LEAST64_MIN): Likewise.
47382         [C99-based standards] (INT_LEAST64_MAX): Likewise.
47383         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
47384         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
47385         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
47386         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
47387         [C99-based standards] (INT_FAST8_MIN): Likewise.
47388         [C99-based standards] (INT_FAST8_MAX): Likewise.
47389         [C99-based standards] (INT_FAST16_MIN): Likewise.
47390         [C99-based standards] (INT_FAST16_MAX): Likewise.
47391         [C99-based standards] (INT_FAST32_MIN): Likewise.
47392         [C99-based standards] (INT_FAST32_MAX): Likewise.
47393         [C99-based standards] (INT_FAST64_MIN): Likewise.
47394         [C99-based standards] (INT_FAST64_MAX): Likewise.
47395         [C99-based standards] (UINT_FAST8_MAX): Likewise.
47396         [C99-based standards] (UINT_FAST16_MAX): Likewise.
47397         [C99-based standards] (UINT_FAST32_MAX): Likewise.
47398         [C99-based standards] (UINT_FAST64_MAX): Likewise.
47399         [C99-based standards] (INTPTR_MIN): Likewise.
47400         [C99-based standards] (INTPTR_MAX): Likewise.
47401         [C99-based standards] (UINTPTR_MAX): Likewise.
47402         [C99-based standards] (INTMAX_MIN): Likewise.
47403         [C99-based standards] (INTMAX_MAX): Likewise.
47404         [C99-based standards] (UINTMAX_MAX): Likewise.
47405         [C99-based standards] (PTRDIFF_MIN): Likewise.
47406         [C99-based standards] (PTRDIFF_MAX): Likewise.
47407         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
47408         [C99-based standards] (SIZE_MAX): Likewise.
47409         [C99-based standards] (WCHAR_MAX): Likewise.
47410         [C99-based standards] (WINT_MAX): Likewise.
47411         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
47412         constraint on value.
47413         [C99-based standards] (WCHAR_MIN): Likewise.
47414         [C99-based standards] (WINT_MIN): Likewise.
47415         [C99-based standards] (*_t): Allow.
47416         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
47417         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
47418         Include math.h-data and complex.h-data.  Remove all expectations
47419         of math.h and complex.h contents.
47420         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
47421         at end of line.
47422         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
47423         (struct tm): Expect tag.
47424         [C99-based-standards] (wcstof): Expect function.
47425         [C99-based-standards] (wcstold): Likewise.
47426         [C99-based-standards] (wcstoll): Likewise.
47427         [C99-based-standards] (wcstoull): Likewise.
47428         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
47429         macro-int-constant.  Specify type.
47430         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
47431         constraint on value.
47432         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47433         Specify type.
47434         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
47435         Specify value.
47436         [ISO C standards]: Do not allow headers.
47437         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
47438         wcs[abcdefghijklmnopqrstuvwxyz]*.
47439         [ISO C standards] (*_t): Do not allow.
47440         * conform/data/wctype.h-data [C99-based standards] (iswblank):
47441         Expect function.
47442         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
47443         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47444         Specify type.
47445         [ISO C standards]: Do not allow headers.
47446         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
47447         is[abcdefghijklmnopqrstuvwxyz]*.
47448         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
47449         to[abcdefghijklmnopqrstuvwxyz]*.
47450         [ISO C standards] (*_t): Do not allow.
47451         * conform/data/stdalign.h-data: New file.
47452         * conform/data/stdbool.h-data: Likewise.
47453         * conform/data/stdnoreturn.h-data: Likewise.
47455 2012-11-07  Roland McGrath  <roland@hack.frob.com>
47457         [BZ #14815]
47458         * manual/filesys.texi (Directory Entries): Typo fix.
47459         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
47461 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47463         * elf/elf.h (EM_AARCH64): New macro.
47464         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
47465         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
47466         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
47467         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
47468         (R_AARCH64_TLSDESC): Likewise.
47469         (NT_ARM_TLS): Likewise.
47470         (NT_ARM_HW_BREAK): Likewise.
47471         (NT_ARM_HW_WATCH): Likewise.
47473 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47475         [BZ #14811]
47476         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
47477         (__ieee754_powl): Saturate nonzero exponents with absolute value
47478         below 0x1p-79 to +/- 0x1p-79.
47479         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
47480         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
47481         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
47482         nonzero exponents with absolute value below 0x1p-32 to +/-
47483         0x1p-32.
47484         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
47485         (__ieee754_powl): Saturate nonzero exponents with absolute value
47486         below 0x1p-79 to +/- 0x1p-79.
47487         * math/libm-test.inc (pow_test): Add more tests.
47489 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47491         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
47492         _dl_s390_cap_flags with kernel. Increase string length.
47493         (_dl_s390_platforms): Add z196 and zEC12.
47495 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47497         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
47498         Change XOPEN21K to XOPEN2K.
47500 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
47502         * string/memmove.c: Use memcpy when possible.
47504 2012-11-06  Andreas Jaeger  <aj@suse.de>
47506         * po/eo.po: Update from translation team.
47508 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
47510         [BZ #14793]
47511         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
47512         exponent and small x and y exponents, scale x or y up.  Increase
47513         by 2 the exponent used in scaling up.
47514         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47515         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47516         * math/libm-test.inc (fma_test): Add more tests.
47517         (fma_test_towardzero): Likewise.
47518         (fma_test_downward): Likewise.
47519         (fma_test_upward): Likewise.
47521 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
47523         [BZ #14805]
47524         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
47525         fenv_t *.
47527         [BZ #14801]
47528         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
47529         namespace for names of struct fields.
47530         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
47531         fenv_t fields.
47532         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
47533         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
47535 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47537         [BZ #3665]
47538         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
47540 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47542         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
47543         PTR_DEMANGLE.
47545         [BZ #5246]
47546         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
47547         PTR_DEMANGLE.
47549 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
47551         [BZ #14797]
47552         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
47553         definitely overflow as x * y not x * y + z.
47554         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47555         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47556         * math/libm-test.inc (fma_test): Add more tests.
47557         (fma_test_towardzero): Likewise.
47558         (fma_test_downward): Likewise.
47559         (fma_test_upward): Likewise.
47561 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47563         [BZ #157]
47565         * include/stub-tag.h: Remove file.
47566         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
47567         '#include' of it.
47568         * manual/maint.texi (Porting): Don't reference it.
47569         * Makerules ($(objpfx)stubs): Likewise.
47570         * dirent/closedir.c: Don't include <stub-tag.h>.
47571         * dirent/dirfd.c: Likewise.
47572         * dirent/fdopendir.c: Likewise.
47573         * dirent/getdents.c: Likewise.
47574         * dirent/getdents64.c: Likewise.
47575         * dirent/opendir.c: Likewise.
47576         * dirent/readdir.c: Likewise.
47577         * dirent/readdir64.c: Likewise.
47578         * dirent/readdir64_r.c: Likewise.
47579         * dirent/readdir_r.c: Likewise.
47580         * dirent/rewinddir.c: Likewise.
47581         * dirent/seekdir.c: Likewise.
47582         * dirent/telldir.c: Likewise.
47583         * gmon/profil.c: Likewise.
47584         * grp/setgroups.c: Likewise.
47585         * inet/if_index.c: Likewise.
47586         * io/access.c: Likewise.
47587         * io/chdir.c: Likewise.
47588         * io/chmod.c: Likewise.
47589         * io/chown.c: Likewise.
47590         * io/close.c: Likewise.
47591         * io/dup.c: Likewise.
47592         * io/dup2.c: Likewise.
47593         * io/dup3.c: Likewise.
47594         * io/euidaccess.c: Likewise.
47595         * io/faccessat.c: Likewise.
47596         * io/fchdir.c: Likewise.
47597         * io/fchmod.c: Likewise.
47598         * io/fchmodat.c: Likewise.
47599         * io/fchown.c: Likewise.
47600         * io/fchownat.c: Likewise.
47601         * io/fcntl.c: Likewise.
47602         * io/flock.c: Likewise.
47603         * io/fstatfs.c: Likewise.
47604         * io/fstatfs64.c: Likewise.
47605         * io/fstatvfs.c: Likewise.
47606         * io/fstatvfs64.c: Likewise.
47607         * io/futimens.c: Likewise.
47608         * io/fxstat.c: Likewise.
47609         * io/fxstat64.c: Likewise.
47610         * io/fxstatat.c: Likewise.
47611         * io/fxstatat64.c: Likewise.
47612         * io/getcwd.c: Likewise.
47613         * io/isatty.c: Likewise.
47614         * io/lchmod.c: Likewise.
47615         * io/lchown.c: Likewise.
47616         * io/link.c: Likewise.
47617         * io/linkat.c: Likewise.
47618         * io/lseek.c: Likewise.
47619         * io/lseek64.c: Likewise.
47620         * io/lxstat64.c: Likewise.
47621         * io/mkdir.c: Likewise.
47622         * io/mkdirat.c: Likewise.
47623         * io/mkfifo.c: Likewise.
47624         * io/mkfifoat.c: Likewise.
47625         * io/open.c: Likewise.
47626         * io/open64.c: Likewise.
47627         * io/openat.c: Likewise.
47628         * io/openat64.c: Likewise.
47629         * io/pipe.c: Likewise.
47630         * io/pipe2.c: Likewise.
47631         * io/poll.c: Likewise.
47632         * io/posix_fadvise.c: Likewise.
47633         * io/posix_fadvise64.c: Likewise.
47634         * io/posix_fallocate.c: Likewise.
47635         * io/posix_fallocate64.c: Likewise.
47636         * io/read.c: Likewise.
47637         * io/readlink.c: Likewise.
47638         * io/readlinkat.c: Likewise.
47639         * io/rmdir.c: Likewise.
47640         * io/sendfile.c: Likewise.
47641         * io/sendfile64.c: Likewise.
47642         * io/statfs.c: Likewise.
47643         * io/statfs64.c: Likewise.
47644         * io/statvfs.c: Likewise.
47645         * io/statvfs64.c: Likewise.
47646         * io/symlink.c: Likewise.
47647         * io/symlinkat.c: Likewise.
47648         * io/ttyname.c: Likewise.
47649         * io/ttyname_r.c: Likewise.
47650         * io/umask.c: Likewise.
47651         * io/unlink.c: Likewise.
47652         * io/unlinkat.c: Likewise.
47653         * io/utime.c: Likewise.
47654         * io/utimensat.c: Likewise.
47655         * io/write.c: Likewise.
47656         * io/xmknod.c: Likewise.
47657         * io/xmknodat.c: Likewise.
47658         * io/xstat.c: Likewise.
47659         * io/xstat64.c: Likewise.
47660         * login/getpt.c: Likewise.
47661         * login/grantpt.c: Likewise.
47662         * login/unlockpt.c: Likewise.
47663         * math/e_acoshl.c: Likewise.
47664         * math/e_acosl.c: Likewise.
47665         * math/e_asinl.c: Likewise.
47666         * math/e_atan2l.c: Likewise.
47667         * math/e_atanhl.c: Likewise.
47668         * math/e_coshl.c: Likewise.
47669         * math/e_expl.c: Likewise.
47670         * math/e_fmodl.c: Likewise.
47671         * math/e_gammal_r.c: Likewise.
47672         * math/e_hypotl.c: Likewise.
47673         * math/e_j0l.c: Likewise.
47674         * math/e_j1l.c: Likewise.
47675         * math/e_jnl.c: Likewise.
47676         * math/e_lgammal_r.c: Likewise.
47677         * math/e_log10l.c: Likewise.
47678         * math/e_log2l.c: Likewise.
47679         * math/e_logl.c: Likewise.
47680         * math/e_powl.c: Likewise.
47681         * math/e_rem_pio2l.c: Likewise.
47682         * math/e_sinhl.c: Likewise.
47683         * math/e_sqrtl.c: Likewise.
47684         * math/fclrexcpt.c: Likewise.
47685         * math/fedisblxcpt.c: Likewise.
47686         * math/feenablxcpt.c: Likewise.
47687         * math/fegetenv.c: Likewise.
47688         * math/fegetexcept.c: Likewise.
47689         * math/fegetround.c: Likewise.
47690         * math/feholdexcpt.c: Likewise.
47691         * math/fesetenv.c: Likewise.
47692         * math/fesetround.c: Likewise.
47693         * math/feupdateenv.c: Likewise.
47694         * math/fgetexcptflg.c: Likewise.
47695         * math/fraiseexcpt.c: Likewise.
47696         * math/fsetexcptflg.c: Likewise.
47697         * math/ftestexcept.c: Likewise.
47698         * math/k_cosl.c: Likewise.
47699         * math/k_rem_pio2l.c: Likewise.
47700         * math/k_sinl.c: Likewise.
47701         * math/k_tanl.c: Likewise.
47702         * math/s_asinhl.c: Likewise.
47703         * math/s_atanl.c: Likewise.
47704         * math/s_cbrtl.c: Likewise.
47705         * math/s_erfl.c: Likewise.
47706         * math/s_expm1l.c: Likewise.
47707         * math/s_log1pl.c: Likewise.
47708         * math/s_tanhl.c: Likewise.
47709         * misc/acct.c: Likewise.
47710         * misc/brk.c: Likewise.
47711         * misc/chflags.c: Likewise.
47712         * misc/chroot.c: Likewise.
47713         * misc/fchflags.c: Likewise.
47714         * misc/fgetxattr.c: Likewise.
47715         * misc/flistxattr.c: Likewise.
47716         * misc/fremovexattr.c: Likewise.
47717         * misc/fsetxattr.c: Likewise.
47718         * misc/fsync.c: Likewise.
47719         * misc/ftruncate.c: Likewise.
47720         * misc/futimes.c: Likewise.
47721         * misc/futimesat.c: Likewise.
47722         * misc/getdomain.c: Likewise.
47723         * misc/getdtsz.c: Likewise.
47724         * misc/gethostid.c: Likewise.
47725         * misc/gethostname.c: Likewise.
47726         * misc/getloadavg.c: Likewise.
47727         * misc/getpagesize.c: Likewise.
47728         * misc/getsysstats.c: Likewise.
47729         * misc/getxattr.c: Likewise.
47730         * misc/gtty.c: Likewise.
47731         * misc/ioctl.c: Likewise.
47732         * misc/lgetxattr.c: Likewise.
47733         * misc/listxattr.c: Likewise.
47734         * misc/llistxattr.c: Likewise.
47735         * misc/lremovexattr.c: Likewise.
47736         * misc/lsetxattr.c: Likewise.
47737         * misc/lutimes.c: Likewise.
47738         * misc/madvise.c: Likewise.
47739         * misc/mincore.c: Likewise.
47740         * misc/mlock.c: Likewise.
47741         * misc/mlockall.c: Likewise.
47742         * misc/mmap.c: Likewise.
47743         * misc/mprotect.c: Likewise.
47744         * misc/msync.c: Likewise.
47745         * misc/munlock.c: Likewise.
47746         * misc/munlockall.c: Likewise.
47747         * misc/munmap.c: Likewise.
47748         * misc/preadv.c: Likewise.
47749         * misc/preadv64.c: Likewise.
47750         * misc/ptrace.c: Likewise.
47751         * misc/pwritev.c: Likewise.
47752         * misc/pwritev64.c: Likewise.
47753         * misc/readv.c: Likewise.
47754         * misc/reboot.c: Likewise.
47755         * misc/remap_file_pages.c: Likewise.
47756         * misc/removexattr.c: Likewise.
47757         * misc/revoke.c: Likewise.
47758         * misc/select.c: Likewise.
47759         * misc/setdomain.c: Likewise.
47760         * misc/setegid.c: Likewise.
47761         * misc/seteuid.c: Likewise.
47762         * misc/sethostid.c: Likewise.
47763         * misc/sethostname.c: Likewise.
47764         * misc/setregid.c: Likewise.
47765         * misc/setreuid.c: Likewise.
47766         * misc/setxattr.c: Likewise.
47767         * misc/sstk.c: Likewise.
47768         * misc/stty.c: Likewise.
47769         * misc/swapoff.c: Likewise.
47770         * misc/swapon.c: Likewise.
47771         * misc/sync.c: Likewise.
47772         * misc/syncfs.c: Likewise.
47773         * misc/syscall.c: Likewise.
47774         * misc/truncate.c: Likewise.
47775         * misc/ualarm.c: Likewise.
47776         * misc/usleep.c: Likewise.
47777         * misc/ustat.c: Likewise.
47778         * misc/utimes.c: Likewise.
47779         * misc/vhangup.c: Likewise.
47780         * misc/writev.c: Likewise.
47781         * posix/_exit.c: Likewise.
47782         * posix/alarm.c: Likewise.
47783         * posix/execve.c: Likewise.
47784         * posix/fexecve.c: Likewise.
47785         * posix/fork.c: Likewise.
47786         * posix/fpathconf.c: Likewise.
47787         * posix/getaddrinfo.c: Likewise.
47788         * posix/getegid.c: Likewise.
47789         * posix/geteuid.c: Likewise.
47790         * posix/getgid.c: Likewise.
47791         * posix/getgroups.c: Likewise.
47792         * posix/getlogin.c: Likewise.
47793         * posix/getlogin_r.c: Likewise.
47794         * posix/getpgid.c: Likewise.
47795         * posix/getpid.c: Likewise.
47796         * posix/getppid.c: Likewise.
47797         * posix/getresgid.c: Likewise.
47798         * posix/getresuid.c: Likewise.
47799         * posix/getsid.c: Likewise.
47800         * posix/getuid.c: Likewise.
47801         * posix/glob64.c: Likewise.
47802         * posix/nanosleep.c: Likewise.
47803         * posix/pathconf.c: Likewise.
47804         * posix/pause.c: Likewise.
47805         * posix/posix_madvise.c: Likewise.
47806         * posix/pread.c: Likewise.
47807         * posix/pread64.c: Likewise.
47808         * posix/pwrite.c: Likewise.
47809         * posix/pwrite64.c: Likewise.
47810         * posix/sched_getaffinity.c: Likewise.
47811         * posix/sched_getp.c: Likewise.
47812         * posix/sched_gets.c: Likewise.
47813         * posix/sched_primax.c: Likewise.
47814         * posix/sched_primin.c: Likewise.
47815         * posix/sched_rr_gi.c: Likewise.
47816         * posix/sched_setaffinity.c: Likewise.
47817         * posix/sched_setp.c: Likewise.
47818         * posix/sched_sets.c: Likewise.
47819         * posix/sched_yield.c: Likewise.
47820         * posix/setgid.c: Likewise.
47821         * posix/setlogin.c: Likewise.
47822         * posix/setpgid.c: Likewise.
47823         * posix/setresgid.c: Likewise.
47824         * posix/setresuid.c: Likewise.
47825         * posix/setsid.c: Likewise.
47826         * posix/setuid.c: Likewise.
47827         * posix/sleep.c: Likewise.
47828         * posix/spawni.c: Likewise.
47829         * posix/sysconf.c: Likewise.
47830         * posix/times.c: Likewise.
47831         * posix/wait.c: Likewise.
47832         * posix/wait3.c: Likewise.
47833         * posix/wait4.c: Likewise.
47834         * posix/waitpid.c: Likewise.
47835         * resolv/gai_sigqueue.c: Likewise.
47836         * resource/getpriority.c: Likewise.
47837         * resource/getrlimit.c: Likewise.
47838         * resource/getrusage.c: Likewise.
47839         * resource/nice.c: Likewise.
47840         * resource/setpriority.c: Likewise.
47841         * resource/setrlimit.c: Likewise.
47842         * resource/ulimit.c: Likewise.
47843         * rt/aio_cancel.c: Likewise.
47844         * rt/aio_fsync.c: Likewise.
47845         * rt/aio_read.c: Likewise.
47846         * rt/aio_sigqueue.c: Likewise.
47847         * rt/aio_suspend.c: Likewise.
47848         * rt/aio_write.c: Likewise.
47849         * rt/clock_getres.c: Likewise.
47850         * rt/clock_gettime.c: Likewise.
47851         * rt/clock_nanosleep.c: Likewise.
47852         * rt/clock_settime.c: Likewise.
47853         * rt/lio_listio.c: Likewise.
47854         * rt/mq_close.c: Likewise.
47855         * rt/mq_getattr.c: Likewise.
47856         * rt/mq_notify.c: Likewise.
47857         * rt/mq_open.c: Likewise.
47858         * rt/mq_receive.c: Likewise.
47859         * rt/mq_send.c: Likewise.
47860         * rt/mq_setattr.c: Likewise.
47861         * rt/mq_timedreceive.c: Likewise.
47862         * rt/mq_timedsend.c: Likewise.
47863         * rt/mq_unlink.c: Likewise.
47864         * rt/shm_open.c: Likewise.
47865         * rt/shm_unlink.c: Likewise.
47866         * rt/timer_create.c: Likewise.
47867         * rt/timer_delete.c: Likewise.
47868         * rt/timer_getoverr.c: Likewise.
47869         * rt/timer_gettime.c: Likewise.
47870         * rt/timer_settime.c: Likewise.
47871         * setjmp/__longjmp.c: Likewise.
47872         * setjmp/setjmp.c: Likewise.
47873         * signal/kill.c: Likewise.
47874         * signal/killpg.c: Likewise.
47875         * signal/raise.c: Likewise.
47876         * signal/sigaction.c: Likewise.
47877         * signal/sigaltstack.c: Likewise.
47878         * signal/sigblock.c: Likewise.
47879         * signal/sigignore.c: Likewise.
47880         * signal/sigintr.c: Likewise.
47881         * signal/signal.c: Likewise.
47882         * signal/sigpause.c: Likewise.
47883         * signal/sigpending.c: Likewise.
47884         * signal/sigqueue.c: Likewise.
47885         * signal/sigreturn.c: Likewise.
47886         * signal/sigset.c: Likewise.
47887         * signal/sigsetmask.c: Likewise.
47888         * signal/sigstack.c: Likewise.
47889         * signal/sigsuspend.c: Likewise.
47890         * signal/sigtimedwait.c: Likewise.
47891         * signal/sigvec.c: Likewise.
47892         * signal/sigwait.c: Likewise.
47893         * signal/sigwaitinfo.c: Likewise.
47894         * signal/sysv_signal.c: Likewise.
47895         * socket/accept.c: Likewise.
47896         * socket/accept4.c: Likewise.
47897         * socket/bind.c: Likewise.
47898         * socket/connect.c: Likewise.
47899         * socket/getpeername.c: Likewise.
47900         * socket/getsockname.c: Likewise.
47901         * socket/getsockopt.c: Likewise.
47902         * socket/isfdtype.c: Likewise.
47903         * socket/listen.c: Likewise.
47904         * socket/recv.c: Likewise.
47905         * socket/recvfrom.c: Likewise.
47906         * socket/recvmsg.c: Likewise.
47907         * socket/send.c: Likewise.
47908         * socket/sendmsg.c: Likewise.
47909         * socket/sendto.c: Likewise.
47910         * socket/setsockopt.c: Likewise.
47911         * socket/shutdown.c: Likewise.
47912         * socket/sockatmark.c: Likewise.
47913         * socket/socket.c: Likewise.
47914         * socket/socketpair.c: Likewise.
47915         * stdio-common/ctermid.c: Likewise.
47916         * stdio-common/cuserid.c: Likewise.
47917         * stdio-common/remove.c: Likewise.
47918         * stdio-common/rename.c: Likewise.
47919         * stdio-common/renameat.c: Likewise.
47920         * stdio-common/tempname.c: Likewise.
47921         * stdlib/getcontext.c: Likewise.
47922         * stdlib/makecontext.c: Likewise.
47923         * stdlib/setcontext.c: Likewise.
47924         * stdlib/swapcontext.c: Likewise.
47925         * stdlib/system.c: Likewise.
47926         * streams/fattach.c: Likewise.
47927         * streams/fdetach.c: Likewise.
47928         * streams/getmsg.c: Likewise.
47929         * streams/getpmsg.c: Likewise.
47930         * streams/putmsg.c: Likewise.
47931         * streams/putpmsg.c: Likewise.
47932         * sysdeps/unix/bsd/getpt.c: Likewise.
47933         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
47934         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
47935         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47937         Likewise.
47938         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
47939         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47940         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47941         * sysvipc/msgctl.c: Likewise.
47942         * sysvipc/msgget.c: Likewise.
47943         * sysvipc/msgrcv.c: Likewise.
47944         * sysvipc/msgsnd.c: Likewise.
47945         * sysvipc/semctl.c: Likewise.
47946         * sysvipc/semget.c: Likewise.
47947         * sysvipc/semop.c: Likewise.
47948         * sysvipc/semtimedop.c: Likewise.
47949         * sysvipc/shmat.c: Likewise.
47950         * sysvipc/shmctl.c: Likewise.
47951         * sysvipc/shmdt.c: Likewise.
47952         * sysvipc/shmget.c: Likewise.
47953         * termios/tcdrain.c: Likewise.
47954         * termios/tcflow.c: Likewise.
47955         * termios/tcflush.c: Likewise.
47956         * termios/tcgetattr.c: Likewise.
47957         * termios/tcgetpgrp.c: Likewise.
47958         * termios/tcsendbrk.c: Likewise.
47959         * termios/tcsetattr.c: Likewise.
47960         * termios/tcsetpgrp.c: Likewise.
47961         * time/adjtime.c: Likewise.
47962         * time/clock.c: Likewise.
47963         * time/getitimer.c: Likewise.
47964         * time/gettimeofday.c: Likewise.
47965         * time/setitimer.c: Likewise.
47966         * time/settimeofday.c: Likewise.
47967         * time/stime.c: Likewise.
47968         * time/time.c: Likewise.
47970 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
47972         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
47973         /usr/old/bin.
47975         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
47976         instead of spaces.
47977         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
47979 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
47981         [BZ #14796]
47982         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
47983         FE_TONEAREST before applying Dekker multiplication and Knuth
47984         addition.  Clear inexact exceptions and check for exact zero
47985         results afterwards.
47986         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47987         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47988         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47989         * math/libm-test.inc (fma_test): Add more tests.
47990         (fma_test_towardzero): Likewise.
47991         (fma_test_downward): Likewise.
47992         (fma_test_upward): Likewise.
47993         * sysdeps/generic/math_private.h (default_libc_fesetround): New
47994         function.
47995         (libc_fesetround): New macro.
47996         (libc_fesetroundf): Likewise.
47997         (libc_fesetroundl): Likewise.
47998         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
47999         function.
48000         (libc_fesetround_387): Likewise.
48001         (libc_fesetroundf): New macro.
48002         (libc_fesetround): Likewise.
48003         (libc_fesetroundl): Likewise.
48004         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
48005         function.
48006         (libc_fesetroundf): New macro.
48007         (libc_fesetround): Likewise.
48008         (libc_fesetroundl): Likewise.
48009         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
48010         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
48011         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
48012         libm_hidden_ver.
48013         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
48014         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
48015         libm_hidden_def.
48016         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
48017         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
48018         libm_hidden_ver.
48019         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
48020         libm_hidden_def.
48022         [BZ #3439]
48023         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
48024         integer constant usable in #if and use that to give value to enum
48025         constant.
48026         (FE_DIVBYZERO): Likewise.
48027         (FE_UNDERFLOW): Likewise.
48028         (FE_OVERFLOW): Likewise.
48029         (FE_INVALID): Likewise.
48030         (FE_INVALID_SNAN): Likewise.
48031         (FE_INVALID_ISI): Likewise.
48032         (FE_INVALID_IDI): Likewise.
48033         (FE_INVALID_ZDZ): Likewise.
48034         (FE_INVALID_IMZ): Likewise.
48035         (FE_INVALID_COMPARE): Likewise.
48036         (FE_INVALID_SOFTWARE): Likewise.
48037         (FE_INVALID_SQRT): Likewise.
48038         (FE_INVALID_INTEGER_CONVERSION): Likewise.
48039         (FE_TONEAREST): Likewise.
48040         (FE_TOWARDZERO): Likewise.
48041         (FE_UPWARD): Likewise.
48042         (FE_DOWNWARD): Likewise.
48043         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
48044         (FE_DIVBYZERO): Likewise.
48045         (FE_OVERFLOW): Likewise.
48046         (FE_UNDERFLOW): Likewise.
48047         (FE_INEXACT): Likewise.
48048         (FE_TONEAREST): Likewise.
48049         (FE_DOWNWARD): Likewise.
48050         (FE_UPWARD): Likewise.
48051         (FE_TOWARDZERO): Likewise.
48052         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
48053         (FE_UNDERFLOW): Likewise.
48054         (FE_OVERFLOW): Likewise.
48055         (FE_DIVBYZERO): Likewise.
48056         (FE_INVALID): Likewise.
48057         (FE_TONEAREST): Likewise.
48058         (FE_TOWARDZERO): Likewise.
48059         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
48060         (FE_OVERFLOW): Likewise.
48061         (FE_UNDERFLOW): Likewise.
48062         (FE_DIVBYZERO): Likewise.
48063         (FE_INEXACT): Likewise.
48064         (FE_TONEAREST): Likewise.
48065         (FE_TOWARDZERO): Likewise.
48066         (FE_UPWARD): Likewise.
48067         (FE_DOWNWARD): Likewise.
48068         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
48069         (FE_DIVBYZERO): Likewise.
48070         (FE_OVERFLOW): Likewise.
48071         (FE_UNDERFLOW): Likewise.
48072         (FE_INEXACT): Likewise.
48073         (FE_TONEAREST): Likewise.
48074         (FE_DOWNWARD): Likewise.
48075         (FE_UPWARD): Likewise.
48076         (FE_TOWARDZERO): Likewise.
48078 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
48080         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
48082 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
48084         * scripts/cross-test-ssh.sh (command): Use newlines to separate
48085         commands.  Quote $PWD.
48086         (blacklist_exports): Don't use remove_newlines.  Replace "declare
48087         -x" by "export".
48088         (remove_newlines): Remove.
48090 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
48092         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
48093         * stdlib/stdlib.h (atof): Moved to ...
48094         * include/bits/stdlib-float.h: Here.  New file.
48095         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
48096         * stdlib/bits/stdlib-float.h: New file.
48097         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
48098         -mno-sse -mno-mmx.
48099         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
48100         <xmmintrin.h>.
48102 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48104         * conform/conformtest.pl (@headers): Add fenv.h.
48105         * conform/data/fenv.h-data: New file.
48106         * include/fenv.h [_ISOMAC]: Disable all contents of file except
48107         include of <math/fenv.h>.
48109         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
48110         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
48111         && !UNIX98].  Enables tests for XOPEN2K8.
48112         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
48113         POSIX2008]: Likewise.
48115         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
48116         (struct rusage): Do not expect type or its members.
48118         [BZ #3439]
48119         * math/math.h (FP_NAN): Define macro to integer constant usable in
48120         #if and use that to give value to enum constant.
48121         (FP_INFINITE): Likewise.
48122         (FP_ZERO): Likewise.
48123         (FP_SUBNORMAL): Likewise.
48124         (FP_NORMAL): Likewise.
48126 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
48128         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
48129         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
48130         arguments.
48132 2012-11-02  Roland McGrath  <roland@hack.frob.com>
48134         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
48135         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
48136         autoconf-time if not.
48137         * configure.in: Remove AC_PREREQ.
48139 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48141         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
48142         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
48143         of the internal implementation.
48145 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48147         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
48148         except include of <misc/sys/syslog.h>.
48150 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
48153         function returns with a NULL context exit with zero.
48155 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48157         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
48159 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
48161         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
48162         (run_program_cmd): This.
48163         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
48164         (tst_langinfo): New variable.  Use it.
48166 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
48168         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
48169         floating point opcodes.
48171 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48173         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
48174         variable.
48176         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
48178         * sysdeps/mach/hurd/powerpc: Remove directory.
48179         * sysdeps/mach/powerpc: Likewise.
48181 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48183         * scripts/check-local-headers.sh: Ignore c++ headers.
48185 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48187         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
48188         __libc_cleanup_region_start argument.
48190 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
48192         [BZ #14784]
48193         [BZ #14785]
48194         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
48195         x * y using scaling, not as x * y + z.
48196         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48197         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48198         * math/libm-test.inc (fma_test): Add more tests.
48199         (fma_test_towardzero): Likewise.
48200         (fma_test_downward): Likewise.
48201         (fma_test_upward): Likewise.
48203 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48205         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
48207 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48209         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
48210         New variable.
48212 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
48214         * rt/tst-shm.c (worker): Correct checking for mmap failure.
48216 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48219         Fix sort order.
48220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48221         Likewise.
48223 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48226         Fix the order of the list for glibc 2.17.
48227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48228         Likewise.
48230 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48234 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48236         [BZ #14610]
48237         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
48238         for low part of x being zero before using __atanl (y).
48239         * math/libm-test.inc (atan2_test): Add another test.
48241         * manual/install.texi (Configuring and compiling): Document
48242         general use of test-wrapper and test-wrapper-env.
48243         * INSTALL: Regenerated.
48245         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
48246         (__fma): Do not extract and scale down low bits on after-rounding
48247         systems when result rounded to normal precision would have normal
48248         exponent.
48249         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
48250         (__fmal): Do not extract and scale down low bits on after-rounding
48251         systems when result rounded to normal precision would have normal
48252         exponent.
48253         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
48254         (__fmal): Do not extract and scale down low bits on after-rounding
48255         systems when result rounded to normal precision would have normal
48256         exponent.
48257         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
48258         macro.
48259         (fma_test): Add more tests.
48260         (fma_test_towardzero): Likewise.
48261         (fma_test_downward): Likewise.
48262         (fma_test_upward): Likewise.
48264 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
48266         * sysdeps/i386/tininess.h: Renamed to ...
48267         * sysdeps/x86/tininess.h: This.
48268         * sysdeps/x86_64/tininess.h: Removed.
48270 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48272         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
48273         input.  Use $(build-program-cmd).
48274         ($(objpfx)tst-array1-static.out): Likewise.
48275         ($(objpfx)tst-array2.out): Likewise.
48276         ($(objpfx)tst-array3.out): Likewise.
48277         ($(objpfx)tst-array4.out): Likewise.
48278         ($(objpfx)tst-array5.out): Likewise.
48279         ($(objpfx)tst-array5-static.out): Likewise.
48281 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
48283         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
48284         if defined.
48286         * nss/nsswitch.h (nss_interface_function): Provide new
48287         macro for use with NSS functions.
48288         * grp/initgroups.c: Use new macro.
48289         * nss/getXXbyYY.c: Likewise.
48290         * nss/getXXbyYY_r.c: Likewise.
48291         * nss/getXXent.c: Likewise.
48292         * nss/getXXent_r.c: Likewise.
48293         * sysdeps/posix/getaddrinfo.c: Likewise.
48295 2012-10-30  Andreas Jaeger  <aj@suse.de>
48297         * po/ru.po: Update Russion translation from translation project.
48299 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48301         [BZ #14152]
48302         [BZ #14783]
48303         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
48304         result and shift together with sticky bit instead of replicating
48305         round-to-nearest rounding.
48306         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48307         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48308         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
48309         missing underflow exceptions.
48310         (fma_test_towardzero): Add more tests.
48311         (fma_test_downward): Likewise.
48312         (fma_test_upward): Likewise.
48314         [BZ #14047]
48315         * sysdeps/generic/tininess.h: New file.
48316         * sysdeps/i386/tininess.h: Likewise.
48317         * sysdeps/sh/tininess.h: Likewise.
48318         * sysdeps/x86_64/tininess.h: Likewise.
48319         * stdlib/tst-strtod-underflow.c: Likewise.
48320         * stdlib/tst-tininess.c: Likewise.
48321         * stdlib/strtod_l.c: Include <tininess.h>.
48322         (round_and_return): Do not set errno for exact underflow cases.
48323         Force an underflow exception when setting errno for underflow.
48324         Determine underflow based on rounding to normal precision if
48325         TININESS_AFTER_ROUNDING.
48326         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
48327         ERANGE for exact underflow cases.
48328         * stdlib/Makefile (tests): Add tst-tininess and
48329         tst-strtod-underflow.
48330         ($(objpfx)tst-tininess): Use $(link-libm).
48331         ($(objpfx)tst-strtod-underflow): Likewise.
48333 2012-10-30  Andreas Jaeger  <aj@suse.de>
48335         [BZ#14767]
48336         * elf/Makefile (tests): Remove conditional for have-initfini-array
48337         since this is now always required and the variable does not exist
48338         anymore.
48339         (tests-static): Likewise.
48340         (modules-names): Likewise.
48342         * po/eo.po: Add Esperanto translation from translation project.
48344         * elf/tst-array1.c (fini_array): Make writeable so that it can be
48345         merged with constructor/destructor.
48346         (init_array): Likewise.
48347         * elf/tst-array2dep.c (fini_array): Likewise.
48348         (init_array): Likewise.
48350 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
48352         * manual/message.texi: Delete @cartouche tags.
48354 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
48356         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
48357         EOPNOTSUPP.
48358         * sysdeps/mach/hurd/fsync.c: Likewise.
48360         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
48361         [_POSIX_REALTIME_SIGNALS]: Change condition to
48362         [_POSIX_REALTIME_SIGNALS > 0].
48364 2012-10-27  Andreas Jaeger  <aj@suse.de>
48366         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
48367         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
48368         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
48369         [__WORDSIZE != 64]: Likewise.
48371 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
48373         *  iconvdata/tst-table.sh: Remove ${SHELL}.
48374         *  iconvdata/tst-tables.sh: Likewise.
48376 2012-10-25  David S. Miller  <davem@davemloft.net>
48378         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48379         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
48380         of strtoull.
48382         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
48383         ifunc-impl-list.c
48384         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48385         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
48386         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
48387         file.
48389 2012-10-25  Roland McGrath  <roland@hack.frob.com>
48391         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48392         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
48393         __getdirentries.
48395 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48396             Jim Blandy  <jimb@codesourcery.com>
48398         * scripts/cross-test-ssh.sh: New file.
48399         * manual/install.texi (Configuring and compiling): Document use of
48400         cross-test-ssh.sh.
48401         * INSTALL: Regenerated.
48403 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
48405         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
48406         EOPNOTSUPP.
48408 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48410         * Makeconfig (run-program-prefix): Fix comment.
48412 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48413             Jim Blandy  <jimb@codesourcery.com>
48415         * Makeconfig (test-wrapper): New variable,
48416         (test-wrapper-env): Likewise.
48417         [$(cross-compiling) = yes && $(test-wrapper) != ""]
48418         (run-built-tests): Define to yes.
48419         (run-program-prefix): Use $(test-wrapper).
48420         (built-program-cmd): Likewise.
48421         * Rules (make-test-out): Use $(test-wrapper-env) and
48422         $(host-built-program-cmd).
48423         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
48424         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
48425         tst-pathopt.sh.
48426         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
48427         $(test-wrapper-env) to tst-rtld-load-self.sh.
48428         ($(objpfx)order2.out): Use $(test-wrapper).
48429         ($(objpfx)tst-initorder.out): Likewise.
48430         ($(objpfx)tst-initorder2.out): Likewise.
48431         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
48432         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
48433         (test_wrapper_env): New variable.  Use it to run ld.so.
48434         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
48435         Use it to run ld.so.
48436         (test_wrapper_env): Likewise.
48437         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
48438         $(test-wrapper) to run-iconv-test.sh.
48439         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
48440         (ICONV): Use $test_wrapper.
48441         * posix/Makefile ($(objpfx)globtest.out): Pass
48442         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
48443         globtest.sh, not $(run-program-prefix).
48444         * posix/globtest.sh (run_via_rtld_prefix): New variable.
48445         (test_wrapper): Likewise.
48446         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
48447         set together with run_via_rtld_prefix.
48448         (run_program_prefix): Define in terms of test_wrapper and
48449         run_via_rtld_prefix.
48451 2012-10-24  Roland McGrath  <roland@hack.frob.com>
48453         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
48454         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
48455         Targets removed.
48457         [BZ #14743]
48458         * include/time.h: Remove librt_hidden_proto (clock_gettime).
48459         Declare __clock_getres, __clock_gettime, __clock_settime,
48460         __clock_nanosleep, and __clock_getcpuclockid.
48461         * rt/clock_gettime.c: Define __clock_gettime as an alias.
48462         Remove librt_hidden_def (clock_gettime).
48463         * sysdeps/unix/clock_gettime.c: Likewise.
48464         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
48465         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48466         * rt/clock_getres.c: Define __clock_getres as an alias.
48467         * sysdeps/posix/clock_getres.c: Likewise.
48468         * rt/clock_settime.c: Define __clock_settime as an alias.
48469         * sysdeps/unix/clock_settime.c: Likewise.
48470         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
48471         * sysdeps/unix/clock_nanosleep.c: Likewise.
48472         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48473         * rt/clock-compat.c: New file.
48474         * rt/Makefile (librt-routines): Add clock-compat and move
48475         $(clock-routines) to ...
48476         (routines): ... here, new variable.
48477         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
48478         Don't add get_clockfreq here.
48479         * rt/Versions (libc: GLIBC_2.17): New version set.
48480         Add clock_* symbols here.
48481         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
48482         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
48483         (GLIBC_2.17): Add clock_* symbols.
48484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48486         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48488         Likewise.
48489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48490         Likewise.
48491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48495         * NEWS: Mention the move.
48497         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
48498         Use __open, __read, __close rather than their public counterparts.
48499         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48500         (__get_clockfreq_via_cpuinfo): Likewise.
48501         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
48502         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
48504         * config.h.in (HAVE_IFUNC): New #undef.
48505         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
48506         was successful.
48507         * configure: Regenerated.
48509 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48511         * configure.in: Move READELF check to start of file.
48512         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
48513         libc_cv_asm_gnu_indirect_function in the process.
48514         * configure: Regenerated.
48516 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48518         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
48519         send the output to /dev/null.
48520         (libc_cv_cc_with_libunwind): Likewise.
48521         (libc_cv_as_noexecstack): Likewise.
48522         * configure: Regenerate.
48524 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48526         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
48528         * posix/globtest.sh (TMPDIR): Do not set.
48529         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
48530         (testout): Likewise.
48532 2012-10-24  Andreas Jaeger  <aj@suse.de>
48534         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
48535         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
48536         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
48537         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
48538         posix_fadvise64, posix_fallocate64.
48540         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
48541         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
48542         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
48543         Likewise.
48544         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
48545         Likewise.
48546         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
48548         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
48549         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
48550         <bits/fcntl-linux.h>.
48551         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
48553         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
48554         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
48555         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
48556         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
48557         [__WORDSIZE != 64]: Likewise.
48559 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48561         * Makeconfig (run-built-tests): New variable.
48562         * Rules [$(cross-compiling) = yes]: Change condition to
48563         [$(run-built-tests) = no].
48564         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
48565         to [$(run-built-tests) = yes].
48566         * elf/Makefile [$(cross-compiling) = no]: Likewise
48567         * grp/Makefile [$(cross-compiling) = no]: Likewise.
48568         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
48569         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
48570         * intl/Makefile [$(cross-compiling) = no]: Likewise.
48571         * io/Makefile [$(cross-compiling) = no]: Likewise.
48572         * libio/Makefile [$(cross-compiling) = no]: Likewise.
48573         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
48574         * misc/Makefile [$(cross-compiling) = no]: Likewise.
48575         * posix/Makefile [$(cross-compiling) = no]: Likewise.
48576         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
48577         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
48578         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
48579         * string/Makefile [$(cross-compiling) = no]: Likewise.
48581         * posix/Makefile ($(objpfx)globtest.out): Pass
48582         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
48583         $(rtld-installed-name).
48584         * posix/globtest.sh (elf_objpfx): Remove variable.
48585         (rtld_installed_name): Likewise.
48586         (library_path): Likewise.
48587         (run_program_prefix): New variable.  Use for running globtest
48588         binary.
48590 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
48591             Joseph Myers  <joseph@codesourcery.com>
48593         * Makeconfig (host-built-program-cmd): New variable.
48594         * elf/Makefile (tst-stackguard1-ARGS): Use
48595         $(host-built-program-cmd).
48596         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
48597         (tst-spawn-ARGS): Likewise.
48598         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
48600 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48601             Jim Blandy  <jimb@codesourcery.com>
48603         * Makeconfig (run-via-rtld-prefix): New variable.
48604         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
48605         (built-program-cmd): Likewise.
48607 2012-10-22  Andreas Jaeger  <aj@suse.de>
48609         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
48610         __O_RSYNC if it exists, otherwise to O_SYNC.
48612 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
48613             Joseph Myers  <joseph@codesourcery.com>
48615         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
48616         /dev/null.
48617         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
48618         from /dev/null
48619         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
48620         /dev/null.
48622 2012-10-22  Andreas Jaeger  <aj@suse.de>
48624         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
48625         Define always.
48626         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
48628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48629         bits/fcntl-linux.h.
48631         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
48632         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
48634         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
48635         to __O_LARGEFILE.
48636         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
48637         to __O_LARGEFILE.
48639 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
48640             Joseph Myers  <joseph@codesourcery.com>
48642         * config.make.in (NM): New variable.
48644 2012-10-21  Andreas Jaeger  <aj@suse.de>
48646         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
48647         definitions and declarations that are provided by
48648         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48650 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48652         [BZ #14683]
48653         * elf/Makefile (tests-static): Add tst-leaks1-static.
48654         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
48655         ($(objpfx)tst-leaks1-static): New rule.
48656         ($(objpfx)tst-leaks1-static-mem): Likewise.
48657         (tst-leaks1-static-ENV): New macro.
48658         * elf/dl-open.c (dl_open_worker): Check the main application
48659         only if SHARED is defined.
48660         * elf/tst-leaks1-static.c: New file.
48662 2012-10-20  Andreas Jaeger  <aj@suse.de>
48664         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
48665         generic values for Linux.
48666         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
48667         and declarations that are provided by <bits/fcntl-linux.h> and
48668         include <bits/fcntl-linux.h>.
48669         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48670         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48672 2012-10-20  Roland McGrath  <roland@hack.frob.com>
48674         * io/fcntl.h: Move include of <bits/types.h> to the top and
48675         include it unconditionally.
48677 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48679         * wcsmbs/Makefile (tests-ifunc): New variable.
48680         (tests): Add $(tests-ifunc).
48681         * wcsmbs/test-wcschr-ifunc.c: New file.
48682         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
48683         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
48684         * wcsmbs/test-wcslen-ifunc.c: Likewise.
48685         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
48686         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
48688         * string/Makefile (tests-ifunc): New variable.
48689         (tests): Add $(tests-ifunc).
48690         * string/test-memccpy.c (TEST_NAME): New macro.
48691         * string/test-memchr.c (TEST_NAME): Likewise.
48692         * string/test-memcmp.c (TEST_NAME): Likewise.
48693         * string/test-memcpy.c (TEST_NAME): Likewise.
48694         * string/test-memmem.c (TEST_NAME): Likewise.
48695         * string/test-memmove.c (TEST_NAME): Likewise.
48696         * string/test-memset.c (TEST_NAME): Likewise.
48697         * string/test-rawmemchr.c (TEST_NAME): Likewise.
48698         * string/test-stpcpy.c (TEST_NAME): Likewise.
48699         * string/test-stpncpy.c (TEST_NAME): Likewise.
48700         * string/test-strcasecmp.c (TEST_NAME): Likewise.
48701         * string/test-strcasestr.c (TEST_NAME): Likewise.
48702         * string/test-strcat.c (TEST_NAME): Likewise.
48703         * string/test-strchr.c (TEST_NAME): Likewise.
48704         * string/test-strcmp.c(TEST_NAME): Likewise.
48705         * string/test-strcpy.c (TEST_NAME): Likewise.
48706         * string/test-strcspn.c (TEST_NAME): Likewise.
48707         * string/test-strlen.c (TEST_NAME): Likewise.
48708         * string/test-strncasecmp.c (TEST_NAME): Likewise.
48709         * string/test-strncmp.c (TEST_NAME): Likewise.
48710         * string/test-strncpy.c (TEST_NAME): Likewise.
48711         * string/test-strnlen.c (TEST_NAME): Likewise.
48712         * string/test-strpbrk.c (TEST_NAME): Likewise.
48713         * string/test-strrchr.c (TEST_NAME): Likewise.
48714         * string/test-strspn.c (TEST_NAME): Likewise.
48715         * string/test-strstr.c (TEST_NAME): Likewise.
48716         * string/test-bcopy-ifunc.c: New file.
48717         * string/test-bzero-ifunc.c: Likewise.
48718         * string/test-memccpy-ifunc.c: Likewise.
48719         * string/test-memchr-ifunc.c: Likewise.
48720         * string/test-memcmp-ifunc.c: Likewise.
48721         * string/test-memcpy-ifunc.c: Likewise.
48722         * string/test-memmem-ifunc.c: Likewise.
48723         * string/test-memmove-ifunc.c: Likewise.
48724         * string/test-mempcpy-ifunc.c: Likewise.
48725         * string/test-memset-ifunc.c: Likewise.
48726         * string/test-rawmemchr-ifunc.c: Likewise.
48727         * string/test-stpcpy-ifunc.c: Likewise.
48728         * string/test-stpncpy-ifunc.c: Likewise.
48729         * string/test-strcasecmp-ifunc.c: Likewise.
48730         * string/test-strcasestr-ifunc.c: Likewise.
48731         * string/test-strcat-ifunc.c: Likewise.
48732         * string/test-strchr-ifunc.c: Likewise.
48733         * string/test-strchrnul-ifunc.c: Likewise.
48734         * string/test-strcmp-ifunc.c: Likewise.
48735         * string/test-strcpy-ifunc.c: Likewise.
48736         * string/test-strcspn-ifunc.c: Likewise.
48737         * string/test-strlen-ifunc.c: Likewise.
48738         * string/test-strncasecmp-ifunc.c: Likewise.
48739         * string/test-strncat-ifunc.c: Likewise.
48740         * string/test-strncmp-ifunc.c: Likewise.
48741         * string/test-strncpy-ifunc.c: Likewise.
48742         * string/test-strnlen-ifunc.c: Likewise.
48743         * string/test-strpbrk-ifunc.c: Likewise.
48744         * string/test-strrchr-ifunc.c: Likewise.
48745         * string/test-strspn-ifunc.c: Likewise.
48746         * string/test-strstr-ifunc.c: Likewise.
48748         * debug/Makefile (tests-ifunc): New variable.
48749         (tests): Add $(tests-ifunc).
48750         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
48751         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
48752         * debug/test-stpcpy_chk-ifunc.c: New file.
48753         * debug/test-strcpy_chk-ifunc.c: Likewise.
48755 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48757         [BZ #13601]
48758         * elf/dl-load.c (open_verify): Retry read if the entire ELF
48759         header is not read in.
48761 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
48763         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
48764         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
48765         directly.  Pass built executable to script as
48766         $(built-program-cmd).
48767         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
48768         $testprogram without using LD_LIBRARY_PATH and $ldso.
48770         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
48771         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
48772         $(rtld-installed-name).
48773         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
48774         (rtld_installed_name): Likewise.
48775         (library_path): Likewise.
48776         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
48777         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
48778         $(run-program-prefix) to tst-tables.sh.
48779         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
48780         it to run tst-table-from and tst-table-to.
48781         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
48782         Pass it to tst-table.sh.
48783         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
48784         $(run-program-prefix) to tst-gettext.sh.
48785         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
48786         tst-translit.sh.
48787         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
48788         tst-gettext2.sh.
48789         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
48790         to run tst-gettext.
48791         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
48792         to run tst-gettext2.
48793         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
48794         to run tst-translit.
48795         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
48796         $(run-program-prefix) to tst-mtrace.sh.
48797         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
48798         to run tst-mtrace.
48799         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
48800         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
48801         $(rtld-installed-name).
48802         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
48803         (rtld_installed_name): Likewise.
48804         (run_program_prefix): New variable.  Use it to run wordexp-test.
48806         * Makeconfig (ARCH): Remove all definitions.
48807         (machine): Likewise.
48808         [ARCH]: Remove conditional code.
48809         [!objdir]: Give error.
48810         [!objdir] (objpfx): Remove.
48811         [!objdir] (common-objpfx): Likewise.
48812         [!objdir] (common-objdir): Likewise.
48813         * configure.in (config_makefile): Remove.  Hardcode Makefile in
48814         AC_CONFIG_FILES call.
48815         * configure: Regenerated.
48817         [BZ #13888]
48818         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
48819         or TMPDIR.
48820         (testout): Likewise.
48822         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
48823         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
48824         $(rtld-installed-name).
48825         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
48826         (rtld_installed_name): Likwise.
48827         (runit): Remove function.
48828         (run_getconf): New variable,  Use it for running getconf binary.
48830 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
48832         [BZ #14716]
48833         * string/test-memmem.c (check_result): New function.
48834         (do_one_test): Use it.
48835         (check1): New function.
48836         (test_main): Use it.
48838 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
48840         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
48842 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
48844         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
48845         (_G_LSEEK64): Likewise.
48846         (_G_MMAP64): Likewise.
48847         (_G_FSTAT64): Likewise.
48848         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
48849         (_G_LSEEK64): Likewise.
48850         (_G_MMAP64): Likewise.
48851         (_G_FSTAT64): Likewise.
48852         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
48853         unconditional.  Call __mmap64 directly.
48854         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
48855         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
48856         __lseek64 directly.
48857         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
48858         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
48859         __mmap64 directly.
48860         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
48861         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48862         __lseek64 directly.
48863         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
48864         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48865         __lseek64 directly.
48866         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
48867         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
48868         __lseek64 directly.
48869         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
48870         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
48871         __fxstat64 directly.
48872         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
48873         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
48874         unconditional.
48875         (freopen64) [!_G_OPEN64]: Remove conditional code.
48876         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
48877         unconditional.
48878         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
48879         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
48880         unconditional.
48881         (ftello64) [!_G_LSEEK64]: Remove conditional code.
48882         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
48883         unconditional.
48884         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48885         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
48886         unconditional.
48887         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
48888         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
48889         unconditional.
48890         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48891         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
48892         unconditional.
48893         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48894         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
48895         unconditional.
48896         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48898 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48900         [BZ #12140]
48901         * manual/memory.texi (Malloc Tunable Parameters): Add note
48902         about free list pointers overwriting some perturb bytes.
48903         Wording suggested by Roland McGrath.
48905 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
48907         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
48908         (lgamma_test): Likewise.
48909         (tgamma_test): Likewise.
48911 2012-10-16  Florian Weimer  <fweimer@redhat.com>
48913         [BZ #14700]
48914         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
48915         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
48917 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
48919         * NEWS: Mention BZ #14716.
48920         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
48921         when removing AVAILABLE1_USES_J macro.
48923 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
48925         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
48926         (__bswap_64): __uint64_t for unsigned 64-bit int.
48928 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
48930         * include/string.h (memmem): Declare libc hidden alias.
48931         * string/memmem.c (memmem): Define libc hidden alias.
48932         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
48933         __read, __close instead of open, read, close.
48935 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
48937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
48938         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
48939         global and hidden.
48940         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
48941         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
48942         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
48943         Likewise.
48944         (__rawmemchr_sse2): Likewise.
48945         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
48946         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
48947         (__strchr_sse2): Likewise.
48948         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
48949         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
48950         (__strcasecmp_sse2): Likewise.
48951         (__strncasecmp_sse2): Likewise.
48952         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
48953         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
48954         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
48955         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
48956         (__strrchr_sse2): Likewise.
48957         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
48958         ifunc-impl-list.c.
48959         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
48960         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
48961         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
48962         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48963         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
48964         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
48965         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48966         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48967         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
48968         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
48969         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
48970         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
48971         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
48972         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
48973         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
48974         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48975         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
48976         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
48977         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
48978         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
48979         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
48980         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
48981         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
48982         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48983         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
48984         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48985         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
48986         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48987         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
48988         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
48990         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
48991         global and hidden.
48992         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
48993         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
48994         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
48995         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
48996         Likewise.
48997         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
48998         Likewise.
48999         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
49000         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
49001         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
49002         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
49003         ifunc-impl-list.c.
49004         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49005         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49006         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49007         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49008         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49009         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49010         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49011         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49012         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49013         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49014         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49015         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49016         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49017         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
49018         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
49019         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49020         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
49021         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
49022         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49023         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49024         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49025         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49026         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49027         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49028         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49029         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
49030         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
49031         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
49032         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
49033         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49034         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
49035         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49036         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49037         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
49038         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49039         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49040         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49041         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49042         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49043         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49044         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
49046         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
49047         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
49048         * include/ifunc-impl-list.h: New file.
49049         * misc/ifunc-impl-list.c: Likewise.
49050         * misc/Makefile (routines): Add ifunc-impl-list.
49051         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
49052         * string/test-string.h: Include <ifunc-impl-list.h>.
49053         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
49054         TEST_NAME]: New variables.
49055         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
49056         are defined.
49057         (test_init): Call __libc_ifunc_impl_list to initialize
49058         func_list if TEST_IFUNC and TEST_NAME are defined.
49060         * string/Makefile (strop-tests): Add bcopy and bzero.
49061         * string/test-bcopy.c: New file.
49062         * string/test-bzero.c: Likewise.
49063         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
49064         defined.
49065         * string/test-memset.c: Support bzero test if TEST_BZERO is
49066         defined.
49067         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
49068         __libc_memmove.
49069         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
49070         __libc_memset.
49071         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
49072         of memset.
49074 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
49076         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
49077         * configure: Regenerated.
49079         * Makeconfig (+link-static-before-libc): Don't include
49080         $(link-static-libc).
49082         * libio/libio.h (_IO_pos_t): Remove.
49084 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49086         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
49087         McGrath.
49089 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49091         * crypt/crypt-entry.c: Include fips-private.h.
49092         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
49093         * crypt/md5c-test.c (main): Tolerate disabled MD5.
49094         * sysdeps/unix/sysv/linux/fips-private.h: New file.
49095         * sysdeps/generic/fips-private.h: New file, dummy fallback.
49097 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49099         * crypt/crypt-private.h: Include stdbool.h.
49100         (_ufc_setup_salt_r): Return bool.
49101         * crypt/crypt-entry.c: Include errno.h.
49102         (__crypt_r): Return NULL with EINVAL for bad salt.
49103         * crypt/crypt_util.c (bad_for_salt): New.
49104         (_ufc_setup_salt_r): Check that salt is long enough and within
49105         the specified alphabet.
49106         * crypt/badsalttest.c: New file.
49107         * crypt/Makefile (tests): Add it.
49108         ($(objpfx)badsalttest): New.
49110 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
49112         * NEWS: Add entry for BZ #14602.
49114 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49116         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
49117         type-generic.
49118         * math/libm-test.inc: Update comment listing what functions and
49119         macros are tested.
49120         (isgreater_test): New function.
49121         (isgreaterequal_test): Likewise.
49122         (isless_test): Likewise.
49123         (islessequal_test): Likewise.
49124         (islessgreater_test): Likewise.
49125         (isunordered_test): Likewise.
49126         (main): Call the new functions.
49128 2012-10-09  Roland McGrath  <roland@hack.frob.com>
49130         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
49131         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
49132         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
49133         * sysdeps/i386/configure: Regenerated.
49134         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
49135         * sysdeps/mach/configure: Regenerated.
49136         * sysdeps/mach/hurd/configure: Regenerated.
49137         * sysdeps/powerpc/configure: Regenerated.
49138         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49139         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49140         * sysdeps/s390/s390-32/configure: Regenerated.
49141         * sysdeps/s390/s390-64/configure: Regenerated.
49142         * sysdeps/sh/configure: Regenerated.
49143         * sysdeps/sparc/configure: Regenerated.
49144         * sysdeps/unix/sysv/linux/configure: Regenerated.
49145         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49146         * sysdeps/x86_64/configure: Regenerated.
49148         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
49149         defined.  Don't check if MAP is NULL.
49151 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49153         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
49154         (_G_stat64): Likewise.
49155         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
49156         (_G_stat64): Likewise.
49157         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
49158         instead of struct _G_stat64.
49159         * libio/fileops.c (mmap_remap_check): Likewise.
49160         (decide_maybe_mmap): Likewise.
49161         (_IO_new_file_seekoff): Likewise.
49162         (_IO_file_stat): Likewise.
49163         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
49164         _G_off64_t.
49165         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
49166         instead of struct _G_stat64.
49167         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49169 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
49171         [BZ #14602]
49172         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49173         Replace with ...
49174         (CHECK_EOL): New macro.
49175         (two_way_short_needle): Check beginning of haystack for EOL.  Use
49176         CHECK_EOL.
49177         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49178         Replace with CHECK_EOL.
49179         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49180         Replace with CHECK_EOL.
49182 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
49184         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
49185         type-generic.
49186         * math/libm-test.inc: Update comment listing what functions and
49187         macros are tested.
49188         (finite_test): New function.
49189         (isinf_test): Likewise.
49190         (isnan_test): Likewise.
49191         (fpclassify_test): Test subnormal input.
49192         (isfinite_test): Likewise.
49193         (isnormal_test): Likewise.
49194         (main): Call the new functions.
49196 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
49198         [BZ #14660]
49199         * Makerules (%.dynsym): Force C locale when running
49200         $(OBJDUMP) --dynamic-syms.
49202 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
49204         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
49205         <stdint.h>.
49207 2012-10-06  David S. Miller  <davem@davemloft.net>
49209         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
49210         upper 32-bits of the length value in %o2 since we use branch-on-register
49211         tests which consider the entire 64-bit register.
49213 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
49215         * string/test-strstr.c (check2): Add a test for page boundary.
49217 2012-10-05  David S. Miller  <davem@davemloft.net>
49219         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
49220         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
49221         file.
49222         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49223         sysdep_routines.
49224         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49225         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
49226         and bzero when HWCAP_SPARC_CRYPTO is present.
49228 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
49230         [BZ #14602]
49231         * string/test-strstr.c (check2): New function.
49232         (test_main): Call check2.
49234         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
49235         and bug-strchr1.
49236         * string/bug-strcasestr1.c (do_test): Moved to ...
49237         * string/test-strcasestr.c (check1): Here.  New function.
49238         (do_one_test): Break out result checking code into ...
49239         (check_result): This.  New function.
49240         (do_one_test): Call check_result.
49241         (test_main): Call check1.
49242         * string/bug-strchr1.c (do_test): Moved to ...
49243         * string/test-strchr.c (check1): Here.  New function.
49244         (do_one_test): Break out result checking code into ...
49245         (check_result): This.  New function.
49246         (do_one_test): Call check_result.
49247         (test_main): Call check1.
49248         * string/bug-strstr1.c (main): Moved to ...
49249         * string/test-strstr.c (check1): Here.  New function.
49250         (do_one_test): Break out result checking code into ...
49251         (check_result): This.  New function.
49252         (do_one_test): Call check_result.
49253         (test_main): Call check1.
49254         * string/bug-strcasestr1.c: Removed.
49255         * string/bug-strchr1.c: Likewise.
49256         * string/bug-strstr1.c: Likewise.
49258         * elf/Makefile (dl-routines): Add hwcaps.
49259         * elf/dl-support.c (_dl_important_hwcaps): Removed.
49260         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
49261         (_dl_important_hwcaps): Moved to ...
49262         * elf/dl-hwcaps.c: Here.  New file.
49263         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
49265         [BZ #14557]
49266         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
49267         if IS_IN_rtld isn't defined.
49269         * elf/dl-support.c (_dl_sysinfo_map): New.
49270         Include "get-dynamic-info.h" and "setup-vdso.h".
49271         (_dl_non_dynamic_init): Call setup_vdso.
49272         * elf/dynamic-link.h: Don't include <assert.h>.
49273         (elf_get_dynamic_info): Moved to ...
49274         * elf/get-dynamic-info.h: Here.  New file.
49275         * elf/dynamic-link.h: Include "get-dynamic-info.h".
49276         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
49277         * elf/setup-vdso.h: Here.  New file.
49278         * elf/rtld.c: Include "setup-vdso.h".
49279         (dl_main): Call setup_vdso.
49281 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
49283         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
49284         creal in comment listing functions tested.  List finite, isinf,
49285         isnan, isless, islessequal, isgreater, isgreaterequal,
49286         islessgreater, isunordered, lgamma_r and pow10 as functions and
49287         macros not tested.  Mention which functions not tested are aliases
49288         for other functions.  Fix typo.  Note that signs of NaNs are not
49289         tested.
49291         * scripts/config.guess: Update from config.git.
49292         * scripts/config.sub: Likewise.
49294 2012-10-04  Roland McGrath  <roland@hack.frob.com>
49296         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
49297         * misc/madvise.c (madvise): Renamed to __madvise.
49298         Make madvise a weak alias.
49299         * include/sys/mman.h: Declare __madvise.
49300         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
49301         * sysdeps/unix/syscalls.list
49302         (madvise): Make __madvise the strong name, and madvise a weak alias.
49303         * sysdeps/unix/sysv/linux/syscalls.list
49304         (madvise, mmap): Remove redundant entries.
49305         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
49306         * malloc/malloc.c (mtrim): Likewise.
49307         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
49309 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49311         * sysdeps/mach/hurd/dl-cache.c: File removed.
49312         * config.h.in (USE_LDCONFIG): New #undef.
49313         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
49314         * configure: Regenerated.
49315         * elf/Makefile (dl-routines): Add dl-cache only under
49316         [$(use-ldconfig) = yes].
49317         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
49318         cache on [USE_LDCONFIG].
49319         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
49320         [USE_LDCONFIG].
49321         * elf/rtld.c (dl_main): Likewise.
49323 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
49325         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
49326         _SC_LEVEL4_CACHE_LINESIZE.
49328 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49330         * sysdeps/unix/bsd/confstr.h: File removed.
49332 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
49334         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
49335         sys/sdt-config.h.
49337 2012-10-02  Roland McGrath  <roland@hack.frob.com>
49339         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
49340         Make 'mapoff' field ElfW(Off) rather than off_t.
49342 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
49344         * nscd/Makefile: Remove nscd-cflags and all its users.
49345         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
49346         (CFLAGS-nonlib): Add compiler flags for nscd modules.
49348         [BZ #10631]
49349         * malloc.c (malloc_printerr): Clarify error message.
49351 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
49353         [BZ #14648]
49354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49355         Set bit_FMA_Usable if FMA is supported.
49356         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
49357         macro.
49358         (bit_FMA4_Usable): Updated.
49359         (index_FMA_Usable): New macro.
49360         (CPUID_FMA): Likewise
49361         (HAS_FMA): Defined with bit_FMA_Usable.
49363 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49365         * bits/types.h (__swblk_t): Type removed.
49366         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
49367         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
49368         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49369         (__SWBLK_T_TYPE): Likewise.
49370         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
49371         (__SWBLK_T_TYPE): Likewise.
49372         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49373         (__SWBLK_T_TYPE): Likewise.
49374         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49375         (__SWBLK_T_TYPE): Likewise.
49377 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
49378             Honza Horak <hhorak@redhat.com>
49380         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
49381         (xdr_mapname): Use YPMAXMAP as maxsize.
49382         (xdr_peername): Use YPMAXPEER as maxsize.
49383         (xdr_keydat): Use YPAXRECORD as maxsize.
49384         (xdr_valdat): Use YPMAXRECORD as maxsize.
49386 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49388         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
49390         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
49391         * csu/init-first.c: ... here.
49392         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
49393         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
49394         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
49395         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
49396         * sysdeps/i386/init-first.c: File removed.
49397         * sysdeps/sh/init-first.c: File removed.
49399 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
49401         [BZ #14645]
49402         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
49403         if x * y might underflow to zero and z is zero.
49404         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49405         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49406         * math/libm-test.inc (min_subnorm_value): New variable.
49407         (fma_test): Add more tests.
49408         (fma_test_towardzero): Likewise.
49409         (fma_test_downward): Likewise
49410         (fma_test_upward): Likewise.
49411         (initialize): Set min_subnorm_value.
49413 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
49415         [BZ #14638]
49416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
49417         0 + 0.
49418         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
49419         mode for addition resulting in exact zero.
49420         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
49421         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
49422         exact 0 + 0.
49423         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49424         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49425         * math/libm-test.inc (fma_test): Add more tests.
49426         (fma_test_towardzero): New function.
49427         (fma_test_downward): Likewise.
49428         (fma_test_upward): Likewise.
49429         (main): Call the new functions.
49431 2012-09-28  David S. Miller  <davem@davemloft.net>
49433         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
49435 2012-09-28  Roland McGrath  <roland@hack.frob.com>
49437         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
49438         instead of SIGALRM.
49440         * sysdeps/gnu/_G_config.h: Moved to ...
49441         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
49442         * sysdeps/mach/hurd/_G_config.h: Moved to ...
49443         * sysdeps/generic/_G_config.h: ... here.
49445         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
49447         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
49449         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
49450         Conditionalize target on [libnss_test1.so-version].
49452         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
49454         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
49455         (elfobjdir): Move out of conditionals.
49457         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
49458         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
49459         (__nss_lookup_function): Conditionalize label remove_from_tree on
49460         [!DO_STATIC_NSS || SHARED], matching its only use.
49462 2012-09-28  David S. Miller  <davem@davemloft.net>
49464         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
49465         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
49466         file.
49467         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49468         sysdep_routines.
49469         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49470         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
49471         when HWCAP_SPARC_CRYPTO is present.
49473 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49475         * io/tst-mknodat.c: Create a FIFO instead of a socket.
49477 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
49479         [BZ #6530]
49480         * stdio-common/vfprintf.c (process_string_arg): Revert
49481         2000-07-22 change.
49483 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
49485         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
49486         for testcase.
49487         * stdio-common/tst-sprintf.c: Include <locale.h>
49488         (main): Test sprintf's handling of incomplete multibyte
49489         characters.
49491 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
49493         * elf/dl-runtime.c (VERSYMIDX): Removed.
49494         * elf/dl-version.c (VERSYMIDX): Likewise.
49495         * elf/do-rel.h (VERSYMIDX): Likewise.
49496         (VALIDX): Likewise.
49497         * elf/dynamic-link.h (VERSYMIDX): Likewise.
49498         * elf/rtld.c (VALIDX): Likewise.
49499         (ADDRIDX): Likewise.
49500         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
49501         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
49502         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
49503         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
49504         (VALIDX): Likewise.
49505         (ADDRIDX): Likewise.
49507 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49509         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
49511 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
49513         [BZ #11438]
49514         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
49515         to global scope.
49516         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
49517         addresses are in the same scope as 192.0.2/24.
49518         * posix/gai.conf: Document new scope table defaults.
49520 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49522         [BZ #5298]
49523         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
49524         for ftell.  Compute offsets from write pointers instead.
49525         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49527 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49529         [BZ #14543]
49530         * libio/Makefile (tests): New test case tst-fseek.
49531         * libio/tst-fseek.c: New test case to verify that fseek/ftell
49532         combination works in wide mode.
49533         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
49534         state when the external buffer state changes.
49536 2012-09-27  David S. Miller  <davem@davemloft.net>
49538         [BZ #14376]
49539         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
49540         pass reloc->r_addend in as the 'high' argument to
49541         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
49543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49545 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49547         * rt/tst-aio2.c: Include <pthread.h>.
49548         * rt/tst-aio3.c: Likewise.
49550 2012-09-27  Steve Ellcey  <sellcey@mips.com>
49552         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
49554 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
49556         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
49557         contents on [SHARED].
49559 2012-09-26  Marek Polacek  <polacek@redhat.com>
49561         [BZ #14530]
49562         [BZ #13741]
49563         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
49564         for C++ and GCC <4.3 as well as for non GCC compilers.
49566 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49568         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49570 2012-09-25  Roland McGrath  <roland@hack.frob.com>
49572         * Makefile.in (all, install): Declare with .PHONY.
49573         Reported by Michael Hope <michael.hope@linaro.org>.
49575 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49577         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
49578         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
49579         system header.
49580         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
49581         Likewise.
49582         (sydep_routines): Add the new and the internal functions.
49583         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
49584         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
49585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
49586         (GLIBC_2.17): Add the new function.
49587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49588         (GLIBC_2.17): Likewise.
49589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
49590         (GLIBC_2.17): Likewise.
49591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
49592         (GLIBC_2.17): Likewise.
49593         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
49595 2012-09-25  Alan Modra  <amodra@gmail.com>
49597         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
49598         Add release barrier before setting once_control to say
49599         initialisation is done.  Add hints on lwarx.  Use macro in
49600         place of isync.
49601         (clear_once_control): Add release barrier.
49603 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49605         [BZ #13629]
49606         * math/s_clog.c (__clog): Handle more values close to |z| = 1
49607         specially.
49608         * math/s_clog10.c (__clog10): Likewise.
49609         * math/s_clog10f.c (__clog10f): Likewise.
49610         * math/s_clog10l.c (__clog10l): Likewise.
49611         * math/s_clogf.c (__clogf): Likewise.
49612         * math/s_clogl.c (__clogl): Likewise.
49613         * math/Makefile (libm-calls): Add x2y2m1.
49614         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
49615         (__x2y2m1): Likewise.
49616         (__x2y2m1l): Likewise.
49617         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
49618         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
49619         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
49620         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49621         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
49622         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
49623         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
49624         * sysdeps/i386/fpu/libm-test-ulps: Update.
49625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49627         [BZ #14621]
49628         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
49629         int as type of variable DEPTH.
49630         (glob): Use size_t instead of int as type of variables NEWCOUNT
49631         and OLD_PATHC.
49633 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49635         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49636         Add s_sincosf-sse2.
49637         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
49638         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
49639         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
49640         macros for using routine as __sincosf_ia32.
49641         Use macro for function declaration and weak_alias.
49642         * sysdeps/i386/fpu/libm-test-ulps: Update.
49644         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
49645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49647         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
49648         subnormal argument.
49649         * math/s_cexpf.c (__cexpf): Likewise.
49650         * math/s_csinf.c (__csinf): Likewise.
49651         * math/s_csinhf.c (__csinhf): Likewise.
49652         * math/s_ctanf.c (__ctanf): Likewise.
49653         * math/s_ctanhf.c (__ctanhf): Likewise.
49654         * math/s_ccosh.c (__ccoshf): Likewise.
49655         * math/s_cexp.c (__cexpl): Likewise.
49656         * math/s_csin.c (__csin): Likewise.
49657         * math/s_csinh.c (__csinh): Likewise.
49658         * math/s_ctan.c (__ctan): Likewise.
49659         * math/s_ctanh.c (ctanh): Likewise.
49660         * math/s_ccoshl.c (__ccoshl): Likewise.
49661         * math/s_cexpl.c (__cexpl): Likewise.
49662         * math/s_csinl.c (__csinl): Likewise.
49663         * math/s_csinhl.c (__csinhl): Likewise.
49664         * math/s_ctanl.c (__ctanl): Likewise.
49665         * math/s_ctanhl.c (__ctanhl): Likewise.
49667 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49669         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
49670         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
49671         (_IO_off_t): Define to __off_t, not _G_off_t.
49672         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
49673         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
49674         (_IO_wint_t): Define to wint_t, not _G_wint_t.
49675         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
49676         type of __dummy and __dummy2 fields.
49677         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
49678         (_G_ssize_t): Likewise.
49679         (_G_off_t): Likewise.
49680         (_G_pid_t): Likewise.
49681         (_G_uid_t): Likewise.
49682         (_G_wchar_t): Likewise.
49683         (_G_wint_t): Likewise.
49684         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
49685         (_G_ssize_t): Likewise.
49686         (_G_off_t): Likewise.
49687         (_G_pid_t): Likewise.
49688         (_G_uid_t): Likewise.
49689         (_G_wchar_t): Likewise.
49690         (_G_wint_t): Likewise.
49691         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
49692         (_G_ssize_t): Likewise.
49693         (_G_off_t): Likewise.
49694         (_G_pid_t): Likewise.
49695         (_G_uid_t): Likewise.
49696         (_G_wchar_t): Likewise.
49697         (_G_wint_t): Likewise.
49699 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49701         * malloc/arena.c: Include malloc-sysdep.h.
49702         (shrink_heap): Use check_may_shrink_heap to decide if madvise
49703         is sufficient to shrink the heap or an unmap is needed.
49704         * sysdeps/generic/malloc-sysdep.h: New file.  Define
49705         new function check_may_shrink_heap.
49706         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
49707         new function check_may_shrink_heap.
49709 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49711         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
49712         comments.
49714 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
49716         * catgets/test-gencat.sh: Add "set -e".
49717         * elf/tst-pathopt.sh: Likewise.
49718         * grp/tst_fgetgrent.sh: Likewise.
49719         * iconvdata/run-iconv-test.sh: Likewise.
49720         * intl/tst-gettext.sh: Likewise.
49721         * intl/tst-gettext2.sh: Likewise.
49722         * intl/tst-gettext4.sh: Likewise.
49723         * intl/tst-gettext6.sh: Likewise.
49724         * intl/tst-translit.sh: Likewise.
49725         * io/ftwtest-sh: Likewise.
49726         * libio/test-freopen.sh: Likewise.
49727         * malloc/tst-mtrace.sh: Likewise.
49728         * posix/globtest.sh: Likewise.
49729         * posix/tst-getconf.sh: Likewise.
49730         * posix/wordexp-tst.sh: Likewise.
49731         * stdio-common/tst-printf.sh: Likewise.
49732         * stdio-common/tst-unbputc.sh: Likewise.
49733         * stdlib/tst-fmtmsg.sh: Likewise.
49734         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49735         * catgets/Makefile: Do not specify -e option when running
49736         testsuite shell scripts.
49737         * elf/Makefile: Likewise.
49738         * grp/Makefile: Likewise.
49739         * iconvdata/Makefile: Likewise.
49740         * intl/Makefile: Likewise.
49741         * io/Makefile: Likewise.
49742         * libio/Makefile: Likewise.
49743         * malloc/Makefile: Likewise.
49744         * posix/Makefile: Likewise.
49745         * stdio-common/Makefile: Likewise.
49746         * stdlib/Makefile: Likewise.
49747         * sysdeps/x86_64/Makefile: Likewise.
49749         * io/ftwtest-sh: Add copyright header.
49750         * posix/globtest.sh: Likewise.
49751         * posix/tst-getconf.sh: Likewise.
49752         * posix/wordexp-tst.sh: Likewise.
49753         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49755 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
49757         [BZ #13679]
49758         * Makeconfig (+link): Defined as $(+link-static) if
49759         $(build-shared) isn't yes.
49760         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
49761         isn't yes.
49762         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
49764         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
49766         [BZ #14562]
49767         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
49768         new chunk size with MALLOC_ALIGN_MASK.
49770 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
49772         [BZ #5044]
49773         * stdio-common/printf_fphex.c: Include <stdbool.h> and
49774         <rounding-mode.h>.
49775         (__printf_fphex): Determine rounding using get_rounding_mode and
49776         round_away.
49777         * stdio-common/tst-printf-round.c (struct hex_test): New
49778         structure.
49779         (hex_tests): New variable.
49780         (test_hex_in_one_mode): New function.
49781         (do_test): Also run tests for hex float output.
49783 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
49785         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49786         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49787         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
49788         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49789         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49790         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
49791         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49792         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49794 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
49796         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
49797         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
49798         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
49799         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
49801 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
49803         [BZ #14579]
49804         * elf/rtld.c (dl_main): Limit the check for self loading to normal
49805         mode only.
49806         * elf/tst-rtld-load-self.sh: New test.
49807         * elf/Makefile: Run it.
49809 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
49811         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
49812         (tst-writev-ENV): Remove.
49813         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
49815 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
49817         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
49819 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
49821         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
49822         unconditional.
49823         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
49824         Likewise.
49825         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
49826         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
49827         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
49828         Likewise.
49830 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
49832         [BZ #14587]
49833         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
49834         * config.make.in (have-cpp-asm-debuginfo): Removed.
49835         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
49836         * configure: Regenerated.
49838 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
49840         [BZ #5044]
49841         * stdio-common/printf_fp.c: Include <stdbool.h> and
49842         <rounding-mode.h>.
49843         (___printf_fp): Determine rounding using get_rounding_mode and
49844         round_away.
49845         * stdio-common/tst-printf-round.c: New file.
49846         * stdio-common/Makefile (tests): Add tst-printf-round.
49847         (link-libm): New variable.
49848         ($(objpfx)tst-printf-round): Depend in $(link-libm).
49850 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
49852         [BZ #14576]
49853         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
49854         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
49855         Likewise.
49856         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
49857         Likewise.
49859 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
49861         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
49862         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49863         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49864         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49866 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
49868         [BZ #14518]
49869         * include/rounding-mode.h: New file.
49870         * sysdeps/generic/get-rounding-mode.h: Likewise.
49871         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
49872         * stdlib/strtod_l.c: Include <rounding-mode.h>.
49873         (MAX_VALUE): New macro.
49874         (MIN_VALUE): Likewise.
49875         (overflow_value): New function.
49876         (underflow_value): Likewise.
49877         (round_and_return): Use overflow_value and underflow_value to
49878         determine return values in overflow and underflow cases.  Use
49879         round_away to determine rounding depending on rounding mode.
49880         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
49881         determine return values in overflow and underflow cases.
49882         * stdlib/tst-strtod-round.c: Include <fenv.h>.
49883         (struct test_results): New structure.
49884         (struct test): Use struct test_results to store expected results
49885         for all rounding modes.
49886         (TEST): Include expected results for all rounding modes.
49887         (test_in_one_mode): New function.
49888         (do_test): Use test_in_one_mode to compute and check results.
49889         Check results for all rounding modes.
49890         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
49891         $(link-libm).
49893 2012-12-09  Allan McRae  <allan@archlinux.org>
49895         * sysdeps/i386/fpu/libm-test-ulps: Update
49897 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
49899         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
49900         (_G_int32_t): Likewise.
49901         (_G_uint16_t): Likewise.
49902         (_G_uint32_t): Likewise.
49903         (_G_HAVE_BOOL): Likewise.
49904         (_G_HAVE_ATEXIT): Likewise.
49905         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49906         (_G_HAVE_IO_FILE_OPEN): Likewise.
49907         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
49908         (_G_int32_t): Likewise.
49909         (_G_uint16_t): Likewise.
49910         (_G_uint32_t): Likewise.
49911         (_G_HAVE_BOOL): Likewise.
49912         (_G_HAVE_ATEXIT): Likewise.
49913         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49914         (_G_HAVE_IO_FILE_OPEN): Likewise.
49915         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
49916         (_G_int32_t): Likewise.
49917         (_G_uint16_t): Likewise.
49918         (_G_uint32_t): Likewise.
49919         (_G_HAVE_BOOL): Likewise.
49920         (_G_HAVE_ATEXIT): Likewise.
49921         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49922         (_G_HAVE_IO_FILE_OPEN): Likewise.
49924 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
49926         * csu/libc-tls.c: Update copyright years.
49928 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
49930         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
49931         [!_G_USING_THUNKS]: Remove conditional code.
49932         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
49933         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
49935         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
49936         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
49937         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49938         (_G_VTABLE_LABEL_PREFIX): Likewise.
49939         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49940         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49941         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49942         (_G_VTABLE_LABEL_PREFIX): Likewise.
49943         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49944         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49945         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49946         (_G_VTABLE_LABEL_PREFIX): Likewise.
49947         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49949 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
49951         * libio/Makefile: Include ../Makeconfig before tests.
49952         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
49953         only if $(build-shared) is yes.
49955         * iconv/gconv_db.c: Update copyright years.
49957 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49959         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
49960         unwind info if defined PIC. Fix special cases description.
49961         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
49963         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
49964         DP_HI_MASK entry.
49965         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
49967 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
49969         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
49971         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
49972         is NULL.
49974         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
49975         (LDLIBS-tst-chk4): This.
49976         (LDFLAGS-tst-chk5): Renamed to ...
49977         (LDLIBS-tst-chk5): This.
49978         (LDFLAGS-tst-chk6): Renamed to ...
49979         (LDLIBS-tst-chk6): This.
49980         (LDFLAGS-tst-lfschk4): Renamed to ...
49981         (LDLIBS-tst-lfschk4): This.
49982         (LDFLAGS-tst-lfschk5): Renamed to ...
49983         (LDLIBS-tst-lfschk5): This.
49984         (LDFLAGS-tst-lfschk6): Renamed to ...
49985         (LDLIBS-tst-lfschk6): This.
49987         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
49988         on $(common-objpfx)soversions.mk.
49990 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
49992         [BZ #10014]
49993         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
49994         example host name.
49996 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49998         * malloc/arena.c (arena_get_retry): New function that gets
49999         another arena for the caller to try its request on.
50000         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
50001         current arena cannot fulfill the request.
50002         (__libc_memalign): Likewise.
50003         (__libc_memalign): Likewise.
50004         (__libc_pvalloc): Likewise.
50005         (__libc_calloc): Likewise.
50007 2012-09-05  John Tobey  <john.tobey@gmail.com>
50009         [BZ #13542]
50010         * manual/arith.texi (Operations on Complex): Fix description
50011         of carg branch cut.
50013 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50015         [BZ #10014]
50016         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
50017         host name.
50019         [BZ #10038]
50020         * manual/memory.texi (Memory): Make order of menu items match
50021         order of sections.
50023 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50025         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
50026         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
50027         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
50029 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50031         * csu/libc-tls.c (static_dtv): Renamed to ...
50032         (_dl_static_dtv): This.  Make it global.
50033         (_dl_initial_dtv): Removed.
50034         (__libc_setup_tls): Updated.
50035         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
50036         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
50037         DL_INITIAL_DTV.
50039 2012-09-06  Petr Machata  <pmachata@redhat.com>
50041         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
50042         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
50043         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
50044         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
50046 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50048         [BZ #14545]
50049         * csu/libc-tls.c (_dl_initial_dtv): New variable.
50050         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
50051         freeing dtv[-1].
50053 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50055         [BZ #14544]
50056         * Makeconfig (link-static-before-libc): Replace $(+prector)
50057         with $(+prectorT).
50058         (link-static-after-libc): Replace $(+postctor) with
50059         $(+postctorT).
50060         (link-bounded): Replace $(+prector)/$(+postctor) with
50061         $(+prectorT)/$(+postctorT).
50062         (+prectorT): New macro.
50063         (+postctorT): Likewise.
50065 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50067         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
50068         (round_str): Handle values above the maximum for IBM long double
50069         as inexact.
50070         * stdlib/tst-strtod-round.c (tests): Regenerated.
50072 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50074         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
50075         assembler flag.
50076         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
50077         zarch_nohighgprs around the zarch optimized routines.
50078         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
50079         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
50080         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
50081         for zarch.
50083 2012-09-05  David S. Miller  <davem@davemloft.net>
50085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50087         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
50088         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
50089         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
50090         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50091         entries.
50093 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50095         * malloc/arena.c: Fold copyright years.
50096         * malloc/mcheck.c, malloc/memusage.c: Likewise.
50098 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50100         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
50102 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50104         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
50106 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50108         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
50109         change internal state upon failure.
50111 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50113         * malloc/mcheck.c (mcheck_check_all): Fix typo.
50114         * malloc/memusage.c (mmap): Likewise.
50115         (mmap64, mremap): Likewise.  Adjust name in comment.
50117 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50119         * libio/fileops.c: Fix typos in comments.
50120         * libio/oldfileops.c: Likewise.
50121         * libio/wfileops.c: Likewise.
50123 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50125         [BZ #1349]
50126         * malloc/Makefile (tests): Add tst-malloc-usable test case.
50127         (tst-malloc-usable-ENV): Set environment for test case.
50128         * malloc/hooks.c (malloc_check_get_size): New function to get
50129         requested size.
50130         * malloc/malloc.c (musable): Use malloc_check_get_size.
50131         * malloc/tst-malloc-usable.c: New test case.
50133 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50135         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
50137 2012-09-05  Allan McRae  <allan@archlinux.org>
50139         [BZ #13966]
50140         * configure.in (CXX_SYSINCLUDES): Use compiler output to
50141         determine header location.
50142         * configure: Regenerated.
50144 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50146         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
50147         float format.
50148         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
50149         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
50150         format.
50151         (test): Regenerate.
50153 2012-09-04  David S. Miller  <davem@davemloft.net>
50155         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
50156         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
50157         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
50159 2012-09-04  Florian Weimer  <fweimer@redhat.com>
50161         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
50162         failures.
50164         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
50166 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
50168         [BZ #9914]
50169         * libio/iogetdelim.c: Include <limits.h>.
50170         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
50171         + len + 1 would overflow.
50173 2012-09-03  Andreas Jaeger  <aj@suse.de>
50175         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50176         * sysdeps/i386/fpu/libm-test-ulps: Update.
50178 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50180         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50181         Add s_sinf-sse2, s_conf-sse2.
50183         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
50184         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
50185         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
50186         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
50188         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
50189         for using routine as __sinf_ia32.
50190         Use macro for function declaration and weak_alias.
50191         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
50192         for using routine as __cosf_ia32.
50193         Use macro for function declaration and weak_alias.
50195         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
50196         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
50198         * sysdeps/x86_64/fpu/s_sinf.S: New file.
50199         * sysdeps/x86_64/fpu/s_cosf.S: New file.
50200         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50202         * math/libm-test.inc (cos_test): Add more test cases.
50203         (sin_test): Likewise.
50204         (sincos_test): Likewise.
50206 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50208         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
50209         (IFUNC_RESOLVE): Make pointers to the specialized implementations
50210         hidden.
50211         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50213 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
50215         [BZ #14538]
50216         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
50217         first element of the GOT.
50218         (elf_machine_load_address): Return the difference between
50219         the runtime address of _DYNAMIC and elf_machine_dynamic ().
50221 2012-09-01  Allan McRae  <allan@archlinux.org>
50223         [BZ #13412]
50224         * configure.in (AWK): Require gawk version 3.0 or later.
50225         * configure: Regenerated.
50227 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
50229         * sysdeps/unix/sysv/linux/kernel-features.h
50230         (__ASSUME_POSIX_CPU_TIMERS): Remove.
50231         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50232         [__NR_clock_getres]: Make code unconditional.
50233         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
50234         (clock_getcpuclockid): Remove code left unreachable by removal of
50235         conditionals.
50236         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
50237         code unconditional.
50238         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50239         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50240         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
50241         Make code unconditional.
50242         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50243         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50244         * sysdeps/unix/sysv/linux/clock_settime.c
50245         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
50246         conditional code.
50247         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
50248         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50250 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
50252         [BZ #14476]
50253         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
50254         scripts/test-installation.pl.
50256         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
50257         and $ld_so_version if it is set.
50259 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50261         [BZ #14516]
50262         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
50263         failure if reading from procfs failed.
50264         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
50266 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50268         * sysdeps/unix/sysv/linux/kernel-features.h
50269         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
50270         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50271         Remove conditional code.
50272         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50273         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
50274         Remove conditional code.
50275         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50276         * sysdeps/unix/sysv/linux/i386/fxstat.c
50277         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50278         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50279         * sysdeps/unix/sysv/linux/i386/fxstatat.c
50280         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50281         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50282         * sysdeps/unix/sysv/linux/i386/lxstat.c
50283         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50284         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50285         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
50286         Remove conditional code.
50287         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50288         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50289         Remove conditional code.
50290         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50291         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
50292         <kernel-features.h>.
50293         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
50294         Remove.
50295         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
50296         Remove conditional code.
50297         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50298         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
50299         Remove conditional.
50301 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
50303         [BZ #5400]
50304         * NEWS: Add fixed bug number.
50306 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50308         [BZ #14519]
50309         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
50310         underflowing exponent in case of negative sign.
50311         * stdlib/tst-strtod-round-data: Add more tests.
50312         * stdlib/tst-strtod-round.c (tests): Regenerated.
50314         [BZ #3479]
50315         * stdlib/strtod_l.c (NDIG): Remove.
50316         (HEXNDIG): Likewise.
50317         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
50318         smallest representable value.
50319         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
50320         lie within an exact representation of 1/2 ulp of the result.
50321         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
50322         unconditionally.
50323         (TENS_P9_IDX): Define unconditionally.
50324         (TENS_P9_SIZE): Likewise.
50325         (TENS_P10_IDX): Likewise.
50326         (TENS_P10_SIZE): Likewise.
50327         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
50328         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
50329         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
50330         entries for 10^2^13 and 10^2^14.
50331         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
50332         (TENS_P13_IDX): Define.
50333         (TENS_P13_SIZE): Likewise.
50334         (TENS_P14_IDX): Likewise.
50335         (TENS_P14_SIZE): Likewise.
50336         (_fpioconst_pow10): Change array size to
50337         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
50338         unconditional.
50339         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
50340         1024]: Add entries for 10^2^13 and 10^2^14.
50341         [LAST_POW10 > _LAST_POW10]: Remove #error.
50342         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
50343         (_fpioconst_pow10): Change array size to
50344         FPIOCONST_POW10_ARRAY_SIZE.
50345         * stdlib/gen-fpioconst.c: New file.
50346         * stdlib/gen-tst-strtod-round.c: Likewise.
50347         * stdlib/tst-strtod-round-data: Likewise.
50348         * stdlib/tst-strtod-round.c: Likewise.
50349         * stdlib/Makefile (tests): Add tst-strtod-round.
50351         [BZ #14459]
50352         * stdlib/strtod_l.c: Include <stdint.h>.
50353         (NDEBUG): Do not define.
50354         (round_and_return): Change EXPONENT parameter to type intmax_t.
50355         Rearrange calculations to avoid internal overflow possibilities.
50356         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
50357         Rearrange calculations to avoid internal overflow possibilities.
50358         Assert that number fits inside MPNSIZE limbs.
50359         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
50360         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
50361         calculations and add assertions to avoid internal overflow
50362         possibilities.  Add casts to avoid signed/unsigned operations.
50363         * stdlib/tst-strtod-overflow.c: New file.
50364         * stdlib/Makefile (tests): Add tst-strtod-overflow.
50366 2012-08-25  Marek Polacek  <polacek@redhat.com>
50368         * time/time.h: Fix some typos in comments.
50370 2012-08-23  Roland McGrath  <roland@hack.frob.com>
50372         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
50373         * posix/tst-rfc3484-2.c: Likewise.
50374         * posix/tst-rfc3484-3.c: Likewise.
50376 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
50378         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
50379         (EF_ARM_ABI_FLOAT_HARD): Likewise.
50381 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
50383         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
50384         #include of fxstatat64.c.
50386 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50388         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
50389         * shadow/getspent_r.c: Likewise.
50390         * shadow/getspnam.c: Likewise.
50391         * shadow/getspnam_r.c: Likewise.
50392         * gshadow/getsgent.c: Likewise.
50393         * gshadow/getsgent_r.c: Likewise.
50394         * gshadow/getsgnam.c: Likewise.
50395         * gshadow/getsgnam_r.c: Likewise.
50396         * inet/getnetbyad.c: Likewise.
50397         * inet/getnetbyad_r.c: Likewise.
50398         * inet/getnetbynm.c: Likewise.
50399         * inet/getnetbynm_r.c: Likewise.
50400         * inet/getnetent.c: Likewise.
50401         * inet/getnetent_r.c: Likewise.
50402         * inet/getproto.c: Likewise.
50403         * inet/getproto_r.c: Likewise.
50404         * inet/getprtent.c: Likewise.
50405         * inet/getprtent_r.c: Likewise.
50406         * inet/getprtname.c: Likewise.
50407         * inet/getprtname_r.c: Likewise.
50408         * inet/getrpcbyname.c: Likewise.
50409         * inet/getrpcbyname_r.c: Likewise.
50410         * inet/getrpcbynumber.c: Likewise.
50411         * inet/getrpcbynumber_r.c: Likewise.
50412         * inet/getrpcent.c: Likewise.
50413         * inet/getrpcent_r.c: Likewise.
50414         * inet/getaliasent.c: Likewise.
50415         * inet/getaliasent_r.c: Likewise.
50416         * inet/getaliasname.c: Likewise.
50417         * inet/getaliasname_r.c: Likewise.
50418         * nscd/getgrgid_r.c: Likewise.
50419         * nscd/getgrnam_r.c: Likewise.
50420         * nscd/gethstbyad_r.c: Likewise.
50421         * nscd/gethstbynm3_r.c: Likewise.
50422         * nscd/getpwnam_r.c: Likewise.
50423         * nscd/getpwuid_r.c: Likewise.
50424         * nscd/getsrvbynm_r.c: Likewise.
50425         * nscd/getsrvbypt_r.c: Likewise.
50426         * nscd/gai.c: Likewise.
50428         * configure.in (build_nscd): New substituted variable, set
50429         by --disable-build-nscd and defaults to $use_nscd.
50430         * configure: Regenerated.
50431         * config.make.in (build-nscd): New substituted variable.
50432         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
50433         Change conditional to require [$(build-nscd) = yes] as well.
50434         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
50436         [BZ# 13696]
50437         * configure.in (use_nscd): New substituted variable, set by
50438         --disable-nscd.  If enabled, define USE_NSCD.
50439         * configure: Regenerated.
50440         * config.h.in: Add USE_NSCD.
50441         * config.make.in (use-nscd): New substituted variable.
50442         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
50443         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
50444         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
50445         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
50446         (CFLAGS-getgrnam_r.c): Likewise.
50447         (CFLAGS-initgroups.c): Likewise.
50448         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
50449         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
50450         Variables removed.
50451         * inet/getnetgrent_r.c
50452         (nscd_setnetgrent): New function, broken out of ...
50453         (setnetgrent): ... here.  Call it.
50454         (innetgr): Conditionalize nscd bits on [USE_NSCD].
50455         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
50456         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
50457         * nscd/Makefile (routines, aux): Move definitions after include of
50458         Makeconfig.  Conditionalize on [$(use-nscd) != no].
50459         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
50460         Conditionalize on [USE_NSCD].
50461         (is_nscd, nscd_init_cb): Likewise.
50462         (nss_load_library): Conditionalize init callback on [USE_NSCD].
50463         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
50464         * nss/nss_db/db-init.c: Likewise.
50465         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
50466         [USE_NSCD].
50467         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
50468         (make_request): Use it.
50469         (cache_valid_p): New function.
50470         (__check_pf): Use it.
50471         * NEWS: Add item for --disable-nscd.
50473 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
50475         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
50476         to support sed >= 4.2.1-20-ga9bf076.
50477         * configure: Regenerated.
50479 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50481         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
50482         Conditionalize whole body on [IREL].
50484 2012-08-22  Jeff Law <law@redhat.com>
50486         [BZ #14505]
50487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
50488         if the family is PF_UNSPEC.
50490 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
50492         * Makerules (lib-version): Rename from V.
50493         (install-lib-nosubdir): Change V to lib-version.
50495 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
50497         [BZ #14252]
50498         * powerpc32/power6/wcschr.c: New file.
50499         * powerpc32/power6/wcscpy.c: New file.
50500         * powerpc32/power6/wcsrchr.c: New file.
50501         * powerpc64/power6/wcschr.c: New file.
50502         * powerpc64/power6/wcscpy.c: New file.
50503         * powerpc64/power6/wcsrchr.c: New file.
50505 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50507         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
50508         (two_way_short_needle): Use it.
50509         * string/strstr.c (AVAILABLE1_USES_J): Define.
50510         * string/strcasestr.c: Likewise.
50512         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
50513         array references.
50514         * string/strcasestr.c (TOLOWER): Make side-effect safe.
50516         [BZ #11607]
50517         * NEWS: Add an entry.
50518         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
50519         define their defaults.
50520         (two_way_short_needle): Detect end-of-string on-the-fly.
50521         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
50522         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
50523         * string/bug-strcasestr1.c: New test.
50524         * string/Makefile: Run it.
50526 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50528         [BZ #11607]
50529         * string/str-two-way.h (two_way_short_needle): Optimize matching of
50530         the first character.
50532 2012-08-21  Roland McGrath  <roland@hack.frob.com>
50534         * csu/elf-init.c (__libc_csu_irel): Function removed.
50535         * csu/libc-start.c (apply_irel): New function.
50536         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
50538 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
50540         * sysdeps/unix/sysv/linux/kernel-features.h
50541         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
50542         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50543         <kernel-features.h>.
50544         [__NR_fadvise64_64]: Make code unconditional.
50545         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
50546         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50547         !__NR_fadvise64_64)]: Likewise.
50548         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50549         !__NR_fadvise64_64))]: Likewise.
50550         [__NR_fadvise64]: Make code unconditional.
50551         [!__NR_fadvise64]: Remove conditional code.
50552         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
50553         <kernel-features.h>.
50554         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50555         unconditional.
50556         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50557         conditional code.
50558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
50559         not include <kernel-features.h>.
50560         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50561         unconditional.
50562         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50563         conditional code.
50564         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
50565         include <kernel-features.h>.
50566         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50567         unconditional.
50568         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50569         conditional code.
50571 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50573         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
50574         slight instruction rearrangements per scrollpipe analysis.
50575         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50577 2012-08-20  Roland McGrath  <roland@hack.frob.com>
50579         * manual/syslog.texi (syslog; vsyslog, closelog):
50580         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
50581         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
50583         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
50584         DSOCAPS to match condition on defining it.
50586 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
50588         * sysdeps/unix/sysv/linux/kernel-features.h
50589         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
50590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
50591         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50592         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
50594         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50595         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
50597         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50598         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50600         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
50601         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
50603         * sysdeps/unix/sysv/linux/kernel-features.h
50604         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
50605         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
50606         unconditional.
50607         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50608         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
50609         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50610         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50611         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
50612         Make code unconditional.
50613         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50614         (__mmap64) [!__NR_mmap2]: Likewise.
50615         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
50616         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50617         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50618         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
50619         [__NR_mmap2]: Make code unconditional.
50620         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50621         (__mmap64) [!__NR_mmap2]: Likewise.
50623 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50625         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
50627 2012-08-18  Andreas Jaeger  <aj@suse.de>
50629         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
50631 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50633         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
50634         * include/unistd.h (__have_sock_cloexec): Likewise.
50635         (__have_pipe2): Likewise.
50636         (__have_dup3): Likewise.
50638 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50640         [BZ #9685]
50641         * include/unistd.h (__have_pipe2): Change define into an extern int.
50642         (__have_dup3): Likewise.
50643         * socket/have_sock_cloexec.c: Include fcntl.h.
50644         (__have_pipe2): New variable.
50645         (__have_dup3): Likewise.
50647 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
50649         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
50651 2012-08-17  Marek Polacek  <polacek@redhat.com>
50653         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
50654         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
50656 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50658         * configure.in: Add AC_SUBST for sysheaders.
50659         * configure: Regenerated.
50660         * config.make.in (sysheaders): New substituted variable.
50662         * sysdeps/unix/mkfifo.c: Moved ...
50663         * sysdeps/posix/mkfifo.c: ... here.
50664         * sysdeps/unix/mkfifoat.c: Moved ...
50665         * sysdeps/posix/mkfifoat.c: ... here.
50667         * sysdeps/unix/utime.c: Moved ...
50668         * sysdeps/posix/utime.c: ... here.
50670         * sysdeps/unix/time.c: Moved ...
50671         * sysdeps/posix/time.c: ... here.
50672         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
50673         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
50675         * sysdeps/unix/nice.c: Moved ...
50676         * sysdeps/posix/nice.c: ... here.
50678         * sysdeps/unix/alarm.c: Moved ...
50679         * sysdeps/posix/alarm.c: ... here.
50681         * intl/Makefile ($(codeset_mo)): Depend on the input file.
50683 2012-08-17  Jeff Law <law@redhat.com>
50685         * intl/Makefile (codeset_mo): New variable.
50686         ($(codeset_mo)): New target.
50687         (tst-codeset.out): Depend on that.  Remove explicit rule.
50688         (tst-gettext3.out, tst-gettext5.out): Likewise.
50689         (LOCPATH-ENV, tst-codeset-ENV): New variables.
50690         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
50691         * intl/tst-codeset.sh: Remove.
50692         * intl/tst-gettext3.sh: Likewise.
50693         * intl/tst-gettext5.sh: Likewise.
50695 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50697         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
50698         * sysdeps/unix/syscalls.list: ... here.
50700         * sysdeps/posix/getaddrinfo.c
50701         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
50702         (gaiconf_init, gaiconf_reload): Use them.
50703         [!_STATBUF_ST_NSEC]
50704         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
50705         Define using time_t rather than struct timespec.
50707         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
50708         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
50709         Macros removed.
50710         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
50711         [!NO_THREADS].
50712         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
50713         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
50714         Likewise.
50716         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
50717         __libc_cleanup_push argument.
50719         * bits/param.h: New file.
50720         * misc/sys/param.h: New file.
50721         * include/sys/param.h: New file.
50722         * misc/Makefile (headers): Add bits/param.h.
50723         * sysdeps/generic/sys/param.h: File removed.
50724         * sysdeps/unix/sysv/linux/bits/param.h: New file.
50725         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
50726         * sysdeps/mach/hurd/bits/param.h: New file.
50727         * sysdeps/mach/hurd/sys/param.h: File removed.
50729         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
50730         last change.
50732         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
50733         [_IO_MTSAFE_IO].
50734         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
50735         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
50736         New macros.
50738         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
50739         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
50740         rather than -D_IO_MTSAFE_IO conditionally.
50741         * stdio-common/Makefile (CPPFLAGS): Likewise.
50742         * wcsmbs/Makefile (CPPFLAGS): Likewise.
50743         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
50744         Use $(libio-mtsafe).
50745         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
50746         of -D_IO_MTSAFE_IO.
50747         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
50748         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
50749         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
50750         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
50751         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
50752         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
50753         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
50754         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
50755         (CFLAGS-fread_u_chk.c): Likewise.
50756         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
50757         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
50758         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
50759         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
50760         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
50761         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
50762         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
50763         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
50764         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
50766         * libio/Makefile: Test [$(libc-reentrant) = yes]
50767         instead of [$(filter %REENTRANT, $(defines)) nonempty].
50769         * Makeconfig
50770         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
50771         * sysdeps/pthread/configure: File removed.
50772         * sysdeps/pthread/Makeconfig: New file.
50773         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
50774         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
50776 2012-08-16  Gary Benson  <gbenson@redhat.com>
50778         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
50779         unmapping the first object in a namespace.
50781 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50783         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
50784         (__internal_setnetgrent): ... this.  Add internal_function to
50785         definition.  Add libc_hidden_def.
50786         (setnetgrent): Update caller.
50787         (internal_endnetgrent): Renamed to ...
50788         (__internal_endnetgrent): ... this.  Add internal_function to
50789         definition.  Add libc_hidden_def.
50790         (endnetgrent): Update caller.
50791         (internal_getnetgrent_r): Renamed to ...
50792         (__internal_getnetgrent_r): ... this.  Add internal_function to
50793         definition.  Add libc_hidden_def.
50794         (__getnetgrent_r): Update caller.
50795         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
50797 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50799         * stdlib/longlong.h: Update from GCC.
50801 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50803         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
50804         on _QL, which is set by umul_ppmm but never used.
50805         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
50806         variables, which are set by GMP macros but never used.
50807         * stdio-common/_itowa.c (_itowa): Likewise.
50808         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
50809         * stdlib/mod_1.c (mpn_mod_1): Likewise.
50811 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
50813         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
50814         struct La_sh_regs is not constant.
50815         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
50816         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
50817         and struct La_sparc64_regs are not constant.
50819 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50821         * sysdeps/unix/sysv/linux/kernel-features.h
50822         (__ASSUME_POSIX_TIMERS): Remove.
50823         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50824         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50825         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
50826         Make code unconditional.
50827         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50828         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
50829         Make code unconditional.
50830         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50831         * sysdeps/unix/sysv/linux/clock_nanosleep.c
50832         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
50833         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50834         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
50835         Make code unconditional.
50836         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50837         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
50838         (__libc_missing_posix_timers): Remove.
50840 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50842         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
50843         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
50845         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
50847         * elf/dl-sym.c: Include <stdlib.h>.
50849         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
50850         constants, which avoids warnings in 32-bit builds.
50852         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
50853         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
50855         * misc/lseek.c: File moved to ...
50856         * io/lseek.c: ... here.
50858         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
50860         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
50861         shifting LEN more than 31 bits at once.
50863 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50865         [BZ #14195]
50866         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
50867         segmentation fault for a case of two empty input strings.
50868         * string/test-strncasecmp.c (check1): Renamed to...
50869         (bz12205): ...this.
50870         (bz14195): Add new testcase for two empty input strings and N > 0.
50871         (test_main): Call new testcase, adapt for renamed function.
50873 2012-08-15  Andreas Jaeger  <aj@suse.de>
50875         [BZ #14090]
50876         * crypt/md5test2.c: New test, based on test supplied by Serge
50877         Belyshev <belyshev@depni.sinp.msu.ru>.
50878         * crypt/Makefile (xtests): Add md5test-giant..
50879         * crypt/Makefile ($(objpfx)md5test-giant): Add.
50881 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
50883         [BZ #14090]
50884         * crypt/md5.c (md5_process_block): Don't assume the buffer
50885         length is less than 2**32.
50886         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
50887         length is less than 2**64.
50889 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50891         * string/str-two-way.h: Include <sys/param.h>.
50892         (MAX): Macro removed.
50894         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
50895         Move #define and #undef of memmove to just before and after
50896         including <string.h>.
50898         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
50899         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
50900         and after including <string.h>.  Move declarations of
50901         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
50902         to before #include "string/memmove.c".
50904         * include/dirent.h: Declare __getdirentries.
50906         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
50907         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
50909 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
50911         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
50912         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
50913         * sysdeps/i386/configure: Regenerated.
50914         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
50915         STABS_CURRENT_FILE, and STABS_FUN.
50916         (END): Remove call to STABS_FUN_END.
50917         (STABS_CURRENT_FILE1): Delete.
50918         (STABS_CURRENT_FILE): Likewise.
50919         (STABS_FUN): Likewise.
50920         (STABS_FUN_END): Likewise.
50921         (STABS_FUN2): Likewise.
50922         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
50923         * sysdeps/x86_64/configure: Regenerated.
50925 2012-08-14  Roland McGrath  <roland@hack.frob.com>
50927         * elf/dl-open.c: Include <atomic.h>.
50928         * elf/dl-lookup.c: Likewise.
50930 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
50932         * sysdeps/unix/sysv/linux/kernel-features.h
50933         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
50934         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
50935         unconditionally.
50936         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
50937         unconditionally.
50938         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
50939         condition on __ASSUME_CLONE_THREAD_FLAGS.
50941 2012-08-14  Andreas Jaeger  <aj@suse.de>
50943         * sysdeps/i386/fpu/libm-test-ulps: Update.
50945 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
50947         * include/atomic.h (atomic_exchange_and_add): Split into ...
50948         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
50949         New atomic macros.
50951 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
50953         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50955 2012-08-13  Jeff Law <law@redhat.com>
50957         * manual/stdio.texi (snprintf): Clarify handling of the trailing
50958         null byte in the output string.
50960 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
50962         * sysdeps/unix/sysv/linux/kernel-features.h
50963         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
50964         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
50965         (__ASSUME_ARG_MAX_STACK_BASED): Define.
50966         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50967         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
50968         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
50969         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
50971 2012-08-09  Jeff Law <law@redhat.com>
50973         [BZ #13939]
50974         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
50975         When avoid_arena is set, don't retry in the that arena.  Pick the
50976         next one, whatever it might be.
50977         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
50978         (arena_lock): Pass in new parameter to arena_get2.
50979         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
50980         arena_get2.
50981         (__libc_malloc): Unify retrying after main arena failure with
50982         __libc_memalign version.
50983         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
50985 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
50987         [BZ #14166]
50988         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
50989         to __redirect_strstr.
50990         (__strstr_sse42): Use typeof __redirect_strstr.
50991         (__strstr_ia32): Likewise.
50992         (__libc_strstr): New prototype.
50993         (strstr): Renamed to ...
50994         (__libc_strstr): This.
50995         (strstr): New strong alias of __libc_strstr.
50996         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50997         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
50998         __redirect_time.
50999         Include <time.h>.
51000         (__libc_time): New prototype.
51001         (time_ifunc): Replace time with __libc_time.
51002         (time): New strong alias and hidden definition of __libc_time.
51003         (__GI_time): Remove strong alias.
51004         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
51005         Include <stddef.h>.
51006         (memmove): Redefined to __redirect_memmove.
51007         (__memmove_sse2): Use typeof __redirect_memmove.
51008         (__memmove_ssse3): Likewise.
51009         (__memmove_ssse3_back): Likewise.
51010         (__libc_memmove): New prototype.
51011         (memmove): Renamed to ...
51012         (__libc_memmove): This.
51013         (memmove): New strong alias of __libc_memmove.
51015 2012-08-08  Mark Salter  <msalter@redhat.com>
51017         * elf/elf.h
51018         (R_MN10300_TLS_GD): Define.
51019         (R_MN10300_TLS_LD): Likewise.
51020         (R_MN10300_TLS_LDO): Likewise.
51021         (R_MN10300_TLS_GOTIE): Likewise.
51022         (R_MN10300_TLS_IE): Likewise.
51023         (R_MN10300_TLS_LE): Likewise.
51024         (R_MN10300_TLS_DTPMOD): Likewise.
51025         (R_MN10300_TLS_DTPOFF): Likewise.
51026         (R_MN10300_TLS_TPOFF): Likewise.
51027         (R_MN10300_SYM_DIFF): Likewise.
51028         (R_MN10300_ALIGN): Likewise.
51029         (R_MN10300_NUM): Update.
51031 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
51033         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
51034         Remove.
51036 2012-08-08  Roland McGrath  <roland@hack.frob.com>
51038         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
51040         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
51041         sysdeps/unix -> sysdeps/posix move.
51042         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51044 2012-08-07      Allan McRae     <allan@archlinux.org>
51046         [BZ #14303]
51047         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
51048         (SUNOS_CPP): Likewise.
51049         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
51050         not found.
51051         (open_input): Call CPP using execvp.
51053 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51055         * sysdeps/unix/sysv/linux/kernel-features.h
51056         (__ASSUME_PROT_GROWSUPDOWN): Remove.
51057         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51058         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51059         (__ASSUME_WAITID_SYSCALL): Likewise.
51060         * sysdeps/unix/sysv/linux/dl-execstack.c
51061         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
51062         code unconditional.
51063         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
51064         conditional code.
51065         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
51066         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
51067         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
51068         code.
51069         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
51070         unconditional.
51071         [__ASSUME_WAITID_SYSCALL]: Likewise.
51072         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
51074 2012-08-07  Roland McGrath  <roland@hack.frob.com>
51076         * sysdeps/unix/closedir.c: Renamed to ...
51077         * sysdeps/posix/closedir.c: ... here.
51078         * sysdeps/unix/dirfd.c: Renamed to ...
51079         * sysdeps/posix/dirfd.c: ... here.
51080         * sysdeps/unix/dirstream.h: Renamed to ...
51081         * sysdeps/posix/dirstream.h: ... here.
51082         * sysdeps/unix/fdopendir.c: Renamed to ...
51083         * sysdeps/posix/fdopendir.c: ... here.
51084         * sysdeps/unix/opendir.c: Renamed to ...
51085         * sysdeps/posix/opendir.c: ... here.
51086         * sysdeps/unix/readdir.c: Renamed to ...
51087         * sysdeps/posix/readdir.c: ... here.
51088         * sysdeps/unix/readdir_r.c: Renamed to ...
51089         * sysdeps/posix/readdir_r.c: ... here.
51090         * sysdeps/unix/rewinddir.c: Renamed to ...
51091         * sysdeps/posix/rewinddir.c: ... here.
51092         * sysdeps/unix/seekdir.c: Renamed to ...
51093         * sysdeps/posix/seekdir.c: ... here.
51094         * sysdeps/unix/telldir.c: Renamed to ...
51095         * sysdeps/posix/telldir.c: ... here.
51096         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
51097         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
51098         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
51099         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
51101         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
51102         * bits/fcntl.h: ... here.
51104         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
51105         not 0.
51106         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
51107         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
51108         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
51109         (struct flock): Move l_start, l_len to the beginning.
51110         Use __pid_t for l_pid.
51111         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
51112         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
51113         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
51114         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
51115         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
51116         [__USE_LARGEFILE64] (struct flock64): New type.
51117         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
51119         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
51120         * bits/dirent.h: ... here.
51122         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
51123         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
51125 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51127         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51128         Change from 2.6.0 to 2.6.16.
51129         * sysdeps/unix/sysv/linux/configure: Regenerated.
51130         * sysdeps/unix/sysv/linux/kernel-features.h
51131         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
51132         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
51133         version.
51134         (__ASSUME_UTIMES): Likewise.
51135         (__ASSUME_CLONE_STOPPED): Remove.
51136         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
51137         architectures, not kernel version.
51138         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
51139         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51140         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51141         (__ASSUME_WAITID_SYSCALL): Likewise.
51142         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
51143         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
51144         * README: State 2.6.16 as minimum Linux kernel version.  Do not
51145         refer to older versions.
51147 2012-08-06  Roland McGrath  <roland@hack.frob.com>
51149         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
51150         Define alphasort64 as an alias.
51151         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
51152         Define versionsort64 as an alias.
51153         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
51154         Define scandir64 as an alias.
51155         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
51156         Define scandirat64 as an alias.
51157         * dirent/alphasort64.c (alphasort64):
51158         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
51159         * dirent/versionsort64.c: Likewise.
51160         * dirent/scandir64.c: Likewise.
51161         * dirent/scandirat64.c: Likewise.
51162         * sysdeps/wordsize-64/alphasort.c: File removed.
51163         * sysdeps/wordsize-64/alphasort64.c: File removed.
51164         * sysdeps/wordsize-64/scandir.c: File removed.
51165         * sysdeps/wordsize-64/scandir64.c: File removed.
51166         * sysdeps/wordsize-64/scandirat.c: File removed.
51167         * sysdeps/wordsize-64/scandirat64.c: File removed.
51168         * sysdeps/wordsize-64/versionsort.c: File removed.
51169         * sysdeps/wordsize-64/versionsort64.c: File removed.
51170         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
51171         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
51172         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
51173         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
51174         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
51175         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
51176         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
51177         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
51179         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
51180         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51181         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
51182         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51183         [defined __arch64__ || defined __sparcv9]
51184         (__INO_T_MATCHES_INO64_T): New macro.
51185         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51186         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
51187         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
51188         * sysdeps/unix/sysv/linux/bits/dirent.h
51189         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
51190         (_DIRENT_MATCHES_DIRENT64): New macro.
51192         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
51193         Define lockf64 as an alias.
51194         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
51195         Define fseeko64 as an alias.
51196         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
51197         Define ftello64 as an alias.
51198         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
51199         Define _IO_fgetpos64 and fgetpos64 as aliases.
51200         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
51201         Define _IO_fsetpos64 and fsetpos64 as aliases.
51202         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
51203         Conditionalize body on this.
51204         * libio/fseeko64.c: Likewise.
51205         * libio/ftello64.c: Likewise.
51206         * libio/iofgetpos64.c: Likewise.
51207         * libio/iofsetpos64.c: Likewise.
51208         * sysdeps/wordsize-64/lockf.c: File removed.
51209         * sysdeps/wordsize-64/lockf64.c: File removed.
51210         * sysdeps/wordsize-64/fseeko.c: File removed.
51211         * sysdeps/wordsize-64/fseeko64.c: File removed.
51212         * sysdeps/wordsize-64/ftello.c: File removed.
51213         * sysdeps/wordsize-64/ftello64.c: File removed.
51214         * sysdeps/wordsize-64/iofgetpos.c: File removed.
51215         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
51216         * sysdeps/wordsize-64/iofsetpos.c: File removed.
51217         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
51218         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
51219         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
51220         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
51221         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
51222         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
51223         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
51224         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
51225         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
51226         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
51227         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
51229         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51230         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51231         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
51232         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51233         [defined __arch64__ || defined __sparcv9]
51234         (__OFF_T_MATCHES_OFF64_T): New macro.
51235         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51236         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51237         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51238         (__OFF_T_MATCHES_OFF64_T): New macro.
51240 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51242         * stdlib/secure-getenv.c (__secure_getenv): Replace
51243         GLIBC_2_16 with GLIBC_2_17.
51245 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51247         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
51248         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51250 2012-08-03  David S. Miller  <davem@davemloft.net>
51252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51254 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51256         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
51257         Remove.
51258         (__ASSUME_CORRECT_SI_PID): Likewise.
51259         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
51260         (__ASSUME_TMPFS_NAME): Likewise.
51261         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
51262         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
51263         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
51264         (HAVE_AUX_SECURE): Make definition unconditional.
51265         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
51266         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
51268 2012-08-03  Roland McGrath  <roland@hack.frob.com>
51270         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
51271         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
51272         * sysdeps/mach/hurd/eloop-threshold.h: New file.
51273         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51274         __eloop_threshold instead of SYMLOOP_MAX.
51276         * sysdeps/generic/eloop-threshold.h: New file.
51277         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
51278         of MAXSYMLINKS.
51279         * elf/chroot_canon.c (chroot_canon): Likewise.
51281 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51283         [BZ #13717]
51284         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51285         Change to 2.6.0 everywhere.
51286         * sysdeps/unix/sysv/linux/configure: Regenerated.
51287         * sysdeps/unix/sysv/linux/kernel-features.h
51288         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
51289         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
51290         kernel versions.
51291         (__ASSUME_POSIX_TIMERS): Define unconditionally.
51292         (__ASSUME_FUTEX_REQUEUE): Remove.
51293         (__ASSUME_STATFS64): Define unconditionally.
51294         (__ASSUME_AT_SECURE): Likewise.
51295         (__ASSUME_CORRECT_SI_PID): Likewise.
51296         (__ASSUME_TGKILL): Define without depending on kernel version for
51297         i386.
51298         (__ASSUME_UTIMES): Likewise.
51299         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
51300         kernel version.
51301         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
51302         (__ASSUME_TMPFS_NAME): Likewise.
51303         * README: Update reference to Linux kernel versions.
51305 2012-08-02  Marek Polacek  <polacek@redhat.com>
51307         [BZ# 14150]
51308         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
51309         libc_cv_asm_type_prefix with %.
51310         * configure: Regenerated.
51311         * include/libc-symbols.h: Remove comment about
51312         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51313         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
51314         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
51315         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
51316         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
51317         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51318         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
51319         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
51320         * elf/tst-unique2mod1.c: Likewise.
51321         * elf/tst-unique1mod2.c: Likewise.
51322         * elf/tst-unique1mod1.c: Likewise.
51323         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
51324         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
51325         Replace ASM_TYPE_DIRECTIVE with .type.
51326         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51327         * sysdeps/i386/sysdep.h: Likewise.
51328         * sysdeps/x86_64/sysdep.h: Likewise.
51329         * sysdeps/sh/sysdep.h: Likewise.
51330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51331         Do not define ASM_TYPE_DIRECTIVE.
51332         * sysdeps/powerpc/sysdep.h: Likewise.
51333         * sysdeps/powerpc/powerpc32/sysdep.h:
51334         Replace ASM_TYPE_DIRECTIVE with .type.
51335         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51336         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51337         * sysdeps/i386/fpu/e_powf.S: Likewise.
51338         * sysdeps/i386/fpu/e_expl.S: Likewise.
51339         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51340         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51341         * sysdeps/i386/fpu/e_pow.S: Likewise.
51342         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51343         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51344         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51345         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51346         * sysdeps/i386/fpu/e_log2.S: Likewise.
51347         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51348         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51349         * sysdeps/i386/fpu/e_powl.S: Likewise.
51350         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51351         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51352         * sysdeps/i386/fpu/e_logl.S: Likewise.
51353         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51354         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51355         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51356         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51357         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51358         * sysdeps/i386/fpu/e_log.S: Likewise.
51359         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51360         * sysdeps/i386/fpu/e_logf.S: Likewise.
51361         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51362         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51363         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51364         * sysdeps/i386/fpu/e_log10.S: Likewise.
51365         * sysdeps/i386/fpu/s_frexp.S: Likewise.
51366         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51367         * sysdeps/i386/fpu/s_asinh.S: Likewise.
51368         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51369         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51370         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
51371         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51372         * sysdeps/i386/i686/strtok.S: Likewise.
51373         * sysdeps/i386/i386-mcount.S: Likewise.
51374         * sysdeps/i386/strtok.S: Likewise.
51375         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
51376         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51377         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51378         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51379         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51380         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51381         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51382         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51383         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51384         * sysdeps/x86_64/_mcount.S: Likewise.
51385         * sysdeps/x86_64/strtok.S: Likewise.
51386         * sysdeps/sh/_mcount.S: Likewise.
51388 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51390         * libio/iofopen.c: Include <fcntl.h>.
51391         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
51392         (_IO_fopen64, fopen64): Define as aliases.
51393         * libio/iofopen64.c: Include <fcntl.h>.
51394         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
51395         Conditionalize body on this.
51396         * sysdeps/wordsize-64/iofopen.c: File removed.
51397         * sysdeps/wordsize-64/iofopen64.c: File removed.
51399 2012-08-01  Marek Polacek  <polacek@redhat.com>
51401         * libc/Makeconfig: Use elf in place of binfmt-subdir.
51402         Use dlfcn directly instead of a variable.
51403         (binfmt-subdir): Do not define.
51404         (dlfcn): Likewise.
51406 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
51408         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
51409         Remove all definitions.
51410         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
51411         <kernel-features.h>.
51412         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51413         (miss_F_GETOWN_EX): Remove all definitions.
51414         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
51415         macro definition.
51416         [!__ASSUME_FCNTL64]: Remove conditional code.
51417         [__ASSUME_FCNTL64]: Make code unconditional.
51418         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
51419         <kernel-features.h>.
51420         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51421         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
51422         (lockf64) [__NR_fcntl64]: Make code unconditional.
51423         (lockf64) [__ASSUME_FCNTL64]: Likewise.
51425         * sysdeps/unix/sysv/linux/kernel-features.h
51426         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
51427         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
51428         Make code unconditional.
51429         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51430         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
51432         [__NR_vfork]: Make code unconditional.
51433         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51434         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
51436         [__NR_vfork]: Make code unconditional.
51437         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51438         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51440 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51442         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
51443         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
51445         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51446         Define mkstemp64 as an alias.
51447         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51448         Define mkstemps64 as an alias.
51449         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51450         Define mkostemp64 as an alias.
51451         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51452         Define mkostemps64 as an alias.
51453         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
51454         Conditionalize body on this.
51455         * misc/mkostemp64.c: Likewise.
51456         * misc/mkostemps64.c: Likewise.
51457         * misc/mkstemps64.c: Likewise.
51458         * sysdeps/wordsize-64/mkstemp64.c: File removed.
51459         * sysdeps/wordsize-64/mkostemp64.c: File removed.
51460         * sysdeps/wordsize-64/mkostemp.c: File removed.
51461         * sysdeps/wordsize-64/mkstemp.c: File removed.
51462         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
51463         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
51464         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
51465         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
51467         [BZ #14138]
51468         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
51469         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
51470         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
51471         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
51473         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
51474         compat_symbol macros from <shlib-compat.h> rather than the underlying
51475         default_symbol_version and symbol_version macros, so that DEFAULT
51476         lines in shlib-versions are respected.
51477         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
51479 2012-08-01  Florian Weimer  <fweimer@redhat.com>
51481         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
51482         Declare with warn_unused_result.
51483         (setgid, setregid, setegid, setresgid): Likewise.
51484         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
51485         Likewise.
51486         * WUR-REPORT: Remove set*id functions.
51488 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
51490         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
51492 2012-07-31  Roland McGrath  <roland@hack.frob.com>
51494         [BZ #10191]
51495         * include/sys/socket.h (__libc_accept, __libc_accept4):
51496         Add attribute_hidden.
51497         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
51499         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
51500         use of PTR_MANGLE.
51501         * inet/getnetgrent_r.c (setup): Likewise.
51503         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
51505 2012-07-31  David S. Miller  <davem@davemloft.net>
51507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51509 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
51511         [BZ #13629]
51512         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
51513         value between 1.0 and 2.0 and smaller part has absolute value less
51514         than 1.0.
51515         * math/s_clog10.c (__clog10): Likewise.
51516         * math/s_clog10f.c (__clog10f): Likewise.
51517         * math/s_clog10l.c (__clog10l): Likewise.
51518         * math/s_clogf.c (__clogf): Likewise.
51519         * math/s_clogl.c (__clogl): Likewise.
51520         * math/libm-test.inc (clog_test): Add more tests.
51521         (clog10_test): Likewise.
51522         * sysdeps/i386/fpu/libm-test-ulps: Update.
51523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51525 2012-07-31  Florian Weimer  <fweimer@redhat.com>
51527         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
51528         Exit with zero in case no suitable GID is found, and write a
51529         message to standard error.
51531 2012-07-30  Roland McGrath  <roland@hack.frob.com>
51533         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
51534         rather than to 1.
51535         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
51536         (MAXPATHLEN): Removed.
51537         (NOGROUP, NODEV): New macros.
51538         (setbit, clrbit, isset, isclr): New macros.
51539         (howmany, roundup, powerof2): New macros.
51540         (DEV_BSIZE): New macro.
51542         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
51543         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
51545         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
51546         definition on [!__NO_LONG_DOUBLE_MATH].
51548         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
51549         PTR_MANGLE and PTR_DEMANGLE.
51551         * socket/accept4.c (accept4): Rename to __libc_accept4.
51552         Define accept4 as a weak alias.
51554         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
51555         on [_DIRENT_HAVE_D_TYPE].
51556         * io/ftw.c (ftw_dir): Likewise.
51558         * io/xmknod.c (__xmknod): Don't check PATH for being null.
51560         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
51562         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
51563         Use the BSD numbers rather than the arbitrary ones we had.
51564         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
51565         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
51566         (SIGXCPU, SIGXFSZ): New macros.
51567         (_NSIG): Now 32.
51569         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
51570         initializer on [_LIBC_REENTRANT].
51572         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
51573         definitions inside [_POSIX_MAPPED_FILES].
51575         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
51577         * dirent/opendir.c: Include <fcntl.h>.
51579         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
51580         (__libc_getspecific): Likewise.
51581         (__libc_key_create): Likewise.
51583         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
51584         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
51585         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
51586         (tmpfile64): Define as alias.
51587         * sysdeps/wordsize-64/tmpfile.c: File removed.
51588         * sysdeps/wordsize-64/tmpfile64.c: File removed.
51589         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
51590         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
51592         * stdio-common/vfscanf.c: Include <stdbool.h>.
51593         * nss/makedb.c: Likewise.
51594         * stdio-common/_i18n_number.h: Likewise.
51595         * argp/argp-help.c: Likewise.
51596         * posix/wordexp.c: Likewise.
51597         * sysdeps/posix/spawni.c: Likewise.
51598         * nss/nss_files/files-initgroups.c: Likewise.
51599         * stdio-common/reg-modifier.c: Include <stdlib.h>.
51600         * nss/nss_files/files-initgroups.c: Likewise.
51601         * nss/nss_db/db-netgrp.c: Likewise.
51602         * nss/nss_db/db-initgroups.c: Likewise.
51603         * io/fchmodat.c: Include <sys/stat.h>.
51605         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
51606         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
51608         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
51609         [HAVE_MMAP].
51611         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
51612         Add multiple inclusion protection.
51614 2012-07-27  David S. Miller  <davem@davemloft.net>
51616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51618 2012-07-27  Gary Benson  <gbenson@redhat.com>
51620         [BZ #14298]
51621         * elf/rtld.c: Include <stap-probe.h>.
51622         (dl_main): Added static probes "init_start" and "init_complete".
51623         * elf/dl-load.c: Include <stap-probe.h>.
51624         (lose): Take new parameter "nsid".
51625         Added static probe "map_failed".
51626         (_dl_map_object_from_fd): Pass namespace id to lose.
51627         Added static probe "map_start".
51628         (open_verify): Pass namespace id to lose.
51629         * elf/dl-open.c: Include <stap-probe.h>.
51630         (dl_open_worker) Added static probes "map_complete", "reloc_start"
51631         and "reloc_complete".
51632         * elf/dl-close.c: Include <stap-probe.h>.
51633         (_dl_close_worker): Added static probes "unmap_start" and
51634         "unmap_complete".
51635         * elf/rtld-debugger-interface.txt: New file documenting the above.
51637 2012-07-26  Roland McGrath  <roland@hack.frob.com>
51639         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
51640         rather than a string variable.
51641         * sunrpc/rpc_main.c (h_output): Likewise.
51642         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
51644 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
51646         * inet/check_native.c: New file.
51648 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
51650         [BZ #13629]
51651         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
51652         if larger part has absolute value 1.0.
51653         * math/s_clog10.c (__clog10): Likewise.
51654         * math/s_clog10f.c (__clog10f): Likewise.
51655         * math/s_clog10l.c (__clog10l): Likewise.
51656         * math/s_clogf.c (__clogf): Likewise.
51657         * math/s_clogl.c (__clogl): Likewise.
51658         * math/libm-test.inc (clog_test): Add more tests.
51659         (clog10_test): Likewise.
51660         * sysdeps/i386/fpu/libm-test-ulps: Update.
51661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51663         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
51664         (pltexit): Likewise.
51665         (La_regs): Likewise.
51666         (La_retval): Likewise.
51667         (int_retval): Likewise.
51668         Update #error for removed macros to refer only to definitions in
51669         tst-audit.h.
51670         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
51671         macro.
51672         (pltexit): Likewise.
51673         (La_regs): Likewise.
51674         (La_retval): Likewise.
51675         (int_retval): Likewise.
51676         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
51677         macro.
51678         (pltexit): Likewise.
51679         (La_regs): Likewise.
51680         (La_retval): Likewise.
51681         (int_retval): Likewise.
51682         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
51683         macro.
51684         (pltexit): Likewise.
51685         (La_regs): Likewise.
51686         (La_retval): Likewise.
51687         (int_retval): Likewise.
51688         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
51689         macro.
51690         (pltexit): Likewise.
51691         (La_regs): Likewise.
51692         (La_retval): Likewise.
51693         (int_retval): Likewise.
51694         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
51695         macro.
51696         (pltexit): Likewise.
51697         (La_regs): Likewise.
51698         (La_retval): Likewise.
51699         (int_retval): Likewise.
51700         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
51701         macro.
51702         (pltexit): Likewise.
51703         (La_regs): Likewise.
51704         (La_retval): Likewise.
51705         (int_retval): Likewise.
51706         * sysdeps/generic/tst-audit.h: Update comment to refer only to
51707         macro definitions in tst-audit.h.
51708         * sysdeps/i386/tst-audit.h: New file.
51709         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
51710         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
51711         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
51712         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
51713         * sysdeps/sh/tst-audit.h: Likewise.
51714         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
51715         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
51716         * sysdeps/x86_64/tst-audit.h: Likewise.
51718 2012-07-26  Andreas Jaeger  <aj@suse.de>
51720         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
51721         ptrace.
51723         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
51724         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
51725         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
51726         PTRACE_O_MASK.
51727         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
51728         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
51729         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
51731         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
51732         value.
51734         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
51735         _sigsys.
51736         (si_call_addr, si_syscall, si_arch): Define new macro.
51737         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
51738         _sigsys.
51739         (si_call_addr, si_syscall, si_arch): Define new marcro.
51740         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
51741         _sigsys.
51742         (si_call_addr, si_syscall, si_arch): Define new macro.
51743         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
51744         _sigsys.
51745         (si_call_addr, si_syscall, si_arch): Define new macro.
51747 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51749         [BZ #13717]
51750         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51751         Change to 2.4.21 where previously 2.4.1.
51752         * sysdeps/unix/sysv/linux/configure: Regenerated.
51753         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
51754         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
51755         Linux kernel version.
51756         (__ASSUME_STD_AUXV): Remove.
51757         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
51758         kernel version.
51759         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
51760         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
51761         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
51762         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
51763         (__ASSUME_NETLINK_SUPPORT): Likewise.
51764         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
51765         (__no_netlink_support): Remove conditional definition.
51766         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
51767         Remove.
51768         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51769         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
51770         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
51771         (if_nameindex_ioctl): Remove.
51772         (if_nameindex_netlink): Do not handle __no_netlink_support.
51773         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51774         code.
51775         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
51776         Remove conditional code.
51777         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51778         code.
51779         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
51780         unconditional.
51781         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51782         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
51783         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
51784         Remove.
51785         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
51786         [!__ASSUME_STD_AUXV]: Remove conditional code.
51787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
51788         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
51789         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
51790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
51791         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
51792         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51793         code.
51794         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51796         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
51797         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51798         conditional code.
51799         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51801         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51802         code.
51803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51804         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51805         conditional code.
51806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
51807         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51808         code unconditional.
51809         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51810         conditional code.
51811         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51812         unconditional.
51813         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51814         conditional code.
51815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51816         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51817         unconditional.
51818         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51819         conditional code.
51820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
51821         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51822         code unconditional.
51823         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51824         conditional code.
51825         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51826         unconditional.
51827         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51828         conditional code.
51829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
51830         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51831         code unconditional.
51832         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51833         conditional code.
51834         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51835         unconditional.
51836         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51837         conditional code.
51839 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
51841         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
51842         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
51843         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51844         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
51845         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
51846         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
51847         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
51848         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
51849         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
51850         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
51851         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
51852         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
51853         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
51854         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
51855         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
51856         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
51857         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
51858         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
51859         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
51860         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
51861         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
51862         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
51863         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51865 2012-07-25  Florian Weimer  <fweimer@redhat.com>
51867         * Versions.def: Add GLIBC_2.17.
51868         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
51869         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
51870         Introduce __libc_secure_getenv.
51871         * stdlib/Versions (2.17): Add secure_getenv
51872         (GLIBC_PRIVATE): Add __libc_secure_getenv.
51873         * stdlib/secure-getenv.c: Rename __secure_getenv to
51874         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
51875         symbol __secure_getenv for GLIBC_2.0.
51876         * stdlib/tst-secure-getenv.c: New.
51877         * stdlib/Makefile (tests): Add testcase.
51878         * manual/startup.texi (Environment Access): Document
51879         secure_getenv.
51880         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
51881         __libc_secure_getenv.
51882         * inet/ruserpass.c (ruserpass): Likewise.
51883         * malloc/mtrace.c (mtrace): Likewise.
51884         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
51885         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
51886         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
51887         * sysdeps/posix/tempname.c: Likewise.  Evaluate
51888         HAVE_SECURE_GETENV.
51889         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
51890         __secure_getenv to __libc_secure_getenv.
51891         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
51892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51893         Likewise.
51894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51895         Likewise.
51896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51898         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51904 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51906         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
51907         (struct La_i86_retval): Likewise.
51908         (struct La_x86_64_regs): Likewise.
51909         (struct La_x86_64_retval): Likewise.
51910         (struct La_x32_regs): Likewise.
51911         (struct La_x32_retval): Likewise.
51912         (struct La_ppc32_regs): Likewise.
51913         (struct La_ppc32_retval): Likewise.
51914         (struct La_ppc64_regs): Likewise.
51915         (struct La_ppc64_retval): Likewise.
51916         (struct La_sh_regs): Likewise.
51917         (struct La_sh_retval): Likewise.
51918         (struct La_s390_32_regs): Likewise.
51919         (struct La_s390_32_retval): Likewise.
51920         (struct La_s390_64_regs): Likewise.
51921         (struct La_s390_64_retval): Likewise.
51922         (struct La_sparc32_regs): Likewise.
51923         (struct La_sparc32_retval): Likewise.
51924         (struct La_sparc64_regs): Likewise.
51925         (struct La_sparc64_retval): Likewise.
51926         (struct audit_ifaces): Remove architecture-specific pltenter and
51927         pltexit members.
51928         * sysdeps/i386/ldsodefs.h: New file.
51929         * sysdeps/powerpc/ldsodefs.h: Likewise.
51930         * sysdeps/s390/ldsodefs.h: Likewise.
51931         * sysdeps/sh/ldsodefs.h: Likewise.
51932         * sysdeps/sparc/ldsodefs.h: Likewise.
51933         * sysdeps/x86_64/ldsodefs.h: Likewise.
51935 2012-07-25  Marek Polacek  <polacek@redhat.com>
51937         [BZ #6808]
51938         * math/libm-test.inc (yn_test): Add another test.
51939         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
51940         to ERANGE when the result is +-Inf.
51941         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51942         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
51943         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
51944         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
51946 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
51948         * conform/data/time.h-data (NULL): Use macro-constant.  Require
51949         equal to 0.
51950         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
51951         clock_t.
51952         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
51954 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
51956         * configure.in <sysdeps resolving>: Correct printing
51957         Implies_before.
51958         * configure: Regenerate.
51960 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
51962         * math/w_ilogb.c: Include <limits.h>.
51963         * math/w_ilogbl.c: Likewise.
51965 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51967         * manual/lang.texi (__va_copy): Document primarily as ISO C99
51968         va_copy.  Document allowing for unavailable va_copy only as
51969         pre-C99 compatibility.
51970         * manual/string.texi (Copying and Concatenation): Use va_copy
51971         instead of __va_copy in concat example.
51973 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
51975         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
51976         (__sendto): Use create_address_port.  Initialize APORT and deallocate
51977         it if not null.
51979         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
51980         with O_NOLINK passed to __file_name_lookup.
51982         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
51983         with O_NOLINK passed to __file_name_lookup.
51985         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
51986         negative N or less than NGIDS.
51988         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
51989         type to string_t.  Set ERANGE as errno and return it if NAME is not big
51990         enough.  Use memcpy instead of strncpy.
51992 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51994         * elf/Makefile (check-data): Remove.
51995         (localplt.data): New vpath directive.
51996         ($(objpfx)check-localplt.out): Use localplt.data from vpath
51997         instead of $(check-data).
51998         * scripts/data/localplt-generic.data: Move to ...
51999         * sysdeps/generic/localplt.data: ... here.
52000         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
52001         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
52002         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
52003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
52004         ... here.
52005         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
52006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
52007         ... here.
52008         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
52009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
52010         ... here.
52011         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
52012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
52013         ... here.
52014         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
52015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
52016         ... here.
52017         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
52018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
52019         ... here.
52021 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52023         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
52024         PPC32 and PPC64 files.
52025         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
52026         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
52028 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52030         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
52031         __makecontext_ret to ...
52032         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
52033         ... here and call exit if uc_link is NULL.  New file.
52034         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
52035         __makecontext_ret.S.
52036         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
52037         __makecontext_ret to ...
52038         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
52039         ... here and call exit if uc_link is NULL.  New file.
52040         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
52041         __makecontext_ret.S.
52043 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52045         * elf/elf.h (R_390_IRELATIVE): New definition.
52046         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
52047         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
52048         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
52049         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52050         (elf_machine_lazy_rel): Likewise.
52051         * sysdeps/s390/dl-irel.h: New file.
52052         * sysdeps/s390/s390-64/memcpy.S: New asm code.
52053         * sysdeps/s390/s390-64/memset.S: New asm code.
52054         * sysdeps/s390/s390-64/memcmp.S: New asm code.
52055         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
52056         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
52057         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
52058         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
52059         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
52060         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
52061         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
52062         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
52063         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
52064         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
52065         * sysdeps/s390/s390-32/memcpy.S: New asm code.
52066         * sysdeps/s390/s390-32/memset.S: New asm code.
52067         * sysdeps/s390/s390-32/memcmp.S: New asm code.
52069 2012-07-17  Marek Polacek  <polacek@redhat.com>
52071         [BZ #14349]
52072         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
52073         * sysdeps/s390/s390-64/configure.in: Likewise.
52074         * sysdeps/sparc/configure.in: Likewise.
52075         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
52076         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
52077         * sysdeps/i386/configure.in: Likewise.
52078         * sysdeps/x86_64/configure.in: Likewise.
52079         * sysdeps/sh/configure.in: Likewise.
52080         * sysdeps/s390/s390-32/configure: Regenerated.
52081         * sysdeps/s390/s390-64/configure: Likewise.
52082         * sysdeps/x86_64/configure: Likewise.
52083         * sysdeps/sh/configure: Likewise.
52084         * sysdeps/powerpc/powerpc64/configure: Likewise.
52085         * sysdeps/powerpc/powerpc32/configure: Likewise.
52086         * sysdeps/sparc/configure: Likwise.
52087         * sysdeps/i386/configure: Likewise.
52089         * elf/dl-open.c: Comment fixes.
52091 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
52093         * Makefile [CXX] (check-data): Remove.
52094         [CXX] (c++-types.data): New vpath directive.
52095         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
52096         vpath.  Do not allow for C++ type data being missing.
52097         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
52098         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
52099         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
52100         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
52101         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
52102         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
52103         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
52104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
52105         ... here.
52106         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
52107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
52108         ... here.
52109         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
52110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
52111         ... here.
52112         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
52113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
52114         ... here.
52115         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
52116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
52117         ... here.
52118         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
52119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
52120         ... here.
52121         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
52122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
52123         ... here.
52124         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
52125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
52127         * elf/tls-macros.h (TLS_LE): Move architecture-specific
52128         definitions to architecture-specific files.
52129         (TLS_IE): Likewise.
52130         (TLS_LD): Likewise.
52131         (TLS_GD): Likewise.
52132         * sysdeps/i386/tls-macros.h: New file.
52133         * sysdeps/powerpc/tls-macros.h: Likewise.
52134         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
52135         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
52136         * sysdeps/sh/tls-macros.h: Likewise.
52137         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
52138         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
52139         * sysdeps/x86_64/tls-macros.h: Likewise.
52141 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52143         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
52144         zero value for regular exit case.
52146         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
52147         (__start_context): Preserve zero value for regular exit case.
52149 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52150             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52152         * manual/setjmp.texi (setcontext): Clarify normal process
52153         termination when uc_link is the null pointer.
52154         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
52155         exit call.
52157 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
52159         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
52160         preprocessor.  Test for each exception mask separately.
52162 2012-07-16  Andreas Jaeger  <aj@suse.de>
52164         * po/ru.po: Update from translation team.
52166 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
52168         * conform/data/string.h-data (NULL): Use macro-constant.  Require
52169         equal to 0.
52170         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
52171         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
52172         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
52173         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
52174         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52176 2012-07-13  Andreas Jaeger  <aj@suse.de>
52178         * po/fr.po: Update from translation team.
52180 2012-07-12  Marek Polacek  <polacek@redhat.com>
52182         [BZ #14173]
52183         * math/libm-test.inc (yn_test): Add test for BZ #14173.
52184         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
52185         loop condition.
52187 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
52189         [BZ #13717]
52190         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52191         Change to 2.4.1 where previously 2.4.0.
52192         * sysdeps/unix/sysv/linux/configure: Regenerated.
52193         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
52194         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
52195         version.
52196         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
52197         (__ASSUME_AT_CLKTCK): Remove.
52198         (__ASSUME_AT_PAGESIZE): Likewise.
52199         (__ASSUME_AT_XID): Likewise.
52200         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
52201         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
52202         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
52203         unconditionally.
52204         (HAVE_AUX_PAGESIZE): Likewise.
52205         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
52206         [__ASSUME_AT_CLKTCK]: Make code unconditional.
52207         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
52209 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
52211         [BZ #14307]
52212         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
52213         the temporary buffer used to invoke __gethostbyname2_r,
52214         __gethostbyaddr_r and gethostbyname4_r to make room for struct
52215         host_data / struct gaih_addrtuple.
52216         * resolv/nss_dns/dns-host.c (global scope): Move definition of
52217         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
52218         header file nss/nsswitch.h.
52219         * nss/nsswitch.h (global scope): Add definition of implementation
52220         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
52221         resolv/nss_dns/dns-host.c).
52223 2012-07-11  Andreas Jaeger  <aj@suse.de>
52225         * po/fr.po: Update from translation team.
52227         * po/sv.po: Update from translation team
52228         * po/fr.po: Another update from translation team.
52230 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52232         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
52233         for subnormals or multiply small sinh result by itself.
52234         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52237 2012-07-11  David S. Miller  <davem@davemloft.net>
52239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52241 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
52243         [BZ #14347]
52244         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
52245         (INTERNAL_MARK): Shift it here.
52247 2012-07-10  Marek Polacek  <polacek@redhat.com>
52249         [BZ #14151]
52250         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
52251         libc_cv_asm_global_directive with .globl.
52252         * configure: Regenerated.
52253         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
52254         with .globl.
52255         * sysdeps/i386/configure: Regenerated.
52256         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
52257         with .globl.
52258         * sysdeps/x86_64/configure: Regenerated.
52259         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
52260         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
52261         * elf/tst-unique2mod2.c: Likewise.
52262         * elf/tst-unique2mod1.c: Likewise.
52263         * elf/tst-unique1mod2.c: Likewise.
52264         * elf/tst-unique1mod1.c: Likewise.
52265         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52266         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52267         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52268         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52269         * sysdeps/mach/sysdep.h: Likewise.
52270         * sysdeps/i386/sysdep.h: Likewise.
52271         * sysdeps/i386/i386-mcount.S: Likewise.
52272         * sysdeps/x86_64/_mcount.S: Likewise.
52273         * sysdeps/x86_64/sysdep.h: Likewise.
52274         * sysdeps/sh/_mcount.S: Likewise.
52275         * sysdeps/sh/sysdep.h: Likewise.
52276         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
52277         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
52278         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
52279         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52280         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
52281         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
52282         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
52283         * locale/localeinfo.h: Likewise.
52284         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
52285         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
52287 2012-07-09  Roland McGrath  <roland@hack.frob.com>
52289         [BZ #14336]
52290         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
52291         system".
52292         * manual/message.texi (The Uniforum approach): Likewise.
52293         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
52294         (glibc iconv Implementation): Likewise.
52296 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
52298         [BZ #14337]
52299         * math/s_clog.c (__clog): Avoid scaling a value down where that
52300         could result in underflow.
52301         * math/s_clog10.c (__clog10): Likewise.
52302         * math/s_clog10f.c (__clog10f): Likewise.
52303         * math/s_clog10l.c (__clog10l): Likewise.
52304         * math/s_clogf.c (__clogf): Likewise.
52305         * math/s_clogl.c (__clogl): Likewise.
52306         * math/libm-test.inc (clog_test): Add more tests.
52307         (clog10_test): Likewise.
52308         * sysdeps/i386/fpu/libm-test-ulps: Update.
52309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52311 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
52313         [BZ #14283]
52314         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
52315         by 7 not 8 to examine high bit of fractional part.
52317         [BZ #14042]
52318         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
52319         for call to __mcount_internal.
52320         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
52321         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
52322         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
52324 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
52326         [BZ #14154]
52327         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
52328         approximation for values within 0x1p-13f of an odd multiple of
52329         pi/4.
52330         * math/libm-test.inc (tan_test): Do not allow spurious underflow
52331         exception.  Add more tests.
52332         * sysdeps/i386/fpu/libm-test-ulps: Update.
52334         [BZ #6778]
52335         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
52336         inputs and return -1 for them.  Do not check for +Inf in case not
52337         reachable for +Inf.
52338         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52339         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
52340         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52341         and return -1 for them.  Do not check for +Inf in case not
52342         reachable for +Inf.
52343         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
52344         define.
52345         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52346         and return -1 for them.  Do not check for +Inf in case not
52347         reachable for +Inf.
52348         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
52349         spurious underflow.
52350         * sysdeps/i386/fpu/libm-test-ulps: Update.
52351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52353 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
52355         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
52357 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
52359         [BZ #14157]
52360         [BZ #14331]
52361         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
52362         could result in spurious underflow.  Scale down values above
52363         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
52364         * math/s_csqrtf.c (__csqrtf): Likewise.
52365         * math/s_csqrtl.c (__csqrtl): Likewise.
52366         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
52367         spurious underflow.
52368         * sysdeps/i386/fpu/libm-test-ulps: Update.
52369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52371 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
52373         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
52374         xopen-msg.sed.
52375         * catgets/xopen-msg.awk: New file.
52376         * catgets/xopen-msg.sed: Removed.
52378         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
52379         po2text.sed.
52380         * intl/po2test.awk: New file.
52381         * intl/po2test.sed: Removed.
52383 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
52385         [BZ #14328]
52386         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
52387         or multiply small sinh result by itself.
52388         * math/s_ctanf.c (__ctanf): Likewise.
52389         * math/s_ctanh.c (__ctanh): Likewise.
52390         * math/s_ctanhf.c (__ctanhf): Likewise.
52391         * math/s_ctanhl.c (__ctanhl): Likewise.
52392         * math/s_ctanl.c (__ctanl): Likewise.
52393         * math/libm-test.inc (ctan_test_tonearest): New function.
52394         (ctan_test_towardzero): Likewise.
52395         (ctan_test_downward): Likewise.
52396         (ctan_test_upward): Likewise.
52397         (ctanh_test_tonearest): Likewise.
52398         (ctanh_test_towardzero): Likewise.
52399         (ctanh_test_downward): Likewise.
52400         (ctanh_test_upward): Likewise.
52401         (main): Call these new functions.
52402         * sysdeps/i386/fpu/libm-test-ulps: Update.
52403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52405 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
52407         * .gitignore: Delete /ports entry.
52409 2012-07-03  Andreas Jaeger  <aj@suse.de>
52411         * po/bg.po: Update from translation team.
52412         * po/cs.po: Likewise.
52413         * po/de.po: Likewise.
52414         * po/hr.po: Likewise.
52415         * po/nl.pl: Likewise.
52416         * po/pl.po: Likewise.
52417         * po/vi.po: Likewise.
52419 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
52421         * Makeconfig [!+link] (+link-before-libc): New variable.
52422         [!+link] (+link-after-libc): Likewise.
52423         [!+link] (+link-tests): Likewise.
52424         [!+link] (+link): Define in terms of $(+link-before-libc) and
52425         $(+link-after-libc).
52426         [!+link-static] (+link-static-before-libc): New variable.
52427         [!+link-static] (+link-static-after-libc): Likewise.
52428         [!+link-static] (+link-static-tests): Likewise.
52429         [!+link-static] (+link-static): Define in terms of
52430         $(+link-static-before-libc) and $(+link-static-after-libc).
52431         [build-shared] (link-libc-before-gnulib): New variable.
52432         [build-shared] (link-libc-tests): Likewise.
52433         [build-shared] (link-libc): Define in terms of
52434         $(link-libc-before-gnulib).
52435         [!build-shared] (link-libc-tests): New variable.
52436         (link-libc-static-tests): New variable.
52437         [!gnulib] (gnulib-arch): New variable.
52438         [!gnulib] (gnulib-tests): Likewise.
52439         [!gnulib] (static-gnulib-arch): Likewise.
52440         [!gnulib] (static-gnulib-tests): Likewise.
52441         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
52442         Define with "=" instead of ":=".
52443         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
52444         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
52445         * Rules (binaries-all-notests): New variable.
52446         (binaries-all-tests): Likewise.
52447         (binaries-static-notests): Likewise.
52448         (binaries-static-tests): Likewise.
52449         (binaries-all): Define using $(binaries-all-notests) and
52450         $(binaries-all-tests).
52451         (binaries-static): Define using $(binaries-static-notests) and
52452         $(binaries-static-tests).
52453         (binaries-shared-tests): New variable.
52454         (binaries-shared-notests): Likewise.
52455         (binaries-shared): Remove variable.
52456         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
52457         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
52458         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
52459         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
52460         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
52461         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
52462         * elf/Makefile (sln-modules): New variable.
52463         (extra-objs): Add $(sln-modules:=.o).
52464         (ldconfig-modules): Add static-stubs.
52465         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
52466         * elf/static-stubs.c: New file.
52468         [BZ #14283]
52469         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
52470         by 7 not 8 to examine high bit of fractional part.  Use volatile
52471         variables when splitting into final array of floats if
52472         __FLT_EVAL_METHOD__ != 0.
52473         * math/libm-test.inc (cos_test): Add another test.
52474         (sin_test): Likewise.
52475         * sysdeps/i386/fpu/libm-test-ulps: Update.
52477         [BZ #14273]
52478         * math/libm-test.inc (cosh_test): Add more tests.
52480         * version.h (RELEASE): Set to "development".
52481         (VERSION): Set to "2.16.90".
52483 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
52485         * NEWS: Update copyright. Remove last-updated date.
52486         Mention math library bug fixes and timezone data changes.
52487         * README: Mention GNU/Hurd, x32, and HPPA support status.
52489 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
52491         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
52493 2012-06-27  Andreas Jaeger  <aj@suse.de>
52495         * manual/contrib.texi (Contributors): Add Samuel Thibault.
52497 2012-06-25  Andreas Jaeger  <aj@suse.de>
52499         * sysdeps/s390/fpu/libm-test-ulps: Update.
52501 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
52502             Thomas Schwinge  <thomas@codesourcery.com>
52504         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
52505         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
52506         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
52507         fanotify_mark.
52509 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
52511         * sysdeps/mach/start.c: Remove file.
52512         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
52513         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
52514         * sysdeps/sh/init-first.c: Likewise.
52516         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
52517         registers for frame unwinding purposes, add CFI directives.
52518         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52519         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
52520         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
52521         Likewise.
52523         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
52524         __fortify_fail returning.
52525         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52527         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
52528         sysdeps/sh/____longjmp_chk.S.
52529         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
52530         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
52531         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
52532         (gen-as-const-headers): Append sigaltstack-offsets.sym.
52534         * sysdeps/sh/abort-instr.h: New file.
52535         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
52536         process in case exit returns.
52538         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
52539         initialize the GOT register before use.
52541         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
52542         calculation of ARGC > 4.
52544         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
52545         meaningful names to some local labels.
52547 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52548             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52550         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
52551         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
52552         (__arch_compare_and_exchange_val_16_acq): Likewise.
52553         (__arch_compare_and_exchange_val_32_acq): Likewise.
52554         (atomic_exchange_and_add): Fix gUSA sequence.
52555         (atomic_add): Likewise.
52556         (atomic_add_negative): Likewise.
52557         (atomic_add_zero): Likewise.
52558         (atomic_bit_test_set): Likewise.
52560 2012-06-22  Andreas Schwab  <schwab@redhat.com>
52562         [BZ #13579]
52563         * include/link.h (struct link_map): Add l_free_initfini.
52564         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
52565         l_initfini.
52566         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
52567         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
52568         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
52569         set.
52571 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
52573         * configure.in: Use AC_LANG_SOURCE.
52574         * configure: Regenerate.
52576 2012-06-22  Roland McGrath  <roland@hack.frob.com>
52578         * configure.in (libc_cv_localstatedir): New substituted variable.
52579         * configure: Regenerated.
52580         * config.make.in (localstatedir): New variable, substituted from
52581         libc_cv_localstatedir.
52582         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
52583         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
52584         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
52585         * sysdeps/gnu/configure: Regenerated.
52587 2012-06-21  Jeff Law  <law@redhat.com>
52589         [BZ #14277]
52590         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
52591         free.  Simplify list management for _LIBC case.
52593 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
52595         [BZ #14273]
52596         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
52597         Clear sign bit of 64-bit integer value before comparing against
52598         overflow value.
52600         * sysdeps/mach/configure: Regenerated.
52602 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
52604         [BZ #14278]
52605         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
52607 2012-06-21  Jeff Law  <law@redhat.com>
52609         [BZ #13882]
52610         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
52611         uint16_t for elements in the "seen" array to avoid char overflows.
52612         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52613         * elf/dl-open.c (dl_open_worker): Likewise.
52615 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
52617         * scripts/list-sources.sh: Scan PORTS for translations.
52618         * po/libc.pot: Regenerated.
52620 2012-06-21  Andreas Jaeger  <aj@suse.de>
52622         [BZ #12194]
52623         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
52624         warning.
52625         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
52626         * bits/byteswap-16.h (__bswap_16): Likewise.
52627         * bits/byteswap.h (__bswap_constant_16): Likewise.
52629 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
52631         [BZ #14117]
52632         * sysdeps/i386/fpu_control.h: Removed.
52633         * sysdeps/x86_64/fpu_control.h: Moved to ...
52634         * sysdeps/x86/fpu_control.h: Here.
52636         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
52637         (_FPU_SETCW): Likewise.
52639 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
52641         [BZ #14117]
52642         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
52643         * sysdeps/x86/fpu/bits/mathinline.h: This.
52644         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
52646         [BZ #14050]
52647         [BZ #14117]
52648         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
52649         functions if __x86_64__ is defined.
52651 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
52653         * string/endian.h: Add !__ASSEMBLER__ condition for including
52654         conversion interfaces.
52656 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
52658         [BZ #14241]
52659         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
52660         of ABS(x) in calculating zero to negative powers other than odd
52661         integers.
52662         * math/libm-test.inc (pow_test): Add more tests.
52664 2012-06-15  Andreas Jaeger  <aj@suse.de>
52666         * manual/contrib.texi (Contributors): Update entry of Liubov
52667         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
52668         Machado Filho.
52670 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
52672         * string/string.h: Add __wur to GNU version of strerror_r.
52674 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
52676         [BZ #14229]
52677         * string/Makefile (tests): Add tst-strtok_r.
52678         * string/tst-strtok_r.c: New file.
52679         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
52680         RAX_LP/RDX_LP on SAVE_PTR.
52682 2012-06-14  Roland McGrath  <roland@hack.frob.com>
52684         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
52686 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
52688         * libm_test.inc (csqrt_test): Allow more spurious underflow
52689         exceptions.
52690         (j0_test): Likewise.
52691         (j1_test): Likewise.
52692         (y0_test): Likewise.
52693         (y1_test): Likewise.
52695 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
52697         * po/Makefile (libc.pot): Use UTF-8 charset.
52699 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
52701         [BZ #14210]
52702         Suppress sign-conversion warning from FD_SET.
52703         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
52704         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
52705         not unsigned long int.
52706         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
52708 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
52710         [BZ #14050]
52711         [BZ #14117]
52712         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
52713         __extern_always_inline instead of __extern_inline.
52714         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
52715         (__signbit): Likewise.
52716         (__signbitl): Support C++ namespace.
52717         (lrintf): New inline function.
52718         (lrint): Likewise.
52719         (llrintf): Likewise.
52720         (llrint): Likewise.
52721         (fmaxf): Likewise.
52722         (fmax): Likewise.
52723         (fminf): Likewise.
52724         (fmin): Likewise.
52725         (rint): Likewise.
52726         (rintf): Likewise.
52727         (ceil): Likewise.
52728         (ceilf): Likewise.
52729         (floor): Likewise.
52730         (floorf): Likewise.
52731         (nearbyint): Likewise.
52732         (nearbyintf): Likewise.
52734 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
52736         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
52737         non-default versions.
52739 2012-06-11  Roland McGrath  <roland@hack.frob.com>
52741         [BZ #14218]
52742         * manual/argp.texi (Argp): Reword argp_parse description slightly.
52744 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
52746         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
52747         (FE_UPWARD, FE_DOWNWARD): Don't define.
52748         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
52749         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52751         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
52752         reading it.
52753         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52754         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52756 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52758         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52759         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
52760         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
52761         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
52763 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
52765         [BZ #14117]
52766         * sysdeps/i386/fpu/bits/fenv.h: Removed.
52767         * sysdeps/i386/fpu/Implies: New file.
52768         * sysdeps/x86_64/fpu/Implies: Likewise.
52769         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
52770         * sysdeps/x86/fpu/bits/fenv.h: This.
52772         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
52773         __SSE_MATH__.
52775 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52777         [BZ #14134]
52778         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
52779         character 0xffff that matches the last element of the
52780         conversion table.
52782 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52784         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
52785         fmodl commit.
52787 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52789         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
52790         values higher than 25.6283.
52792 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52794         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
52795         subnormal exponent extraction and add some __builtin_expect.
52796         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
52797         Fix for subnormal mantissa calculation.
52799 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
52801         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
52802         cpu2 is -1 and errno is not ENOSYS.
52804 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
52806         [BZ #14117]
52807         * sysdeps/i386/i486/bits/string.h: Renamed to ...
52808         * sysdeps/x86/bits/string.h: This.
52809         * sysdeps/x86_64/bits/string.h: Removed.
52811         * sysdeps/i386/i486/bits/string.h: Define inline functions only
52812         if not compiling for x86-64, but compiling for >= i486.
52814         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
52815         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
52817         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
52818         New macro from Linux kernel 3.4.0.
52819         (FP_XSTATE_MAGIC2): Likewise.
52820         (FP_XSTATE_MAGIC2_SIZE): Likewise.
52821         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
52822         (struct _fpx_sw_bytes): New struct.
52823         (struct _xsave_hdr): Likewise.
52824         (struct _ymmh_state): Likewise.
52825         (struct _xstate): Likewise.
52827         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
52828         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
52829         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
52830         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
52831         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
52832         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
52834         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
52835         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
52836         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
52837         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
52838         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
52839         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
52841 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52843         [BZ #13743]
52844         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
52845         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
52846         (sysdep_headers): Include sys/platform/ppc.h.
52847         * sysdeps/powerpc/test-gettimebase.c: Test for
52848         __ppc_get_timebase() to catch future ISA opcode/insn changes.
52849         * manual/Makefile (appendices): Include platform.texi.
52850         * manual/contrib.texi (Contributors): Update @node pointers.
52851         * manual/maint.texi (Maintenance): Likewise.
52852         (Platform): New node.
52853         * manual/platform.texi: New file.  Document the new features.
52855 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52856             Jakub Jelinek  <jakub@redhat.com>
52858         [BZ #14188]
52859         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
52860         where __builtin_expect is unavailable.
52862 2012-06-03  David S. Miller  <davem@davemloft.net>
52864         * stdlib/longlong.h: Updated from GCC.
52866 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
52868         [BZ #14042]
52869         * sysdeps/powerpc/powerpc32/mcount.c: New file.
52870         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
52871         __mcount_internal.
52872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52873         (GLIBC_2.16): Likewise.
52875 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52877         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
52879 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
52882         (default-abi): New variable.
52883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
52884         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
52885         variable.
52886         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
52887         Likewise.
52888         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
52889         Likewise.
52890         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
52891         Likewise.
52893         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
52894         definition.  Document in comment.
52896 2012-06-01  David S. Miller  <davem@davemloft.net>
52898         * stdlib/longlong.h: Updated from GCC.
52900 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52902         [BZ #14117]
52903         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
52904         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
52905         sys/debugreg.h sys/io.h here.
52906         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
52907         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
52908         sys/io.h.
52909         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
52910         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
52911         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
52912         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
52913         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
52914         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
52916         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
52917         Define only if __x86_64__ is defined.
52919 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52921         [BZ #14048]
52922         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
52923         Use int64_t for variable i.
52924         * math/libm-test.inc (fmod_test): Add more tests.
52926         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
52927         z computation is not scheduled after fetestexcept.
52928         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
52929         Use math_force_eval instead of asm to ensure calculation scheduled
52930         before exception test.
52931         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
52932         Ensure a1 + u.d computation is not scheduled after fetestexcept.
52934 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
52936         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
52937         computation is not scheduled after fetestexcept.
52939 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52941         [BZ #14117]
52942         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
52943         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
52945 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52947         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
52948         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52950 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52952         [BZ #14117]
52953         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
52954         <bits/wordsize.h>.
52955         (__WCHAR_MIN): Support __WORDSIZE == 64.
52956         (__WCHAR_MAX): Likewise.
52958         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
52959         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
52961         [BZ #14183]
52962         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
52963         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
52965         [BZ #14117]
52966         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
52967         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
52969         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
52970         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
52972         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
52973         Defined to 1 if __x86_64__ isn't defined.
52974         (_STAT_VER_LINUX_OLD): New.
52975         (st_atime): Remove duplicate.
52976         (st_mtime): Likewise.
52977         (st_ctime): Likewise.
52979 2012-05-31  David S. Miller  <davem@davemloft.net>
52981         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
52982         entries.
52984 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
52986         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
52987         gen-libm-test.pl.
52989         [BZ #14132]
52990         * elf/dl-reloc.c: Include <_itoa.h>.
52991         (_dl_reloc_bad_type): Remove use of INTUSE.
52992         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
52993         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
52994         * stdio-common/psiginfo.c (psiginfo): Likewise.
52995         * stdio-common/psignal.c (psignal): Likewise.
52996         * string/strsignal.c (strsignal): Likewise.
52997         * include/signal.h (_sys_siglist): Declare hidden proto.
52998         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
52999         INTVARDEF with libc_hidden_data_def.
53000         * stdio-common/itoa-udigits.c: Likewise.
53001         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
53002         (_itoa_lower_digits_internal): Remove declaration.
53003         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
53004         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
53005         (_sys_sigabbrev_internal): Remove aliases.
53006         (_sys_siglist): Define hidden alias.
53008 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
53010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53011         bits/sysctl.h.
53013 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
53015         [BZ #14117]
53016         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
53017         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
53019         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
53020         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
53021         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
53022         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
53023         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
53024         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
53026         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
53027         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
53028         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
53030         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
53031         with __addr.
53032         (insw): Likewise.
53033         (insl): Likewise.
53034         (outsb): Likewise.
53035         (outsw): Likewise.
53036         (outsl): Likewise.
53038         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
53039         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
53040         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
53042         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
53043         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
53044         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
53045         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
53046         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
53047         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
53049         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
53050         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
53052         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
53053         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
53055         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
53056         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
53057         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
53059         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
53060         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
53061         to ...
53062         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
53064         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
53065         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
53066         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
53068         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
53069         for x86-64.
53070         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
53072 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
53074         * math/math.h (M_El): Use two more decimal places.
53075         (M_LOG2El): Likewise.
53076         (M_LOG10El): Likewise.
53077         (M_LN2l): Likewise.
53078         (M_LN10l): Likewise.
53079         (M_PIl): Likewise.
53080         (M_PI_2l): Likewise.
53081         (M_PI_4l): Likewise.
53082         (M_1_PIl): Likewise.
53083         (M_2_PIl): Likewise.
53084         (M_2_SQRTPIl): Likewise.
53085         (M_SQRT2l): Likewise.
53086         (M_SQRT1_2l): Likewise.
53088 2012-05-31  David S. Miller  <davem@davemloft.net>
53090         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
53091         values between float registers.
53092         * sysdeps/sparc/sparc64/memset.S: Likewise.
53093         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53095 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
53097         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
53098         -D_FORTIFY_SOURCE=1.
53099         (CPPFLAGS-tst-longjmp_chk.c): Define.
53100         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
53101         (CPPFLAGS-tst-longjmp_chk2.c): Define.
53102         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
53103         CFLAGS-tst-wchar-h.c.
53105 2012-05-31  Marek Polacek  <polacek@redhat.com>
53107         [BZ #14132]
53108         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
53109         __endmntent_internal): Remove declaration.
53110         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
53111         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
53112         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
53114 2012-05-30  David S. Miller  <davem@davemloft.net>
53116         * sysdeps/sparc/sparc32/soft-fp/q_util.c
53117         (___Q_simulate_exceptions): Use real FP ops rather than writing
53118         into the %fsr.
53119         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
53120         Likewise.
53122 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53124         [BZ #14117]
53125         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
53126         * sysdeps/x86/bits/xtitypes.h: This.
53128         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
53129         * sysdeps/x86/bits/wordsize.h: This.
53131         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
53132         * sysdeps/x86/bits/huge_vall.h: This.
53134         * sysdeps/i386/bits/select.h: Removed.
53135         * sysdeps/x86_64/bits/select.h: Renamed to ...
53136         * sysdeps/x86/bits/select.h: This.
53138         * sysdeps/i386/bits/setjmp.h: Removed.
53139         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
53140         * sysdeps/x86/bits/setjmp.h: This.
53142         * sysdeps/i386/bits/mathdef.h: Removed.
53143         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
53144         * sysdeps/x86/bits/mathdef.h: This.
53146 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
53148         [BZ #14132]
53149         * include/sys/socket.h (__connect_internal)
53150         (__libc_sa_len_internal): Remove declaration.
53151         (__connect, __libc_sa_len): Declare hidden_proto.
53152         (SA_LEN): Remove use of INTUSE.
53153         * socket/connect.c: Add libc_hidden_def.
53154         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
53155         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
53156         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
53157         alias.
53158         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
53159         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
53160         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
53161         of adding _internal alias.
53163 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53165         [BZ #14117]
53166         * sysdeps/i386/bits/link.h: Removed.
53167         * sysdeps/i386/bits/linkmap.h: Likewise.
53168         * sysdeps/x86_64/bits/link.h: Renamed to ...
53169         * sysdeps/x86/bits/link.h: This.
53170         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
53171         * sysdeps/x86/bits/linkmap.h: This.
53173         * sysdeps/i386/bits/endian.h: Removed.
53174         * sysdeps/x86_64/bits/endian.h: Renamed to ...
53175         * sysdeps/x86/bits/endian.h: This.
53177         * sysdeps/i386/bits/byteswap.h: Removed.
53178         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53179         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
53180         * sysdeps/x86/bits/byteswap.h: This.
53181         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
53182         * sysdeps/x86/bits/byteswap-16.h: This.
53183         * sysdeps/i386/Implies: Add x86.
53184         * sysdeps/x86_64/Implies: Likewise.
53186 2012-05-30  David S. Miller  <davem@davemloft.net>
53188         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
53189         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
53190         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53191         (FP_TRAPPING_EXCEPTIONS): Define.
53192         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53193         (FP_TRAPPING_EXCEPTIONS): Define.
53194         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
53195         subnormals only when inexact has been signalled or underflow
53196         exceptions are enabled.
53197         (_FP_PACK_CANONICAL): Likewise.
53199 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53201         [BZ #14183]
53202         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
53203         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
53205 2012-05-30  Richard Henderson  <rth@twiddle.net>
53207         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
53208         with #ifndef NOT_IN_libc.
53210         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
53211         marked to avoid plt entry.
53213 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53215         [BZ #14112]
53216         * Makeconfig (default-abi): New macro.
53217         (abi-includes): Likewise.
53218         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
53219         $(abi-$(default-abi)-lib-soname) for soname if defined.
53220         ($(common-objpfx)gnu/lib-names.stmp): Generate from
53221         abi-variants.
53222         * Makefile (installed-stubs): Likewise.
53223         * include/stubs-biarch.h: Removed.
53224         * scripts/lib-names.awk: Only handle one library at a time.
53225         * scripts/soversions.awk: Remove WORDSIZE support.
53226         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
53227         entries.
53228         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
53229         Removed.
53230         (syscall-list-default-condition): Likewise.
53231         (syscall-list-default-condition): Likewise.
53232         (syscall-list-includes): Likewise.
53233         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
53234         syscall-list-* with abi-*.  Handle undefined abi-variants.
53235         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
53236         * sysdeps/unix/sysv/linux/i386/Implies: New file.
53237         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
53238         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
53239         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
53240         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
53241         Removed.
53242         (syscall-list-32-options): Likewise.
53243         (syscall-list-32-condition): Likewise.
53244         (syscall-list-64-options): Likewise.
53245         (syscall-list-64-condition): Likewise.
53246         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
53247         macro.
53248         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
53249         Renamed to ...
53250         (abi-*): This.
53251         (abi-64-ld-soname): New macro.
53252         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
53253         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
53254         Renamed to ...
53255         (abi-*): This.
53256         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
53257         * sysdeps/x86_64/x32/shlib-versions: Likewise.
53259 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
53261         * sysdeps/unix/sysv/linux/kernel-features.h
53262         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
53263         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
53264         include <kernel-features.h>.
53265         [!__NR_ftruncate64]: Remove conditional code.
53266         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53267         [__NR_ftruncate64]: Make code unconditional.
53268         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53269         * sysdeps/unix/sysv/linux/truncate64.c: Do not
53270         include <kernel-features.h>.
53271         [!__NR_ftruncate64]: Remove conditional code.
53272         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53273         [__NR_ftruncate64]: Make code unconditional.
53274         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
53276         include <kernel-features.h>.
53277         [!__NR_ftruncate64]: Remove conditional code.
53278         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53279         [__NR_ftruncate64]: Make code unconditional.
53280         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53282         include <kernel-features.h>.
53283         [!__NR_ftruncate64]: Remove conditional code.
53284         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53285         [__NR_ftruncate64]: Make code unconditional.
53286         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53288         * configure.in (libc_cv_fpie): Weaken to a compile test using
53289         LIBC_TRY_CC_OPTION.
53290         * configure: Regenerated.
53292 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
53295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
53296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
53297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53298         Refreshed.
53299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
53300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
53301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
53302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
53303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
53304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53305         Refreshed.
53307 2012-05-27  David S. Miller  <davem@davemloft.net>
53309         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
53310         (___Q_zero): New.
53311         (__Q_simulate_exceptions): Return void.  Change to simulate
53312         exceptions by writing into the %fsr.
53313         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
53314         (__Qp_handle_exceptions): Likewise.
53315         (numbers): Delete.
53316         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
53317         __Qp_handle_exceptions.
53318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
53319         __Qp_handle_exceptions.
53320         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53321         as unused and give dummy FP_RND_NEAREST initializer.
53322         (FP_INHIBIT_RESULTS): Define.
53323         (___Q_simulate_exceptions): Update declaration.
53324         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
53325         formatting.
53326         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53327         as unused and give dummy FP_RND_NEAREST initializer.
53328         (__Qp_handle_exceptions): Update declaration.
53329         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
53330         formatting.
53332 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
53334         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
53335         the temporary FPU control word.
53336         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53337         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
53338         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
53339         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
53340         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53341         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
53342         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
53343         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53344         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
53345         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
53346         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53348 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53350         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
53351         fields.
53353 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
53355         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
53356         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
53357         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
53358         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
53359         Likewise.
53360         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
53361         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
53362         Likewise.
53364 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
53366         * po/h.po: Update from translation team.
53368 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
53370         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
53372         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
53373         handling of denormals.
53374         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53375         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53376         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53377         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53378         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53379         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
53380         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
53381         Likewise.
53383 2012-05-26  Marek Polacek  <polacek@redhat.com>
53385         [BZ #14152]
53386         * math/libm-test.inc (fma_test): Don't always expect underflow
53387         exception.
53389 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53391         [BZ #12416]
53392         * elf/tst-execstack.c: Include stackinfo.h.
53393         (do_test): Adjust test case to ensure that pthread_getattr_np
53394         behaviour remains the same after marking stack executable.
53396 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53398         * sysdeps/unix/sysv/linux/kernel-features.h
53399         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
53400         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
53401         kernel-features.h.
53402         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53403         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53404         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
53405         kernel-features.h.
53406         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53407         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53409 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
53411         * configure.in: Define the default includes to being none.
53412         * configure: Regenerated.
53414 2012-05-25  Roland McGrath  <roland@hack.frob.com>
53416         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
53417         * sysdeps/x86_64/setjmp.S: Likewise.
53418         * sysdeps/i386/bsd-setjmp.S: Likewise.
53419         * sysdeps/i386/bsd-_setjmp.S: Likewise.
53420         * sysdeps/i386/setjmp.S: Likewise.
53421         * sysdeps/i386/__longjmp.S: Likewise.
53422         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
53423         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
53425         * include/stap-probe.h: New file.
53426         * configure.in: Handle --enable-systemtap.
53427         * configure: Regenerated.
53428         * config.h.in (USE_STAP_PROBE): New #undef.
53429         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
53430         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
53431         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
53433 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53435         [BZ #13717]
53436         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
53437         to 2.4.0 where earlier.
53438         * sysdeps/unix/sysv/linux/configure: Regenerated.
53439         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53440         <kernel-features.h>.
53441         [__ASSUME_32BITUIDS]: Make code unconditional.
53442         [!__ASSUME_32BITUIDS]: Remove conditional code.
53443         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
53444         <kernel-features.h>.
53445         [__ASSUME_32BITUIDS]: Make code unconditional.
53446         [!__ASSUME_32BITUIDS]: Remove conditional code.
53447         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
53448         [__ASSUME_32BITUIDS]: Make code unconditional.
53449         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
53450         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
53451         <kernel-features.h>.
53452         [__ASSUME_32BITUIDS]: Make code unconditional.
53453         [!__ASSUME_32BITUIDS]: Remove conditional code.
53454         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
53455         <kernel-features.h>.
53456         [__ASSUME_32BITUIDS]: Make code unconditional.
53457         [!__ASSUME_32BITUIDS]: Remove conditional code.
53458         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
53459         <kernel-features.h>.
53460         [__ASSUME_32BITUIDS]: Make code unconditional.
53461         [!__ASSUME_32BITUIDS]: Remove conditional code.
53462         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
53463         <kernel-features.h>.
53464         [__ASSUME_32BITUIDS]: Make code unconditional.
53465         [!__ASSUME_32BITUIDS]: Remove conditional code.
53466         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53467         <kernel-features.h>.
53468         [__ASSUME_32BITUIDS]: Make code unconditional.
53469         [!__ASSUME_32BITUIDS]: Remove conditional code.
53470         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53471         <kernel-features.h>.
53472         [__ASSUME_32BITUIDS]: Make code unconditional.
53473         [!__ASSUME_32BITUIDS]: Remove conditional code.
53474         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
53475         <kernel-features.h>.
53476         [__ASSUME_32BITUIDS]: Make code unconditional.
53477         [!__ASSUME_32BITUIDS]: Remove conditional code.
53478         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53479         <kernel-features.h>.
53480         [__ASSUME_32BITUIDS]: Make code unconditional.
53481         [!__ASSUME_32BITUIDS]: Remove conditional code.
53482         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53483         <kernel-features.h>.
53484         [__ASSUME_32BITUIDS]: Make code unconditional.
53485         [!__ASSUME_32BITUIDS]: Remove conditional code.
53486         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
53487         <kernel-features.h>.
53488         [__ASSUME_32BITUIDS]: Make code unconditional.
53489         [!__ASSUME_32BITUIDS]: Remove conditional code.
53490         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
53491         <kernel-features.h>.
53492         [__NR_setresgid] (__setresgid): Do not declare.
53493         [__ASSUME_32BITUIDS]: Make code unconditional.
53494         [!__ASSUME_32BITUIDS]: Remove conditional code.
53495         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
53496         <kernel-features.h>.
53497         [__NR_setresuid] (__setresuid): Do not declare.
53498         [__ASSUME_32BITUIDS]: Make code unconditional.
53499         [!__ASSUME_32BITUIDS]: Remove conditional code.
53500         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
53501         <kernel-features.h>.
53502         [__ASSUME_32BITUIDS]: Make code unconditional.
53503         [!__ASSUME_32BITUIDS]: Remove conditional code.
53504         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
53505         <kernel-features.h>.
53506         [__ASSUME_32BITUIDS]: Make code unconditional.
53507         [!__ASSUME_32BITUIDS]: Remove conditional code.
53508         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
53509         <kernel-features.h>.
53510         [__ASSUME_32BITUIDS]: Make code unconditional.
53511         [!__ASSUME_32BITUIDS]: Remove conditional code.
53512         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
53513         <kernel-features.h>.
53514         [__ASSUME_32BITUIDS]: Make code unconditional.
53515         [!__ASSUME_32BITUIDS]: Remove conditional code.
53516         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
53517         <kernel-features.h>.
53518         [__ASSUME_32BITUIDS]: Make code unconditional.
53519         [!__ASSUME_32BITUIDS]: Remove conditional code.
53520         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
53521         <kernel-features.h>.
53522         [__ASSUME_32BITUIDS]: Make code unconditional.
53523         [!__ASSUME_32BITUIDS]: Remove conditional code.
53524         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
53525         <kernel-features.h>.
53526         [__ASSUME_32BITUIDS]: Make code unconditional.
53527         [!__ASSUME_32BITUIDS]: Remove conditional code.
53528         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
53529         <kernel-features.h>.
53530         [__ASSUME_32BITUIDS]: Make code unconditional.
53531         [!__ASSUME_32BITUIDS]: Remove conditional code.
53532         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
53533         <kernel-features.h>.
53534         [__ASSUME_32BITUIDS]: Make code unconditional.
53535         [!__ASSUME_32BITUIDS]: Remove conditional code.
53536         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53537         <kernel-features.h>.
53538         [__ASSUME_32BITUIDS]: Make code unconditional.
53539         [!__ASSUME_32BITUIDS]: Remove conditional code.
53540         * sysdeps/unix/sysv/linux/kernel-features.h
53541         (__ASSUME_SETRESUID_SYSCALL): Remove.
53542         (__ASSUME_SETRESGID_SYSCALL): Likewise.
53543         (__ASSUME_32BITUIDS): Likewise.
53544         (__ASSUME_LDT_WORKS): Likewise.
53545         (__ASSUME_O_DIRECTORY): Likewise.
53546         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
53547         architecture but not kernel version.
53548         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
53549         (__ASSUME_MMAP2_SYSCALL): Likewise.
53550         (__ASSUME_STAT64_SYSCALL): Likewise.
53551         (__ASSUME_IPC64): Likewise.
53552         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
53553         <kernel-features.h>.
53554         [__ASSUME_32BITUIDS]: Make code unconditional.
53555         [!__ASSUME_32BITUIDS]: Remove conditional code.
53556         * sysdeps/unix/sysv/linux/opendir.c: Do not include
53557         <kernel-features.h>.
53558         [__ASSUME_O_DIRECTORY]: Make code unconditional.
53559         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
53560         132096]: Remove conditional code.
53561         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
53562         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53563         <kernel-features.h>.
53564         [__ASSUME_32BITUIDS]: Make code unconditional.
53565         [!__ASSUME_32BITUIDS]: Remove conditional code.
53566         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53567         <kernel-features.h>.
53568         [__ASSUME_32BITUIDS]: Make code unconditional.
53569         [!__ASSUME_32BITUIDS]: Remove conditional code.
53570         * sysdeps/unix/sysv/linux/setegid.c: Do not include
53571         <kernel-features.h>.
53572         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
53573         unconditional.
53574         (__setresgid): Do not declare.
53575         [__ASSUME_32BITUIDS]: Make code unconditional.
53576         [!__ASSUME_32BITUIDS]: Remove conditional code.
53577         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
53578         <kernel-features.h>.
53579         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
53580         unconditional.
53581         (__setresuid): Do not declare.
53582         [__ASSUME_32BITUIDS]: Make code unconditional.
53583         [!__ASSUME_32BITUIDS]: Remove conditional code.
53584         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53585         <kernel-features.h>.
53586         [__ASSUME_32BITUIDS]: Make code unconditional.
53587         [!__ASSUME_32BITUIDS]: Remove conditional code.
53588         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
53589         <kernel-features.h>.
53590         [__ASSUME_32BITUIDS]: Make code unconditional.
53591         [!__ASSUME_32BITUIDS]: Remove conditional code.
53593 2012-05-25  Richard Henderson  <rth@twiddle.net>
53595         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
53596         dl_hwcap to ifunc resolver.
53597         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
53598         elf_ifunc_invoke.
53599         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
53600         dl_hwcap to ifunc resolver.
53601         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
53603 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53605         [BZ #14153]
53606         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
53607         for |x| <= 2**-26, not 2**-57.
53608         * math/libm-test.inc (acos_test): Do not allow spurious underflow
53609         exception.
53611 2012-05-24  Jeff Law  <law@redhat.com>
53613         * stdio-common/Makefile (tests): Add bug25.
53614         * stdio-common/bug25.c: New test.
53616 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53618         [BZ #13576]
53619         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
53620         multiple of MALLOC_ALIGNMENT in size.
53621         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
53623 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53625         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
53626         Require >= 256.
53627         (FILENAME_MAX): Use macro-int-constant.
53628         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
53629         (_IOFBF): Use macro-int-constant.
53630         (_IOLBF): Likewise.
53631         (_IONBF): Likewise.
53632         (SEEK_CUR): Likewise.
53633         (SEEK_END): Likewise.
53634         (SEEK_SET): Likewise.
53635         (TMP_MAX): Likewise.
53636         (EOF): Use macro-int-constant.  Require < 0.
53637         (NULL): Use macro-constant.  Require == 0.
53638         (stdin): Require type to be FILE *.
53639         (stdout): Likewise.
53640         (stderr): Likewise.
53641         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
53642         macro-int-constant.
53643         (EXIT_SUCCESS): Likewise.
53644         (NULL): Use macro-constant.  Require == 0.
53645         (RAND_MAX): Use macro-int-constant.
53646         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
53647         [C99-based standards] (strtof): Require function.
53648         [C99-based standards] (strtold): Likewise.
53649         [C99-based standards] (strtoll): Likewise.
53650         [C99-based standards] (strtoull): Likewise.
53651         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53652         [ISO || ISO99 || ISO11] (limits.h): Likewise.
53653         [ISO || ISO99 || ISO11] (math.h): Likewise.
53654         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
53655         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53656         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53658 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
53660         [BZ #14132]
53661         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
53662         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
53663         * intl/dgettext.c (DCGETTEXT): Likewise.
53664         * intl/gettext.c (DCGETTEXT): Likewise.
53665         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
53666         * posix/regex_internal.h (gettext): Likewise.
53667         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
53668         Remove declaration.
53669         * include/argz.h (__argz_count_internal)
53670         (__argz_stringify_internal): Remove declaration.
53671         (__argz_count, __argz_stringify): Declare hidden proto.
53672         * intl/dcgettext.c: Remove use of INTDEF.
53673         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
53674         * string/argz-stringify.c: Likewise.
53675         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53676         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53677         Declare hidden proto.
53678         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53679         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53680         Declare hidden proto.
53681         * include/stdio.h (__asprintf_internal): Don't declare.
53682         (__asprintf): Don't define as macro.  Declare hidden proto.
53683         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
53684         (__fsetlocking): Declare hidden proto.
53685         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
53686         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
53687         hidden proto.
53688         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
53689         (_IO_setlinebuf): Remove use of INTUSE.
53690         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
53691         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
53692         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
53693         Remove declaration.
53694         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
53695         (_IO_do_flush): Remove use of INTUSE.
53696         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
53697         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
53698         (_IO_adjust_column, _IO_least_wmarker)
53699         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
53700         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
53701         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
53702         (_IO_default_doallocate, _IO_wdefault_doallocate)
53703         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
53704         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
53705         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
53706         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
53707         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
53708         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
53709         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
53710         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
53711         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
53712         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
53713         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
53714         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
53715         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
53716         proto.
53717         (_IO_flush_all_internal, _IO_adjust_column_internal)
53718         (_IO_default_uflow_internal, _IO_default_finish_internal)
53719         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
53720         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
53721         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
53722         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
53723         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
53724         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
53725         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
53726         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
53727         (_IO_file_close_internal, _IO_file_close_it_internal)
53728         (_IO_file_underflow_internal, _IO_file_overflow_internal)
53729         (_IO_file_init_internal, _IO_file_attach_internal)
53730         (_IO_file_fopen_internal, _IO_file_read_internal)
53731         (_IO_file_sync_internal, _IO_file_seek_internal)
53732         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
53733         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
53734         (_IO_str_underflow_internal, _IO_str_overflow_internal)
53735         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
53736         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
53737         (_IO_list_all_internal, _IO_link_in_internal)
53738         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
53739         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
53740         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
53741         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
53742         (_IO_do_write_internal, _IO_padn_internal)
53743         (_IO_getline_info_internal, _IO_getline_internal)
53744         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
53745         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
53746         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
53747         (_IO_vfscanf_internal, _IO_vfprintf_internal)
53748         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
53749         (_IO_init_internal, _IO_un_link_internal): Don't declare.
53750         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
53751         with libc_hidden_ver, remove use of INTUSE.
53752         * libio/genops.c: Likewise.
53753         * libio/freopen.c: Likewise.
53754         * libio/freopen64.c: Likewise.
53755         * libio/iofclose.c: Likewise.
53756         * libio/iofdopen.c: Likewise.
53757         * libio/iofflush.c: Likewise.
53758         * libio/iofflush_u.c: Likewise.
53759         * libio/iofgets.c: Likewise.
53760         * libio/iofgets_u.c: Likewise.
53761         * libio/iofopen.c: Likewise.
53762         * libio/iofopncook.c: Likewise.
53763         * libio/iofread.c: Likewise.
53764         * libio/iofread_u.c: Likewise.
53765         * libio/ioftell.c: Likewise.
53766         * libio/iofwrite.c: Likewise.
53767         * libio/iogetline.c: Likewise.
53768         * libio/iogets.c: Likewise.
53769         * libio/iogetwline.c: Likewise.
53770         * libio/iopadn.c: Likewise.
53771         * libio/iopopen.c: Likewise.
53772         * libio/ioseekoff.c: Likewise.
53773         * libio/ioseekpos.c: Likewise.
53774         * libio/iosetbuffer.c: Likewise.
53775         * libio/iosetvbuf.c: Likewise.
53776         * libio/ioungetc.c: Likewise.
53777         * libio/ioungetwc.c: Likewise.
53778         * libio/iovdprintf.c: Likewise.
53779         * libio/iovsprintf.c: Likewise.
53780         * libio/iovsscanf.c: Likewise.
53781         * libio/memstream.c: Likewise.
53782         * libio/obprintf.c: Likewise.
53783         * libio/oldfileops.c: Likewise.
53784         * libio/oldiofclose.c: Likewise.
53785         * libio/oldiofdopen.c: Likewise.
53786         * libio/oldiofopen.c: Likewise.
53787         * libio/oldiopopen.c: Likewise.
53788         * libio/oldstdfiles.c: Likewise.
53789         * libio/putc.c: Likewise.
53790         * libio/setbuf.c: Likewise.
53791         * libio/setlinebuf.c: Likewise.
53792         * libio/stdfiles.c: Likewise.
53793         * libio/strops.c: Likewise.
53794         * libio/vasprintf.c: Likewise.
53795         * libio/vscanf.c: Likewise.
53796         * libio/vsnprintf.c: Likewise.
53797         * libio/vswprintf.c: Likewise.
53798         * libio/wfiledoalloc.c: Likewise.
53799         * libio/wfileops.c: Likewise.
53800         * libio/wgenops.c: Likewise.
53801         * libio/wmemstream.c: Likewise.
53802         * libio/wstrops.c: Likewise.
53803         * libio/__fpurge.c: Likewise.
53804         * libio/__fsetlocking.c: Likewise.
53805         * assert/assert.c: Likewise.
53806         * debug/fgets_chk.c: Likewise.
53807         * debug/fgets_u_chk.c: Likewise.
53808         * debug/fread_chk.c: Likewise.
53809         * debug/fread_u_chk.c: Likewise.
53810         * debug/gets_chk.c: Likewise.
53811         * debug/obprintf_chk.c: Likewise.
53812         * debug/vasprintf_chk.c: Likewise.
53813         * debug/vdprintf_chk.c: Likewise.
53814         * debug/vsnprintf_chk.c: Likewise.
53815         * debug/vsprintf_chk.c: Likewise.
53816         * malloc/mtrace.c: Likewise.
53817         * misc/error.c: Likewise.
53818         * misc/syslog.c: Likewise.
53819         * stdio-common/asprintf.c: Likewise.
53820         * stdio-common/fxprintf.c: Likewise.
53821         * stdio-common/getw.c: Likewise.
53822         * stdio-common/isoc99_fscanf.c: Likewise.
53823         * stdio-common/isoc99_scanf.c: Likewise.
53824         * stdio-common/isoc99_vfscanf.c: Likewise.
53825         * stdio-common/isoc99_vscanf.c: Likewise.
53826         * stdio-common/isoc99_vsscanf.c: Likewise.
53827         * stdio-common/printf-prs.c: Likewise.
53828         * stdio-common/printf_fp.c: Likewise.
53829         * stdio-common/printf_fphex.c: Likewise.
53830         * stdio-common/printf_size.c: Likewise.
53831         * stdio-common/putw.c: Likewise.
53832         * stdio-common/scanf.c: Likewise.
53833         * stdio-common/sprintf.c: Likewise.
53834         * stdio-common/tmpfile.c: Likewise.
53835         * stdio-common/vfprintf.c: Likewise.
53836         * stdio-common/vfscanf.c: Likewise.
53837         * stdlib/strfmon_l.c: Likewise.
53838         * sunrpc/openchild.c: Likewise.
53839         * sunrpc/xdr_stdio.c: Likewise.
53840         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
53841         * sysdeps/mach/hurd/tmpfile.c: Likewise.
53843 2012-05-24  Roland McGrath  <roland@hack.frob.com>
53845         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53847         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
53848         in the third column, to generate for the shared library an IFUNC
53849         that uses _dl_vdso_vsym.
53850         * Makerules (COMPILE.c, compile-stdin.c): New variables.
53851         * Makeconfig (object-suffixes-noshared): New variable.
53853         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
53854         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
53855         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
53856         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
53858         [BZ #14132]
53859         * include/sys/time.h (__gettimeofday): Remove macro.
53860         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
53861         * time/gettimeofday.c (__gettimeofday): Remove #undef.
53862         Remove INTDEF.
53863         (__gettimeofday): Add libc_hidden_def.
53864         (gettimeofday): Add libc_hidden_weak.
53865         * sysdeps/mach/gettimeofday.c: Likewise.
53866         * sysdeps/posix/gettimeofday.c: Likewise.
53867         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
53868         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
53869         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
53870         (__gettimeofday_internal): Remove strong_alias.
53871         (__gettimeofday): Add libc_hidden_def.
53872         (gettimeofday): Add libc_hidden_weak.
53873         * sysdeps/unix/syscalls.list (gettimeofday):
53874         Remove __gettimeofday_internal alias.
53876 2012-05-24  Daniel Jacobowitz  <drow@false.org>
53877             H.J. Lu  <hongjiu.lu@intel.com>
53879         [BZ #12495]
53880         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
53881         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
53882         (largebin_index_32_big): New.
53883         (largebin_index): Use it for 16-byte alignment.
53884         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
53885         correction with front_misalign.
53887 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
53890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
53891         Likewise.
53892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
53893         Likewise.
53894         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53895         Likewise.
53896         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
53897         Likewise.
53898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
53899         Likewise.
53900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
53901         Likewise.
53902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
53903         Likewise.
53904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53905         Likewise.
53906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
53907         Likewise.
53908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
53909         Likewise.
53910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
53911         Likewise.
53912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
53913         Likewise.
53915         * scripts/data/c++-types-x32-linux-gnu.data: New file.
53916         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
53918 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53920         [BZ #10846]
53921         [BZ #14036]
53922         * math/libm-test.inc (exp_test): Add test from bug 14036.
53923         (pow_test): Add test from bug 10846.
53925         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
53926         and other flags.
53927         (special_function): Do not include flags in test name.
53928         (parse_args): Likewise.
53929         * sysdeps/i386/fpu/libm-test-ulps: Update.
53930         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53931         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53932         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53935         * math/gen-libm-test.pl (%beautify): Add entries for underflow
53936         exceptions.
53937         * math/libm-test.inc ("Philosophy"): Update comment about
53938         exception testing.
53939         (UNDERFLOW_EXCEPTION): New macro.
53940         (UNDERFLOW_EXCEPTION_OK): Likewise.
53941         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
53942         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
53943         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
53944         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
53945         (INVALID_EXCEPTION_OK): Update value.
53946         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53947         (OVERFLOW_EXCEPTION_OK): Likewise.
53948         (IGNORE_ZERO_INF_SIGN): Likewise.
53949         (test_exceptions): Handle underflow exceptions.
53950         (acos_test): Update for underflow exception expectations.
53951         (cexp_test): Likewise.
53952         (clog_test): Likewise.
53953         (clog10_test): Likewise.
53954         (csqrt_test): Likewise.
53955         (ctan_test): Likewise.
53956         (ctanh_test): Likewise.
53957         (exp_test): Likewise.
53958         (exp10_test): Likewise.
53959         (exp2_test): Likewise.
53960         (expm1_test): Likewise.
53961         (fma_test): Likewise.
53962         (j0_test): Likewise.
53963         (jn_test): Likewise.
53964         (nexttoward_test): Likewise.
53965         (pow_test): Likewise.
53966         (scalbn_test): Likewise.
53967         (scalbln_test): Likewise.
53968         (tan_test): Likewise.
53969         (y1_test): Likewise.
53970         * sysdeps/i386/fpu/libm-test-ulps: Update.
53971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53973 2012-05-23  David S. Miller  <davem@davemloft.net>
53975         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
53976         (__libc_sigaction): Remove unused local variables.
53978 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53980         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
53982 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
53984         mktime: avoid signed integer overflow
53985         * time/mktime.c (__mktime_internal): Do not mishandle the case
53986         where diff == INT_MIN.
53988         mktime: simplify computation of average
53989         * time/mktime.c (ranged_convert): Use new time_t_avg function
53990         instead of rolling our own (probably-slower) code.
53992         mktime: do not assume signed right shift propagates sign bit
53993         * time/mktime.c (isdst_differ): New static function.
53994         (__mktime_internal): No need to normalize tm_isdst now.
53995         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
53996         tm_isdst values.
53998         mktime: merge another wrapv change from gnulib
53999         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
54000         from some compilers.
54002         mktime: remove incorrect attempt at unusual arithmetics
54003         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
54004         The code didn't really work on such machines anyway.
54005         (TYPE_MINIMUM): Assume two's complement.
54006         (twos_complement_arithmetic): Verify that long_int and time_t
54007         are two's complement (or unsigned, in the latter case).
54009         mktime: check signed shifts on long_int and time_t, too
54010         * time/mktime.c (SHR): Check that shifts work as desired
54011         on the types long_int and time_t too, as SHR is used on
54012         such types.
54014         mktime: do not assume 'long' is wide enough
54015         * time/mktime.c (verify): Move decl up.
54016         (long_int): New type.
54017         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
54018         to remove assumption in the code that 'long' is wide enough to
54019         store year values.  This assumption is not true on x32 and on
54020         some non-glibc platforms.
54022         mktime: merge wrapv change from gnulib
54023         * time/mktime.c (WRAPV): New macro.
54024         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
54025         (guess_time_tm, __mktime_internal): Do not assume that signed
54026         integer overflow wraps around; modern compilers generate code
54027         where this assumption is no longer valid.
54029 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54031         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54032         Replace "jmp L(pseudo_end)" with "ret".
54033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
54034         Likewise.
54036 2012-05-23  Andreas Jaeger  <aj@suse.de>
54038         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
54039         * sysdeps/unix/sysv/linux/poll.c: Remove file.
54041 2012-05-23  Andreas Jaeger  <aj@suse.de>
54042             Maximilian Attems  <max@stro.at>
54044         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
54045         New macros.
54047 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54049         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
54050         code so that pseudo_end is just ret and the stack pointer is
54051         correct also for static library in error case.
54053 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
54055         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
54056         move to syscalls.list.
54057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
54058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
54059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
54060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
54062         * manual/install.texi (Running make install): Do not mention Linux
54063         kernel version for which pt_chown is not needed.
54064         (Linux): Do not mention problems with nscd with 2.0 kernels.
54065         * INSTALL: Regenerated.
54067 2012-05-23  Andreas Jaeger  <aj@suse.de>
54069         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
54070         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
54071         macro.
54072         * sysdeps/unix/sysv/linux/s390/bits/mman.h
54073         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54074         * sysdeps/unix/sysv/linux/sh/bits/mman.h
54075         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54076         * sysdeps/unix/sysv/linux/i386/bits/mman.h
54077         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54078         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
54079         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54080         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
54081         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54082         * sysdeps/unix/sysv/linux/bits/in.h
54083         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
54085 2012-05-22  Roland McGrath  <roland@hack.frob.com>
54087         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
54088         (PREPARE_VERSION): Just use assert instead, it will be elided
54089         under [NDEBUG] anyway.
54091 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54093         * sysdeps/unix/sysv/linux/Makefile: Include
54094         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
54095         (sysdep_routines): Remove sysctl.
54096         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
54097         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
54098         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
54099         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
54100         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
54102 2012-05-22  Andreas Jaeger  <aj@suse.de>
54104         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
54105         that pseudo_end is just ret and the stack pointer is correct also
54106         for static library in error case.
54108 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
54110         [BZ #14122]
54111         * nss/nsswitch.c (defconfig_entries): New variable.
54112         (__nss_database_lookup): Don't leak defconfig entries.
54113         (nss_parse_service_list): Don't leak on error paths.
54114         (free_database_entries): New function.
54115         (free_defconfig): New function.
54116         (free_mem): Move common code to free_database_entries.
54118 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54120         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
54121         Add arch_prctl.
54122         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
54124         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54125         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
54126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
54127         New macro.
54128         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
54129         (INTERNAL_SYSCALL_TYPES): Likewise.
54130         (LOAD_ARGS_TYPES_[1-6]): Likewise.
54131         (LOAD_REGS_TYPES_[1-6]): Likewise.
54132         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
54133         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
54135 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54137         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
54138         copysignl for GLIBC_2_0.
54139         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
54140         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
54141         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
54142         logbl for GLIBC_2_0.
54143         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
54144         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
54146 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54148         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
54149         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54151         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54152         Use "neg %eax".
54154         * time/mktime.c: Update copyright years.
54156 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
54158         mktime: merge comment-quoting-style change from gnulib
54159         * time/mktime.c: Quote 'like this' in comments.
54160         The GNU coding standards suggest that we no longer quote `like this',
54161         as "`" and "'" are typically rendered asymmetrically nowadays.
54162         The typical gnulib style is to quote 'like this' when quoting
54163         code, and "like this" when quoting English.
54165         * time/mktime.c (compile-command): Add "-I.".
54167         mktime: merge mktime-internal.h change from gnulib
54168         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
54170         mktime: merge time_r change from gnulib
54171         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
54173         mktime: merge DEBUG change from gnulib
54174         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
54175         case system <time.h> has a #define.
54177         mktime: merge <sys/types.h> change from gnulib
54178         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
54179         since <time.t> is now guaranteed to define time_t.
54181         mktime: merge HAVE_CONFIG_H change from gnulib
54182         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
54184 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54186         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54187         Use "neg %eax".
54189         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
54190         __rlim_t cast.
54191         (struct rusage): Use anonymous union to pad each field to
54192         __syscall_slong_t.
54194 2012-05-21  David S. Miller  <davem@davemloft.net>
54196         * Makefules (o-iterator): Remove .s cases.
54197         (compile-command.s): Delete.
54198         (COMPILE.s): Delete.
54199         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
54201 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
54203         * configure.in (libc_cv_predef_stack_protector): Only consider
54204         "foobar" and "__stack_chk_fail" lines in libc_undefs.
54205         * configure: Regenerated.
54207 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54209         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54210         New macro.  Use R*LP on int and pointer.
54211         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
54212         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
54213         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
54214         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
54216         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
54217         [__WORDSIZE_TIME64_COMPAT32] instead of
54218         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
54219         (struct utmp): Likewise.
54220         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
54221         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
54222         Renamed to ...
54223         (__WORDSIZE_TIME64_COMPAT32): This.
54224         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
54225         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
54226         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
54227         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
54228         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
54229         (__WORDSIZE_TIME64_COMPAT32): New macro.
54231 2012-05-21  Andreas Jaeger  <aj@suse.de>
54233         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
54234         only if [SHARED]. Add prototype for __wcschr_ia32.
54236 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54238         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
54239         of %rbp unmolested in the jmp_buf while mangling the low bits.
54240         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
54241         unmolested high bits of %rbp while demangling the low bits.
54242         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54244 2012-05-21  Andreas Jaeger  <aj@suse.de>
54246         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
54247         * sunrpc/svc_simple.c: Use it for registerrpc.
54248         * sunrpc/xcrypt.c: Use it for passwd2des.
54250         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
54252 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54254         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
54255         Don't define if [__SYSCALL_WORDSIZE != 32].
54256         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
54257         New macro.
54259 2012-05-21  Bruno Haible  <bruno@clisp.org>
54260             Andreas Jaeger  <aj@suse.de>
54262         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
54263         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
54264         inptr and inend for must_buffer_ch.
54265         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
54266         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
54267         * stdio-common/Makefile (tests): Remove bug15.
54268         (bug15-ENV): Remove macro.
54269         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
54270         anymore.
54272 2012-05-19  Andreas Jaeger  <aj@suse.de>
54273             Roland McGrath  <roland@hack.frob.com>
54275         * manual/contrib.texi: Completely rewritten. It contains now an
54276         alphabetical list of contributors and their contributions.
54278 2012-05-21  Richard Henderson  <rth@twiddle.net>
54280         * misc/getauxval.c (__getauxval): Use unsigned long int.
54281         * misc/sys/auxv.h: Include <sys/cdefs.h>.
54282         (getauxval): Use unsigned long int.
54284 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54286         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
54288 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54290         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
54291         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
54292         __alignof__ (long double).
54294 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54298 2012-05-20  Richard Henderson  <rth@twiddle.net>
54300         * misc/getauxval.c: New file.
54301         * misc/sys/auxv.h: New file.
54302         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
54303         (routines): Add getauxval.
54304         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
54305         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
54306         * elf/dl-sysdep.c (_dl_auxv): Remove.
54307         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
54308         * elf/dl-support.c (_dl_auxv): New variable.
54309         (_dl_aux_init): Initialize it.
54310         * manual/startup.texi (Auxiliary Vector): New node.
54311         * sysdeps/generic/bits/hwcap.h: New file.
54312         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
54313         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
54314         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
54315         * sysdeps/sparc/sysdep.h: ... here.  Include it.
54316         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
54317         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
54318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54319         Update.
54320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
54321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
54322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
54323         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
54324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
54327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
54329 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54333 2012-05-19  David S. Miller  <davem@davemloft.net>
54335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54337 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54339         [BZ #14123]
54340         * math/s_ccosh.c: Include <float.h>
54341         (__ccosh): Avoid internal overflow calculating sinh and cosh
54342         values before multiplying by sin and cos values.
54343         * math/s_ccoshf.c: Likewise.
54344         * math/s_ccoshl.c: Likewise.
54345         * math/s_csin.c: Likewise.
54346         * math/s_csinf.c: Likewise.
54347         * math/s_csinl.c: Likewise.
54348         * math/s_csinh.c: Likewise.
54349         * math/s_csinhf.c: Likewise.
54350         * math/s_csinhl.c: Likewise.
54351         * math/libm-test.inc (ccos_test): Add more tests.
54352         (ccosh_test): Likewise.
54353         (csin_test): Likewise.
54354         (csinh_test): Likewise.
54355         * sysdeps/i386/fpu/libm-test-ulps: Update.
54356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54358 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
54360         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
54361         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
54363         * sysdeps/x86_64/x32/_itoa.h: Add comment.
54365 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54367         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
54368         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
54369         * sysdeps/powerpc/soft-fp/Versions: Likewise.
54370         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
54371         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
54372         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
54373         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
54374         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
54375         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
54376         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
54377         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
54378         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
54379         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
54380         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
54381         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
54382         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
54383         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
54384         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
54385         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
54386         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
54387         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
54388         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
54389         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
54390         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
54391         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
54392         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
54393         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
54394         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
54395         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
54396         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
54397         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
54399 2012-05-18  Andreas Jaeger  <aj@suse.de>
54401         * csu/.gitignore: Delete.
54403 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54405         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
54406         (timex): Use __syscall_slong_t.
54408 2012-05-18  Andreas Jaeger  <aj@suse.de>
54409             Carlos O'Donell  <carlos_odonell@mentor.com>
54411         * manual/install.texi (Configuring and compiling): Update
54412         description about files modified in the source directory.
54413         * INSTALL: Regenerated.
54415 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54417         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
54418         value.  Use "or" to set return value to -1.
54419         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
54420         negate return value.
54422 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54424         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
54425         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
54426         failure if the compiler has Graphite support disabled.
54427         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
54428         Likewise.
54429         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
54430         (CFLAGS-memmove.c): Likewise.
54431         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
54432         Likewise.
54434 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54436         * sysdeps/x86_64/x32/_itoa.h: New file.
54438         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
54439         getdents system call only if kernel and user dirents have the
54440         same d_ino and d_off.
54442         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54443         LLONG_MAX != LONG_MAX.
54444         (_itoa_word): Use _ITOA_WORD_TYPE on value.
54445         (_fitoa_word): Likewise.
54447         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
54448         years.
54449         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
54450         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
54451         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
54453         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
54454         include <bits/wordsize.h>.  Check __x86_64__ instead of
54455         __WORDSIZE.
54456         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
54457         if __x86_64__ is defined.  Use anonymous union on fpstate.
54459         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
54460         anonymous union.
54462 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
54464         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
54465         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
54466         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
54467         Refer to _rtld_local_ro instead of _rtld_global_ro.
54468         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
54469         Likewise.
54470         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
54471         Likewise.
54472         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
54473         Likewise.
54474         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
54475         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
54476         of _rtld_global, and rtld_progname instead of _dl_argv[0].
54478         [BZ #10882]
54479         * sysdeps/powerpc/powerpc32/dl-machine.c
54480         (__elf_machine_runtime_setup) [PROF]: Don't reference
54481         _dl_prof_resolve.
54483 2012-05-18  Andreas Jaeger  <aj@suse.de>
54485         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
54486         function only available for GCCs before 3.4 since GCC 3.4
54487         introduced a builtin.
54488         (lrint): Likewise.
54489         (llrintf): Likewise.
54490         (llrint): Likewise.
54491         (fmaxf): Likewise.
54492         (fmax): Likewise.
54493         (fminf): Likewise.
54494         (fmin): Likewise.
54495         (rint): Likewise.
54496         (rintf): Likewise.
54497         (nearbyint): Likewise.
54498         (nearbyintf): Likewise.
54499         (ceil): Likewise.
54500         (ceilf): Likewise.
54501         (floor): Likewise.
54502         (floorf): Likewise.
54504 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54506         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
54507         on both fields and cast pointer to __syscall_ulong_t.
54509         * bits/types.h (__fsword_t): New type.
54510         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
54511         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
54512         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54513         (__FSWORD_T_TYPE): Likewise.
54514         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54515         (__FSWORD_T_TYPE): Likewise.
54516         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54517         (__FSWORD_T_TYPE): Likewise.
54518         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
54519         (__FSWORD_T_TYPE): Likewise.
54520         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
54521         __SWORD_TYPE with __fsword_t.
54522         (statfs64): Likewise.
54524 2012-05-17  David S. Miller  <davem@davemloft.net>
54526         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
54528 2012-05-17  Andreas Jaeger  <aj@suse.de>
54530         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
54531         warning.
54533 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54535         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
54537 2012-05-17  Andreas Jaeger  <aj@suse.de>
54539         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
54540         when it is used.
54542 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54544         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
54546 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54548         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
54549         * sysdeps/x86_64/tst-mallocalign1.c: New file.
54551 2012-05-17  Andreas Jaeger  <aj@suse.de>
54552             Carlos O'Donell  <carlos_odonell@mentor.com>
54554         [BZ #14059]
54555         * sysdeps/x86_64/multiarch/init-arch.h
54556         (bit_YMM_Usable): Rename to...
54557         (bit_AVX_Usable): ... this.
54558         (bit_FMA4_Usable): New macro.
54559         (bit_XMM_state): New macro.
54560         (bit_YMM_state): New macro.
54561         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
54562         [__ASSEMBLER__] (index_AVX_Usable): ... this.
54563         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
54564         (CPUID_OSXSAVE): New macro.
54565         (CPUID_AVX): New macro.
54566         (CPUID_FMA4): New macro.
54567         (index_YMM_Usable): Rename to...
54568         (index_AVX_Usable): ... this.
54569         (HAS_AVX): Use HAS_ARCH_FEATURE.
54570         (HAS_FMA4): Likewise.
54571         (HAS_YMM_USABLE): Remove.
54572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54573         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
54574         are present.
54575         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
54576         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
54577         * sysdeps/x86_64/multiarch/Makefile: Likewise.
54578         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
54579         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
54581 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54583         * math/libm-test.c: Support platforms without multiple rounding modes.
54584         * math/bug-nextafter.c: Support platforms without FP exceptions.
54585         * math/bug-nexttoward.c: Likewise.
54586         * math/test-fenv.c: Likewise.
54587         * math/test-misc.c: Likewise.
54588         * stdlib/bug-getcontext.c: Likewise.
54590 2012-05-17  Andreas Jaeger  <aj@suse.de>
54592         * manual/examples/search.c (critter_cmp): Change signature to
54593         avoid warnings.
54594         * manual/string.texi (Collation Functions): Likewise.
54596 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54598         * bits/types.h: Fold copyright years.
54599         * bits/typesizes.h: Likewise.
54600         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
54601         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54602         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
54603         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
54604         * time/time.h: Likewise.
54606 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
54608         [BZ #208]
54609         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
54610         in instead of returning them.  Return void.
54611         (__libc_mallinfo): Accumulate over all arenas.
54612         (__malloc_stats): Adjust for change in int_mallinfo interface.
54614 2012-05-16  Roland McGrath  <roland@hack.frob.com>
54616         [BZ #10375]
54617         * configure.in (NM): Add AC_CHECK_TOOL for it.
54618         (libc_extra_cflags): New substituted variable.
54619         Check for -fstack-protector being used implicitly.
54620         * configure: Regenerated.
54621         * config.make.in (config-extra-cflags): New variable,
54622         gets @libc_extra_cflags@.
54623         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
54625         [BZ #10375]
54626         * configure.in: Check for _FORTIFY_SOURCE being predefined.
54627         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
54628         * configure: Regenerated.
54629         * config.make.in (CPPUNDEFS): New substituted variable.
54630         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
54631         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
54632         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
54634 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54636         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
54637         (mq_attr): Use __syscall_slong_t.
54639 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54641         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
54642         Check __x86_64__ instead of __WORDSIZE.
54643         (_STAT_VER_LINUX): Likewise.
54644         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
54645         __syscall_ulong_t and __syscall_slong_t.
54646         (stat64): Likewise.
54648 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54650         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
54652 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54654         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
54656 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54658         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
54659         __syscall_ulong_t.
54661         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
54662         include <bits/wordsize.h>.  Check __x86_64__ instead of
54663         __WORDSIZE.
54664         (greg_t): Use "__extension__ long long int" if __x86_64__ is
54665         defined.
54666         (mcontext_t): Replace "unsigned long" with "unsigned long long".
54668         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
54669         include <bits/wordsize.h>.  Check __x86_64__ instead of
54670         __WORDSIZE.
54671         (user_regs_struct): Use "__extension__ unsigned long long"
54672         instead of "unsigned long" if __x86_64__ is defined.
54673         (user): Likewise.  Pad after pointer field if __ILP32__ is
54674         defined.
54676 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
54678         * configure.in (makeinfo): Require version 4.5 or later.  Allow
54679         versions 5 to 9.
54680         * configure: Regenerated.
54681         * manual/install.texi (texinfo): Increase version requirement to
54682         4.5 or later.
54683         * INSTALL: Regenerated.
54685         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
54687 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54689         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
54691         * sysdeps/x86_64/x32/ffs.c: New file.
54693         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
54694         __syscall_ulong_t.
54695         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
54696         defined.  Use __syscall_ulong_t.
54697         (shminfo): Use __syscall_ulong_t.
54698         (shm_info): Likewise.
54700         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
54701         __syscall_ulong_t.
54703         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
54704         <bits/wordsize.h>.
54705         (msgqnum_t): Use __syscall_ulong_t.
54706         (msglen_t): Likewise.
54707         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
54708         __syscall_ulong_t.
54710         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
54711         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54713         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
54715         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
54716         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
54718         * sysvipc/sys/msg.h (msgbuf): Replace long int with
54719         __syscall_slong_t.
54721         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
54722         include <bits/wordsize.h>.  Check __x86_64__ instead of
54723         __WORDSIZE.
54725         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
54726         "unsigned long long int" if __x86_64__ is defined.
54727         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
54729         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
54730         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54731         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
54733         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
54734         <stdint.h>.
54735         (GET_PC): Cast to uintptr_t first.
54736         (GET_FRAME): Likewise.
54737         (GET_STACK): Likewise.
54739         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
54740         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
54741         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
54742         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
54743         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
54744         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
54745         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
54746         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
54747         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
54748         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
54749         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
54750         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
54751         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54752         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
54753         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
54754         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
54755         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
54756         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
54757         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
54758         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
54759         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
54760         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
54761         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
54762         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
54763         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
54764         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
54765         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
54766         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
54767         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
54769 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
54771         * Makerules (+depfiles): Also collect depfiles from .oS in
54772         $(extra-objs).
54773         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
54774         .oS, $(libnldbl-routines)).
54776         * Makerules (native-compile-mkdep-flags): Define.
54777         * sunrpc/Makefile (extra-objs): Add $(addprefix
54778         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
54779         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
54780         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
54781         calling $(make-target-directory).
54783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54785         * bits/types.h (__snseconds_t): Removed.
54786         * time/time.h (struct timespec): Replace __snseconds_t with
54787         __syscall_slong_t.
54788         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
54789         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
54790         Likewise.
54791         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54792         (__SNSECONDS_T_TYPE): Likewise.
54793         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54794         (__SNSECONDS_T_TYPE): Likewise.
54795         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54796         (__SNSECONDS_T_TYPE): Likewise.
54798 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54800         * sysdeps/mach/hurd/bits/typesizes.h
54801         (__SYSCALL_SLONG_TYPE): New macro.
54802         (__SYSCALL_ULONG_TYPE): Likewise.
54804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54806         * bits/types.h (__syscall_slong_t): New type.
54807         (__syscall_ulong_t): Likewise.
54809         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
54810         (__SYSCALL_ULONG_TYPE): Likewise.
54811         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54812         (__SYSCALL_SLONG_TYPE): Likewise.
54813         (__SYSCALL_ULONG_TYPE): Likewise.
54814         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54815         (__SYSCALL_SLONG_TYPE): Likewise.
54816         (__SYSCALL_ULONG_TYPE): Likewise.
54817         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54818         (__SYSCALL_SLONG_TYPE): Likewise.
54819         (__SYSCALL_ULONG_TYPE): Likewise.
54821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54823         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
54824         Add sigaltstack-offsets.sym.
54825         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
54826         <sigaltstack-offsets.h>.
54827         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
54828         longjmp_msg pointer.
54829         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
54830         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
54831         signal stack.
54832         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
54834 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54836         * elf/stackguard-macros.h: Remove file.
54837         * sysdeps/generic/stackguard-macros.h: New file.
54838         * sysdeps/i386/stackguard-macros.h: Likewise.
54839         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54840         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54841         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54842         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54843         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54844         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54845         * sysdeps/x86_64/stackguard-macros.h: Likewise.
54846         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
54847         <elf/stackguard-macros.h>.
54849         [BZ #14109]
54850         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
54851         __aligned__ in attribute.
54852         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
54853         (gregset_t): Likewise.
54855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54857         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
54858         * sysdeps/x86_64/64/Implies-after: Here.  New file.
54859         * sysdeps/x86_64/x32/Implies-after: New file.
54861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54863         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
54864         and access return value for _dl_profile_fixup.  Use R10_LP to
54865         load frame size.
54867 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54869         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
54871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54873         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
54874         * sysdeps/x86_64/x32/sysdep.h: New file.
54876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54878         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
54879         * sysdeps/x86_64/setjmp.S: Likewise.
54881 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54883         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
54884         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
54885         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
54886         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
54887         remove unused global constant.
54889 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
54891         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
54892         include of <not-cancel.h>.
54894 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54896         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
54898 2012-05-15  Jeff Law  <law@redhat.com>
54899             Andreas Jaeger  <aj@suse.de>
54901         [BZ #13594]
54902         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
54903         out from...
54904         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
54905         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
54906         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
54907         code changing __hst_map_handle.map.
54909 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54911         * configure.in (sysnames): Look for Implies-before and Implies-after
54912         files.
54913         * configure: Regenerated.
54915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54917         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
54918         8-byte data alignment with LP_SIZE alignment.
54920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54922         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
54923         into R10_LP.
54925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54927         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
54929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54931         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
54932         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
54933         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
54934         Likewise.
54935         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54939         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
54940         (stackinfo_sub_sp): Likewise.
54942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54944         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
54945         RAX_LP.
54947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54949         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
54950         into R*_LP.
54952 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54954         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
54955         sizes into R*_LP.
54957 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54959         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
54961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54963         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
54964         into R11_LP and load __x86_64_shared_cache_size_half into
54965         R8_LP.
54967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54969         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
54970         R8_LP.
54972 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54974         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
54975         logb for POWER7.
54976         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
54977         logbf for POWER7.
54978         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
54979         logbl for POWER7.
54980         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
54981         powerpc32/power7/fpu/s_logb.c via #include.
54982         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
54983         powerpc32/power7/fpu/s_logbf.c via #include.
54984         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
54985         powerpc32/power7/fpu/s_logbl.c via #include.
54987 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54989         * README.libm: Remove file.
54991 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54993         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
54994         count for x32.  Use R*_LP and omit operand-size suffix.
54996 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54998         * shlib-versions: Move x86_64-.*-linux.* entries to ...
54999         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
55000         * sysdeps/x86_64/x32/shlib-versions: New file.
55002 2012-05-14  Roland McGrath  <roland@hack.frob.com>
55004         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
55005         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
55006         Use _dl_fatal_printf instead.
55008 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
55010         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
55011         set if not set by the user.  Do not allow for being unset.
55012         * sysdeps/unix/sysv/linux/configure: Regenerated.
55014 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55016         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
55017         the `q' suffix from lea and replace .quad with ASM_ADDR.
55019 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
55022         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
55023         instead of $17.
55024         (PTR_DEMANGLE): Likewise.
55026 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55028         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
55029         (LP_OP): Likewise.
55030         (ASM_ADDR): Likewise.
55031         (RAX_LP): Likewise.
55032         (RBP_LP): Likewise.
55033         (RBX_LP): Likewise.
55034         (RCX_LP): Likewise.
55035         (RDI_LP): Likewise.
55036         (RSI_LP): Likewise.
55037         (RSP_LP): Likewise.
55038         (R8_LP): Likewise.
55039         (R9_LP): Likewise.
55040         (R10_LP): Likewise.
55041         (R10_LP): Likewise.
55042         (R11_LP): Likewise.
55043         (R12_LP): Likewise.
55044         (R13_LP): Likewise.
55045         (R14_LP): Likewise.
55046         (R15_LP): Likewise.
55048 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55050         * sysdeps/x86_64/x32/dl-machine.h: New file.
55052 2012-05-14  Andreas Jaeger  <aj@suse.de>
55054         * manual/Makefile (subdir): Remove export of subdir.
55055         (all): Remove target.
55056         (.PHONY): Remove all from list.
55057         (mkinstalldirs): Remove.
55058         (.PHONY): Remove installdirs from list.
55059         ($(inst_infodir)/libc.info): Use make-target-directory.
55060         (installdirs): Remove.
55061         (subdir_%): Remove.
55062         (glibc-targets): Remove.
55063         (lib): Remove.
55064         (stubs): Remove.
55065         ($(objpfx)stubs ../po/manual.pot): Remove.
55066         ($(objpfx)stamp%): Remove.
55067         (make-target-directory): Remove.
55068         (subdir_install): Remove.
55069         (routines): Remove.
55070         (aux): Remove.
55071         (sources): Remove.
55072         (objects): Remove.
55073         (headers): Remove.
55075         [BZ #13750]
55076         * manual/.gitignore: Remove, it's not needed anymore.
55077         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
55078         all files in it.
55079         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
55080         directory.
55081         (texis): Renamed to $(objpfx)texis.
55082         (texis-path): New, contains path to generated files.
55083         (chapters.%): Use texis-path for complete path, add extra argument
55084         libc-texinfo.sh.
55085         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
55086         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
55087         (summary,texi, stamp-summary): Use complete path of
55088         files. Generate files in build dir.
55089         (dir-add.texi): Build in build dir.
55090         (libm-err.texi,stamp-libm-err): Likewise.
55091         (version.texi, stamp-version): Likewise.
55092         (.%c.texi): Likewise.
55093         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
55094         (mostlyclean): Remove target.
55095         (realclean): Remove target.
55096         (generated): Add new variable with contents from mostlyclean and
55097         realclean, remove entries duplicated in common-mostlyclean, add
55098         stamp-libm-err and stamp-version.
55099         (generated-dirs): Add libc directory.
55100         ($(inst_infodir)/libc.info): Install files from build dir.
55102         * manual/install.texi (Configuring and compiling): Adjust since
55103         the info files are not part of the tar ball anymore.
55105 2012-05-14  Andreas Jaeger  <aj@suse.de>
55107         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
55108         variable.
55110 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
55112         [BZ #13717]
55113         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55114         to 2.2.0 where earlier.
55115         * sysdeps/unix/sysv/linux/configure: Regenerated.
55116         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
55117         Remove conditional code.
55118         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
55119         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
55120         Remove conditional code.
55121         [!__NR_lchown]: Likewise.
55122         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55123         [__NR_lchown]: Likewise.
55124         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
55125         comment referencing __ASSUME_LCHOWN_SYSCALL.
55126         * sysdeps/unix/sysv/linux/i386/sigaction.c
55127         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55128         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55129         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
55130         Remove conditional code.
55131         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
55132         (__protocol_available): Remove #if 0 code.
55133         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
55134         conditional code.
55135         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
55136         * sysdeps/unix/sysv/linux/kernel-features.h
55137         (__ASSUME_GETCWD_SYSCALL): Don't define.
55138         (__ASSUME_REALTIME_SIGNALS): Likewise.
55139         (__ASSUME_PREAD_SYSCALL): Likewise.
55140         (__ASSUME_PWRITE_SYSCALL): Likewise.
55141         (__ASSUME_POLL_SYSCALL): Likewise.
55142         (__ASSUME_LCHOWN_SYSCALL): Likewise.
55143         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
55144         non-SPARC.
55145         (__ASSUME_SIOCGIFNAME): Don't define.
55146         (__ASSUME_MSG_NOSIGNAL): Likewise.
55147         (__ASSUME_SENDFILE): Define unconditionally.
55148         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
55149         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
55150         conditional code.
55151         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
55152         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
55153         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55154         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55155         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
55156         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55157         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
55159         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55160         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
55162         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55163         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
55165         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55166         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
55168         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55169         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
55171         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55172         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
55174         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55175         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
55177         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55178         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
55180         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55181         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55182         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
55183         Remove conditional code.
55184         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55185         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55186         Remove conditional code.
55187         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55188         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
55189         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
55190         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55191         Remove conditional code.
55192         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55193         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
55194         Remove conditional code.
55195         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55196         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
55197         Remove conditional code.
55198         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55199         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55200         Remove conditional code.
55201         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55202         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55203         Remove conditional code.
55204         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55205         * sysdeps/unix/sysv/linux/sh/pwrite64.c
55206         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55207         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55208         * sysdeps/unix/sysv/linux/sigaction.c
55209         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55210         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55211         * sysdeps/unix/sysv/linux/sigpending.c
55212         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55213         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55214         * sysdeps/unix/sysv/linux/sigprocmask.c
55215         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55216         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55217         * sysdeps/unix/sysv/linux/sigsuspend.c
55218         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55219         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55220         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55221         (__libc_missing_rt_sigs): Remove.
55222         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
55223         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
55224         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
55225         Remove conditional code.
55226         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
55227         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
55228         return 1.
55229         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
55230         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
55231         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
55232         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
55234 2012-05-14  Andreas Jaeger  <aj@suse.de>
55236         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
55237         it's not used in glibc.
55238         (__coshm1): Likewise.
55239         (__acosh1p): Likewise.
55240         (__sgn): Likewise.
55242         * manual/string.texi (Copying and Concatenation): Add missing
55243         variable in concat example.
55244         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
55246 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55248         [BZ #14103]
55249         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
55250         __builtin_clzl with __builtin_clzll.
55252 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55254         [BZ #14104]
55255         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
55256         libc_freeres_ptr.
55258 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55260         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
55261         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
55262         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
55263         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
55265 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
55267         * NEWS: Update ia64 info.
55269 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
55271         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
55272         used as bcopy.
55274 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
55276         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
55277         * sysdeps/unix/syscalls.list (dup3): Likewise.
55278         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
55279         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
55281 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55283         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
55284         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
55286 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55288         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
55289         thread pointer.
55290         (TLS_IE): Use mov/add instead of movq/addq to load thread
55291         pointer.
55292         (TLS_GD_PREFIX): New.
55293         (TLS_GD): Use it.
55295 2012-05-11  David S. Miller  <davem@davemloft.net>
55297         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
55298         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
55299         (_FPU_SETCW): Likewise.
55301 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55303         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
55304         is 32-byte aligned.
55306 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
55308         [BZ #11837]
55309         * iconvdata/gb18030.c: Update tables.
55310         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
55311         characters specially.
55312         (BODY for TO_LOOP): Add encoding of missing ranges.
55314 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
55316         [BZ #13673]
55317         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
55318         * sysdeps/mach/hurd/dup3.c: Likewise.
55319         * sysdeps/mach/hurd/readlinkat.c: Likewise.
55320         * sysdeps/powerpc/memmove.c:: Likewise.
55322 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55324         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
55325         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
55327 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55329         * elf/elf.h (R_X86_64_RELATIVE64): New.
55330         (R_X86_64_NUM): Updated.
55331         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55332         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
55333         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
55334         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
55335         tst-quad1pie tst-quad2pie
55336         (modules-names): Add tst-quadmod1 tst-quadmod2.
55337         ($(objpfx)tst-quad1): New dependency.
55338         ($(objpfx)tst-quad2): Likewise.
55339         ($(objpfx)tst-quad1pie): Likewise.
55340         ($(objpfx)tst-quad2pie): Likewise.
55341         * sysdeps/x86_64/tst-quad1.c: New file.
55342         * sysdeps/x86_64/tst-quad1pie.c: New file.
55343         * sysdeps/x86_64/tst-quad2.c: Likewise.
55344         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
55345         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
55346         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
55347         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
55348         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
55350 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55352         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
55353         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
55354         * streams/stropts.h (t_scalar_t): Define type.
55356         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
55357         (_PATH_PRESERVE): Set to "/var/lib".
55358         (_PATH_RWHODIR): Set to "/var/spool/rwho".
55360         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
55361         instead of int.
55363         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
55364         if __dir_mkfile succeeded.
55366         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
55367         checking for _hurd_dtablesize.  Unlock it right after having
55368         finished _hurd_dtable allocation.
55370 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55372         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
55373         * sysdeps/mach/hurd/configure: Regenerated.
55374         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
55375         special-casing to...
55376         * sysdeps/gnu/configure.in: ... this new file.
55377         * sysdeps/unix/sysv/linux/configure: Regenerated.
55378         * sysdeps/gnu/configure: New generated file.
55380         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
55381         for Linux: use nsec instead of usec, as well as:
55382         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
55383         members of type struct timespec.
55384         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
55385         New macros.
55386         (struct stat64): Likewise.
55387         (_STATBUF_ST_NSEC): New macro.
55388         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
55390         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55391         __strtoul_internal rather than strtoul.
55393 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55395         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
55396         and reject them.
55398 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55400         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
55401         which preserves existing values.
55402         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
55404 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55406         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
55407         TIMEOUT values.  Return EINVAL for NFDS values either negative or
55408         greater than FD_SETSIZE.
55410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55412         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
55413         allocated, call __vm_protect to finish enabling the existing space, and
55414         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
55415         allocate the remainder.
55417 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55419         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
55420         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
55422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55424         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
55425         sysdeps/mach/hurd/readlink.c.
55427         * posix/tst-sysconf.c (posix_options): Only use
55428         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
55429         _POSIX_SYNCHRONIZED_IO when they are defined
55430         * sysdeps/mach/hurd/bits/posix_opt.h:
55431         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
55432         (_XOPEN_REALTIME): Undefine macro.
55433         (_XOPEN_REALTIME_THREADS): Undefine macro.
55434         (_XOPEN_SHM): Undefine macro.
55435         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
55436         macro to -1.
55437         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
55438         macro to -1.
55439         (_POSIX_ASYNC_IO): Undefine macro.
55440         (_POSIX_PRIORITIZED_IO): Undefine macro.
55441         (_POSIX_SPIN_LOCKS): Define macro to -1.
55443         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
55444         SA_NODEFER, SA_RESETHAND.
55445         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
55446         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
55447         F_DUPFD_CLOEXEC.
55449 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55451         * elf/Makefile (pldd-modules): Define unconditionally.
55453 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55455         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
55457 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55459         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
55460         Return ENOENT when name is empty.
55461         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
55463 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55465         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
55467         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
55469 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55471         Fix mlock in all cases except non-readable pages.
55472         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
55473         instead of VM_PROT_ALL as parameter to __vm_wire function.
55475         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
55476         (__mkdir): When path is `/', just fail with EEXIST.
55477         * sysdeps/mach/hurd/mkdirat.c: Likewise.
55479 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55481         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
55482         <sys/uio.h> (for writev).
55483         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
55484         and <sys/param.h> (for MIN).
55486 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55488         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
55489         REQUESTED_TIME.  Properly set the remaining time and return EINTR
55490         if interrupted.
55492 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55494         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
55495         Depend on against $(link-rpcuserlibs).
55497 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55499         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
55500         (__libc_stack_end): Do not use attribute_relro.
55501         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
55502         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
55503         to libthread-provided value.
55504         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
55505         attribute_relro.
55507 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55509         [BZ #3748]
55510         * bits/libc-lock.h (__libc_once_get): New macro.
55511         * sysdeps/mach/bits/libc-lock.h: Likewise.
55512         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
55513         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
55514         instead of using implementation details.
55516         * libio/fileops.c: Unconditionally include <kernel-features.h>.
55517         * libio/freopen.c: Likewise.
55518         * libio/freopen64.c: Likewise.
55519         * misc/syslog.c: Likewise.
55520         * nscd/connections.c: Likewise.
55521         * nscd/netgroupcache.c: Likewise.
55522         * sysdeps/posix/getcwd.c: Likewise.
55524 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55526         * math/w_ilogbf.c: Add #include <limits.h>.
55528 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55530         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
55531         path instead of returning without unlocking.
55533         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
55534         immediate-write ioctls.
55535         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
55537 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55539         * sysdeps/mach/hurd/i386/init-first.c (init): Use
55540         __builtin_frame_address instead of making assumptions about the
55541         location of the return address relative to DATA.  Force early load of
55542         the return address.
55543         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
55544         __builtin_frame_address.
55546         dup3 for GNU Hurd.
55547         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
55548         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
55549         implement dup3 and do some further code clean-ups.
55550         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
55551         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
55553 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55555         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
55557         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
55558         HURD_CRITICAL_END around holding _hurd_dtable_lock.
55559         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
55560         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
55561         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
55562         d->port.lock.
55564         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
55565         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
55566         when handler == SIG_ERR, not when handler != SIG_ERR.
55568 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55570         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
55571         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
55572         definitions.
55574         accept4 for GNU Hurd.
55575         * include/sys/socket.h (__libc_accept4): New prototype.
55576         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
55577         to implement __libc_accept4.
55578         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
55579         __libc_accept4.
55580         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
55582         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
55583         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
55584         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
55585         signal-defines.sym.
55587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55589         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
55591 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55593         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
55594         assertion on O_CLOEXEC flag.
55595         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
55596         * hurd/intern-fd.c: Likewise.
55597         * hurd/port2fd.c: Likewise.
55599 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55601         [BZ #3906]
55602         * bits/in.h (IPV6_PKTINFO): Define new macro.
55603         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
55605 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55607         [BZ #13954]
55608         [BZ #13955]
55609         [BZ #13956]
55610         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
55611         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55612         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
55613         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55614         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55615         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55616         * math/libm-test.inc (logb_test) : Additional logb tests.
55618 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
55619             Andreas Jaeger  <aj@suse.de>
55621         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
55622         * configure: Regenerated.
55623         * config.h.in (LINK_OBSOLETE_RPC): New macro.
55624         * config.make.in (link-obsolete-rpc): New substituted variable.
55625         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
55626         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
55627         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55628         (shared-only-routines): Don't set it under [link-obsolete-rpc],
55629         so that libc.a contains the symbols.
55630         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55631         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
55632         * sunrpc/auth_none.c: Likewise.
55633         * sunrpc/auth_unix.c: Likewise.
55634         * sunrpc/authdes_prot.c: Likewise.
55635         * sunrpc/authuxprot.c: Likewise.
55636         * sunrpc/clnt_gen.c: Likewise.
55637         * sunrpc/clnt_perr.c: Likewise.
55638         * sunrpc/clnt_raw.c: Likewise.
55639         * sunrpc/clnt_simp.c: Likewise.
55640         * sunrpc/clnt_tcp.c: Likewise.
55641         * sunrpc/clnt_udp.c: Likewise.
55642         * sunrpc/clnt_unix.c: Likewise.
55643         * sunrpc/des_crypt.c: Likewise.
55644         * sunrpc/des_soft.c: Likewise.
55645         * sunrpc/get_myaddr.c: Likewise.
55646         * sunrpc/key_call.c: Likewise.
55647         * sunrpc/key_prot.c: Likewise.
55648         * sunrpc/netname.c: Likewise.
55649         * sunrpc/pm_getmaps.c: Likewise.
55650         * sunrpc/pm_getport.c: Likewise.
55651         * sunrpc/pmap_clnt.c: Likewise.
55652         * sunrpc/pmap_prot.c: Likewise.
55653         * sunrpc/pmap_prot2.c: Likewise.
55654         * sunrpc/pmap_rmt.c: Likewise.
55655         * sunrpc/publickey.c: Likewise.
55656         * sunrpc/rpc_cmsg.c: Likewise.
55657         * sunrpc/rpc_common.c: Likewise.
55658         * sunrpc/rpc_dtable.c: Likewise.
55659         * sunrpc/rpc_prot.c: Likewise.
55660         * sunrpc/rpc_thread.c: Likewise.
55661         * sunrpc/rtime.c: Likewise.
55662         * sunrpc/svc.c: Likewise.
55663         * sunrpc/svc_auth.c: Likewise.
55664         * sunrpc/svc_raw.c: Likewise.
55665         * sunrpc/svc_run.c: Likewise.
55666         * sunrpc/svc_tcp.c: Likewise.
55667         * sunrpc/svc_udp.c: Likewise.
55668         * sunrpc/svc_unix.c: Likewise.
55669         * sunrpc/svcauth_des.c: Likewise.
55670         * sunrpc/xcrypt.c: Likewise.
55671         * sunrpc/xdr.c: Likewise.
55672         * sunrpc/xdr_array.c: Likewise.
55673         * sunrpc/xdr_float.c: Likewise.
55674         * sunrpc/xdr_intXX_t.c: Likewise.
55675         * sunrpc/xdr_mem.c: Likewise.
55676         * sunrpc/xdr_rec.c: Likewise.
55677         * sunrpc/xdr_ref.c: Likewise.
55678         * sunrpc/xdr_sizeof.c: Likewise.
55679         * sunrpc/xdr_stdio.c: Likewise.
55681 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55683         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
55684         change.  Update copyright years.
55686 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55688         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
55690 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
55691             Joseph Myers  <joseph@codesourcery.com>
55692             Paul Pluzhnikov  <ppluzhnikov@google.com>
55694         [BZ #14012]
55695         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
55696         requiring rpcgen.
55697         [cross-compiling] (extra-libs): Likewise.
55698         [cross-compiling] (extra-libs-others): Likewise.
55699         [cross-compiling] (librpcsvc-routines): Likewise.
55700         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
55701         [cross-compiling] (omit-deps): Likewise.
55702         (sunrpc-CPPFLAGS): New variable.
55703         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
55704         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
55705         (cross-rpcgen-objs): New variable.
55706         (extra-objs): Append $(cross-rpcgen-objs).
55707         ($(cross-rpcgen-objs)): New rule.
55708         ($(objpfx)cross-rpcgen): Likewise.
55709         (rpcgen-cmd): Define to use $(built-program-file).  Expand
55710         comment.
55711         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
55712         ($(objpfx)x%.stmp): Likewise.
55713         * sunrpc/proto.h [IS_IN_build] (_): Define.
55714         [IS_IN_build] (_libc_intl_domainname): Likewise.
55716 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55718         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
55719         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
55720         and R_X86_64_TPOFF64.
55722 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55724         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
55725         sysdeps/unix/sysv/syscalls.list.
55726         (stime): Likewise.
55727         (utime): Likewise.
55728         * sysdeps/unix/sysv/syscalls.list: Remove file.
55730 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
55732         [BZ #3440]
55733         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
55734         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
55735         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
55736         (__LC_IDENTIFICATION): Make these macros useful in #if
55737         expressions, as required by C99.
55739 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
55741         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
55742         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
55743         after this.
55745 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
55747         * stdlib/longlong.h: Updated from GCC.
55749 2012-05-09  Andreas Jaeger  <aj@suse.de>
55751         * nscd/nscd.c (run_modes): Make named enum, reorder so that
55752         default is first entry.
55753         (run_mode): Set type.
55754         (main): Remove informal message about syslog.
55755         (options): Fix typo.
55757         [BZ #14053]
55758         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
55759         to asm.
55760         (lrint): Likewise.
55761         (llrintf): Likewise.
55762         (llrint): Likewise.
55763         (rint): Likewise.
55764         (rintf): Likewise.
55765         (nearbyint): Likewise.
55766         (nearbyintf): Likewise.
55768 2012-05-09  Andreas Jaeger  <aj@suse.de>
55769             Pedro Alves  <palves@redhat.com>
55771         * nscd/nscd.c (run_mode): Use enum.
55772         (main): Cleanup coding style issue.
55774 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
55775             Andreas Jaeger  <aj@suse.de>
55777         * nscd/nscd.c (go_background): Replaced with...
55778         (run_mode): ... this.
55779         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
55780         (options): Add -F --foreground.
55781         (main): Implement it.
55782         (parse_opt): Parse it.
55784 2012-05-09  Andreas Jaeger  <aj@suse.de>
55786         [BZ #14083]
55787         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
55788         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
55789         -Wconversion warning.
55790         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
55791         Likewise.
55793 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
55795         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
55796         == 0.
55797         (LC_ALL): Use macro-int-constant.
55798         (LC_COLLATE): Likewise.
55799         (LC_CTYPE): Likewise.
55800         (LC_MESSAGES): Likewise.
55801         (LC_MONETARY): Likewise.
55802         (LC_NUMERIC): Likewise.
55803         (LC_TIME): Likewise.
55804         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
55805         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55806         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55807         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
55808         Specify type.
55809         [C99-based standards] (float_t): Expect type.
55810         [C99-based standards] (double_t): Expect type.
55811         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
55812         type.
55813         [C99-based standards] (HUGE_VALL): Likewise.
55814         [C99-based standards] (INFINITY): Likewise.
55815         [C99-based standards] (NAN): Likewise.
55816         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
55817         [C99-based standards] (FP_NAN): Likewise.
55818         [C99-based standards] (FP_NORMAL): Likewise.
55819         [C99-based standards] (FP_SUBNORMAL): Likewise.
55820         [C99-based standards] (FP_ZERO): Likewise.
55821         [C99-based standards] (FP_FAST_FMA): Use
55822         optional-macro-int-constant.  Specify type.  Require == 1.
55823         [C99-based standards] (FP_FAST_FMAF): Likewise.
55824         [C99-based standards] (FP_FAST_FMAL): Likewise.
55825         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
55826         [C99-based standards] (FP_ILOGBNAN): Likewise.
55827         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
55828         Specify type.
55829         [C99-based standards] (MATH_ERREXCEPT): Likewise.
55830         [C99-based standards] (math_errhandling): Specify type.
55831         [ISO99 || ISO11] (signgam): Do not allow.
55832         [non-C99-based standards] (copysignf): Do not allow.
55833         [non-C99-based standards] (exp2f): Likewise.
55834         [non-C99-based standards] (log2f): Likewise.
55835         [non-C99-based standards] (modff): Allow.
55836         [non-C99-based standards] (erff): Do not allow.
55837         [non-C99-based standards] (erfcf): Likewise.
55838         [non-C99-based standards] (gammaf): Likewise.
55839         [non-C99-based standards] (hypotf): Likewise.
55840         [non-C99-based standards] (j0f): Likewise.
55841         [non-C99-based standards] (j1f): Likewise.
55842         [non-C99-based standards] (jnf): Likewise.
55843         [non-C99-based standards] (lgammaf): Likewise.
55844         [non-C99-based standards] (tgammaf): Likewise.
55845         [non-C99-based standards] (y0f): Likewise.
55846         [non-C99-based standards] (y1f): Likewise.
55847         [non-C99-based standards] (ynf): Likewise.
55848         [non-C99-based standards] (isnanf): Likewise.
55849         [non-C99-based standards] (acoshf): Likewise.
55850         [non-C99-based standards] (asinhf): Likewise.
55851         [non-C99-based standards] (atanhf): Likewise.
55852         [non-C99-based standards] (cbrtf): Likewise.
55853         [non-C99-based standards] (expm1f): Likewise.
55854         [non-C99-based standards] (ilogbf): Likewise.
55855         [non-C99-based standards] (log1pf): Likewise.
55856         [non-C99-based standards] (logbf): Likewise.
55857         [non-C99-based standards] (nextafterf): Likewise.
55858         [non-C99-based standards] (remainderf): Likewise.
55859         [non-C99-based standards] (rintf): Likewise.
55860         [non-C99-based standards] (scalbf): Likewise.
55861         [non-C99-based standards] (copysignl): Likewise.
55862         [non-C99-based standards] (exp2l): Likewise.
55863         [non-C99-based standards] (log2l): Likewise.
55864         [non-C99-based standards] (modfl): Allow.
55865         [non-C99-based standards] (erfl): Do not allow.
55866         [non-C99-based standards] (erfcl): Likewise.
55867         [non-C99-based standards] (gammal): Likewise.
55868         [non-C99-based standards] (hypotl): Likewise.
55869         [non-C99-based standards] (j0l): Likewise.
55870         [non-C99-based standards] (j1l): Likewise.
55871         [non-C99-based standards] (jnl): Likewise.
55872         [non-C99-based standards] (lgammal): Likewise.
55873         [non-C99-based standards] (tgammal): Likewise.
55874         [non-C99-based standards] (y0l): Likewise.
55875         [non-C99-based standards] (y1l): Likewise.
55876         [non-C99-based standards] (ynl): Likewise.
55877         [non-C99-based standards] (isnanl): Likewise.
55878         [non-C99-based standards] (acoshl): Likewise.
55879         [non-C99-based standards] (asinhl): Likewise.
55880         [non-C99-based standards] (atanhl): Likewise.
55881         [non-C99-based standards] (cbrtl): Likewise.
55882         [non-C99-based standards] (expm1l): Likewise.
55883         [non-C99-based standards] (ilogbl): Likewise.
55884         [non-C99-based standards] (log1pl): Likewise.
55885         [non-C99-based standards] (logbl): Likewise.
55886         [non-C99-based standards] (nextafterl): Likewise.
55887         [non-C99-based standards] (remainderl): Likewise.
55888         [non-C99-based standards] (rintl): Likewise.
55889         [non-C99-based standards] (scalbl): Likewise.
55890         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55891         [non-C99-based standards] (FP_*): Do not allow.
55892         [C99-based standards] (FP_*): Change to
55893         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55894         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55895         allow.
55896         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
55897         (SIG_ERR): Likewise.
55898         [X/Open-based standards] (SIG_HOLD): Likewise.
55899         (SIG_IGN): Likewise.
55900         (SIGABRT): Use macro-int-constant.  Specify type.  Require
55901         positive value.
55902         (SIGFPE): Likewise.
55903         (SIGILL): Likewise.
55904         (SIGINT): Likewise.
55905         (SIGSEGV): Likewise.
55906         (SIGTER): Likewise.
55907         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
55908         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
55909         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
55910         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
55911         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
55912         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
55913         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
55914         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
55915         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
55916         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
55917         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
55918         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
55919         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
55920         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
55921         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
55922         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
55923         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
55924         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
55925         [X/Open-based standards] (SIGTRAP): Likewise.
55926         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
55927         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
55928         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
55929         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
55930         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55931         allow.
55933 2012-05-08  Ian Wienand  <ianw@vmware.com>
55935         [BZ #14080]
55936         * time/tzset.c (__tzset_parse_tz): Update default rules for
55937         daylight time changes in the Energy Policy Act of 2005.
55939 2012-05-09  Andreas Jaeger  <aj@suse.de>
55941         [BZ #13983]
55942         * elf/ldconfig.c (parse_conf): Change string to make clear that
55943         ldconfig only issued a warning if ld.so.conf does not exist.
55945 2012-05-08  David S. Miller  <davem@davemloft.net>
55947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
55948         movxtod instead of popping the value on the stack.
55950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55952 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
55954         * config.h.in: Add HAVE_ARM_PCS_VFP.
55956 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
55958         [BZ #13979]
55959         * include/features.h: Warn if user requests __FORTIFY_SOURCE
55960         checking but the checks are disabled for any reason.
55962 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
55964         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
55965         and ELF64_R_TYPE with ELFW(R_TYPE).
55967 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
55969         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
55970         (ulimit): Likewise.
55972         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
55973         (settimeofday): Likewise.
55975 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
55977         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
55978         a struct th_u2 inside the union, and move tu_block/tu_code into
55979         a new th_u3 union of tu_block/tu_code inside of that.  Move
55980         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
55981         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
55982         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
55983         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
55984         (th_stuff): Change to th_u1.tu_stuff.
55985         (th_data): Define.
55986         (th_msg): Change to th_u1.th_u2.tu_data.
55988 2012-05-07  David S. Miller  <davem@davemloft.net>
55990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55992         [BZ #14074]
55993         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
55994         (SETUP_PIC_REG): Use it.
55995         (SETUP_PIC_REG_LEAF): Use it.
55997 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
55999         [BZ #13885]
56000         [BZ #13923]
56001         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56002         USE_AS_EXPM1L.
56003         (EXPL_FINITE): Likewise.
56004         (FLDLOG): Likewise.
56005         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
56006         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
56007         e_expl.S.
56008         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56009         USE_AS_EXPM1L.
56010         (EXPL_FINITE): Likewise.
56011         (FLDLOG): Likewise.
56012         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
56013         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
56014         e_expl.S.
56015         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
56016         test of -max_value argument for long double.
56017         * sysdeps/i386/fpu/libm-test-ulps: Update.
56018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56020 2012-05-06  David S. Miller  <davem@davemloft.net>
56022         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
56023         quad soft-float symbols whose references which are compiler
56024         generated.
56025         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56027 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
56029         [BZ #13884]
56030         [BZ #13914]
56031         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56032         USE_AS_EXP10L.
56033         (EXPL_FINITE): Likewise.
56034         (FLDLOG): Likewise.
56035         (c0): Likewise.
56036         (c1): Likewise.
56037         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56038         Adjust comments for base varying.
56039         (__expl_finite): Change alias to EXPL_FINITE.
56040         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
56041         e_expl.S.
56042         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
56043         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
56044         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56045         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
56046         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56047         USE_AS_EXP10L.
56048         (EXPL_FINITE): Likewise.
56049         (FLDLOG): Likewise.
56050         (c0): Likewise.
56051         (c1): Likewise.
56052         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56053         Adjust comments for base varying.
56054         (__expl_finite): Change alias to EXPL_FINITE.
56055         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
56056         tests for bugs.
56057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56059         [BZ #14064]
56060         * math/libm-test.inc (check_float_internal): Correct ulp
56061         calculation for subnormal expected results.
56063 2012-05-06  Andreas Jaeger  <aj@suse.de>
56065         * Makeconfig (+math-flags): New, set to -frounding-math.
56066         (+cflags): Add +math-flags so that all of glibc gets compiled with
56067         it.
56069         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
56071 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
56073         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
56074         Disable one test.
56076         [BZ #13787]
56077         [BZ #13922]
56078         [BZ #14036]
56079         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
56080         (__ieee754_expl): Allow for and saturate large arguments.
56081         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
56082         (u_threshold): Likewise.
56083         (__exp): Call __ieee754_exp before checking for overflow and
56084         underflow.
56085         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
56086         (u_threshold): Likewise.
56087         (__expf): Call __ieee754_expf before checking for overflow and
56088         underflow.
56089         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
56090         (u_threshold): Likewise.
56091         (__expl): Call __ieee754_expl before checking for overflow and
56092         underflow.
56093         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
56094         (__ieee754_expl): Allow for and saturate large arguments.
56095         * math/libm-test.inc (exp_test): Add another test.  Do not allow
56096         missing overflow exception on overflow.
56097         (expm1_test): Do not allow missing overflow exception on overflow.
56099         * sysdeps/i386/fpu/e_expl.c: Move to ...
56100         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
56101         rather than using inline asm.
56102         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
56103         * sysdeps/x86_64/fpu/e_expl.S: Copy from
56104         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
56106         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
56107         (nice): Likewise.
56108         (poll): Likewise.
56109         (signal): Likewise.
56110         (time): Likewise.
56111         (times): Likewise.
56113 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56115         * sysdeps/unix/syscalls.list (adjtime): Add entry from
56116         sysdeps/unix/common/syscalls.list.
56117         (fchmod): Likewise.
56118         (fchown): Likewise.
56119         (ftruncate): Likewise.
56120         (getrusage): Likewise.
56121         (gettimeofday): Likewise.
56122         (setpgid): Likewise.
56123         (setregid): Likewise.
56124         (setreuid): Likewise.
56125         (sigaction): Likewise.
56126         (truncate): Likewise.
56127         (vhangup): Likewise.
56128         * sysdeps/unix/common/syscalls.list: Remove file.
56129         * sysdeps/unix/bsd/Implies: Don't include unix/common.
56130         * sysdeps/unix/sysv/linux/Implies: Likewise.
56132 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
56134         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
56135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
56136         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
56137         Moved to ...
56138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
56139         Here.
56140         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
56141         to ...
56142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
56143         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
56144         to ...
56145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
56146         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
56147         to ...
56148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
56149         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
56150         to ...
56151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
56152         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
56153         to ...
56154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
56155         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
56156         to ...
56157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
56158         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
56159         to ...
56160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56161         Here.
56162         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
56163         to ...
56164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
56165         Here.
56166         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
56167         to ...
56168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
56169         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
56170         Moved to ...
56171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
56172         Here.
56173         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
56174         to ...
56175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
56177 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56179         * sysdeps/unix/common/bits/dirent.h: Remove file.
56180         * sysdeps/unix/common/bits/fcntl.h: Likewise.
56182         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
56183         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
56184         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
56185         * sysdeps/unix/bsd/isatty.c: Likewise.
56186         * sysdeps/unix/bsd/tcdrain.c: Likewise.
56187         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
56188         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
56190 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56192         [BZ #13563]
56193         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
56194         long double comparison inaccuracies.
56195         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56198 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
56200         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
56201         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
56203 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56205         [BZ #14049]
56206         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
56207         nonzero digits before rounding a hex value.
56208         * stdlib/tst-strtod.c (tests): Add another test.
56210 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56212         * sysdeps/s390/fpu/libm-test-ulps: Update.
56214 2012-05-03  Andreas Jaeger  <aj@suse.de>
56216         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
56217         does not get optimized out.
56218         (malloc_opt_barrier): New.
56220 2012-05-03  Andreas Jaeger  <aj@suse.de>
56221             Roland McGrath  <roland@hack.frob.com>
56223         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
56224         intermediate file deletion.
56225         (generated): Add .symlist files.
56227 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
56229         [BZ #13775]
56230         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
56231         Redirect under this condition.
56232         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56233         [__USE_GNU] (__dprintf_chk): Not under this condition.
56234         [__USE_GNU] (__vdprintf_chk): Likewise.
56235         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
56236         under this condition.
56237         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56238         [__USE_XOPEN2K8] (dprintf): Define under this condition.
56239         [__USE_XOPEN2K8] (vdprintf): Likewise.
56240         [__USE_GNU] (__dprintf_chk): Not under this condition.
56241         [__USE_GNU] (__vdprintf_chk): Likewise.
56242         [__USE_GNU] (dprintf): Likewise.
56243         [__USE_GNU] (vdprintf): Likewise.
56245 2012-05-03  Roland McGrath  <roland@hack.frob.com>
56247         * elf/Makefile (common-generated): Set this instead of generated for
56248         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
56249         $(all-built-dso)-derived lists.
56251 2012-05-03  Andreas Jaeger  <aj@suse.de>
56253         * sysdeps/i386/fpu/libm-test-ulps: Update.
56255         * FAQ: Removed.
56256         * FAQ.in: Likewise.
56257         * scripts/gen-FAQ.pl: Likewise.
56258         * manual/install.texi (Installation): Point to online location of
56259         FAQ.
56260         * Makefile (files-for-dist): Remove FAQ.
56261         (FAQ): Remove.
56263 2012-05-02  Allan McRae  <allan@archlinux.org>
56265         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
56266         (LDFLAGS-reldepmod5.so): Likewise.
56267         (LDFLAGS-reldep6mod1.so): Likewise.
56268         (LDFLAGS-reldep6mod4.so): Likewise.
56269         (LDFLAGS-reldep8mod3.so): Likewise.
56270         (LDFLAGS-unload4mod1.so): Likewise.
56271         (LDFLAGS-unload4mod2.so): Likewise.
56272         (LDFLAGS-tst-initorder): Likewise.
56273         (LDFLAGS-tst-initordera2.so): Likewise.
56274         (LDFLAGS-tst-initordera3.so): Likewise.
56275         (LDFLAGS-tst-initordera4.so): Likewise.
56276         (LDFLAGS-tst-initorderb2.so): Likewise.
56277         (LDFLAGS-noload): Likewise.
56278         (LDFLAGS-next): Likewise.
56279         (LDFLAGS-order2mod1.so): Likewise.
56280         (LDFLAGS-order2mod2.so): Likewise.
56281         (LDFLAGS-tst-initorder2): Likewise.
56282         (LDFLAGS-tst-initorder2a.so): Likewise.
56283         (LDFLAGS-tst-initorder2b.so): Likewise.
56284         (LDFLAGS-tst-initorder2c.so): Likewise.
56285         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
56287 2012-05-02  David S. Miller  <davem@davemloft.net>
56289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56291 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
56293         [BZ #14055]
56294         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
56296 2012-05-02  Andreas Jaeger  <aj@suse.de>
56298         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
56299         since we manipulate rounding mode.
56300         (CPPFLAGS-test-idouble.c): Likewise.
56301         (CPPFLAGS-test-ifloat.c): Likewise.
56302         (CFLAGS-test-ldouble.c): Likewise.
56303         (CFLAGS-test-double.c): Likewise.
56304         (CFLAGS-test-float.c): Likewise.
56305         (CFLAGS-test-misc.c): Likewise.
56306         (CFLAGS-test-test-fenv.c): Likewise.
56308 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56310         [BZ #2550]
56311         [BZ #2570]
56312         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
56313         comparisons to determine direction to adjust input.
56315 2012-05-01  Roland McGrath  <roland@hack.frob.com>
56317         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
56318         output to the target.
56320         * scripts/localplt.awk: New file.
56321         * elf/Makefile ($(objpfx)check-localplt): Target removed.
56322         (check-localplt-CFLAGS): Variable removed.
56323         ($(all-built-dso:=.jmprel)): New static pattern rule.
56324         (generated): Add those targets.
56325         (localplt-built-dso): New variable.
56326         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
56328         * elf/check-localplt.c: File removed.
56330         * scripts/check-execstack.awk: New file.
56331         * elf/Makefile ($(objpfx)check-execstack): Target removed.
56332         (check-execstack-CFLAGS): Variable removed.
56333         ($(objpfx)check-execstack.h): Target removed.
56334         ($(objpfx)execstack-default): New target.
56335         (generated): Add that instead of check-execstack.h.
56336         ($(all-built-dso:=.phdr)): New static pattern rule.
56337         (generated): Add those targets.
56338         * elf/check-execstack.c: File removed.
56340         * scripts/check-textrel.awk: New file.
56341         * elf/Makefile ($(objpfx)check-textrel): Target removed.
56342         (check-textrel-CFLAGS): Variable removed.
56343         (all-built-dso): Use := to define.o
56344         ($(all-built-dso:=.dyn)): New static pattern rule.
56345         (generated): Add those targets.
56346         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
56347         * config.make.in (READELF): New substituted variable.
56348         * elf/check-textrel.c: File removed.
56350 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56352         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56353         allow.
56354         * conform/data/ctype.h-data [C99-based standards] (isblank):
56355         Expect function.
56356         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
56357         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
56358         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56359         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
56360         Specify type.  Require positive value.
56361         (EILSEQ): Likewise.
56362         (ERANGE): Likewise.
56363         [ISO || POSIX] (EILSEQ): Do not expect.
56364         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
56365         Specify type.  Require positive value.
56366         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
56367         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
56368         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
56369         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
56370         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
56371         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
56372         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
56373         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
56374         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
56375         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
56376         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
56377         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
56378         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
56379         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
56380         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
56381         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
56382         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
56383         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
56384         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
56385         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
56386         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
56387         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
56388         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
56389         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
56390         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
56391         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
56392         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
56393         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
56394         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
56395         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
56396         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
56397         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
56398         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
56399         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
56400         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
56401         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
56402         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
56403         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
56404         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
56405         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
56406         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
56407         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
56408         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
56409         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
56410         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
56411         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
56412         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
56413         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
56414         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
56415         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
56416         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
56417         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
56418         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
56419         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
56420         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
56421         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
56422         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
56423         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
56424         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
56425         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
56426         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
56427         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
56428         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
56429         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
56430         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
56431         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
56432         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
56433         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
56434         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
56435         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
56436         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
56437         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
56438         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
56439         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
56440         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
56441         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
56442         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
56443         Require >= 2.
56444         (FLT_ROUNDS): Expect as macro, not constant.
56445         (FLT_MANT_DIG): Use macro-int-constant.
56446         (DBL_MANT_DIG): Likewise.
56447         (LDBL_MANT_DIG): Likewise.
56448         (FLT_DIG): Likewise.
56449         (DBL_DIG): Likewise.
56450         (LDBL_DIG): Likewise.
56451         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
56452         (DBL_MIN_EXP): Likewise.
56453         (LDBL_MIN_EXP): Likewise.
56454         (FLT_MAX_EXP): Use macro-int-constant.
56455         (DBL_MAX_EXP): Likewise.
56456         (LDBL_MAX_EXP): Likewise.
56457         (FLT_MAX_10_EXP): Likewise.
56458         (DBL_MAX_10_EXP): Likewise.
56459         (LDBL_MAX_10_EXP): Likewise.
56460         (FLT_MAX): Use macro-constant.
56461         (DBL_MAX): Likewise.
56462         (LDBL_MAX): Likewise.
56463         (FLT_EPSILON): Use macro-constant.  Give upper bound.
56464         (DBL_EPSILON): Likewise.
56465         (LDBL_EPSILON): Likewise.
56466         (FLT_MIN): Likewise.
56467         (DBL_MIN): Likewise.
56468         (LDBL_MIN): Likewise.
56469         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
56470         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
56471         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
56472         [ISO11] (FLT_HAS_SUBNORM): Likewise.
56473         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
56474         [ISO11] (DBL_DECIMAL_DIG): Likewise.
56475         [ISO11] (FLT_DECIMAL_DIG): Likewise.
56476         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
56477         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
56478         [ISO11] (FLT_TRUE_MIN): Likewise.
56479         [ISO11] (LDBL_TRUE_MIN): Likewise.
56480         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56481         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
56482         (SCHAR_MIN): Use macro-int-constant.  Specify type.
56483         (SCHAR_MAX): Likewise.
56484         (UCHAR_MAX): Likewise.
56485         (CHAR_MIN): Likewise.
56486         (CHAR_MAX): Likewise.
56487         (MB_LEN_MAX): Use macro-int-constant.
56488         (SHRT_MIN): Use macro-int-constant.  Specify type.
56489         (SHRT_MAX): Likewise.
56490         (USHRT_MAX): Likewise.
56491         (INT_MAX): Likewise.
56492         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
56493         bound negative.
56494         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56495         bound with "U".
56496         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56497         bound with "L".
56498         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
56499         bound negative.  Suffix upper bound with "L".
56500         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56501         bound with "UL".
56502         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
56503         Specify type.
56504         [C99-based standards] (LLONG_MAX): Likewise.
56505         [C99-based standards] (ULLONG_MAX): Likewise.
56506         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
56507         == 0.
56508         [ISO11] (max_align_t): Require type.
56509         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56511         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
56512         from $CFLAGS, without defining away __attribute__ calls.
56513         (checknamespace): Use $CFLAGS_namespace.
56515         * conform/conformtest.pl (@keywords): Only include C99 keywords
56516         for standards based on C99 or C11.
56518         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
56519         Disable tests.
56520         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
56521         UNIX98]: Likewise.
56523         * conform/conformtest.pl: Handle "macro-int-constant" and test for
56524         usability of symbols in #if.
56526         * conform/conformtest.pl: If macro or constant types start
56527         "promoted:", expect the symbol to be of the following type
56528         promoted by the integer promotions.
56530         * conform/conformtest.pl: Parse all "constant" and "macro" lines
56531         in one place.  Also handle "macro-constant".
56533         * conform/conformtest.pl: Only accept expected macro values with
56534         "==".  Parse all "macro" lines in one place.
56535         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
56537         * conform/conformtest.pl: Handle braced types on "constant" lines
56538         instead of handling "typed-constant".
56539         * conform/data/signal.h-data: Use "constant" instead of
56540         "typed-constant".
56542         * conform/conformtest.pl: Handle "optional-" at start of lines in
56543         one place rather than duplicating several cases.  Handle each
56544         format of "macro" line with initial "optional-".
56546         * conform/conformtest.pl: Only accept expected constant or
56547         optional-constant values with "==".  Parse all "constant" lines in
56548         one place.  Parse all "optional-constant" lines in one place.
56549         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
56550         * conform/data/fmtmsg.h-data: Likewise.
56551         * conform/data/netinet/in.h-data: Likewise.
56552         * conform/data/tar.h-data: Likewise.
56553         * conform/data/limits.h-data: Use "==" form on "constant" and
56554         "optional-constant" lines.
56556         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
56557         Use -std=c99 for XOPEN2K.
56558         (@knownproblems): Remove.
56559         (newtoken): Don't check %isknown.
56561         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
56562         Do not expect macro.
56563         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
56564         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
56565         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
56566         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
56567         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
56568         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
56569         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
56570         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
56571         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
56572         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
56573         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
56574         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
56575         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
56576         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
56577         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
56578         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
56579         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
56580         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
56581         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
56582         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
56583         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
56584         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
56585         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
56586         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
56587         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
56588         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
56589         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
56590         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
56591         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
56592         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
56593         [XPG3] (acosh): Likewise.
56594         [XPG3] (asinh): Likewise.
56595         [XPG3] (atanh): Likewise.
56596         [XPG3] (cbrt): Likewise.
56597         [XPG3] (expm1): Likewise.
56598         [XPG3] (ilogb): Likewise.
56599         [XPG3] (log1p): Likewise.
56600         [XPG3] (logb): Likewise.
56601         [XPG3] (nextafter): Likewise.
56602         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
56603         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
56604         [XPG3] (remainder): Likewise.
56605         [XPG3] (rint): Likewise.
56606         [XPG3 || XPG4 || UNIX98] (round): Likewise.
56607         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
56608         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
56609         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
56610         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
56611         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
56612         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
56613         [UNIX98 || XOPEN2K] (scalb): Expect.
56614         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
56615         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
56616         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
56617         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
56618         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
56619         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
56620         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
56621         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
56622         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
56623         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
56624         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
56625         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
56626         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
56627         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
56628         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
56629         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
56630         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
56631         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
56632         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
56633         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
56634         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
56635         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
56636         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
56637         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
56638         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
56639         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
56640         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
56641         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
56642         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
56643         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
56644         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
56645         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
56646         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
56647         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
56648         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
56649         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
56650         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
56651         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
56652         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
56653         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
56654         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
56655         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
56656         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
56657         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
56658         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
56659         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
56660         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
56661         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
56662         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
56663         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
56664         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
56665         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
56666         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
56667         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
56668         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
56669         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
56670         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
56671         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
56672         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
56673         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
56674         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
56675         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
56676         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
56677         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
56678         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
56679         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
56680         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
56681         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
56682         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
56683         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
56684         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
56685         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
56686         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
56687         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
56688         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
56689         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
56690         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
56691         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
56692         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
56693         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
56694         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
56695         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
56696         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
56697         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
56698         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
56699         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
56700         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
56701         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
56702         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
56703         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
56704         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
56705         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
56706         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
56707         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
56708         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
56709         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
56710         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
56711         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
56712         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
56713         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
56714         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
56715         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
56716         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
56717         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
56718         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
56719         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
56720         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
56721         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
56722         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
56723         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
56724         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
56725         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
56726         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
56727         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
56728         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
56729         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
56730         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
56731         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
56732         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
56733         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
56734         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
56735         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
56736         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
56737         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
56738         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
56739         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
56740         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
56741         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
56742         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
56743         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
56744         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
56745         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
56746         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
56747         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
56748         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
56749         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
56750         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
56752         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
56753         _XOPEN_SOURCE_EXTENDED for XPG4.
56755         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
56757         * Makeconfig (localtime): Remove variable.
56758         (inst_localtime-file): Likewise.
56760 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
56763         Update.
56764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56765         Update.
56766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
56767         Update.
56768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56769         Update.
56770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
56771         Update.
56772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
56773         Update.
56774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56775         Update.
56776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
56777         Update.
56778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56779         Update.
56781 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56783         [BZ #2550]
56784         [BZ #2570]
56785         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
56786         comparisons to determine direction to adjust input.
56787         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
56788         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
56789         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
56790         Likewise.
56791         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
56792         Likewise.
56793         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56794         Likewise.
56795         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
56796         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
56797         Likewise.
56798         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
56799         Likewise.
56800         * math/libm-test.inc (nexttoward_test): Add more tests.
56802 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56804         [BZ #14040]
56805         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
56806         in version GLIBC_2.1, not GLIBC_2.0.
56807         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
56808         Likewise.
56810 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
56812         [BZ #13942]
56813         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
56814         (1 - x) * (1 + x).
56815         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56816         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
56817         * math/libm-test.inc (acos_test): Add more tests.
56818         (asin_test): Likewise.
56819         * sysdeps/i386/fpu/libm-test-ulps: Update.
56820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56822         [BZ #14034]
56823         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
56824         of square root.
56825         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
56826         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56827         * math/libm-test.inc (acos_test_tonearest): New function.
56828         (acos_test_towardzero): Likewise.
56829         (acos_test_downward): Likewise.
56830         (acos_test_upward): Likewise.
56831         (asin_test_tonearest): Likewise.
56832         (asin_test_towardzero): Likewise.
56833         (asin_test_downward): Likewise.
56834         (asin_test_upward): Likewise.
56835         (main): Call the new functions.
56836         * sysdeps/i386/fpu/libm-test-ulps: Update.
56837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56839         [BZ #13884]
56840         [BZ #13924]
56841         * math/e_exp10.c: Include <float.h>.
56842         (__ieee754_exp10): Handle underflow here rather than multiplying
56843         large negative argument by M_LN10.
56844         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
56845         of __ieee754_expf.
56846         * math/e_exp10l.c: Include <float.h>.
56847         (__ieee754_exp10l): Handle underflow here rather than multiplying
56848         large negative argument by M_LN10l.
56849         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
56850         spurious overflow exception on underflow.
56852 2012-04-29  Marek Polacek  <polacek@redhat.com>
56854         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
56855         (__fortify_function): New macro.
56856         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
56857         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
56858         __extern_always_inline.
56859         * libio/bits/stdio2.h: Likewise.
56860         * libio/bits/stdio.h: Likewise.
56861         * string/string.h: Likewise.
56862         * string/bits/string3.h: Likewise.
56863         * include/stdio.h: Likewise.
56864         * stdlib/bits/stdlib.h: Likewise.
56865         * stdlib/stdlib.h: Likewise.
56866         * rt/bits/mqueue2.h: Likewise.
56867         * rt/mqueue.h: Likewise.
56868         * posix/bits/unistd.h: Likewise.
56869         * posix/unistd.h: Likewise.
56870         * io/bits/poll2.h: Likewise.
56871         * io/bits/fcntl2.h: Likewise.
56872         * io/fcntl.h: Likewise.
56873         * io/sys/poll.h: Likewise.
56874         * misc/bits/syslog.h: Likewise.
56875         * misc/bits/syslog-ldbl.h: Likewise.
56876         * misc/sys/syslog.h: Likewise.
56877         * socket/bits/socket2.h: Likewise.
56878         * socket/sys/socket.h: Likewise.
56879         * debug/tst-chk1.c: Likewise.
56880         * wcsmbs/bits/wchar2.h: Likewise.
56881         * wcsmbs/bits/wchar-ldbl.h: Likewise.
56882         * wcsmbs/wchar.h: Likewise.
56884 2012-04-29  Andreas Jaeger  <aj@suse.de>
56886         * Makerules (tests): Remove enable-check-abi protection.
56887         (check-abi-warn): Remove.
56888         (check-abi-%): Remove check-abi-warn usage.
56890         * configure.in: Remove check-abi configure option.
56891         * configure: Regenerated.
56892         * config.make.in (enable-check-abi): Remove.
56894 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
56896         [BZ #14033]
56897         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
56898         double functions to double *_finite functions.
56900         [BZ #13941]
56901         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
56902         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
56903         LDBL_MIN_EXP.
56904         * stdio-common/Makefile (tests): Add tst-sprintf3.
56905         * stdio-common/tst-sprintf3.c: New file.
56907         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
56908         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
56910 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56912         * conform/conformtest.pl: Remove duplicate typed-constant
56913         handling.
56915 2012-04-28  David S. Miller  <davem@davemloft.net>
56917         * Makerules (%.abilist): Add vpath on sysdep_dirs.
56918         (check-abi-%): Remove AWK script prerequisite and explicit
56919         abilist directory.
56920         (check-abi): Rewrite to just diff the symlist with the abilist.
56921         (config-tls, config-abi-config): Delete, no longer used.
56922         (update-abi-%): Remove AWK script and explicit abilist directory.
56923         (update-abi): Rewrite to simply compare and conditionally copy the
56924         symlist and the sysdep abilist file.  Remove update-abi-config
56925         checks.
56926         * abilist/ld.abilist: Remove.
56927         * abilist/libBrokenLocale.abilist: Remove.
56928         * abilist/libanl.abilist: Remove.
56929         * abilist/libcrypt.abilist: Remove.
56930         * abilist/libdl.abilist: Remove.
56931         * abilist/librt.abilist: Remove.
56932         * abilist/libthread_db.abilist: Remove.
56933         * abilist/libutil.abilist: Remove.
56934         * scripts/extract-abilist.awk: Remove.
56935         * scripts/merge-abilist.awk: Remove.
56936         * sysdeps/generic/libcidn.abilist: New file.
56937         * sysdeps/generic/libnss_compat.abilist: New file.
56938         * sysdeps/generic/libnss_db.abilist: New file.
56939         * sysdeps/generic/libnss_dns.abilist: New file.
56940         * sysdeps/generic/libnss_files.abilist: New file.
56941         * sysdeps/generic/libnss_hesiod.abilist: New file.
56942         * sysdeps/generic/libnss_nis.abilist: New file.
56943         * sysdeps/generic/libnss_nisplus.abilist: New file.
56944         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
56945         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
56946         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
56947         file.
56948         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
56949         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
56950         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
56951         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
56952         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
56953         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
56954         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
56955         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
56956         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
56957         file.
56958         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
56959         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
56960         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
56961         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
56962         file.
56963         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
56964         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
56965         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
56966         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
56967         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
56968         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
56969         file.
56970         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
56971         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
56972         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
56973         file.
56974         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
56975         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
56976         New file.
56977         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
56978         New file.
56979         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
56980         New file.
56981         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
56982         New file.
56983         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
56984         New file.
56985         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
56986         New file.
56987         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
56988         New file.
56989         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
56990         New file.
56991         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
56992         New file.
56993         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
56994         New file.
56995         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
56996         New file.
56997         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
56998         New file.
56999         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
57000         New file.
57001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
57002         file.
57003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
57004         New file.
57005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
57006         New file.
57007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
57008         file.
57009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
57010         New file.
57011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
57012         New file.
57013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
57014         file.
57015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
57016         New file.
57017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57018         New file.
57019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
57020         New file.
57021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
57022         New file.
57023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
57024         New file.
57025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
57026         New file.
57027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
57028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
57029         file.
57030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
57031         New file.
57032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
57033         file.
57034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
57035         file.
57036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
57037         file.
57038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
57039         file.
57040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
57041         file.
57042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57043         New file.
57044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
57045         file.
57046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
57047         file.
57048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
57049         New file.
57050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
57051         file.
57052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
57053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
57054         file.
57055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
57056         New file.
57057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
57058         file.
57059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
57060         file.
57061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
57062         file.
57063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
57064         file.
57065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
57066         file.
57067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57068         New file.
57069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
57070         file.
57071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
57072         file.
57073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
57074         New file.
57075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
57076         file.
57077         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57078         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
57079         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
57080         file.
57081         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
57082         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
57083         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
57084         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
57085         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
57086         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
57087         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
57088         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
57089         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
57090         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
57091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
57092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
57093         file.
57094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
57095         New file.
57096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
57097         file.
57098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
57099         file.
57100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
57101         file.
57102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
57103         file.
57104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
57105         file.
57106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57107         New file.
57108         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
57109         New file.
57110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
57111         file.
57112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
57113         New file.
57114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
57115         file.
57116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
57117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
57118         file.
57119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
57120         New file.
57121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
57122         file.
57123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
57124         file.
57125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
57126         file.
57127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
57128         file.
57129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
57130         file.
57131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57132         New file.
57133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
57134         New file.
57135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
57136         file.
57137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
57138         New file.
57139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
57140         file.
57142 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
57144         * conform/conformtest.pl: Fix typo in handling typed-constant from
57145         allow-header.
57147 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57149         * README: Cut down references to pre-2.6 Linux kernels and
57150         Linuxthreads.  Update lists of configurations in libc and ports
57151         and sort alphabetically.  Say "or newer" with Linux kernel version
57152         requirements.
57154         * config.h.in [IS_IN_build]: Allow compiling without optimization.
57156 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57158         [BZ #887]
57159         * math/libm-test.inc (logb_test_downward): New test to expose
57160         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
57161         rounding mode.
57163 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57165         [BZ #14027]
57166         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
57167         to be done.
57168         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
57169         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
57171 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
57173         * sysdeps/unix/i386/brk.S: Remove file.
57174         * sysdeps/unix/i386/dl-brk.S: Likewise.
57175         * sysdeps/unix/i386/pipe.S: Likewise.
57176         * sysdeps/unix/i386/sigreturn.S: Likewise.
57177         * sysdeps/unix/i386/syscall.S: Likewise.
57178         * sysdeps/unix/i386/vfork.S: Likewise.
57179         * sysdeps/unix/i386/wait.S: Likewise.
57181         * sysdeps/unix/common/tcsendbrk.c: Move to ...
57182         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
57184         * configure.in (arm*-none*): Do not allow without
57185         --enable-hacker-mode.
57186         (netbsd*): Remove case setting base_os.
57187         (386bsd*): Likewise.
57188         (freebsd*): Likewise.
57189         (bsdi*): Likewise.
57190         (osf*): Likewise.
57191         (sunos*): Likewise.
57192         (ultrix*): Likewise.
57193         (newsos*): Likewise.
57194         (dynix*): Likewise.
57195         (*bsd*): Likewise.
57196         (sysv*): Likewise.
57197         (isc*): Likewise.
57198         (esix*): Likewise.
57199         (sco*): Likewise.
57200         (minix*): Likewise.
57201         (irix4*): Likewise.
57202         (irix6*): Likewise.
57203         (solaris[2-9]*): Likewise.
57204         (none): Likewise.
57205         * configure: Regenerated.
57207 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57209         [BZ #11521]
57210         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
57211         overflow or cancellation in calculating denominator.
57212         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
57213         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
57214         down expression to avoid unexpected rounding in newer GCCs.
57215         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
57217 2012-04-26  David S. Miller  <davem@davemloft.net>
57219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
57220         long-double compat symbols.
57221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
57223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
57224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
57225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
57226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
57227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
57228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
57229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
57230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
57231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
57232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
57233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57235 2012-04-25  David S. Miller  <davem@davemloft.net>
57237         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
57238         HWCAP_* values only after the memory barriers have been defined.
57239         (atomic_full_barrier): Define.
57240         (atomic_read_barrier): Define.
57241         (atomic_write_barrier): Define.
57243 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57245         * shlib-versions: Add libgcc_s version information.
57246         * sysdeps/generic/libgcc_s.h: Remove.
57247         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
57248         libgcc_s.h.
57249         * sysdeps/gnu/unwind-resume.c: Likewise.
57250         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
57252 2012-04-25  David S. Miller  <davem@davemloft.net>
57254         * sysdeps/unix/sparc/brk.S: Delete.
57255         * sysdeps/unix/sparc/dl-brk.S: Delete.
57256         * sysdeps/unix/sparc/pipe.S: Delete.
57257         * sysdeps/unix/sparc/sysdep.S: Delete.
57258         * sysdeps/unix/sparc/sysdep.h: Delete.
57259         * sysdeps/unix/sparc/vfork.S: Delete.
57260         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
57261         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
57262         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
57263         (ret_ERRVAL, r0, r1, MOVE): Define.
57264         (JUMPTARGET): Remove.
57265         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
57266         sysdeps/unix/sparc/sysdep.h
57267         (ENTRY, END): Remove.
57268         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57270 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
57272         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
57273         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
57274         -DIS_IN_build.
57276         * timezone/README: Update upstream location and email address for
57277         tzcode and tzdata.
57278         * timezone/zdump.c: Update from tzcode 2012b.
57279         * timezone/zic.c: Likewise.
57281         * configure.in (libc_cv_as_needed): Remove test.
57282         * configure: Regenerated.
57283         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
57284         conditional definition.
57285         [$(have-as-needed) != yes] (no-as-needed): Likewise.
57286         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
57287         * config.make.in (have-as-needed): Remove variable.
57289 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57290             Paul Pluzhnikov  <ppluzhnikov@google.com>
57292         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
57293         strings correctly.
57295 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
57297         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
57298         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
57299         * sysdeps/sh/strlen.S: Likewise.
57301 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57303         * sysdeps/unix/fork.S: Remove file.
57304         * sysdeps/unix/i386/fork.S: Likewise.
57305         * sysdeps/unix/sparc/fork.S: Likewise.
57307         * sysdeps/unix/system.c: Remove file.
57308         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
57310         * sysdeps/unix/getegid.S: Remove file.
57311         * sysdeps/unix/geteuid.S: Likewise.
57313 2012-04-24  Roland McGrath  <roland@hack.frob.com>
57315         * scripts/check-localplt.awk: New file.
57316         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
57317         of diff.
57318         * scripts/data/localplt-generic.data: Add a comment.
57320         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
57321         NODE when __dir_mkfile failed.
57322         * sysdeps/mach/hurd/symlinkat.c: Likewise.
57323         Reported by Ludovic Courtès <ludo@gnu.org>.
57325 2012-04-24  Andreas Jaeger  <aj@suse.de>
57327         * Makerules (common-clean): Also remove gen-as-const-headers
57328         files.
57330 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57332         * Makerules (native-compile): Do not change working directory for
57333         build.  Use $(OUTPUT_OPTION) in command.
57334         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
57336 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57338         [BZ #13886]
57339         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
57340         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
57341         * math/libm-test.inc (floor_test): Add more tests.
57342         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
57344 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57346         * sysdeps/unix/getdents.c: Remove file.
57347         * sysdeps/unix/sysv/getdents.c: Likewise.
57348         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
57350         * sysdeps/unix/syscalls.list (madvise): Add syscall from
57351         sysdeps/unix/mman/syscalls.list.
57352         (mmap): Likewise.
57353         (mprotect): Likewise.
57354         (msync): Likewise.
57355         (munmap): Likewise.
57356         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
57357         * sysdeps/unix/mman/syscalls.list: Remove.
57358         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
57360         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
57361         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
57362         * configure: Regenerated.
57363         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
57364         $(libgcc_s_suffix).
57365         * config.make.in (libgcc_s_suffix): Remove variable.
57367 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
57369         * sysdeps/unix/sysv/gethostname.c: Move to ...
57370         * sysdeps/posix/gethostname.c: ... here.
57372         * sysdeps/unix/execve.S: Remove file.
57374         * sysdeps/unix/_exit.S: Remove file.
57376 2012-04-23  Andreas Jaeger  <aj@suse.de>
57378         [BZ #13739]
57379         * manual/Makefile: Remove make dist support, there's no
57380         need for a stand-alone documentation tar ball.
57381         (TEXI2DVI): Define always, it's not in Makeconfig.
57382         (dist): Removed.
57383         (tar-it): Removed.
57384         (edition): Removed.
57385         (glibc-doc-$(edition).tar): Removed
57386         (%.Z): Removed.
57387         (%.gz): Removed.
57388         (%.uu): Removed.
57389         (ETAGS): Remove, it's in Makeconfig.
57390         (move-if-change): Remove, it's in Makeconfig.
57392 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
57394         [BZ #13970]
57395         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
57396         (strtod, strtof, strtold, strtol, strtoul, strtoq)
57397         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
57398         (strtod_l, strtof_l, strtold_l): Remove __wur.
57399         It is not necessarily an error to ignore strtol's return value.
57400         One can reliably look at the stored endptr to decide whether
57401         the number had valid syntax.
57403 2012-04-21  Andreas Jaeger  <aj@suse.de>
57405         [BZ #13739]
57406         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
57408 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
57410         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
57411         * sysdeps/unix/sysv/Versions: Remove file.
57413 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
57415         [BZ #13927]
57416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57418 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
57420         [BZ #7064]
57421         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
57422         version from __vm86.
57424 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
57426         * sysdeps/unix/common/lxstat.c: Remove file.
57427         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
57429         * sysdeps/unix/sysv/Makefile: Remove file.
57431         * sysdeps/unix/sysv/direct.h: Remove file.
57433         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
57434         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
57435         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
57436         * sysdeps/unix/sysv/bits/signum.h: Likewise.
57437         * sysdeps/unix/sysv/bits/stat.h: Likewise.
57438         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
57439         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
57441         * sysdeps/unix/sysv/setrlimit.c: Remove file.
57443         * sysdeps/unix/xmknod.c: Remove file.
57444         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
57446         * sysdeps/unix/sysv/settimeofday.c: Remove file.
57448         * sysdeps/unix/sysv/i386/time.S: Remove file.
57450         * sysdeps/unix/fxstat.c: Remove file.
57451         * sysdeps/unix/xstat.c: Likewise.
57452         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
57454         * sysdeps/unix/sysv/sigaction.c: Remove file.
57456         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
57457         (sysdep_headers): Remove variable.
57458         [termio.h not in sysdep_headers] (generated): Likewise.
57459         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
57460         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
57461         * sysdeps/unix/sysv/tcdrain.c: Likewise.
57462         * sysdeps/unix/sysv/tcflow.c: Likewise.
57463         * sysdeps/unix/sysv/tcflush.c: Likewise.
57464         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
57465         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
57466         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
57467         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
57468         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
57470         * sysdeps/unix/siglist.c: Remove file.
57472         * sysdeps/unix/getppid.S: Remove file.
57474         * sysdeps/unix/mkdir.c: Remove file.
57475         * sysdeps/unix/rmdir.c: Likewise.
57477 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
57479         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
57480         ERR_MAX value.
57481         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
57482         errlist-compat value.
57484 2012-04-18  David S. Miller  <davem@davemloft.net>
57486         * sysdeps/generic/memcopy.h (reg_char): Delete.
57487         * debug/strcat_chk.c: Use char, not reg_char.
57488         * debug/strcpy_chk.c: Likewise.
57489         * debug/strncat_chk.c: Likewise.
57490         * debug/strncpy_chk.c: Likewise.
57491         * string/memchr.c: Likewise.
57492         * string/memrchr.c: Likewise.
57493         * string/rawmemchr.c: Likewise.
57494         * string/strcat.c: Likewise.
57495         * string/strchr.c: Likewise.
57496         * string/strchrnul.c: Likewise.
57497         * string/strcmp.c: Likewise.
57498         * string/strcpy.c: Likewise.
57499         * string/strncat.c: Likewise.
57500         * string/strncmp.c: Likewise.
57501         * string/strncpy.c: Likewise.
57503 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57505         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
57506         __builtin_memcopy is called when src and dest ranges are known to not
57507         overlap.
57509 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57511         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
57512         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
57513         fwd_align_merge macro call.
57514         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
57515         bwd_align_merge macro call.
57516         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57518 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57520         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
57521         bwd_align_merge macros.
57522         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
57523         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
57524         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57526 2012-04-18  David S. Miller  <davem@davemloft.net>
57528         * sysdeps/sparc/sparc64/memcopy.h: Delete.
57530 2012-04-18  Andreas Jaeger  <aj@suse.de>
57532         [BZ# 6794]
57533         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
57534         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
57535         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57537         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
57538         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
57539         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57541         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
57542         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
57543         Adjust for changed ldbl-128 files.
57545         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
57546         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
57547         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57549 2012-04-17  David S. Miller  <davem@davemloft.net>
57551         * sysdeps/sparc/sparc32/memcopy.h: Delete.
57553 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
57555         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
57556         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
57557         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
57558         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
57559         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57560         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
57562 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57564         [BZ #6794]
57565         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
57566         * math/libm-test.inc: Add ilogb errno and exception tests.
57567         * math/w_ilogb.c: New file: ilogb wrapper.
57568         * math/w_ilogbf.c: New file: ilogbf wrapper.
57569         * math/w_ilogbl.c: New file: ilogbl wrapper.
57570         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
57571         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
57572         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
57573         exception being thrown with 0.0 as argument.
57574         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
57575         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
57576         exception being thrown with 0.0 as argument.
57577         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
57578         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57579         exception being thrown with 0.0 as argument.
57580         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
57581         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57582         exception being thrown with 0.0 as argument.
57583         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
57584         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
57585         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
57586         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
57587         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
57588         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
57589         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
57590         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
57591         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
57593 2012-04-17  Petr Baudis  <pasky@ucw.cz>
57595         * include/sys/uio.h: Change __vector to __iovec to avoid clash
57596         with altivec.
57598 2012-04-16  Marek Polacek  <polacek@redhat.com>
57600         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
57602 2012-04-16  Marek Polacek  <polacek@redhat.com>
57604         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
57605         operands of fdivp instruction.
57607 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57609         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
57610         * elf/tst-auditmod3b.c: Likewise.
57611         * elf/tst-auditmod4b.c: Likewise.
57612         * elf/tst-auditmod5b.c: Likewise.
57613         * elf/tst-auditmod6b.c: Likewise.
57614         * elf/tst-auditmod6c.c: Likewise.
57615         * elf/tst-auditmod7b.c: Likewise.
57616         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
57617         * sysdeps/x86_64/preconfigure.in: Likewise.
57618         * sysdeps/x86_64/preconfigure: Regenerated.
57620 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57622         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
57623         __ILP32__.
57625 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
57627         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57628         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
57630 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
57632         [BZ #13973]
57633         * locale/iso-639.def: Fix gl language name. Spotted by
57634         Yaron Shahrabani.
57636 2012-04-12  Roland McGrath  <roland@hack.frob.com>
57638         [BZ #2074]
57639         * libio/libio.h (__io_write_fn): Update comment.
57641 2012-04-12  Petr Baudis  <pasky@ucw.cz>
57643         [BZ #2074]
57644         * stdio.texi (Hook Functions): The user provided writer function
57645         is not allowed to return -1.
57647 2012-04-11  David S. Miller  <davem@davemloft.net>
57649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57651 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
57653         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
57654         Add a leading slash to rtkaio.
57656 2012-04-11  Jim Meyering  <meyering@redhat.com>
57658         [BZ #11959]
57659         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
57660         It is not necessarily an error to ignore fwrite's return
57661         value.  One can reliably use ferror to test for errors after
57662         the fact.
57664 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57666         * bits/types.h (__snseconds_t): New type.
57667         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
57669         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
57670         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57671         (__SNSECONDS_T_TYPE): Likewise.
57672         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57673         (__SNSECONDS_T_TYPE): Likewise.
57674         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57675         (__SNSECONDS_T_TYPE): Likewise.
57677 2012-04-10  Andreas Jaeger  <aj@suse.de>
57679         [BZ #2636]
57680         * manual/time.texi (Processor Time): Return type of times is
57681         elapsed real time since an arbitrary point in the past.
57682         (CPU Time): Move CLK_TCK from here...
57683         (Processor Time): ...to here.  Correct description.
57684         * manual/conf.texi (Constants for Sysconf): Correct description of
57685         _SC_CLK_TCK.
57687 2012-04-10  David S. Miller  <davem@davemloft.net>
57689         [BZ #13967]
57690         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
57691         where the is a gap between DT_REL(A) and DT_JMPREL.
57693 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57695         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
57696         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57697         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57699 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57701         * elf/dl-support.c (_dl_inhibit_cache): New variable.
57702         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
57703         (dl_main): Handle --inhibit-cache.
57704         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
57705         _dl_inhibit_cache.
57706         * elf/dl-load.c (_dl_map_object): Use it.
57707         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
57709 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57711         [BZ #13872]
57712         * sysdeps/i386/fpu/e_powl.S (p78): New object.
57713         (__ieee754_powl): Saturate large exponents rather than testing for
57714         overflow of y*log2(x).
57715         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57716         * math/libm-test.inc (pow_test): Do not permit spurious overflow
57717         exceptions.
57719         [BZ #11521]
57720         * math/s_ctan.c: Include <float.h>.
57721         (__ctan): Avoid internal overflow or cancellation in calculating
57722         denominator.
57723         * math/s_ctanf.c: Likewise.
57724         * math/s_ctanl.c: Likewise.
57725         * math/s_ctanh.c: Likewise.
57726         * math/s_ctanhf.c: Likewise.
57727         * math/s_ctanhl.c: Likewise.
57728         * math/libm-test.inc (ctan_test): Add more tests.
57729         (ctanh_test): Likewise.
57730         * sysdeps/i386/fpu/libm-test-ulps: Update.
57731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57733 2012-04-09  Andreas Jaeger  <aj@suse.de>
57735         [BZ #6894]
57736         * manual/filesys.texi (Directory Entries): Mention that d_namlen
57737         is an optional BSD extension.
57739         [BZ #10254]
57740         * manual/stdio.texi (Opening Streams): Document additional fopen
57741         parameters.
57743 2012-04-09  Roland McGrath  <roland@hack.frob.com>
57745         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
57746         %eax without telling the compiler.
57748 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
57750         [BZ # 13963]
57751         * manual/install.texi: Use sourceware.org.
57753 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57755         [BZ #13873]
57756         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
57757         (__ieee754_pow): Generate overflow and underflow using huge*huge
57758         and tiny*tiny rather than just returning constant infinity or zero
57759         for large exponents.
57760         * math/libm-test.inc (pow_test): Require overflow exceptions for
57761         applicable cases of large exponents.
57763         [BZ #706]
57764         * sysdeps/i386/fpu/e_pow.S (p10): New object.
57765         (__ieee754_pow): Use iterative multiplication algorithm only for
57766         integer exponents with absolute value below 1024.  Check for odd
57767         integer exponents when using algorithm for real exponents.
57768         * math/libm-test.inc (pow_test): Add more tests.
57769         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57771 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
57773         [BZ #13705]
57774         * math/libm-test.inc (exp_test): Do not allow overflow exception
57775         on underflow test.
57777 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
57779         [BZ #13705]
57780         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
57781         instead of __kernel_standard_f.
57783 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
57785         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
57786         * sysdeps/x86_64/memset_chk.S: Likewise.
57788 2012-04-08  Andreas Jaeger  <aj@suse.de>
57790         [BZ #10153]
57791         * manual/startup.texi (Environment Access): Describe return value
57792         for putenv and setenv.
57794         [BZ #6895]
57795         * manual/filesys.texi (Directory Entries): Add description for
57796         DT_LNK.
57798         [BZ #6890]
57799         * manual/filesys.texi (Directory Entries): Clarify that it's file
57800         system not operating system in the description of DT_UNKNOWN.
57802         [BZ #6578]
57803         * manual/syslog.texi (closelog): Fix reference, it's openlog.
57805 2012-04-08  Stephen Compall  <s11@member.fsf.org>
57807         [BZ #6649]
57808         * manual/llio.texi (Opening and Closing Files): Add cross
57809         reference to explain mode argument.
57811 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
57813         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
57814         * sysdeps/x86_64/memset_chk.S: Likewise.
57816 2012-04-07  David S. Miller  <davem@davemloft.net>
57818         * elf/elf.h (R_SPARC_WDISP10): Define.
57819         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
57820         R_SPARC_SIZE32.
57821         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
57822         R_SPARC_SIZE64 and R_SPARC_H34.
57824 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
57826         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
57827         conditions and remove no longer applicable assertion.
57829 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57831         * bits/byteswap.h: Include <features.h>.
57832         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57833         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57835 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57837         * bits/byteswap.h (__bswap_16): Removed.
57838         Include <bits/byteswap-16.h> to get __bswap_16.
57839         * sysdeps/i386/bits/byteswap.h: Likewise.
57840         * sysdeps/s390/bits/byteswap.h: Likewise.
57841         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57842         * bits/byteswap-16.h: New file.
57843         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57844         * sysdeps/s390/bits/byteswap-16.h: Likewise.
57845         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
57846         * string/Makefile (headers): Add bits/byteswap-16.h.
57848 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57850         [BZ #13895]
57851         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
57852         extra indirection.
57853         * nss/Makefile (tests-static, tests): Add tst-nss-static.
57854         * nss/tst-nss-static.c: New.
57856 2012-04-06  Robert Millan  <rmh@gnu.org>
57858         [BZ #6486]
57859         * manual/llio.texi (File Position Primitive): lseek
57860         refers to WHENCE when it really means OFFSET.
57862 2012-04-06  Andreas Jaeger  <aj@suse.de>
57864         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
57865         strncmp declarations.
57867         * abilist/libc.abilist: Add __poll and __ppoll.
57869 2012-04-05  David S. Miller  <davem@davemloft.net>
57871         * scripts/check-local-headers.sh: Accept a host triplet in the
57872         path matched by the exclude regexp.
57874         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
57875         definition.
57876         * sysdeps/powerpc/powerpc32/dl-machine.h
57877         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
57878         * sysdeps/s390/s390-32/dl-machine.h
57879         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57880         * sysdeps/sparc/sparc32/dl-machine.h
57881         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57882         * sysdeps/sparc/sparc64/dl-machine.h
57883         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57885         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
57886         lazy binding.
57887         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
57888         undefined symbol errors.
57890         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
57891         DT_NEEDED entries.
57893 2012-04-05  Michael Matz  <matz@suse.de>
57895         [BZ #13592]
57896         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
57898 2012-04-05  Andreas Jaeger  <aj@suse.de>
57900         [BZ #13908]
57901         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
57902         comment.
57904 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57906         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
57907         which ROUND is no valid rounding mode.
57909 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57911         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
57912         read again.
57913         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
57915 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57917         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
57918         an exception using FPU order intentionally.
57920 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57922         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
57923         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
57924         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
57925         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
57927 2012-04-05  Simon Josefsson  <simon@josefsson.org>
57929         [BZ #12340]
57930         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
57931         EINVAL when BUFLEN is too smal.
57933 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57935         [BZ #13553]
57936         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
57937         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
57939 2012-04-03  Andreas Jaeger  <aj@suse.de>
57941         [BZ #13938]
57942         * manual/setjmp.texi (System V contexts): Fix sentence.
57944         [BZ #13926]
57945         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
57946         New macro for this case.
57947         [!__GNUC__] (__bswap_64): New inline function for this case.
57948         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57949         * bits/byteswap.h: Likewise.
57950         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
57951         ull, guard with __GLIBC_HAVE_LONG_LONG.
57953         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
57954         __GLIBC_HAVE_LONG_LONG.
57956         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
57957         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
57959 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57961         [BZ #13691]
57962         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
57963         inptr and inend, rather than using last_ch.
57965 2012-04-02  David S. Miller  <davem@davemloft.net>
57967         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
57968         * stdio-common/printf-parse.h (read_int): Change return type to
57969         'int', return -1 on INT_MAX overflow.
57970         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
57971         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
57972         overflows INT_MAX.  Check for overflow of in-format-string precision
57973         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
57974         SIZE_MAX not INT_MAX for integer overflow test.
57975         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
57976         skip the construct in the format string but do not record anything.
57977         * stdio-common/bug22.c: Adjust to test both width/prevision
57978         INT_MAX overflow as well as total length INT_MAX overflow.  Check
57979         explicitly for proper errno values.
57981 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57983         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
57984         CHAR_MAX.
57985         * string/test-strcmp.c [! WIDE]: Likewise.
57986         * time/tst-mktime2.c: Likewise for INT_MAX.
57987         * string/test-string.h: #include <sys/param.h> for MIN.
57989         * csu/init-first.c (__libc_init_first): Call __ctype_init.
57990         * sysdeps/i386/init-first.c (init): Likewise.
57991         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
57992         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
57993         * sysdeps/sh/init-first.c (init): Likewise.
57995 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
57997         * po/ru.po: Update from translation team.
57998         * po/vi.po: Likewise.
58000 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58002         * resolv/nss_dns/dns-host.c: Merge copyright years.
58004 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58006         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58007         Optimize memcpy with prefetch if
58008         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
58009         src, dst pointers have unequal 16 byte alignments.
58011 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58013         [BZ #13928]
58014         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
58015         from a CNAME entry and return the minimum ttl for the query.
58016         (gaih_getanswer_slice): Likewise.
58018 2012-03-30  Jeff Law  <law@redhat.com>
58020         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
58021         due to long keys.
58022         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
58023         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
58025         * resolv/nss_dns/dns-host.c: Update copyright year.
58027 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
58029         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
58030         requests to save a system call.  Fix check that all bytes are sent.
58032         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
58033         comments for sendmmsg.
58035 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58037         [BZ #13691]
58038         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
58039         with only 1 character between 0x0041 and 0x01b0.
58040         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
58041         * wcsmbs/tst-mbsnrtowcs.c: New file.
58043 2012-03-29  David S. Miller  <davem@davemloft.net>
58045         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
58046         small copies by hand.
58048 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58050         [BZ #13761]
58051         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
58052         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
58053         group memberships.
58055 2012-03-28  David S. Miller  <davem@davemloft.net>
58057         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
58058         that branches into memcpy.
58059         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58060         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
58061         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58062         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
58063         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
58064         bits.
58065         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
58066         implementation too.
58067         * sysdeps/sparc/mempcpy.S: New file.
58069         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
58070         the IFUNC routine in the libc case.
58071         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58073         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
58074         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
58075         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
58076         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
58077         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
58078         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
58079         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
58080         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
58082         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
58083         loop to 256 bytes instead of 64 bytes and fix test signedness.
58085         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
58086         * sysdeps/sparc/sparc32/Makefile: rather than here...
58087         * sysdeps/sparc/sparc64/Makefile: and here.
58089 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
58091         * malloc/mallocbug.c: Avoid warnings about unused variables.
58093 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58095         [BZ #13760]
58096         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
58097         in the right place. Discard and retry query if response is
58098         larger than input buffer size.
58100 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
58102         [BZ #369]
58103         [BZ #2678]
58104         [BZ #3866]
58105         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
58106         x for large integer exponent.
58107         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58108         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
58109         sign of result as needed afterwards.
58110         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58111         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
58112         result for underflowing pow the same as for overflow.
58113         (__kernel_standard_l): Handle powl overflow and underflow here
58114         rather than calling __kernel_standard.
58115         * math/libm-test.inc (pow_test): Add more tests.
58117         [BZ #3868]
58118         [BZ #13879]
58119         [BZ #13910]
58120         [BZ #13911]
58121         [BZ #13912]
58122         [BZ #13913]
58123         [BZ #13915]
58124         [BZ #13916]
58125         [BZ #13917]
58126         [BZ #13918]
58127         [BZ #13919]
58128         [BZ #13920]
58129         [BZ #13921]
58130         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
58131         * sysdeps/ieee754/k_standard.c: Include <float.h>.
58132         (__kernel_standard_l): New function.
58133         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
58134         __kernel_standard.
58135         * math/w_acosl.c (__acosl): Likewise.
58136         * math/w_asinl.c (__asinl): Likewise.
58137         * math/w_atan2l.c (__atan2l): Likewise.
58138         * math/w_atanhl.c (__atanhl): Likewise.
58139         * math/w_coshl.c (__coshl): Likewise.
58140         * math/w_exp10l.c (__exp10l): Likewise.
58141         * math/w_exp2l.c (__exp2l): Likewise.
58142         * math/w_fmodl.c (__fmodl): Likewise.
58143         * math/w_hypotl.c (__hypotl): Likewise.
58144         * math/w_j0l.c (__j0l, __y0l): Likewise.
58145         * math/w_j1l.c (__j1l, __y1l): Likewise.
58146         * math/w_jnl.c (__jnl, __ynl): Likewise.
58147         * math/w_lgammal.c (__lgammal): Likewise.
58148         * math/w_log10l.c (__log10l): Likewise.
58149         * math/w_log2l.c (__log2l): Likewise.
58150         * math/w_logl.c (__logl): Likewise.
58151         * math/w_powl.c (__powl): Likewise.
58152         * math/w_remainderl.c (__remainderl): Likewise.
58153         * math/w_scalbl.c (sysv_scalbl): Likewise.
58154         * math/w_sinhl.c (__sinhl): Likewise.
58155         * math/w_sqrtl.c (__sqrtl): Likewise.
58156         * math/w_tgammal.c (__tgammal): Likewise.
58157         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
58158         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
58159         * math/libm-test.inc (acos_test): Add more tests.
58160         (acosh_test): Likewise.
58161         (asin_test): Likewise.
58162         (atanh_test): Likewise.
58163         (exp_test): Likewise.
58164         (exp10_test): Likewise.
58165         (exp2_test): Likewise.
58166         (expm1_test): Likewise.
58167         (lgamma_test): Likewise.
58168         (log_test): Likewise.
58169         (log10_test): Likewise.
58170         (log1p_test): Likewise.
58171         (log2_test): Likewise.
58172         (pow_test): Do not allow some spurious overflow exceptions.
58173         (sqrt_test): Add more tests.
58174         (tgamma_test): Likewise.
58175         (y0_test): Likewise.
58176         (y1_test): Likewise.
58177         (yn_test): Likewise.
58179 2012-03-27  Anton Blanchard  <anton@samba.org>
58181         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
58182         MAP_HUGETLB.
58183         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58184         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58185         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58187 2012-03-27  David S. Miller  <davem@davemloft.net>
58189         * conform/Makefile: Run run-conformtest.sh using $(BASH).
58191         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
58192         have-as-vis3 check.
58194 2012-03-27  Andreas Jaeger  <aj@suse.de>
58196         * sysdeps/x86_64/elf/configure.in: Moved to ...
58197         * sysdeps/x86_64/configure.in: ... here.
58198         * sysdeps/x86_64/elf/start.S: Moved to ...
58199         * sysdeps/x86_64/start.S: ... here.
58200         * sysdeps/x86_64/elf/configure: Delete.
58202         * sysdeps/x86_64/configure.in: Merge contents from
58203         sysdeps/i386/configure.in (without i686 check).
58205         * sysdeps/i386/elf/Versions: Merge into ...
58206         * sysdeps/i386/Versions: ... this.
58207         * sysdeps/i386/elf/Versions: Delete file.
58208         * sysdeps/i386/elf/start.S: Moved to ...
58209         * sysdeps/i386/start.S: ...here.
58210         * sysdeps/i386/elf/configure.in: Merge into...
58211         * sysdeps/i386/configure.in: ...here.
58212         * sysdeps/i386/elf/configure.in: Delete file.
58213         * sysdeps/i386/elf/configure: Delete file.
58215         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
58216         * debug/backtracesyms.c: ... here.
58217         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
58218         * debug/backtracesymsfd.c: ... here.
58219         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
58220         * sysdeps/generic/ifunc-sel.h: ... here.
58222         * sysdeps/unix/i386/start.c: Delete file.
58223         * sysdeps/unix/sparc/start.c: Delete file.
58224         * sysdeps/unix/start.c: Delete file.
58226         * sysdeps/sh/elf/configure.in: Moved to ...
58227         * sysdeps/sh/configure.in: ... here.
58228         * sysdeps/sh/elf/start.S: Moved to ...
58229         * sysdeps/sh/start.S: ... here.
58230         * sysdeps/sh/elf/configure: Delete file.
58232         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
58233         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
58234         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
58235         * sysdeps/powerpc/powerpc64/entry.h: ... here.
58236         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
58237         * sysdeps/powerpc/powerpc64/start.S: here.
58238         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
58239         * sysdeps/powerpc/powerpc64/Makefile: ... this.
58240         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
58241         * sysdeps/powerpc/powerpc64/configure.in: ... this.
58242         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
58244         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
58245         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
58246         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
58247         * sysdeps/powerpc/powerpc32/start.S: ... here.
58248         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
58249         * sysdeps/powerpc/powerpc32/configure.in: ... this.
58250         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
58252         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
58253         * sysdeps/powerpc/ifunc-sel.h: ... here.
58254         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
58255         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
58257         * sysdeps/sparc/elf/configure.in: Moved to ...
58258         * sysdeps/sparc/configure.in: ... here.
58259         * sysdeps/sparc/elf/configure: Delete file.
58260         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
58261         * sysdeps/sparc/sparc32/start.S: ... here.
58262         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
58263         * sysdeps/sparc/sparc64/start.S: ... here.
58264         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
58265         * sysdeps/sparc/sparc32/Makefile: ... this.
58266         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
58267         * sysdeps/sparc/sparc64/Makefile: ... this.
58269         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
58270         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
58271         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
58272         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
58273         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
58274         * sysdeps/s390/s390-32/setjmp.S: ... here.
58275         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
58276         * sysdeps/s390/s390-32/configure.in: ... here.
58277         * sysdeps/s390/s390-32/elf/configure: Delete file.
58278         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
58279         * sysdeps/s390/s390-32/start.S: ... here.
58281         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
58282         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
58283         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
58284         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
58285         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
58286         * sysdeps/s390/s390-64/setjmp.S: ... here.
58287         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
58288         * sysdeps/s390/s390-64/configure.in: ... here
58289         * sysdeps/s390/s390-64/elf/configure: Delete file.
58290         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
58291         * sysdeps/s390/s390-64/start.S: ... here.
58292         * sysdeps/s390/s390-64/elf/configure: Delete.
58294         * configure.in: Remove support for elf directories in sysdeps.
58296         * configure: Regenerated.
58297         * sysdeps/i386/configure: Regenerated.
58298         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58299         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58300         * sysdeps/s390/s390-32/configure: Regenerated.
58301         * sysdeps/s390/s390-64/configure: Regenerated.
58302         * sysdeps/sh/configure: Regenerated.
58303         * sysdeps/sparc/configure: Regenerated.
58304         * sysdeps/x86_64/configure: Regenerated.
58306 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
58308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58310         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
58311         denormal result into account.
58313 2012-03-25  Roland McGrath  <roland@hack.frob.com>
58315         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
58316         Reported by Allan McRae <allan@archlinux.org>.
58318 2012-03-23  Jeff Law  <law@redhat.com>
58320         * nss/getnssent.c (__nss_getent): Fix typo.
58322 2012-03-23  David S. Miller  <davem@davemloft.net>
58324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58326 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
58328         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
58329         to pad to uint64_t for each field.
58330         (dl_tls_index): Replace unsigned long with uint64_t.
58332 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
58333         Paul Pluzhnikov  <ppluzhnikov@google.com>
58335         [BZ #6528]
58336         * grp/Makefile (otherlibs): Don't set it.
58337         * inet/Makefile (otherlibs): Likewise.
58338         * login/Makefile (otherlibs): Likewise.
58339         * nscd/Makefile (otherlibs): Likewise.
58340         * posix/Makefile (otherlibs): Likewise.
58341         * pwd/Makefile (otherlibs): Likewise.
58342         * rt/Makefile (otherlibs): Likewise.
58343         * sunrpc/Makefile (otherlibs): Likewise.
58344         * nss/Makefile (otherlibs): Likewise.
58345         Add libnss_files to routines and static-only-routines.
58346         ($(objpfx)getent): Remove rule.
58347         * resolv/Makefile: Add libnss_dns and libresolv to routines and
58348         static-only-routines.
58350 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58352         [BZ #13892]
58353         * math/s_cexp.c: Include <float.h>.
58354         (__cexp): Handle exp result overflowing not necessarily
58355         overflowing both real and imaginary parts of result.
58356         * math/s_cexpf.c: Likewise.
58357         * math/s_cexpl.c: Likewise.
58358         * math/libm-test.inc (cexp_test): Add more tests.
58359         * sysdeps/i386/fpu/libm-test-ulps: Update.
58360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58362 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58364         * include/link.h (ELFW): New macro.
58365         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
58366         Replace ELF64_R_TYPE with ELFW(R_TYPE).
58368 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58370         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
58371         with uint64_t.
58373 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58375         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
58376         declaration.
58377         (struct La_x32_retval): Likewise.
58379 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58381         * sysdeps/x86_64/preconfigure.in: New file.
58382         * sysdeps/x86_64/preconfigure: New generated file.
58384 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58386         [BZ #13824]
58387         * math/e_exp2l.c: Include <float.h>.
58388         (__ieee754_exp2l): Handle overflow and underflow cases
58389         separately.  Only pass fractional part of argument to
58390         __ieee754_expl.
58391         * math/libm-test.inc (exp2_test): Add more tests.
58393         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
58394         negating x to take absolute value.
58395         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
58396         Likewise.
58397         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58398         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
58399         Likewise.
58400         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
58401         computing low part if x was negated.
58402         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58404 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58406         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
58407         la_x32_gnu_pltexit.
58408         (pltexit): Cast int_retval to ptrdiff_t.
58409         * elf/tst-auditmod3b.c: Likewise.
58410         * elf/tst-auditmod4b.c: Likewise.
58411         * elf/tst-auditmod5b.c: Likewise.
58412         * elf/tst-auditmod6b.c: Likewise.
58413         * elf/tst-auditmod6c.c: Likewise.
58414         * elf/tst-auditmod7b.c: Likewise.
58416         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
58417         and x32_gnu_pltexit.
58419         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
58420         __ELF_NATIVE_CLASS.
58421         (La_x32_regs): New macro.
58422         (La_x32_retval): Likewise.
58423         (la_x32_gnu_pltenter): New function prototype.
58424         (la_x32_gnu_pltexit): Likewise.
58426 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
58428         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
58429         exponent.
58431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58433         * configure.in (libc_cv_cc_nofma): Check for option to disable
58434         generation of FMA instructions.
58435         * configure: Regenerate.
58436         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
58437         * sysdeps/ieee754/dbl-64/Makefile: New file.
58438         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
58439         Remove brandred-fma4.
58440         (CFLAGS-brandred-fma4.c): Remove.
58441         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
58442         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
58443         define.
58444         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
58445         define.
58447 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58449         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58450         LLONG_MAX != LONG_MAX.
58451         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58452         (_fitoa_word): Likewise.
58453         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
58454         LLONG_MAX != LONG_MAX.
58455         * stdio-common/_itowa.h: Include <_itoa.h>.
58456         (_itowa_word): Use _ITOA_WORD_TYPE on value.
58457         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
58458         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
58459         only if not defined.
58460         (_ITOA_WORD_TYPE): Likewise.
58461         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58462         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
58464 2012-03-21  David S. Miller  <davem@davemloft.net>
58466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58468 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58470         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
58471         of x86_64 when setting libc_cv_slibdir, libdir and
58472         libc_cv_localedir.
58473         * sysdeps/unix/sysv/linux/configure: Regenerated.
58475 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58477         * manual/lang.texi (Old Varargs): Remove section.
58478         (How Variadic): Update menu.
58479         (va_start): Do not mention varargs.h.
58481 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58482             Joseph Myers  <joseph@codesourcery.com>
58484         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
58485         link test.
58486         * configure: Regenerated.
58488 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58490         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
58491         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
58492         conformtest.pl
58494 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58496         * NOTES: Remove.
58497         * Makefile (files-for-dist): Remove NOTES.
58498         (NOTES): Remove rule.
58499         * README: Don't refer to NOTES.
58500         * manual/creature.texi: Don't include macros.texi.
58501         * manual/intro.texi (creature.texi): Remove comment referring to
58502         NOTES.
58504         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
58505         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
58506         * configure: Regenerated.
58507         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
58508         LIBC_TRY_CC_OPTION.
58509         (libc_cv_as_i686): Likewise.
58510         (libc_cv_cc_avx): Likewise.
58511         (libc_cv_cc_sse2avx): Likewise.
58512         (libc_cv_cc_fma4): Likewise.
58513         (libc_cv_cc_novzeroupper): Likewise.
58514         * sysdeps/i386/configure: Regenerated.
58516         [BZ #13883]
58517         * sysdeps/i386/fpu/s_cexp.S: Remove.
58518         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58519         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58520         * math/libm-test.inc (cexp_test): Add more tests.
58521         * sysdeps/i386/fpu/libm-test-ulps: Update.
58522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58524 2012-03-21  Allan McRae  <allan@archlinux.org>
58526         * timezone/Makefile: Do not install iso3166.tab and zone.tab
58528 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58530         [BZ #13871]
58531         * math/w_exp2.c: Do not include <float.h>.
58532         (o_threshold, u_threshold): Remove.
58533         (__exp2): Calculate result before checking finiteness and calling
58534         __kernel_standard.
58535         * math/w_exp2f.c: Likewise.
58536         * math/w_exp2l.c: Likewise.
58537         * math/libm-test.inc (exp2_test): Require overflow exception for
58538         1e6 input.
58540         [BZ #3866]
58541         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
58542         range of signed 64-bit integers before using fistpll.  Remove
58543         checks for whether integers fit in mantissa bits.
58544         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
58545         the range of signed 32-bit integers before using fistpl.  Remove
58546         checks for whether integers fit in mantissa bits.
58547         * sysdeps/i386/fpu/e_powl.S (p64): New object.
58548         (__ieee754_powl): Test for y outside the range of signed 64-bit
58549         integers before using fistpll.  Reduce 64-bit values to 63-bit
58550         ones as needed.
58551         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
58552         divide-by-zero is raised for zero to large negative powers.
58553         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
58554         (__ieee754_powl): Test for y outside the range of signed 64-bit
58555         integers before using fistpll.  Reduce 64-bit values to 63-bit
58556         ones as needed.
58557         * math/libm-test.inc (pow_test): Add more tests.
58559 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58561         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
58562         <stdio-common/_itoa.h>.
58563         * debug/segfault.c: Likewise.
58564         * elf/dl-cache.c: Likewise.
58565         * elf/dl-minimal.c: Likewise.
58566         * elf/dl-misc.c: Likewise.
58567         * elf/dl-sysdep.c: Likewise.
58568         * elf/dl-version.c: Likewise.
58569         * elf/rtld.c: Likewise.
58570         * hurd/hurdsock.c: Likewise.
58571         * hurd/lookup-retry.c: Likewise.
58572         * malloc/malloc.c: Likewise.
58573         * malloc/mtrace.c: Likewise.
58574         * nscd/nscd_getgr_r.c: Likewise.
58575         * nscd/nscd_getpw_r.c: Likewise.
58576         * nscd/nscd_getserv_r.c: Likewise.
58577         * posix/getopt_init.c: Likewise.
58578         * posix/wordexp.c: Likewise.
58579         * stdio-common/_itoa.c: Likewise.
58580         * stdio-common/printf_fphex.c: Likewise.
58581         * stdio-common/vfprintf.c: Likewise.
58582         * string/_strerror.c: Likewise.
58583         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
58584         * sysdeps/i386/i686/hp-timing.h: Likewise.
58585         * sysdeps/mach/_strerror.c: Likewise.
58586         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
58587         * sysdeps/mach/hurd/sethostid.c: Likewise.
58588         * sysdeps/mach/hurd/xmknodat.c: Likewise.
58589         * sysdeps/mach/xpg-strerror.c: Likewise.
58590         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58591         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58592         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
58593         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
58594         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58595         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
58596         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
58597         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
58598         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
58599         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
58600         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
58601         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58602         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
58603         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58604         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58605         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
58606         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
58607         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
58608         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
58609         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
58610         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
58612         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
58614         * stdio-common/_itoa.h: Moved to ...
58615         * sysdeps/generic/_itoa.h: Here.
58617         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
58619         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
58620         instead of "_itoa.h" and "_itowa.h".
58621         * stdio-common/vfprintf.: Likewise.
58623 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58625         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
58626         <bits/wordsize.h>.
58627         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
58628         (__signbit): Likwise.
58629         (llrintf): Likwise.
58630         (llrint): Likwise.
58632 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58634         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
58635         __WORDSIZE != 64.
58637 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
58639         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
58640         OVERFLOW_EXCEPTION_OK.
58641         * math/libm-test.inc ("Philosophy"): Update comment about
58642         exception testing.
58643         (OVERFLOW_EXCEPTION): Define.
58644         (OVERFLOW_EXCEPTION_OK): Likewise.
58645         (INVALID_EXCEPTION_OK): Renumber.
58646         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58647         (IGNORE_ZERO_INF_SIGN): Likewise.
58648         (test_exceptions): Handle FE_OVERFLOW.
58649         (exp10_test): Expect overflow exceptions.
58650         (exp2_test): Likewise.
58651         (expm1_test): Likewise.
58652         (nextafter_test): Likewise.
58653         (pow_test): Likewise.
58654         (scalbn_test): Likewise.
58655         (scalbln_test): Likewise.
58657 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58659         * sysdeps/x86_64/bits/atomic.h
58660         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
58661         64bit integer.
58662         (atomic_exchange_acq): Likewise.
58663         (__arch_exchange_and_add_body): Likewise.
58664         (__arch_add_body): Likewise.
58665         (atomic_add_negative): Likewise.
58666         (atomic_add_zero): Likewise.
58668 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58670         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
58671         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
58673 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58675         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
58676         Check __x86_64__ instead of __WORDSIZE.
58678 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58680         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
58682 2012-03-19  David S. Miller  <davem@davemloft.net>
58684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58686         * sysdeps/sparc/fpu/fenv_private.h: New file.
58687         * sysdeps/sparc/fpu/math_private.h: Use it.
58688         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
58689         Remove.
58690         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
58691         (libc_feholdexcept_setroundl): Remove.
58692         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
58693         Remove.
58694         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
58695         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
58697 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58699         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
58700         int64_t instead of long int.
58701         (INSERT_WORDS64): Likwise.
58703 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58705         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
58706         _Unwind_GetCFA return to _Unwind_Ptr first.
58708 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
58710         [BZ #13629]
58711         * math/s_clog.c: Include <float.h>.
58712         (__clog): Scale large or subnormal inputs.
58713         * math/s_clogf.c: Likewise.
58714         * math/s_clogl.c: Likewise.
58715         * math/s_clog10.c: Include <float.h>.
58716         (M_LOG10_2): Define.
58717         (__clog10): Scale large or subnormal inputs.
58718         * math/s_clog10f.c: Likewise.
58719         * math/s_clog10l.c: Likewise.
58720         * math/libm-test.inc (clog_test): Add more tests.
58721         (clog10_test): Likewise.
58722         * sysdeps/i386/fpu/libm-test-ulps: Update.
58723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58725         [BZ #11451]
58726         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
58727         x and y.
58728         * math/libm-test.inc (atan2_test): Add another test.
58730         * Makerules (common-objdir-compile): Remove.
58731         * sysdeps/unix/Makefile (config-generated): Do not add
58732         $(unix-generated) to variable.
58733         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
58734         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
58735         Remove rule.
58736         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
58737         Likewise.
58738         [generic bits/local_lim.h] (before-compile): Do not append to
58739         variable.
58740         [generic bits/local_lim.h] (common-generated): Likewise.
58741         [generic sys/param.h] (before-compile): Do not append to variable.
58742         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
58743         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
58744         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
58745         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
58746         include.
58747         [generic sys/param.h] (sys/param.h-includes): Remove variable.
58748         [generic sys/param.h] (sys/param.h-includes): Remove rule.
58749         [generic sys/param.h] ($(addprefix
58750         $(common-objpfx),$(sys/param.h-includes))): Likewise.
58751         [generic sys/param.h] (common-generated): Do not append to
58752         variable.
58753         [generic sys/param.h] (sysdep_headers): Likewise.
58754         [generic bits/errno.h] (before-compile): Do not append to
58755         variable.
58756         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
58757         rule.
58758         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
58759         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
58760         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
58761         [generic bits/errno.h] (common-generated): Do not append to
58762         variable.
58763         [generic bits/ioctls.h] (before-compile): Do not append to
58764         variable.
58765         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
58766         rule.
58767         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
58768         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
58769         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
58770         rule.
58771         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
58772         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
58773         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
58774         [generic bits/ioctls.h] (common-generated): Do not append to
58775         variable.
58776         [generic sys/syscall.h] (syscall.h): Remove variable.
58777         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
58778         rule.
58779         [generic sys/syscall.h] (before-compile): Do not append to
58780         variable.
58781         [generic sys/syscall.h] (common-generated): Likewise.
58782         * sysdeps/unix/errnos-tmpl.c: Remove file.
58783         * sysdeps/unix/errnos.awk: Likewise.
58784         * sysdeps/unix/ioctls-tmpl.c: Likewise.
58785         * sysdeps/unix/ioctls.awk: Likewise.
58786         * sysdeps/unix/mk-local_lim.c: Likewise.
58787         * sysdeps/unix/snarf-ioctls: Likewise.
58789 2012-03-19  Richard Henderson  <rth@twiddle.net>
58791         * sysdeps/i386/fpu/fenv_private.h: New file.
58792         * sysdeps/i386/fpu/math_private.h: Use it.
58793         (math_opt_barrier, math_force_eval): Remove.
58794         (libc_feholdexcept_setround_53bit): Remove.
58795         (libc_feupdateenv_53bit): Remove.
58796         * sysdeps/x86_64/fpu/math_private.h: Likewise.
58797         (math_opt_barrier, math_force_eval): Remove.
58798         (libc_feholdexcept): Remove.
58799         (libc_feholdexcept_setround): Remove.
58800         (libc_fetestexcept, libc_fesetenv): Remove.
58801         (libc_feupdateenv_test): Remove.
58802         (libc_feupdateenv, libc_feholdsetround): Remove.
58803         (libc_feresetround): Remove.
58805         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
58806         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
58808         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
58809         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
58810         (libc_feupdateenv_testl): New.
58811         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
58812         (libc_feupdateenv_testf): New.
58813         (libc_feupdateenv): Use libc_feupdateenv_test.
58814         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
58815         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
58817         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
58818         (libc_feholdsetroundf, libc_feholdsetroundl): New.
58819         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
58820         (libc_feresetround_noex): New.
58821         (libc_feresetround_noexf): New.
58822         (libc_feresetround_noexl): New.
58823         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
58824         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
58825         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
58826         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
58827         SET_RESTORE_ROUND.
58828         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58829         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
58830         (__cos): Likewise.
58831         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
58832         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
58833         SET_RESTORE_ROUND_NOEX.
58834         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
58835         SET_RESTORE_ROUND_NOEXF.
58836         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
58837         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
58838         (libc_feholdsetroundf): New.
58839         (libc_feresetround, libc_feresetroundf): New.
58841         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
58842         (libc_feholdexcept_setround_53bit): Convert from macro to function.
58843         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
58845         * sysdeps/generic/math_private.h: Include <fenv.h>.
58846         (default_libc_feholdexcept): New.
58847         (default_libc_feholdexcept_setround): New.
58848         (default_libc_fesetenv, default_libc_feupdateenv): New.
58849         (libc_feholdexcept): Only define if undefined.
58850         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
58851         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
58852         (libc_feholdexcept_setroundl): Likewise.
58853         (libc_feholdexcept_setround_53bit): Likewise.
58854         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
58855         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
58856         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
58857         (libc_feupdateenv_53bit): Likewise.
58858         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
58859         (libc_feholdexcept): Convert from macro to inline function.
58860         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
58861         (libc_fesetenv, libc_feupdateenv): Likewise.
58863         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
58864         not previously defined.
58865         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
58866         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
58867         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
58868         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
58869         * sysdeps/ieee754/flt-32/math_private.h: New file.
58870         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
58871         math_private.h below SET_FLOAT_WORD.
58872         (__isnan, __isinf_ns, __finite): Remove.
58873         (__isnanf, __isinf_nsf, __finitef): Remove.
58875 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
58877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58879 2012-03-17  David S. Miller  <davem@davemloft.net>
58881         [BZ #6471]
58882         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
58883         for 2.16.
58885 2012-03-16  David S. Miller  <davem@davemloft.net>
58887         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
58888         warnings.
58890         [BZ #6471]
58891         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
58892         properly.
58893         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
58894         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
58895         sysdep_routines when subdir is sysvipc.
58896         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
58897         __getshmlba helper.
58899         * sysdeps/sparc/fpu/libm-test/ulps: Update.
58901 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58903         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
58904         [__LP64__].
58906 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58908         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
58909         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
58910         (__lround): Renamed to ...
58911         (__llround): This.  Replace long int with long long int.
58912         Define lround functions as aliases of llround functions.
58913         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
58915 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58917         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
58918         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
58919         adresses to uintptr_t.  Replace "long int" and "unsigned long
58920         int" with "greg_t" on va_arg.
58922 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58924         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
58925         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
58927         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
58928         Move e_machine check before EI_CLASS check.  Handle x32
58929         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
58930         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
58931         SKIP_EM_IA_64 and include
58932         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
58934         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
58935         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
58936         (add_system_dir): New macro.
58938         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
58939         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
58941 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58943         [BZ #2551]
58944         [BZ #2552]
58945         [BZ #2553]
58946         [BZ #2554]
58947         [BZ #2562]
58948         [BZ #2563]
58949         [BZ #2565]
58950         [BZ #2566]
58951         [BZ #2576]
58952         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
58953         (y0): Likewise.
58954         * math/w_j0f.c (j0f): Likewise.
58955         (y0f): Likewise.
58956         * math/w_j0l.c (__j0l): Likewise.
58957         (__y0l): Likewise.
58958         * math/w_j1.c (j1): Likewise.
58959         (y1): Likewise.
58960         * math/w_j1f.c (j1f): Likewise.
58961         (y1f): Likewise.
58962         * math/w_j1l.c (__j1l): Likewise.
58963         (__y1l): Likewise.
58964         * math/w_jn.c (jn): Likewise.
58965         (yn): Likewise.
58966         * math/w_jnf.c (jnf): Likewise.
58967         (ynf): Likewise.
58968         * math/w_jnl.c (__jnl): Likewise.
58969         (__ynl): Likewise.
58970         * math/libm-test.inc (j0_test): Add more tests.
58971         (j1_test): Likewise.
58972         (jn_test): Likewise.  Add trailing semicolon to existing test.
58973         (y0_test): Likewise.
58974         (y1_test): Likewise.
58975         * sysdeps/i386/fpu/libm-test-ulps: Update.
58976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58978         [BZ #13851]
58979         [BZ #13854]
58980         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
58981         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
58982         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
58983         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
58984         (__tanl): Set errno for infinite argument.
58985         * sysdeps/i386/fpu/mptan.c: Remove.
58986         * sysdeps/i386/fpu/s_tan.S: Likewise.
58987         * sysdeps/i386/fpu/s_tanl.S: Likewise.
58988         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
58989         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
58990         * math/libm-test.inc (tan_test): Add more tests and enable more
58991         tests for double and long double.
58992         * sysdeps/i386/fpu/libm-test-ulps: Update.
58993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58995 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
58997         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
58998         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
59000 2012-03-16  Roland McGrath  <roland@hack.frob.com>
59002         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
59003         * configure.in: Use it for both main tree and add-ons.
59004         * configure: Regenerated.
59006 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59008         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
59010 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
59012         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
59013         in comment.
59015         [BZ #13851]
59016         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
59017         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
59018         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
59019         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
59020         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
59021         infinite argument.
59022         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
59023         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
59024         != 0 for prec == 2.
59025         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
59026         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
59027         * sysdeps/i386/fpu/s_cosl.S: Likewise.
59028         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
59029         * sysdeps/i386/fpu/s_sinl.S: Likewise.
59030         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
59031         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
59032         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
59033         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
59034         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
59035         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
59036         * math/libm-test.inc (cos_test): Add more tests and enable more
59037         tests for long double.
59038         (sin_test): Likewise.
59039         (sincos_test): Likewise.
59040         * sysdeps/i386/fpu/libm-test-ulps: Update.
59041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59043 2012-03-16  David S. Miller  <davem@davemloft.net>
59045         * sysdeps/sparc/fpu/math_private.h: New file.
59047 2012-03-15  David S. Miller  <davem@davemloft.net>
59049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
59050         file.
59051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
59052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
59053         file.
59054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
59055         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
59056         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
59057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
59058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
59059         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
59060         sysdep routines.
59061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59063         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
59064         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
59066         * sysdeps/sparc/sparc-ifunc.h: New file.
59067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
59068         sparc-ifunc.h
59069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
59071         Likewise.
59072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
59073         Likewise.
59074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
59075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
59076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59078         Likewise.
59079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
59081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
59083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
59084         Likewise.
59085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
59086         Likewise.
59087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
59089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
59090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
59091         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59092         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59093         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
59094         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
59095         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59096         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59097         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
59098         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
59099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
59100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
59101         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
59102         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
59103         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
59104         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
59105         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
59106         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
59107         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
59108         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
59109         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
59110         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
59112 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59114         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
59115         scaling.
59116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59118 2012-03-15  Andreas Jaeger  <aj@suse.de>
59120         [BZ #13852]
59121         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
59122         ieee754/flt-32 implementation for sin, cos and sincos.
59123         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
59124         * sysdeps/i386/fpu/s_cosf.S: Likewise.
59125         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
59126         * sysdeps/i386/fpu/s_sinf.S: Likewise.
59127         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
59128         ieee754/flt-32 implementation for tan.
59130         * math/libm-test.inc (cos_test): Enable some large input tests for
59131         float as well
59132         (sin_test): Likewise.
59133         (sincos_test): Likewise.
59134         (tan_test): Add tests for large input.
59136         * sysdeps/i386/fpu/libm-test-ulps: Update.
59138 2012-03-15  Andreas Jaeger  <aj@suse.de>
59140         [BZ #13658]
59141         * math/libm-test.inc (cos_test): Add more test cases.
59142         (sin_test): Likewise.
59143         (sincos_test): Likewise.
59145 2012-03-15  Andreas Jaeger  <aj@suse.de>
59147         [BZ #13837]
59148         * math/libm-test.inc (cos_test): Add a test case for large input
59149         value.
59150         (sin_test): Likewise.
59151         (sincos_test): Likewise.
59153 2012-03-15  Andreas Jaeger  <aj@suse.de>
59154             Joseph Myers  <joseph@codesourcery.com>
59156         [BZ #13658]
59157         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
59158         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
59159         * sysdeps/i386/fpu/branred.c: Likewise.
59160         * sysdeps/i386/fpu/dosincos.c: Likewise.
59161         * sysdeps/i386/fpu/mpa.c: Likewise.
59162         * sysdeps/i386/fpu/s_cos.S: Likewise.
59163         * sysdeps/i386/fpu/s_sin.S: Likewise.
59164         * sysdeps/i386/fpu/s_sincos.S: Likewise.
59165         * sysdeps/i386/fpu/sincos32.c: Likewise.
59167         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
59168         Define.
59169         (libc_feupdateenv_53bit): Define.
59170         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
59171         Define.
59172         (libc_feupdateenv_53bit): Define.
59174         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
59175         53 bit (without extend i386 double precision).
59177         * math/libm-test.inc (sincos_test): Add tests for large input.
59178         (sin): Likewise.
59179         (cos): Likewise.
59181         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
59183 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59187 2012-03-15  David S. Miller  <davem@davemloft.net>
59189         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
59190         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
59191         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
59192         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
59193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
59194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
59195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
59196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
59197         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
59198         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
59199         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
59200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
59201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
59202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
59203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
59204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
59205         file.
59206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
59207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
59208         file.
59209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
59210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
59211         file.
59212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
59213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
59214         file.
59215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
59216         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
59217         fmin/fmax sysdep routines.
59218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59220 2012-03-14  David S. Miller  <davem@davemloft.net>
59222         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
59223         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
59224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
59225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
59226         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
59227         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
59228         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
59229         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
59230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
59231         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
59232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
59233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
59234         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
59235         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
59236         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
59237         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
59238         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
59239         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
59240         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
59241         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
59242         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
59243         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
59244         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
59245         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
59246         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
59247         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
59248         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
59249         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
59250         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
59251         routines.
59252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
59253         file.
59254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
59255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
59256         file.
59257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
59258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
59259         file.
59260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
59261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
59262         file.
59263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
59264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
59265         file.
59266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
59267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
59268         file.
59269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
59270         file.
59271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
59272         file.
59273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
59274         file.
59275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
59276         New file.
59277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
59278         file.
59279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
59280         file.
59281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
59282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
59283         file.
59284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
59285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
59286         file.
59287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
59288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
59289         file.
59290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
59291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
59292         VIS3 routines.
59294         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59295         New file.
59297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59299         * sysdeps/sparc/configure.in: New file.
59300         * sysdeps/sparc/configure: Generate.
59301         * configure.in (libc_cv_sparc_as_vis3): Substitute.
59302         * configure: Regenerate.
59303         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
59304         * config.make.in (have-as-vis3): New.
59305         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
59306         available use -Av9d instead of -Av9a.
59307         * sysdeps/sparc/sparc64/Makefile: Likewise.
59308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
59309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
59310         New file.
59311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
59312         file.
59313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
59314         New file.
59315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
59316         file.
59317         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
59318         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
59319         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
59320         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
59321         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
59323         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
59324         fzeros/fnegs to load 0x80000000 into a float register instead of
59325         using the stack.
59326         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
59328 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59330         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59331         bits/syscall.h.
59332         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
59333         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
59334         ($(inst_includedir)/bits/syscall.h): Remove rule.
59335         ($(objpfx)bits/syscall.d): Include instead of
59336         $(objpfx)syscall-list.d.
59337         (generated): Change syscall-list.h and syscall-list.d to
59338         bits/syscall.h and bits/syscall.d.
59340 2012-03-14  Roland McGrath  <roland@hack.frob.com>
59342         [BZ #13846]
59343         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
59345 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59347         [BZ #13841]
59348         * math/s_csqrt.c: Include <float.h>.
59349         (__csqrt): Scale large or subnormal inputs.
59350         * math/s_csqrtf.c: Likewise.
59351         * math/s_csqrtl.c: Likewise.
59352         * math/libm-test.inc (csqrt_test): Add more tests.
59353         * sysdeps/i386/fpu/libm-test-ulps: Update.
59354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59356         [BZ #13840]
59357         * math/libm-test.inc (hypot_test): Add more tests.
59359 2012-03-13  David S. Miller  <davem@davemloft.net>
59361         [BZ #13840]
59362         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
59363         double-precision for the calculation instead of scaling.
59365 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
59367         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
59368         manipulate bits before adding and subtracting TWO52[sx].
59369         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
59370         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
59371         Likewise.
59372         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
59374 2012-03-13  David S. Miller  <davem@davemloft.net>
59376         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
59377         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
59378         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
59379         rtld-global-offsets.h
59380         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59382         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
59383         large parameters.
59385         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
59387         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
59388         'err' in the ifdef scope in which it is actually used.
59390         * nss/nss_db/db-init.c: Include string.h
59392 2012-03-12  David S. Miller  <davem@davemloft.net>
59394         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59395         masking out of the most significant byte of random value used.
59396         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59397         Fix coding style in previous change.
59399         * sysdeps/unix/sysv/linux/kernel-features.h
59400         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
59401         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
59402         expression.
59403         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
59404         later.
59406 2012-03-11  David S. Miller  <davem@davemloft.net>
59408         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59409         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
59410         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
59411         for 'resultvar' otherwise things get truncated on 64-bit.
59413         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59414         Fix masking out of the most significant byte of random value used.
59416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59418 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
59420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59422 2012-03-09  David S. Miller  <davem@davemloft.net>
59424         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
59425         variables with appropriate CPP guards.
59426         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
59427         from the frame pointer, not the stack pointer.  Correct layout
59428         comments.  Fix test on resulting framesize and the management of
59429         the outregs buffer for pltexit.  Preserve floating point return
59430         values across _dl_call_pltexit call.
59431         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
59432         framesize and the management of the outregs buffer for pltexit.
59433         Preserve floating point return values across _dl_call_pltexit
59434         call.
59435         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
59436         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
59437         (la_sparc64_gnu_pltexit): New functions.
59438         (print_exit): Fix format string for return register value.
59440 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
59442         * sunrpc/Makefile (others): Add rpcgen.
59443         ($(objpfx)rpcgen): Remove special build rule and dependency on
59444         libc.
59445         * sunrpc/rpcgen.c: New file.
59447 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
59449         [BZ #13673]
59450         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
59451         * stdio-common/bug-vfprintf-nargs.c: Likewise.
59452         * sysdeps/i386/crti.S: Likewise.
59453         * sysdeps/i386/crtn.S: Likewise.
59454         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
59455         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
59456         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
59457         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
59458         * sysdeps/sh/crti.S: Likewise.
59459         * sysdeps/sh/crtn.S: Likewise.
59460         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59462         [BZ #13673]
59463         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
59464         with URL.
59465         * locale/programs/locfile-kw.gperf: Likewise.
59466         * locale/programs/charmap-kw.h: Regenerated.
59467         * locale/programs/locfile-kw.h: Likewise.
59469         [BZ #13673]
59470         * intl/plural.y: Replace FSF snail mail address with URL.
59471         * intl/plural.c: Regenerated.
59473 2012-03-09  Richard Henderson  <rth@twiddle.net>
59475         * include/math_private.h: Remove file.
59476         * math/math_private.h: Move file ...
59477         * sysdeps/generic/math_private.h: ... here.
59479         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
59480         * sysdeps/powerpc/fpu/math_private.h: Likewise.
59481         * sysdeps/x86_64/fpu/math_private.h: Likewise.
59483         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
59484         and <math_private.h>.
59485         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59486         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59487         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59488         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59489         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59490         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
59491         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59492         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59493         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59494         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59495         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59496         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59497         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59498         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59499         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59500         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59501         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59502         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59503         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59504         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59505         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59506         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59507         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59508         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59509         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59510         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59511         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59512         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59513         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59514         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59515         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59516         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59517         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59518         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59519         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59520         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59521         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59522         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59523         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59524         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59525         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
59526         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59527         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59528         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59529         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59530         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59531         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
59532         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59533         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59534         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59535         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59536         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
59537         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59538         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59539         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59540         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59541         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59542         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59543         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59544         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
59545         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59546         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59547         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59548         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59549         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
59550         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59551         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59552         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59553         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
59554         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
59555         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59556         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59557         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59558         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59559         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
59560         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
59561         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
59562         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59563         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
59564         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
59565         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59566         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
59567         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59568         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59569         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59570         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
59571         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
59572         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
59573         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59574         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59575         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59576         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59577         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59578         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59579         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59580         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59581         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59582         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59583         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59584         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59585         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59586         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59587         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59588         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59589         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59590         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59591         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59592         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59593         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59594         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59595         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59596         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59597         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59598         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59599         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
59600         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59601         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59602         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59603         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59604         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59605         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59606         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59607         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59608         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
59609         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59610         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59611         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59612         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
59613         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59614         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
59615         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
59616         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59617         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59618         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
59619         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
59620         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59621         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59622         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59623         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
59624         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59625         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59626         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59627         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59628         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
59629         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
59630         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59631         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59632         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59633         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
59634         * sysdeps/ieee754/k_standard.c: Likewise.
59635         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59636         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59637         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59638         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59639         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59640         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59641         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59642         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59643         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59644         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59645         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59646         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59647         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59648         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59649         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59650         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59651         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59652         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59653         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59654         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
59655         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
59656         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
59657         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59658         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59659         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59660         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
59661         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59662         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59663         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59664         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59665         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59666         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59667         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59668         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59669         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59670         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59671         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59672         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
59673         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
59674         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59675         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59676         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59677         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59678         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59679         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59680         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59681         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59682         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59683         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59684         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59685         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59686         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59687         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59688         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
59689         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59690         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59691         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
59692         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
59693         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59694         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59695         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59696         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59697         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59698         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59699         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59700         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59701         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59702         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59703         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59704         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59705         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59706         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59707         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59708         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59709         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59710         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59711         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
59712         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59713         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59714         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59715         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59716         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59717         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59718         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59719         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
59720         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59721         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59722         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
59723         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59724         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59725         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
59726         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59727         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
59728         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59729         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59730         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59731         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
59732         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
59733         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
59734         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
59735         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59736         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59737         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59738         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59739         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
59740         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59741         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59742         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
59743         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
59744         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59745         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59746         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59747         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59748         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59749         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59750         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59751         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59752         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59753         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59754         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59755         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59756         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59757         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59758         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59759         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59760         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
59761         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59762         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59763         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59764         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59765         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59766         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59767         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59768         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59769         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59770         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59771         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
59772         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59773         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59774         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
59775         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
59776         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59777         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
59778         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
59779         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59780         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59781         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59782         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59783         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59784         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
59785         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59786         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59787         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59788         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59789         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
59790         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
59791         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59792         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59793         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59794         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59795         * sysdeps/ieee754/s_lib_version.c: Likewise.
59796         * sysdeps/ieee754/s_matherr.c: Likewise.
59797         * sysdeps/ieee754/s_signgam.c: Likewise.
59798         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59799         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59800         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
59801         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
59802         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
59803         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59804         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
59805         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
59806         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
59807         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
59808         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59809         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
59810         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59811         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59812         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
59813         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59814         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59815         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59816         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59817         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59818         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59820 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59822         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
59823         * sunrpc/rpc_main.c: Likewise.
59824         * sunrpc/rpc_svcout.c: Likewise.
59826 2012-03-09  David S. Miller  <davem@davemloft.net>
59828         * include/math_private.h: New file.
59830 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59832         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
59833         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
59834         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
59835         from <bits/socket_type.h>.
59836         (enum __socket_type): Don't define here.
59837         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
59838         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59839         bits/socket_type.h.
59841         [BZ #13566]
59842         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
59843         checking __USE_GNU.
59845         * Makerules ($(inst_includedir)/%.h): New rule.
59846         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
59847         (install-others): Remove variable setting.
59848         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
59850 2012-03-08  Richard Henderson  <rth@twiddle.net>
59852         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
59853         from macro to inline function; merge with the
59854         !__LIBC_INTERNAL_MATH_INLINES version.
59855         (__ieee754_sqrtf): Likewise.
59857         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
59858         to inline function.
59859         (__rintf, __floor, __floorf): Likewise.
59861         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
59862         macro to inline function.
59863         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
59865         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
59866         not <math/math_private.h>.
59868 2012-03-08  David S. Miller  <davem@davemloft.net>
59870         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
59871         copyright year.
59872         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
59874 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
59876         * resolv/gai_misc.c (handle_requests): Fix struct timespec
59877         normalization.
59878         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
59879         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
59881 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
59883         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
59884         be defined individually, they must be defined as a block.  Define
59885         S for printing a string instead of hidint the different by using a
59886         macro for adding the 'l'.
59887         * stdio-common/tst-fphex-wide.c: Adjust.
59889 2012-03-07  Marek Polacek  <polacek@redhat.com>
59891         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
59893 2012-03-08  Marek Polacek  <polacek@redhat.com>
59895         [BZ #13806]
59896         * stdio-common/Makefile (tests): Add tst-fphex-wide.
59897         * stdio-common/tst-fphex.c: Define a few macros to make the
59898         test reusable.  Use them.
59899         * stdio-common/tst-fphex-wide.c: New file.
59901 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
59903         [BZ #6911]
59904         * manual/macros.texi (gnusystems): New macro.
59905         (nongnusystems): Likewise.
59906         (gnulinuxhurdsystems): Likewise.
59907         (gnuhurdsystems): Likewise..
59908         (gnulinuxsystems): Likewise.
59909         * manual/charset.texi: Use new macros or @theglibc{} to refer to
59910         variants of the GNU system, not "GNU system".
59911         * manual/conf.texi: Likewise.
59912         * manual/errno.texi: Likewise.  Update example of errno macro
59913         expansion.
59914         * manual/filesys.texi: Likewise.
59915         (getumask): Document as specific to GNU/Hurd.
59916         * manual/install.texi: Likewise.  Reword some references to
59917         GNU/Linux.
59918         * manual/intro.texi: Likewise.
59919         * manual/io.texi: Likewise.
59920         (File Name Portability): Detail which constraints are inapplicable
59921         to all GNU systems and which are only inapplicable to GNU/Hurd.
59922         * manual/job.texi: Likewise.
59923         * manual/llio.texi: Likewise.
59924         (O_NOCTTY): Document as present on GNU/Linux.
59925         * manual/maint.texi: Likewise.
59926         * manual/memory.texi: Likewise.
59927         * manual/pattern.texi: Likewise.
59928         * manual/pipe.texi: Likewise.
59929         * manual/process.texi: Likewise.
59930         * manual/resource.texi: Likewise.
59931         (RUSAGE_CHILDREN): Remove statement about specifying a particular
59932         child on GNU/Hurd.
59933         * manual/setjmp.texi: Likewise.
59934         * manual/signal.texi: Likewise.
59935         * manual/startup.texi: Likewise.
59936         * manual/stdio.texi: Likewise.
59937         * manual/terminal.texi: Likewise.
59938         (ONLCR): Document as POSIX.
59939         (OXTABS): Document availability on GNU/Linux as XTABS.
59940         (ONOEOT): Document availability separately from other bits.
59941         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
59942         * manual/time.texi: Likewise.
59943         * manual/users.texi: Likewise.
59944         * INSTALL: Regenerated.
59945         * sysdeps/gnu/errlist.c: Regenerated.
59947         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
59948         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
59949         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
59950         puts.
59951         * configure: Regenerated.
59953 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
59955         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
59956         default includes instead of AC_HEADER_CHECK.
59957         * sysdeps/i386/configure: Regenerated.
59959         [BZ #10716]
59960         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
59961         * math/s_cacoshf.c (__cacoshf): Likewise.
59962         * math/s_cacoshl.c (__cacoshl): Likewise.
59963         * math/s_casinh.c (__casinh): Set signs of result from argument.
59964         * math/s_casinhf.c (__casinhf): Likewise.
59965         * math/s_casinhl.c (__casinhl): Likewise.
59966         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
59967         (casinh_test): Add more tests.
59968         * sysdeps/i386/fpu/libm-test-ulps: Update.
59969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59971 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
59973         * po/zh_TW.po: Update from translation team.
59975         * login/Makefile (distribute): Remove variable.
59976         * catgets/Makefile: Likewise.
59977         * mach/Makefile: Likewise.
59978         * malloc/Makefile: Likewise.
59979         * misc/Makefile: Likewise.
59980         * iconv/Makefile: Likewise.
59981         * nscd/Makefile: Likewise.
59982         * hurd/Makefile: Likewise.
59983         * manual/Makefile: Likewise.
59984         * locale/Makefile: Likewise.
59985         * intl/Makefile: Likewise.
59986         * conform/Makefile: Likewise.
59987         * nss/Makefile: Likewise.
59988         * time/Makefile: Likewise.
59989         * soft-fp/Makefile: Likewise.
59990         * dirent/Makefile: Likewise.
59991         * gmon/Makefile: Likewise.
59992         * po/Makefile: Likewise.
59993         * rt/Makefile: Likewise.
59994         * socket/Makefile: Likewise.
59995         * math/Makefile: Likewise.
59996         * signal/Makefile: Likewise.
59997         * debug/Makefile: Likewise.
59998         * elf/Makefile: Likewise.
59999         * timezone/Makefile: Likewise.
60000         * stdlib/Makefile: Likewise.
60001         * iconvdata/Makefile: Likewise.
60002         * sunrpc/Makefile: Likewise.
60003         * io/Makefile: Likewise.
60004         * argp/Makefile: Likewise.
60005         * inet/Makefile: Likewise.
60006         * hesiod/Makefile: Likewise.
60007         * grp/Makefile: Likewise.
60008         * csu/Makefile: Likewise.
60009         * wctype/Makefile: Likewise.
60010         * crypt/Makefile: Likewise.
60011         * libio/Makefile: Likewise.
60012         * string/Makefile: Likewise.
60013         * nis/Makefile: Likewise.
60014         * resolv/Makefile: Likewise.
60015         * stdio-common/Makefile: Likewise.
60016         * wcsmbs/Makefile: Likewise.
60017         * dlfcn/Makefile: Likewise.
60018         * posix/Makefile: Likewise.
60020         [BZ #6959]
60021         * timezone/Makefile: Don't install timezone files, just the programs
60022         and scripts.
60024 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
60026         * nss/databases.def: Add missing gshadow entry.
60028         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
60030 2012-03-06  Marek Polacek  <polacek@redhat.com>
60032         [BZ #13726]
60033         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
60034         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60035         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
60036         * stdio-common/tst-long-dbl-fphex.c: New file.
60038 2012-03-06  David S. Miller  <davem@davemloft.net>
60040         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60041         (set_obp_int): New function.
60042         (get_obp_int): New function.
60043         (__get_clockfreq_via_dev_openprom): Likewise.
60044         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
60045         Avoid unused variable warnings on 'val' and use builtin_expect.
60046         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
60047         __builtin_expect.
60048         (INLINE_CLONE_SYSCALL): Likewise.
60050 2012-03-05  David S. Miller  <davem@davemloft.net>
60052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60054 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
60056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60058         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
60059         only for |x| >= 40.
60060         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60062 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
60064         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
60065         Replace gettimeofday with __vdso_gettimeofday.
60067         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60068         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
60069         __vdso_clock_gettime and __vdso_getcpu.
60071         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
60072         time with __vdso_time.
60074 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60076         * manual/lang.texi (size_t): Note types to which size_t may be
60077         equivalent with the GNU C Library, but do not describe when
60078         differences between them are significant.
60080 2012-03-05  Andreas Jaeger  <aj@suse.de>
60082         * sysdeps/i386/fpu/libm-test-ulps: Update.
60084 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60086         [BZ #3976]
60087         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
60088         (__ieee754_pow): Save and restore rounding mode and use
60089         round-to-nearest for main computations.
60090         * math/libm-test.inc (pow_test_tonearest): New function.
60091         (pow_test_towardzero): Likewise.
60092         (pow_test_downward): Likewise.
60093         (pow_test_upward): Likewise.
60094         (main): Call the new functions.
60095         * sysdeps/i386/fpu/libm-test-ulps: Update.
60096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60098         [BZ #3976]
60099         * math/libm-test.inc (cosh_test_tonearest): New function.
60100         (cosh_test_towardzero): Likewise.
60101         (cosh_test_downward): Likewise.
60102         (cosh_test_upward): Likewise.
60103         (sinh_test_tonearest): Likewise.
60104         (sinh_test_towardzero): Likewise.
60105         (sinh_test_downward): Likewise.
60106         (sinh_test_upward): Likewise.
60107         (main): Call the new functions.
60108         * sysdeps/i386/fpu/libm-test-ulps: Update.
60109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60111 2012-03-05  Tom de Vries  <tom@codesourcery.com>
60113         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
60114         default stack guard is set in last bytes.
60115         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
60117 2012-03-05  Kees Cook  <keescook@chromium.org>
60119         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
60121         [BZ #13656]
60122         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
60123         possibly allocate from heap instead of stack.
60124         * stdio-common/bug-vfprintf-nargs.c: New file.
60125         * stdio-common/Makefile (tests): Add nargs overflow test.
60127 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
60129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60131 2012-03-03  Marek Polacek  <polacek@redhat.com>
60133         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
60134         * math/math_private.h: Likewise.
60135         * stdlib/tst-strtod.c: Likewise.
60136         * sysdeps/i386/i486/bits/atomic.h: Likewise.
60137         * sysdeps/x86_64/bits/atomic.h: Likewise.
60139 2012-03-02  David S. Miller  <davem@davemloft.net>
60141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
60142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
60143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
60144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
60145         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
60146         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
60147         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
60148         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
60150 2012-03-02  Roland McGrath  <roland@hack.frob.com>
60152         [BZ #13792]
60153         * manual/examples/README: New file, says the example source files
60154         can be used under GPL>=2.
60155         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
60156         line containing just "*/".
60157         * manual/examples/add.c: Add copyright header (GPL>=2).
60158         * manual/examples/argp-ex1.c: Likewise.
60159         * manual/examples/argp-ex2.c: Likewise.
60160         * manual/examples/argp-ex3.c: Likewise.
60161         * manual/examples/argp-ex4.c: Likewise.
60162         * manual/examples/atexit.c: Likewise.
60163         * manual/examples/db.c: Likewise.
60164         * manual/examples/dir.c: Likewise.
60165         * manual/examples/dir2.c: Likewise.
60166         * manual/examples/execinfo.c: Likewise.
60167         * manual/examples/filecli.c: Likewise.
60168         * manual/examples/filesrv.c: Likewise.
60169         * manual/examples/fmtmsgexpl.c: Likewise.
60170         * manual/examples/genpass.c: Likewise.
60171         * manual/examples/inetcli.c: Likewise.
60172         * manual/examples/inetsrv.c: Likewise.
60173         * manual/examples/isockad.c: Likewise.
60174         * manual/examples/longopt.c: Likewise.
60175         * manual/examples/memopen.c: Likewise.
60176         * manual/examples/memstrm.c: Likewise.
60177         * manual/examples/mkfsock.c: Likewise.
60178         * manual/examples/mkisock.c: Likewise.
60179         * manual/examples/mygetpass.c: Likewise.
60180         * manual/examples/pipe.c: Likewise.
60181         * manual/examples/popen.c: Likewise.
60182         * manual/examples/rprintf.c: Likewise.
60183         * manual/examples/search.c: Likewise.
60184         * manual/examples/select.c: Likewise.
60185         * manual/examples/setjmp.c: Likewise.
60186         * manual/examples/sigh1.c: Likewise.
60187         * manual/examples/sigusr.c: Likewise.
60188         * manual/examples/stpcpy.c: Likewise.
60189         * manual/examples/strdupa.c: Likewise.
60190         * manual/examples/strftim.c: Likewise.
60191         * manual/examples/strncat.c: Likewise.
60192         * manual/examples/subopt.c: Likewise.
60193         * manual/examples/swapcontext.c: Likewise.
60194         * manual/examples/termios.c: Likewise.
60195         * manual/examples/testopt.c: Likewise.
60196         * manual/examples/testpass.c: Likewise.
60197         * manual/examples/timeval_subtract.c: Likewise.
60199         [BZ #13792]
60200         * manual/time.texi (Elapsed Time): Move timeval_subtract example
60201         function to ...
60202         * manual/timeval_subtract.c.texi: ... here, new file.
60204 2012-03-02  David S. Miller  <davem@davemloft.net>
60206         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
60208 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
60210         [BZ #3976]
60211         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
60212         (__sin): Save and restore rounding mode and use round-to-nearest
60213         for all computations.
60214         (__cos): Save and restore rounding mode and use round-to-nearest
60215         for all computations.
60216         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
60217         <fenv.h>.
60218         (tan): Save and restore rounding mode and use round-to-nearest for
60219         all computations.
60220         * math/libm-test.inc (cos_test_tonearest): New function.
60221         (cos_test_towardzero): Likewise.
60222         (cos_test_downward): Likewise.
60223         (cos_test_upward): Likewise.
60224         (sin_test_tonearest): Likewise.
60225         (sin_test_towardzero): Likewise.
60226         (sin_test_downward): Likewise.
60227         (sin_test_upward): Likewise.
60228         (tan_test_tonearest): Likewise.
60229         (tan_test_towardzero): Likewise.
60230         (tan_test_downward): Likewise.
60231         (tan_test_upward): Likewise.
60232         (main): Call the new functions.
60233         * sysdeps/i386/fpu/libm-test-ulps: Update.
60234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60236         [BZ #10135]
60237         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
60238         small n, then large n, before computing and testing k+n.
60239         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
60240         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
60241         Likewise.
60242         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
60243         Likewise.
60244         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
60245         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
60246         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
60247         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
60248         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60249         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60250         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
60251         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
60252         * math/libm-test.inc (scalbn_test): Add more tests.
60253         (scalbln_test): Likewise.
60255         * manual/filesys.texi (mode_t): Describe constraints on size and
60256         signedness, not exact equivalence to a particular type.
60257         (ino_t): Likewise.
60258         (ino64_t): Likewise.
60259         (dev_t): Likewise.
60260         (nlink_t): Likewise.
60261         (blkcnt_t): Likewise.
60262         (blkcnt64_t): Likewise.
60263         * manual/llio.texi (off_t): Likewise.
60265         [BZ #3976]
60266         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
60267         (__ieee754_exp): Save and restore rounding mode and use
60268         round-to-nearest for all computations.
60269         * math/libm-test.inc (exp_test_tonearest): New function.
60270         (exp_test_towardzero): Likewise.
60271         (exp_test_downward): Likewise.
60272         (exp_test_upward): Likewise.
60273         (main): Call the new functions.
60274         * sysdeps/i386/fpu/libm-test-ulps: Update.
60275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60277 2012-03-01  Chris Demetriou  <cgd@google.com>
60279         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
60280         have predictable order.
60282 2012-03-01  David S. Miller  <davem@davemloft.net>
60284         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
60286         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
60287         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
60288         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
60289         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
60291         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
60292         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
60293         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
60294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
60295         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
60296         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
60297         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
60298         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
60299         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
60301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60303         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
60304         * sysdeps/sparc/fpu/libm-test-ulps: to here.
60305         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
60307         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
60308         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60309         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60310         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
60311         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
60312         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
60313         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
60314         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60315         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60316         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
60317         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
60318         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60319         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60320         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60321         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60322         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60323         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
60324         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
60325         * sysdeps/sparc/elf/configure: Regenerated.
60327 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
60329         * configure.in (AS, LD): Require binutils 2.20 or later.
60330         * configure: Regenerated.
60331         * manual/install.texi (Tools for Compilation): Give binutils 2.20
60332         as required minimum version.
60333         * INSTALL: Regenerated.
60335         [BZ #2541]
60336         [BZ #4108]
60337         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
60338         before squaring exponent.
60339         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
60340         bottom long double and 27 bits of top long double before squaring
60341         exponent.
60342         * math/libm-test.inc (erfc_test): Add more tests.
60343         * sysdeps/i386/fpu/libm-test-ulps: Update.
60344         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60347 2012-03-01  Kai Tietz  <ktietz@redhat.com>
60349         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
60350         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
60351         containing bit-fields.
60352         * soft-fp/extended.h (_FP_UNION_E): Likewise.
60353         * soft-fp/single.h (_FP_UNION_S): Likewise.
60354         * soft-fp/double.h (_FP_UNION_D): Likewise.
60356 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60358         [BZ #13786]
60359         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
60360         not include ../strcmp.S.
60361         [USE_AS_STRNCASECMP_L]: Likewise.
60362         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
60363         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
60364         * sysdeps/i386/i686/multiarch/strncase_l-c.c
60365         (__strncasecmp_l_ia32): Define as alias to
60366         __strncasecmp_l_nonascii.
60368         [BZ #5794]
60369         * math/libm-test.inc (expm1_test): Add test for bug 5794.
60370         * sysdeps/i386/fpu/libm-test-ulps: Update.
60371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60373         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
60374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60376 2012-02-29  Jeff Law  <law@redhat.com>
60378         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
60379         out of bounds read.
60381 2012-02-29  Marek Polacek  <polacek@redhat.com>
60383         [BZ #13706]
60384         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
60385         * elf/Makefile: Add rules to run tst-unused-dep.out.
60387 2012-02-28  David S. Miller  <davem@davemloft.net>
60389         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
60390         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
60391         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
60392         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
60393         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
60394         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
60396 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60398         * math/libm-test.inc (llround_test): Move one test from
60399         lround_test.  Use TEST_f_L in moved test.
60400         (lround_test): Move misplaced test to llround_test.  Add testcase
60401         from bug 2561.
60403 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
60405         * sysdeps/x86_64/fpu/e_expf.S: New file.
60406         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
60408 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
60410         [BZ #13637]
60411         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
60412         of remain_len that may cause incomplete multi-byte character and
60413         false match.
60414         * posix/bug-regex33.c: New file.
60415         * posix/Makefile (tests): Add bug-regex33.
60417 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
60419         * manual/macros.texi: New file.
60420         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
60421         * manual/libc.texinfo: Include macros.texi.
60422         * manual/creatute.texi: Likewise.
60423         * manual/install.texi: Likewise.
60424         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
60425         @glibcadj{} in references to the GNU C Library.
60426         * manual/charset.texi: Likewise.
60427         * manual/conf.texi: Likewise.
60428         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
60429         when not using those macros.
60430         * manual/creature.texi: Likewise.
60431         * manual/crypt.texi: Likewise.
60432         * manual/errno.texi: Likewise.
60433         * manual/filesys.texi: Likewise.
60434         * manual/header.texi: Likewise.
60435         * manual/install.texi: Likewise.
60436         * manual/intro.texi: Likewise.
60437         * manual/io.texi: Likewise.
60438         * manual/job.texi: Likewise.
60439         * manual/lang.texi: Likewise.
60440         * manual/libc.texiinfo: Likewise.
60441         * manual/llio.texi: Likewise.
60442         * manual/locale.texi: Likewise.
60443         * manual/maint.texi: Likewise.
60444         * manual/math.texi: Likewise.
60445         * manual/memory.texi: Likewise.
60446         * manual/message.texi: Likewise.
60447         * manual/nss.texi: Likewise.
60448         * manual/pattern.texi: Likewise.
60449         * manual/process.texi: Likewise.
60450         * manual/resource.texi: Likewise.
60451         * manual/search.texi: Likewise.
60452         * manual/setjmp.texi: Likewise.
60453         * manual/signal.texi: Likewise.
60454         * manual/socket.texi: Likewise.
60455         * manual/startup.texi: Likewise.
60456         * manual/stdio.texi: Likewise.
60457         * manual/string.texi: Likewise.
60458         * manual/sysinfo.texi: Likewise.
60459         * manual/syslog.texi: Likewise.
60460         * manual/terminal.texi: Likewise.
60461         * manual/time.texi: Likewise.
60462         * manual/users.texi: Likewise.
60463         * INSTALL: Regenerated.
60464         * NOTES: Regenerated.
60465         * sysdeps/gnu/errlist.c: Regenerated.
60467 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
60469         * include/dirent.h: Include <dirstream.h> before
60470         <dirent/dirent.h>.
60472 2012-02-28  David S. Miller  <davem@davemloft.net>
60474         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
60475         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
60476         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
60477         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
60479 2012-02-27  David S. Miller  <davem@davemloft.net>
60481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
60482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
60483         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
60484         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
60486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
60487         frame pointer instead of stack pointer relative arg slot.
60488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60489         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60490         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60492 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
60494         [BZ #3992]
60495         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
60497 2012-02-27  David S. Miller  <davem@davemloft.net>
60499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
60500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
60503         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60504         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60505         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
60506         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
60508 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60510         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
60511         later.  Allow versions 5-9.
60512         * configure: Regenerated.
60513         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
60514         required minimum version and 4.6 as recommended version.  Do not
60515         mention bugs in GCC 2.7 and 2.8.
60516         * INSTALL: Regenerated.
60518 2012-02-27  David S. Miller  <davem@davemloft.net>
60520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
60521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
60522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
60523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
60524         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
60525         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
60526         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
60527         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
60529         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
60530         manipulate bits before adding and subtracting TWO112[sx].
60531         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60533 2012-02-27  Roland McGrath  <roland@hack.frob.com>
60535         [BZ #13775]
60536         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
60537         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
60538         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
60539         being in POSIX, because they are in 1003.1-2008.
60541         * rt/tst-aio.c: Include <fcntl.h>.
60542         * rt/tst-aio7.c: Likewise.
60543         * rt/tst-aio64.c: Likewise.
60545         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
60547 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60549         * manual/install.texi (--with-headers): Describe headers as
60550         interface headers, not private headers.
60551         (Specific advice for GNU/Linux systems): Describe use of headers
60552         from "make headers_install", not private headers from older
60553         kernels.
60554         * INSTALL: Regenerated.
60555         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
60556         Change to 2.6.19.
60557         * sysdeps/unix/sysv/linux/configure: Regenerated.
60559         * manual/llio.texi (fclean): Remove documentation.
60561         * manual/Makefile (libc-texi-generated): New variable.  Include
60562         version.texi.
60563         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
60564         $(libc-texi-generated), not duplicated list of files.
60565         (version.texi, stamp-version): New rules.
60566         (realclean): Remove $(libc-texi-generated), not individual files
60567         from that list.  Do not remove dir-add.texinfo.
60568         * manual/libc.texinfo: Comment out uses of edition numbers and
60569         references to printed manual.  Remove last-updated dates.
60570         (EDITION): Comment out.
60571         (ISBN): Likewise.
60572         (VERSION, UPDATED): Remove.
60573         (version.texi): Include.
60575 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
60577         * sysdeps/posix/spawni.c: Include <signal.h>.
60578         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
60579         * sysdeps/pthread/aio_fsync.c: Likewise.
60581 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
60583         * conform/Makefile (tests): Run only when not cross-compiling and
60584         when fast-check is not defined.
60586         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
60587         * conform/data/limits.h-data: Fixes for POSIX2008.
60588         * conform/run-conformtest.sh: Run all tests.
60589         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
60590         headers.
60591         * include/bits/dlfcn.h: Likewise.
60592         * include/langinfo.h: Likewise.
60593         * include/monetary.h: Likewise.
60594         * include/sys/poll.h: Likewise.
60596         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
60597         for __USE_GNU.
60598         * posix/spawn.h: Define __need_sigset_t.
60599         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
60600         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
60601         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
60602         to get sigevent_t only.
60603         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
60604         only for __USE_GNU.
60605         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60606         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60607         process_vm_writev only for __USE_GNU.
60608         * termios/termios.h: Declare tcgetsid also for POSIX2008.
60610         * conform/Makefile: For now ignore errors from run-conformtest.
60611         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
60612         POSIX to avoid namespace pollution.  Don't prepend headers.
60613         * conform/data/aio.h-data: Fixes for POSIX testing.
60614         * conform/data/fcntl.h-data: Likewise.
60615         * conform/data/glob.h-data: Likewise.
60616         * conform/data/grp.h-data: Likewise.
60617         * conform/data/pthread.h-data: Likewise.
60618         * conform/data/pwd.h-data: Likewise.
60619         * conform/data/signal.h-data: Likewise.
60620         * conform/data/spawn.h-data: Likewise.
60621         * conform/data/stdio.h-data: Likewise.
60622         * conform/data/stdlib.h-data: Likewise.
60623         * conform/data/stropts.h-data: Likewise.
60624         * conform/data/sys/mman.h-data: Likewise.
60625         * conform/data/sys/stat.h-data: Likewise.
60626         * conform/data/sys/types.h-data: Likewise.
60627         * conform/data/sys/wait.h-data: Likewise.
60628         * conform/data/time.h-data: Likewise.
60629         * conform/data/unistd.h-data: Likewise.
60630         * conform/data/utime.h-data: Likewise.
60632         * io/sys/stat.h: fchmod was always in POSIX.
60633         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
60634         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
60635         * rt/aio.h: Define __need_timespec before including <time.h>.
60636         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
60637         struct.  Add forward declaration of pthread_attr_t and use it in
60638         sigevent.
60639         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60640         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60641         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
60642         always remove CLK_TCK definition.
60644 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
60646         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
60648 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
60650         * conform/run-conformtest.sh: New file.
60651         * conform/Makefile: Run run-conformtest for tests.
60652         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
60653         support.
60655         * conform/data/uchar.h-data: New file.
60656         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
60657         * conform/data/arpa/inet.h-data: Likewise.
60658         * conform/data/assert.h-data: Likewise.
60659         * conform/data/complex.h-data: Likewise.
60660         * conform/data/cpio.h-data: Likewise.
60661         * conform/data/ctype.h-data: Likewise.
60662         * conform/data/dirent.h-data: Likewise.
60663         * conform/data/dlfcn.h-data: Likewise.
60664         * conform/data/errno.h-data: Likewise.
60665         * conform/data/fcntl.h-data: Likewise.
60666         * conform/data/float.h-data: Likewise.
60667         * conform/data/fmtmsg.h-data: Likewise.
60668         * conform/data/fnmatch.h-data: Likewise.
60669         * conform/data/ftw.h-data: Likewise.
60670         * conform/data/glob.h-data: Likewise.
60671         * conform/data/grp.h-data: Likewise.
60672         * conform/data/iconv.h-data: Likewise.
60673         * conform/data/inttypes.h-data: Likewise.
60674         * conform/data/langinfo.h-data: Likewise.
60675         * conform/data/libgen.h-data: Likewise.
60676         * conform/data/limits.h-data: Likewise.
60677         * conform/data/locale.h-data: Likewise.
60678         * conform/data/math.h-data: Likewise.
60679         * conform/data/monetary.h-data: Likewise.
60680         * conform/data/mqueue.h-data: Likewise.
60681         * conform/data/ndbm.h-data: Likewise.
60682         * conform/data/net/if.h-data: Likewise.
60683         * conform/data/netdb.h-data: Likewise.
60684         * conform/data/netinet/in.h-data: Likewise.
60685         * conform/data/nl_types.h-data: Likewise.
60686         * conform/data/poll.h-data: Likewise.
60687         * conform/data/pthread.h-data: Likewise.
60688         * conform/data/pwd.h-data: Likewise.
60689         * conform/data/regex.h-data: Likewise.
60690         * conform/data/sched.h-data: Likewise.
60691         * conform/data/search.h-data: Likewise.
60692         * conform/data/semaphore.h-data: Likewise.
60693         * conform/data/setjmp.h-data: Likewise.
60694         * conform/data/signal.h-data: Likewise.
60695         * conform/data/spawn.h-data: Likewise.
60696         * conform/data/stdarg.h-data: Likewise.
60697         * conform/data/stdio.h-data: Likewise.
60698         * conform/data/stdlib.h-data: Likewise.
60699         * conform/data/string.h-data: Likewise.
60700         * conform/data/strings.h-data: Likewise.
60701         * conform/data/stropts.h-data: Likewise.
60702         * conform/data/sys/ipc.h-data: Likewise.
60703         * conform/data/sys/mman.h-data: Likewise.
60704         * conform/data/sys/msg.h-data: Likewise.
60705         * conform/data/sys/resource.h-data: Likewise.
60706         * conform/data/sys/select.h-data: Likewise.
60707         * conform/data/sys/sem.h-data: Likewise.
60708         * conform/data/sys/shm.h-data: Likewise.
60709         * conform/data/sys/socket.h-data: Likewise.
60710         * conform/data/sys/stat.h-data: Likewise.
60711         * conform/data/sys/statvfs.h-data: Likewise.
60712         * conform/data/sys/time.h-data: Likewise.
60713         * conform/data/sys/timeb.h-data: Likewise.
60714         * conform/data/sys/times.h-data: Likewise.
60715         * conform/data/sys/types.h-data: Likewise.
60716         * conform/data/sys/uio.h-data: Likewise.
60717         * conform/data/sys/un.h-data: Likewise.
60718         * conform/data/sys/utsname.h-data: Likewise.
60719         * conform/data/sys/wait.h-data: Likewise.
60720         * conform/data/syslog.h-data: Likewise.
60721         * conform/data/tar.h-data: Likewise.
60722         * conform/data/termios.h-data: Likewise.
60723         * conform/data/utime.h-data: Likewise.
60724         * conform/data/utmpx.h-data: Likewise.
60725         * conform/data/varargs.h-data: Likewise.
60726         * conform/data/wchar.h-data: Likewise.
60727         * conform/data/wctype.h-data: Likewise.
60728         * conform/data/wordexp.h-data: Likewise.
60730         * include/stropts.h: New file.
60731         * include/uchar.h: New file.
60732         * include/aio.h: Changes to allow conformtest.pl to use the headers.
60733         * include/assert.h: Likewise.
60734         * include/ctype.h: Likewise.
60735         * include/dirent.h: Likewise.
60736         * include/dlfcn.h: Likewise.
60737         * include/fcntl.h: Likewise.
60738         * include/fnmatch.h: Likewise.
60739         * include/glob.h: Likewise.
60740         * include/grp.h: Likewise.
60741         * include/libio.h: Likewise.
60742         * include/locale.h: Likewise.
60743         * include/math.h: Likewise.
60744         * include/net/if.h: Likewise.
60745         * include/netdb.h: Likewise.
60746         * include/netinet/in.h: Likewise.
60747         * include/pthread.h: Likewise.
60748         * include/pwd.h: Likewise.
60749         * include/regex.h: Likewise.
60750         * include/sched.h: Likewise.
60751         * include/search.h: Likewise.
60752         * include/setjmp.h: Likewise.
60753         * include/signal.h: Likewise.
60754         * include/stdio.h: Likewise.
60755         * include/stdlib.h: Likewise.
60756         * include/string.h: Likewise.
60757         * include/sys/cdefs.h: Likewise.
60758         * include/sys/mman.h: Likewise.
60759         * include/sys/msg.h: Likewise.
60760         * include/sys/resource.h: Likewise.
60761         * include/sys/select.h: Likewise.
60762         * include/sys/socket.h: Likewise.
60763         * include/sys/stat.h: Likewise.
60764         * include/sys/statvfs.h: Likewise.
60765         * include/sys/time.h: Likewise.
60766         * include/sys/times.h: Likewise.
60767         * include/sys/uio.h: Likewise.
60768         * include/sys/utsname.h: Likewise.
60769         * include/sys/wait.h: Likewise.
60770         * include/termios.h: Likewise.
60771         * include/time.h: Likewise.
60772         * include/ulimit.h: Likewise.
60773         * include/unistd.h: Likewise.
60774         * include/utime.h: Likewise.
60775         * include/wchar.h: Likewise.
60776         * include/wctype.h: Likewise.
60777         * include/wordexp.h: Likewise.
60779         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
60781         * time/time.h: TIME_UTC must be a macro.
60782         Make timespec_get available for ISO C11 only as well.
60784 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
60786         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
60787         Reported by Peng Haitao <penght@cn.fujitsu.com>.
60789 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60791         * configure.in: Use -o not -a in test for unsupported multi-arch.
60793 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60795         * manual/texinfo.tex: Update to version 2012-01-19.16.
60797 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60799         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
60801 2012-02-24  Roland McGrath  <roland@hack.frob.com>
60803         [BZ #13738]
60804         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
60805         * manual/fdl-1.3.texi: New file.
60806         * manual/fdl-1.1.texi: File removed.
60808         [BZ #13738]
60809         * manual/libc.texinfo (FDL_VERSION): New @set.
60810         Use it for mention of FDL in cover text.
60811         (Documentation License): Use it in @include file name.
60813 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60814             Roland McGrath  <roland@hack.frob.com>
60816         [BZ #5461]
60817         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
60818         (not LONG_LONG_MAX and LONG_LONG_MIN.
60819         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
60820         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
60821         name.
60822         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
60824 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60826         [BZ #2547]
60827         [BZ #11365]
60828         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
60829         manipulate bits before adding and subtracting TWO23[sx].
60830         * math/libm-test.inc (nearbyint_test): Add more tests.
60832 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60834         [BZ #2548]
60835         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
60836         bits before adding and subtracting TWO23[sx].
60837         * math/libm-test.inc (rint_test): Add more tests.
60838         (rint_test_tonearest): Likewise.
60839         (rint_test_towardzero): Likewise.
60840         (rint_test_downward): Likewise.
60841         (rint_test_upward: Likewise.
60843 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60845         [BZ #10110]
60846         * include/stdc-predef.h: New file.  Extracted from features.h.
60847         * include/features.h: Include stdc-predef.h.
60848         * Makefile (headers): Add stdc-predef.h.
60849         * CONFORMANCE (Compiler limitations): Update.
60851 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60853         * manual/libc.texinfo (VERSION, UPDATED): Revert.
60855 2012-02-21  David S. Miller  <davem@davemloft.net>
60857         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
60858         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60860 2012-02-20  David S. Miller  <davem@davemloft.net>
60862         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
60863         using a normal save/restore sequence, rather than allocating a
60864         dummy stack frame just to store a frame pointer and restore.
60865         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60867 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60869         * manual/install.texi: Fix stray word in line-wrapped comment.
60871 2012-02-20  David S. Miller  <davem@davemloft.net>
60873         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
60874         both binutils and gcc support GOTDATA.
60876         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
60877         "rd %pc" in the PIC register setup sequences.
60879         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
60880         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
60881         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60882         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
60883         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60884         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60885         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60886         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60887         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
60888         (SYSCALL_ERROR_HANDLER): Likewise.
60889         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60890         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60891         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
60892         (SYSCALL_ERROR_HANDLER): Likewise.
60894         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
60895         (HAVE_GCC_GOTDATA): New.
60896         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
60897         relocation support in both binutils and gcc.
60898         * sysdeps/sparc/elf/configure: Regenerate.
60900         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
60901         * sysdeps/sparc/sparc32/elf/configure: Delete.
60902         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
60903         * sysdeps/sparc/sparc64/elf/configure: Delete.
60904         * sysdeps/sparc/elf/configure.in: New file.
60905         * sysdeps/sparc/elf/configure: Generate.
60907         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
60908         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
60909         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60910         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
60911         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
60913 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60915         * manual/install.texi: Do not mention specific glibc version
60916         numbers.
60917         * manual/libc.texinfo (VERSION, UPDATED): Update.
60918         (@copying): Use @copyright{} and range of years.
60920 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60922         [BZ #13695]
60923         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
60924         [crti.S not in sysdirs] (generated): Do not append.
60925         [crti.S not in sysdirs] (omit-deps): Likewise.
60926         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
60927         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
60928         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
60929         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
60930         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
60931         Likewise.
60932         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
60933         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
60934         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
60935         * csu/defs.awk: Remove file.
60936         * sysdeps/generic/initfini.c: Likewise.
60937         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
60938         variable.
60939         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
60940         Likewise.
60942 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60944         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
60945         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
60946         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
60947         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
60948         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60949         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
60950         <bits/epoll.h>.
60951         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
60952         (__EPOLL_PACKED): Define to empty if not defined by
60953         <bits/epoll.h>.
60954         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
60955         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60956         bits/epoll.h.
60958 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60960         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
60961         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
60962         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
60963         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
60964         <bits/timerfd.h>.
60965         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
60966         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60967         bits/timerfd.h.
60969 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60971         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
60972         in C locale.
60973         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60974         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60975         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
60976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60978 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
60980         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60981         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60983 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
60985         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
60986         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
60987         defined.
60988         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
60989         Likewise.
60990         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
60991         entry for 2.16.
60993 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
60995         * math/w_acos.c: Use non-signaling floating-point comparisons.
60996         * math/w_acosf.c: Likewise.
60997         * math/w_acosh.c: Likewise.
60998         * math/w_acoshf.c: Likewise.
60999         * math/w_acoshl.c: Likewise.
61000         * math/w_acosl.c: Likewise.
61001         * math/w_asin.c: Likewise.
61002         * math/w_asinf.c: Likewise.
61003         * math/w_asinl.c: Likewise.
61004         * math/w_atanh.c: Likewise.
61005         * math/w_atanhf.c: Likewise.
61006         * math/w_atanhl.c: Likewise.
61007         * math/w_exp2.c: Likewise.
61008         * math/w_exp2f.c: Likewise.
61009         * math/w_exp2l.c: Likewise.
61010         * math/w_j0.c: Likewise.
61011         * math/w_j0f.c: Likewise.
61012         * math/w_j0l.c: Likewise.
61013         * math/w_j1.c: Likewise.
61014         * math/w_j1f.c: Likewise.
61015         * math/w_j1l.c: Likewise.
61016         * math/w_jn.c: Likewise.
61017         * math/w_jnf.c: Likewise.
61018         * math/w_log.c: Likewise.
61019         * math/w_log10.c: Likewise.
61020         * math/w_log10f.c: Likewise.
61021         * math/w_log10l.c: Likewise.
61022         * math/w_log2.c: Likewise.
61023         * math/w_log2f.c: Likewise.
61024         * math/w_log2l.c: Likewise.
61025         * math/w_logf.c: Likewise.
61026         * math/w_logl.c: Likewise.
61027         * math/w_sqrt.c: Likewise.
61028         * math/w_sqrtf.c: Likewise.
61029         * math/w_sqrtl.c: Likewise.
61030         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61031         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
61032         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61033         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61034         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61036 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61038         [BZ #9739]
61039         * manual/string.texi (strnlen): Use correct parameter name in
61040         equivalent expression.
61042 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61044         [BZ #11174]
61045         * manual/users.texi (seteuid): Consistently use neweuid for
61046         argument name.
61048 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61050         [BZ #13704]
61051         * manual/nss.texi (Services in the NSS configuration): Correct
61052         list of services in example configuration file.
61054 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
61056         [BZ #11322]
61057         * manual/arith.texi: Remove statements about negative zero
61058         behaving identically to zero.
61060 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61062         [BZ #5993]
61063         * manual/install.texi: Do not document upgrading from libc5.
61065 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61067         [BZ #4596]
61068         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
61070 2012-02-18  David S. Miller  <davem@davemloft.net>
61072         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
61073         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
61074         %o7 across the call.
61075         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
61076         instead.
61077         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
61078         SETUP_PIC_REG_LEAF.
61079         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61080         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
61081         * sysdeps/sparc/crtn.S: Likewise.
61083 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
61085         * aout/Makefile: Remove.
61087 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
61089         [BZ #13058]
61090         * manual/examples/argp-ex1.c (main): Format definition in GNU
61091         style.
61092         * manual/examples/argp-ex2.c (main): Likewise.
61093         * manual/examples/argp-ex3.c (main): Likewise.
61094         * manual/examples/argp-ex4.c (main): Likewise.
61095         * manual/examples/longopt.c (main): Use new-style prototype
61096         definition.
61097         * manual/examples/strncat.c (main): Specify return type and use
61098         (void) for arguments.
61099         * manual/examples/subopt.c (main): Use char **argv argument.
61101 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61103         [BZ #5077]
61104         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
61105         rounding modes.
61107 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
61109         [BZ #6907]
61110         * manual/string.texi (strchr): Change when strchrnul is
61111         recommended.
61113 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
61115         [BZ #174]
61116         * manual/locale.texi (setlocale): Document LOCPATH.
61118 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61120         [BZ #10210]
61121         * manual/process.texi (execle): Move @dots{} before last argument.
61123 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
61125         [BZ #12047]
61126         * manual/charset.texi (Generic Charset Conversion): Fix typo
61127         (LC_TYPE -> LC_CTYPE).
61129 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
61131         [BZ #5805]
61132         * manual/arith.texi (scalbn): Use @var{} on parameter names.
61133         (scalbnf): Likewise.
61134         (scalbnl): Likewise.
61135         (scalbln): Likewise.
61136         (scalblnf): Likewise.
61137         (scalblnl): Likewise.
61138         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
61139         (vwarnx): Likewise.
61140         (verr): Likewise.
61141         (verrx): Likewise.
61142         * manual/filesys.texi (telldir): Use braces around return type.
61143         * manual/llio.texi (mmap): Add space after comma.
61144         (mmap64): Likewise.
61145         * manual/math.texi (jn): Use @var{} on parameter names.
61146         (jnf): Likewise.
61147         (jnl): Likewise.
61148         (yn): Likewise.
61149         (ynf): Likewise.
61150         (ynl): Likewise.
61151         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
61152         line.
61153         * manual/resource.texi (ulimit): Use @dots{} instead of literal
61154         "...".
61155         (sched_get_priority_min): Remove semicolon on @deftypefun line.
61156         (sched_get_priority_max): Likewise.
61157         * manual/signal.texi (sigvec): Add space after comma.
61158         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
61159         names.
61160         (if_indextoname): Likewise.
61161         (if_freenameindex): Likewise.
61162         (sendto): Use ',' instead of '.' in prototype.
61163         * manual/startup.texi (syscall): Use @dots{} instead of literal
61164         "...".
61165         * manual/stdio.texi (__fpending): Separate initial words of
61166         paragraph from @deftypefun line.
61167         * manual/syslog.texi (syslog): Use @dots{} instead of literal
61168         "...".
61169         (vsyslog): Use @var{} on parameter names.
61170         * manual/terminal.texi (stty): Use @var{} on parameter names.
61171         * manual/users.texi (getutmp): Use @var{} on parameter names.
61172         (getutmpx): Likewise.
61174 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61176         [BZ #6884]
61177         * manual/stdio.texi (fopen): Fix typos in description of
61178         ",ccs=STRING".
61180 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
61182         [BZ #4026]
61183         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
61184         get clock_id definition.
61186 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
61188         [BZ #4822]
61189         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
61190         (madvise): Cast every argument to void on its own.
61192 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61194         [BZ #9902]
61195         * manual/startup.texi (Exit Status): Fix typo.
61197 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61199         [BZ #10140]
61200         * manual/examples/argp-ex1.c: Include <stdlib.h>.
61201         * manual/examples/argp-ex2.c: Likewise.
61202         * manual/examples/argp-ex3.c: Likewise.
61204 2012-02-16  Richard Henderson  <rth@redhat.com>
61206         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
61207         * sysdeps/s390/s390-32/initfini.c: Remove.
61208         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
61209         * sysdeps/s390/s390-64/initfini.c: Remove.
61211 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61213         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
61214         compiler output for sysdeps/generic/initfini.c.
61215         * sysdeps/sh/elf/initfini.c: Remove file.
61217 2012-02-16  David S. Miller  <davem@davemloft.net>
61219         [BZ #11494]
61220         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
61222         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
61223         * sysdeps/sparc/crti.S: New file.
61224         * sysdeps/sparc/crtn.S: New file.
61225         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
61226         * sysdeps/sparc/sparc64/Makefile: Likewise.
61228 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
61230         [BZ #3335]
61231         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
61233 2012-02-15  Roland McGrath  <roland@hack.frob.com>
61235         [BZ #4822]
61236         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
61238         * mach/devstream.c (cookie_io_functions_t): Macro removed.
61239         (write, read, close): Likewise.
61240         Patch by Aurelien Jarno <aurelien@aurel32.net>.
61242 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
61244         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
61245         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
61246         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
61247         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
61248         <bits/signalfd.h>.
61249         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
61250         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61251         bits/signalfd.h.
61253 2012-02-14  Marek Polacek  <polacek@redhat.com>
61255         * sysdeps/x86_64/crti.S: New file.
61256         * sysdeps/x86_64/crtn.S: New file.
61257         * sysdeps/x86_64/elf/initfini.c: Remove file.
61259 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61261         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
61262         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
61263         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
61264         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
61265         <bits/inotify.h>.
61266         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
61267         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61268         bits/inotify.h.
61270 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61272         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
61273         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
61274         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
61275         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
61276         <bits/eventfd.h>.
61277         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
61278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61279         bits/eventfd.h.
61281 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
61283         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
61284         __feraiseexcept instead of feraiseexcept.
61286         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
61287         nanosleep invocations.
61288         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
61289         strings, and add error checking for a nanosleep invocations.
61291 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
61293         Replace FSF snail mail address with URLs, as per GNU coding standards.
61294         Most of the snail mail addresses were wrong anyway, and omitting
61295         them makes the source code easier to maintain.  Almost all of the
61296         changes are to license notices and to locale LC_IDENTIFICATION
61297         addresses, except for this one:
61298         * manual/libc.texinfo: In "Published by", give the FSF's URL,
61299         not its snail mail address.
61301 2012-02-09  Richard Henderson  <rth@twiddle.net>
61303         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
61304         of kernel-features.h.
61306         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
61308 2012-02-08  Marek Polacek  <polacek@redhat.com>
61310         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
61311         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
61312         * sysdeps/gnu/_G_config.h: Likewise.
61313         * sysdeps/generic/_G_config.h: Likewise.
61315 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
61317         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
61318         tests.
61319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61321         * sysdeps/powerpc/powerpc32/crti.S: New file.
61322         * sysdeps/powerpc/powerpc32/crtn.S: New file.
61323         * sysdeps/powerpc/powerpc64/crti.S: New file.
61324         * sysdeps/powerpc/powerpc64/crtn.S: New file.
61326         * Makeconfig (have-initfini): Don't set.
61327         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
61328         * configure.in (nopic_initfini): Don't substitute.
61329         * config.h.in (HAVE_INITFINI): Don't #undef.
61330         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
61331         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
61333 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
61335         Support crti.S and crtn.S provided directly by architectures.
61336         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
61337         [crti.S in sysdirs] (omit-deps): Likewise.
61338         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
61339         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
61340         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
61341         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
61342         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
61343         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
61344         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
61345         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
61346         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
61347         compiler output for sysdeps/generic/initfini.c.
61348         * sysdeps/i386/elf/Makefile: Remove file.
61349         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
61351 2012-02-07  Marek Polacek  <polacek@redhat.com>
61353         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
61354         * sysdeps/gnu/_G_config.h: Likewise.
61355         * sysdeps/mach/hurd/_G_config.h: Likewise.
61357 2012-02-07  Marek Polacek  <polacek@redhat.com>
61359         * math/Makefile (tests): Add tst-CMPLX2.
61360         * math/tst-CMPLX2.c: New file.
61362 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
61364         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61366         * math/libm-test.inc (jn_test): Add missing L suffix.
61368 2012-02-06  Marek Polacek  <polacek@redhat.com>
61370         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
61371         * sysdeps/i386/fpu/e_powf.S: Likewise.
61372         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61373         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61374         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61375         * sysdeps/i386/fpu/e_pow.S: Likewise.
61376         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61377         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61378         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61379         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61380         * sysdeps/i386/fpu/e_log2.S: Likewise.
61381         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61382         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61383         * sysdeps/i386/fpu/e_powl.S: Likewise.
61384         * sysdeps/i386/fpu/s_log1p.S: Likewise.
61385         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61386         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61387         * sysdeps/i386/fpu/e_logl.S: Likewise.
61388         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61389         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
61390         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61391         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61392         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61393         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61394         * sysdeps/i386/fpu/e_log.S: Likewise.
61395         * sysdeps/i386/fpu/s_cexp.S: Likewise.
61396         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61397         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
61398         * sysdeps/i386/fpu/e_logf.S: Likewise.
61399         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61400         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61401         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
61402         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61403         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61404         * sysdeps/i386/fpu/e_log10.S: Likewise.
61405         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61406         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61407         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61408         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61409         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61410         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61411         * sysdeps/i386/asm-syntax.h: Likewise.
61412         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61413         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61414         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61415         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
61416         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
61417         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61418         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61419         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61420         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61421         * sysdeps/powerpc/sysdep.h: Likewise.
61422         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
61423         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61425 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61427         [BZ #411]
61428         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
61430 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61432         * sysdeps/i386/sysdep.h: Include <features.h>.
61433         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
61434         version.
61436 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
61438         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
61439         Define.
61440         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
61441         LOAD_PIC_REG_STR.
61443 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61445         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
61446         (SETUP_PIC_REG): Use GET_PC_THUNK.
61447         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
61448         macro.
61450 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61452         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
61453         for non-PIC compilation.
61454         (SETUP_PIC_REG): Add .p2align directive.
61455         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
61456         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
61457         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61458         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61459         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
61460         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61461         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
61462         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61463         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61464         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61465         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61466         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61467         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61468         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61469         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61470         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
61471         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
61472         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61473         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61474         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61475         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61476         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
61477         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61478         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61479         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61480         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
61481         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61482         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
61483         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61484         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61485         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61486         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61487         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61488         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61489         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61490         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61491         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61492         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61493         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61494         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61495         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61497 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61499         * math/tst-CMPLX.c: Include <stdio.h>.
61501 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
61503         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
61504         float.
61505         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61506         * sysdeps/sparc/bits/mathdef.h: Likewise.
61508 2012-01-31  Marek Polacek  <polacek@redhat.com>
61510         * libio/libio.h: Don't define _PARAMS.
61511         * locale/programs/config.h: Don't define PARAMS.
61512         * stdlib/strtol_l.c: Likewise.
61513         (__strtol_l): Remove PARAMS from the prototype.
61515 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
61517         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
61518         names.  Just use the correct names.  Remove unnecessary wrapper
61519         functions.
61520         * malloc/arena.c: Likewise.
61521         * malloc/hooks.c: Likewise.
61523         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
61524         ARENA_TEST says not to.  Simplify test for creation of a new arena.
61525         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
61527 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
61529         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
61530         into tail calls.
61531         (update_get_addr): New function.
61532         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
61533         GET_ADDR_MODULE parameter.
61535 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61537         * crypt/cert.c: Remove __STDC__ conditionals.
61538         * crypt/crypt-entry.c: Likewise.
61539         * crypt/crypt_util.c: Likewise.
61540         * libio/filedoalloc.c: Likewise.
61541         * libio/fileops.c: Likewise.
61542         * libio/genops.c: Likewise.
61543         * libio/iofclose.c: Likewise.
61544         * libio/iofdopen.c: Likewise.
61545         * libio/iofopen.c: Likewise.
61546         * libio/iofopen64.c: Likewise.
61547         * libio/iogetdelim.c: Likewise.
61548         * libio/iopopen.c: Likewise.
61549         * libio/obprintf.c: Likewise.
61550         * libio/oldfileops.c: Likewise.
61551         * libio/oldiofclose.c: Likewise.
61552         * libio/oldiofdopen.c: Likewise.
61553         * libio/oldiofopen.c: Likewise.
61554         * libio/oldiopopen.c: Likewise.
61555         * libio/wfiledoalloc.c: Likewise.
61556         * libio/wgenops.c: Likewise.
61557         * locale/programs/xmalloc.c: Likewise.
61558         * misc/syslog.c: Likewise.
61559         * stdio-common/xbug.c: Likewise.
61560         * string/memchr.c: Likewise.
61561         * string/memcmp.c: Likewise.
61562         * string/memrchr.c: Likewise.
61563         * string/rawmemchr.c: Likewise.
61564         * sysdeps/posix/getcwd.c: Likewise.
61565         * time/strftime_l.c: Likewise.
61567 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61569         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
61570         * config.make.in (config-cflags-sse2avx): Define.
61571         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
61572         Fix typo.
61574 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
61576         * scripts/config.guess: Update from upstream config git repository.
61577         * scripts/config.sub: Likewise.
61579 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
61581         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
61582         (EM_NUM): Update.
61583         (R_TILEPRO_*, R_TILEGX_*): New macros.
61585         * scripts/firstversions.awk: Fix bug in version range handling.
61587         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
61589         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
61591         * include/sys/epoll.h: New file.
61592         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
61593         libc_hidden_def.
61595 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
61597         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
61598         Avoid unnecessary __WORDSIZE == 64 test.
61599         (fmaxf): Use VEX format if possible.
61600         (fmax): Likewise.
61601         (fminf): Likewise.
61602         (fmin): Likewise.
61604         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
61605         * math/math_private.h: Remove libc_fegetround* and
61606         libc_fesetround*.
61607         * sysdeps/i386/configure.in: Check for -msse2avx.
61608         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
61609         also if SSE2AVX is defined.
61610         Remove libc_fegetround* and libc_fesetround*.
61611         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
61612         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
61613         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
61614         of HAS_YMM_USABLE.
61615         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61616         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61617         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61618         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61619         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61621         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
61623 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61625         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
61626         size is not set.
61627         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61629 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
61631         [BZ #13618]
61632         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
61633         relocation.
61634         * Makeconfig (libm): Define.
61635         * elf/Makefile: Add rules to build and run tst-relsort1.
61636         * elf/tst-relsort1.c: New file.
61637         * elf/tst-relsort1mod1.c: New file.
61638         * elf/tst-relsort1mod2.c: New file.
61640 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
61642         * math/s_ldexp.c: Remove __STDC__ conditionals.
61643         * math/s_ldexpf.c: Likewise.
61644         * math/s_ldexpl.c: Likewise.
61645         * math/s_nextafter.c: Likewise.
61646         * math/s_nexttowardf.c: Likewise.
61647         * math/s_significand.c: Likewise.
61648         * math/s_significandf.c: Likewise.
61649         * math/s_significandl.c: Likewise.
61650         * math/w_jnl.c: Likewise.
61651         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61652         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61653         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61654         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61655         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61656         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61657         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
61658         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61659         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61660         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61661         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61662         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61663         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61664         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61665         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61666         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61667         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61668         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61669         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61670         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61671         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61672         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61673         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61674         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61675         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61676         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61677         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61678         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61679         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61680         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61681         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61682         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61683         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61684         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61685         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61686         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61687         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61688         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61689         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61690         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61691         * sysdeps/ieee754/k_standard.c: Likewise.
61692         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61693         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61694         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61695         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61696         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61697         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61698         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61699         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61700         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61701         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61702         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61703         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61704         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61705         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61706         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61707         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61708         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61709         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61710         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61711         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61712         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61713         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61714         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61715         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61716         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61717         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61718         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61719         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61720         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61721         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61722         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61723         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
61724         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61725         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61726         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61727         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61728         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
61729         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61730         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61731         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
61732         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
61733         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61734         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
61735         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
61736         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61737         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61738         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61739         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61740         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61741         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
61742         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
61743         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61744         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61745         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61746         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61747         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61748         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
61749         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61750         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61751         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61752         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61753         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61754         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61755         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61756         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61757         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61758         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61759         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61760         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61761         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61762         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61763         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61764         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61765         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61766         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61767         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61768         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61769         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61770         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61771         * sysdeps/ieee754/s_matherr.c: Likewise.
61772         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61773         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61774         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61775         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61777 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61779         * crypt/md5.h: Remove __STDC__ conditionals.
61780         * libio/libioP.h: Likewise.
61781         * locale/programs/config.h: Likewise.
61782         * sysdeps/generic/sysdep.h: Likewise.
61783         * sysdeps/i386/asm-syntax.h: Likewise.
61784         * sysdeps/s390/asm-syntax.h: Likewise.
61785         * sysdeps/unix/sysdep.h: Likewise.
61786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
61787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61789 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61791         * libio/libio.h: Remove __STDC__ conditionals.
61792         * malloc/obstack.h: Likewise.
61793         * math/complex.h: Likewise.
61794         * math/math.h: Likewise.
61795         * sysdeps/generic/_G_config.h: Likewise.
61796         * sysdeps/gnu/_G_config.h: Likewise.
61797         * sysdeps/mach/hurd/_G_config.h: Likewise.
61798         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61799         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61800         * sysdeps/sparc/bits/mathdef.h: Likewise.
61802 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
61804         [BZ #13583]
61805         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
61806         Clean up HAS_* macros.
61807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
61808         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
61809         possible.
61810         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
61811         HAS_AVX.
61812         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61813         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61814         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61815         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61816         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61818 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
61820         * elf/tst-unique3.cc (gets): Remove declaration.
61821         * elf/tst-unique3lib.cc (gets): Likewise.
61822         * elf/tst-unique3lib2.cc (gets): Likewise.
61823         * elf/tst-unique4.cc (gets): Likewise.
61825 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
61827         * include/stdio.h: Add C++ protection.  Add gets declarations and
61828         definitions.
61829         * debug/tst-chk1.c: Don't declare gets here.
61830         * stdio-common/tst-gets.c: Likewise.
61832 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61834         * posix/glob: Remove directory.
61836 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61838         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
61840 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
61842         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
61843         of the non-standard EPFNOSUPPORT.
61845 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61847         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
61848         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
61849         ANYWHERE set to 1 only on KERN_NO_SPACE error.
61851 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
61853         * wcsmbs/uchar.h: Test __STDC_VERSION__.
61855 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
61857         * nscd/aicache.c (addhstaiX): Do not cache negative results of
61858         transient errors.
61859         * nscd/grpcache.c (cache_addgr): Likewise.
61860         * nscd/hstcache.c (cache_addhst): Likewise.
61861         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61862         * nscd/pwdcache.c (cache_addpw): Likewise.
61863         * nscd/servicescache.c (cache_addserv): Likewise.
61865 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
61867         * malloc/malloc.c: Various cleanups.
61868         * malloc/hooks.c: Likewise.
61870         * stdlib/Makefile (tests): Add bug-fmtmsg1.
61871         * stdlib/bug-fmtmsg1.c: New file.
61873         * stdlib/fmtmsg.c (init): Add missing unlock.
61874         Patch by Peng Haitao <penght@cn.fujitsu.com>.
61876 2012-01-12  Marek Polacek  <polacek@redhat.com>
61878         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
61879         and _GNU_SOURCE.
61881 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
61883         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
61884         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
61885         macro to ensure uniqueness of label name.
61886         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
61887         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
61889 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
61891         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
61893         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
61894         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61895         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61896         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
61898 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
61900         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
61902         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
61903         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61904         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61906         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
61908         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
61909         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61910         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61911         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
61913         * math/bits/math-finite.h: Add ldexp support.
61915 2012-01-10  Marek Polacek  <polacek@redhat.com>
61917         * locale/programs/localedef.h (show_archive_content): Add noreturn
61918         attribute.
61920 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
61922         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
61924 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61926         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
61928         * io/Makefile (headers): Add bits/poll2.h.
61930 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
61932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
61933         typo #include statement.
61935 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61937         * include/sys/cdefs.h: Define __attribute_alloc_size.
61938         * catgets/gencat.c: Add alloc_size attribute and apply consistently
61939         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
61940         * elf/pldd.c: Likewise.
61941         * iconv/iconv_charmap.c: Likewise.
61942         * iconv/iconvconfig.c: Likewise.
61943         * iconv/strtab.c: Likewise.
61944         * locale/programs/locale.c: Likewise.
61945         * locale/programs/localedef.h: Likewise.
61946         * locale/programs/simple-hash.c: Likewise.
61947         * nscd/nscd.h: Likewise.
61948         * nss/makedb.c: Likewise.
61949         * sysdeps/generic/ldconfig.h: Likewise.
61950         * locale/programs/localedef.c: Remove xmalloc prototype.
61951         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
61953 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61955         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
61956         appropriate.
61958 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61960         * math/Makefile (tests): Add tst-CMPLX.
61961         * math/tst-CMPLX.c: New file.
61963         * math/complex.h (CMPLXL): Fix typo.
61965         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
61966         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
61967         GLIBC_2.16.
61968         * debug/tst-chk1.c: Add poll and ppoll tests.
61969         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
61970         * include/sys/poll.h: Add hidden proto for ppoll.
61971         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
61972         * sysdeps/mach/hurd/ppoll.c: Likewise.
61973         * io/ppoll.c: Likewise.
61974         * debug/poll_chk.c: New file.
61975         * debug/ppoll_chk.c: New file.
61976         * include/bits/poll2.h: New file.
61977         * io/bits/poll2.h: New file.
61979         [BZ #1350]
61980         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
61982         * configure.in: static is always set to yes.  Remove.
61983         * config.make.in: Don't set build-static.
61984         * Makeconfig: Remove use of build-static.
61985         * dlfcn/Makefile: Likewise.
61986         * elf/Makefile: Likewise.
61987         * math/Makefile: Likewise.
61988         * misc/Makefile: Likewise.
61989         * nptl/Makefile: Likewise.
61990         * sysdeps/mach/hurd/Makefile: Likewise.
61992         * configure.in: PWD_P is not used anymore.
61993         * config.make.in: Remove PWD_P entry.
61995         * configure.in: Remove last remnants of RANLIB.
61996         No need to check for signed size_t anymore.
61997         Don't set libc_commonpagesize and libc_relro_required here for Alpha
61998         and IA-64.
61999         Remove __builtin_expect test because we require at least gcc 3.4.
62000         * aclocal.m4: Likewise.
62002         * wcsmbs/mbrtoc16.c: Implement using towc function.
62003         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
62004         * wcsmbs/wcsmbsload.c: Likewise.
62005         * iconv/gconv_simple.c: Likewise.
62006         * iconv/gconv_int.h: Likewise.
62007         * iconv/gconv_builtin.h: Likewise.
62008         * iconv/iconv_prog.c: Remove CHAR16 handling.
62010         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
62012         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
62014         * configure.in: Remove --with-elf and --enable-bounded options.
62015         Dont set base_machine for ia64.  More non-ELF conditions removed.
62016         Remove testing and setting of leading underscore information.
62017         * config.make.in (build-bounded): Set to no.
62018         * config.h.in: Remove NO_UNDERSCORES entry.
62019         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
62020         them.
62021         * csu/start.c: Remove !NO_UNDERSCORE code.
62022         * locale/localeinfo.h: Likewise.
62023         * sysdeps/generic/machine-gmon.h: Likewise.
62024         * sysdeps/generic/sysdep.h: Likewise.
62025         * sysdeps/i386/sysdep.h: Likewise.
62026         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62027         * sysdeps/mach/sysdep.h: Likewise.
62028         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62029         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62030         * sysdeps/sh/sysdep.h: Likewise.
62031         * sysdeps/sparc/sparc32/alloca.S: Likewise.
62032         * sysdeps/unix/i386/sysdep.S: Likewise.
62033         * sysdeps/unix/sparc/start.c: Likewise.
62034         * sysdeps/unix/sparc/sysdep.S: Likewise.
62035         * sysdeps/unix/sparc/sysdep.h: Likewise.
62036         * sysdeps/unix/start.c: Likewise.
62037         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62038         * sysdeps/x86_64/sysdep.h: Likewise.
62040 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
62042         [BZ #13553]
62043         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
62044         for non-gcc.
62045         * argp/argp-fmtstream.h: Use const instead __const.
62046         * argp/argp.h: Likewise.
62047         * assert/assert.h: Likewise.
62048         * bits/fenv.h: Likewise.
62049         * bits/sched.h: Likewise.
62050         * bits/sigset.h: Likewise.
62051         * bits/sigthread.h: Likewise.
62052         * catgets/nl_types.h: Likewise.
62053         * conform/data/pthread.h-data: Likewise.
62054         * crypt/crypt-private.h: Likewise.
62055         * crypt/crypt.h: Likewise.
62056         * crypt/crypt_util.c: Likewise.
62057         * ctype/ctype.h: Likewise.
62058         * debug/execinfo.h: Likewise.
62059         * debug/mbsnrtowcs_chk.c: Likewise.
62060         * debug/mbsrtowcs_chk.c: Likewise.
62061         * debug/wcsnrtombs_chk.c: Likewise.
62062         * debug/wcsrtombs_chk.c: Likewise.
62063         * debug/wcstombs_chk.c: Likewise.
62064         * dirent/dirent.h: Likewise.
62065         * dlfcn/dlfcn.h: Likewise.
62066         * elf/neededtest4.c: Likewise.
62067         * grp/grp.h: Likewise.
62068         * gshadow/gshadow.h: Likewise.
62069         * iconv/gconv.h: Likewise.
62070         * iconv/gconv_int.h: Likewise.
62071         * iconv/gconv_simple.c: Likewise.
62072         * iconv/iconv.h: Likewise.
62073         * iconv/loop.c: Likewise.
62074         * iconv/skeleton.c: Likewise.
62075         * include/aio.h: Likewise.
62076         * include/aliases.h: Likewise.
62077         * include/argz.h: Likewise.
62078         * include/arpa/inet.h: Likewise.
62079         * include/assert.h: Likewise.
62080         * include/dirent.h: Likewise.
62081         * include/dlfcn.h: Likewise.
62082         * include/execinfo.h: Likewise.
62083         * include/fcntl.h: Likewise.
62084         * include/fenv.h: Likewise.
62085         * include/glob.h: Likewise.
62086         * include/grp.h: Likewise.
62087         * include/libintl.h: Likewise.
62088         * include/mntent.h: Likewise.
62089         * include/netdb.h: Likewise.
62090         * include/pwd.h: Likewise.
62091         * include/rpc/netdb.h: Likewise.
62092         * include/sched.h: Likewise.
62093         * include/search.h: Likewise.
62094         * include/shadow.h: Likewise.
62095         * include/signal.h: Likewise.
62096         * include/stdio.h: Likewise.
62097         * include/stdlib.h: Likewise.
62098         * include/string.h: Likewise.
62099         * include/sys/socket.h: Likewise.
62100         * include/sys/stat.h: Likewise.
62101         * include/sys/statfs.h: Likewise.
62102         * include/sys/statvfs.h: Likewise.
62103         * include/sys/syslog.h: Likewise.
62104         * include/sys/time.h: Likewise.
62105         * include/sys/uio.h: Likewise.
62106         * include/time.h: Likewise.
62107         * include/unistd.h: Likewise.
62108         * include/utmp.h: Likewise.
62109         * include/wchar.h: Likewise.
62110         * include/wctype.h: Likewise.
62111         * inet/aliases.h: Likewise.
62112         * inet/arpa/inet.h: Likewise.
62113         * inet/netinet/ether.h: Likewise.
62114         * inet/netinet/in.h: Likewise.
62115         * intl/libintl.h: Likewise.
62116         * io/bits/fcntl2.h: Likewise.
62117         * io/fcntl.h: Likewise.
62118         * io/ftw.h: Likewise.
62119         * io/sys/poll.h: Likewise.
62120         * io/sys/stat.h: Likewise.
62121         * io/sys/statfs.h: Likewise.
62122         * io/sys/statvfs.h: Likewise.
62123         * io/utime.h: Likewise.
62124         * libio/bits/stdio.h: Likewise.
62125         * libio/bits/stdio2.h: Likewise.
62126         * libio/libio.h: Likewise.
62127         * libio/libioP.h: Likewise.
62128         * libio/stdio.h: Likewise.
62129         * locale/lc-ctype.c: Likewise.
62130         * locale/locale.h: Likewise.
62131         * login/utmp.h: Likewise.
62132         * malloc/arena.c: Likewise.
62133         * malloc/malloc.c: Likewise.
62134         * malloc/malloc.h: Likewise.
62135         * malloc/mcheck.c: Likewise.
62136         * malloc/mtrace.c: Likewise.
62137         * math/bits/mathcalls.h: Likewise.
62138         * math/fenv.h: Likewise.
62139         * math/math_private.h: Likewise.
62140         * misc/bits/error.h: Likewise.
62141         * misc/bits/syslog.h: Likewise.
62142         * misc/err.h: Likewise.
62143         * misc/error.h: Likewise.
62144         * misc/fstab.h: Likewise.
62145         * misc/mntent.h: Likewise.
62146         * misc/regexp.h: Likewise.
62147         * misc/search.h: Likewise.
62148         * misc/sgtty.h: Likewise.
62149         * misc/sys/mman.h: Likewise.
62150         * misc/sys/syslog.h: Likewise.
62151         * misc/sys/uio.h: Likewise.
62152         * misc/sys/xattr.h: Likewise.
62153         * misc/ttyent.h: Likewise.
62154         * nis/rpcsvc/ypclnt.h: Likewise.
62155         * nss/nss.h: Likewise.
62156         * posix/bits/unistd.h: Likewise.
62157         * posix/fnmatch.h: Likewise.
62158         * posix/glob.h: Likewise.
62159         * posix/sched.h: Likewise.
62160         * posix/spawn.h: Likewise.
62161         * posix/sys/wait.h: Likewise.
62162         * posix/unistd.h: Likewise.
62163         * posix/wordexp.h: Likewise.
62164         * pwd/pwd.h: Likewise.
62165         * resolv/netdb.h: Likewise.
62166         * resource/sys/resource.h: Likewise.
62167         * rt/aio.h: Likewise.
62168         * rt/bits/mqueue2.h: Likewise.
62169         * rt/mqueue.h: Likewise.
62170         * shadow/shadow.h: Likewise.
62171         * signal/signal.h: Likewise.
62172         * socket/send.c: Likewise.
62173         * socket/sendto.c: Likewise.
62174         * socket/sys/socket.h: Likewise.
62175         * stdio-common/printf.h: Likewise.
62176         * stdlib/bits/stdlib.h: Likewise.
62177         * stdlib/fmtmsg.h: Likewise.
62178         * stdlib/monetary.h: Likewise.
62179         * stdlib/stdlib.h: Likewise.
62180         * stdlib/ucontext.h: Likewise.
62181         * streams/stropts.h: Likewise.
62182         * string/argz.h: Likewise.
62183         * string/bits/string2.h: Likewise.
62184         * string/string.h: Likewise.
62185         * string/strings.h: Likewise.
62186         * sunrpc/rpc/auth.h: Likewise.
62187         * sunrpc/rpc/auth_des.h: Likewise.
62188         * sunrpc/rpc/clnt.h: Likewise.
62189         * sunrpc/rpc/netdb.h: Likewise.
62190         * sunrpc/rpc/pmap_clnt.h: Likewise.
62191         * sunrpc/rpc/xdr.h: Likewise.
62192         * sysdeps/generic/inttypes.h: Likewise.
62193         * sysdeps/generic/net/if.h: Likewise.
62194         * sysdeps/generic/sys/swap.h: Likewise.
62195         * sysdeps/gnu/net/if.h: Likewise.
62196         * sysdeps/gnu/utmpx.h: Likewise.
62197         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
62198         * sysdeps/i386/i486/bits/string.h: Likewise.
62199         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
62200         * sysdeps/s390/bits/string.h: Likewise.
62201         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
62202         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
62203         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
62204         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
62205         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
62206         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
62207         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
62208         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
62209         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
62210         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
62211         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
62212         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
62213         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
62214         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
62215         * sysdeps/unix/sysv/linux/readv.c: Likewise.
62216         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
62217         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
62218         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62219         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
62220         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
62221         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62222         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
62223         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
62224         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
62225         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
62226         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
62227         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
62228         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62229         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
62230         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
62231         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
62232         * sysvipc/sys/ipc.h: Likewise.
62233         * sysvipc/sys/msg.h: Likewise.
62234         * sysvipc/sys/sem.h: Likewise.
62235         * sysvipc/sys/shm.h: Likewise.
62236         * termios/termios.h: Likewise.
62237         * time/sys/time.h: Likewise.
62238         * time/time.h: Likewise.
62239         * wcsmbs/bits/wchar2.h: Likewise.
62240         * wcsmbs/uchar.h: Likewise.
62241         * wcsmbs/wchar.h: Likewise.
62242         * wctype/wctype.h: Likewise.
62244         [BZ #13551]
62245         * Makeconfig: Remove all but ELF support including AIX support.
62246         * Makerules: Likewise.
62247         * config.h.in: Likewise.
62248         * config.make.in: Likewise.
62249         * configure: Likewise.
62250         * configure.in: Likewise.
62251         * csu/Makefile: Likewise.
62252         * csu/version.c: Likewise.
62253         * debug/Makefile: Likewise.
62254         * dlfcn/Makefile: Likewise.
62255         * elf/Makefile: Likewise.
62256         * extra-lib.mk: Likewise.
62257         * iconv/Makefile: Likewise.
62258         * include/libc-symbols.h: Likewise.
62259         * include/shlib-compat.h: Likewise.
62260         * resolv/Makefile: Likewise.
62261         * resolv/res_libc.c: Likewise.
62262         * rt/Makefile: Likewise.
62263         * sysdeps/i386/asm-syntax.h: Likewise.
62264         * sysdeps/i386/sysdep.h: Likewise.
62265         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62266         * sysdeps/mach/sysdep.h: Likewise.
62267         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
62268         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
62269         * sysdeps/s390/asm-syntax.h: Likewise.
62270         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62271         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62272         * sysdeps/sh/sysdep.h: Likewise.
62273         * sysdeps/unix/sparc/sysdep.h: Likewise.
62274         * sysdeps/wordsize-32/divdi3.c: Likewise.
62275         * sysdeps/x86_64/sysdep.h: Likewise.
62277         * argp/Versions: Remove _argp_unlock_xxx.
62279         [BZ #13559]
62280         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
62281         * abilist/libBrokenLocale.abilist: Likewise.
62282         * abilist/libanl.abilist: Likewise.
62283         * abilist/libc.abilist: Likewise.
62284         * abilist/libcrypt.abilist: Likewise.
62285         * abilist/libdl.abilist: Likewise.
62286         * abilist/libm.abilist: Likewise.
62287         * abilist/libnsl.abilist: Likewise.
62288         * abilist/libpthread.abilist: Likewise.
62289         * abilist/libresolv.abilist: Likewise.
62290         * abilist/librt.abilist: Likewise.
62291         * abilist/libthread_db.abilist: Likewise.
62292         * abilist/libutil.abilist: Likewise.
62293         * abilist/libnss_db.abilist: New file.
62295         * scripts/abilist.awk: Add support for indirect functions.
62297         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
62299         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
62301         * shlib-versions: Remove entries for ports architectures.
62303         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
62304         files in ports.
62305         * elf/stackguard-macros.h: Remove support for IA-64.
62306         * elf/tst-auditmod1.c: Likewise.
62307         * sysdeps/generic/ldsodefs.h: Likewise.
62309         * sysdeps/unix/sysv/linux/configure.in: Ports should define
62310         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
62311         configure files.
62313         [BZ #13552]
62314         * configure.in: Remove --enable-omitfp support.
62315         * FAQ.in: Adjust.
62316         * config.make.in: Likewise.
62317         * Makeconfig: Likewise.
62318         * manual/install.texi: Likewise.
62320         In case anyone cares, the IA-64 architecture could move to ports.
62321         * sysdeps/ia64/*: Removed.
62322         * sysdeps/unix/sysv/linux/ia64/*: Removed.
62323         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
62325         [BZ #13555]
62326         * configure.in: Remove entries for unsupported architectures.
62328         [BZ #13533]
62329         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
62330         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
62331         routines.
62332         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
62333         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
62334         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
62335         fall back to using wcrtomb.
62336         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
62337         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
62338         renaming.
62339         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
62340         * wcsmbs/tst-c16c32-1.c: New file.
62342         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
62343         local variable.
62345         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
62347         * elf/tst-unique3.cc: Add explicit declaration of gets.
62348         * elf/tst-unique3lib.cc: Likewise.
62349         * elf/tst-unique3lib2.cc: Likewise.
62350         * elf/tst-unique4.cc: Likewise.
62352         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
62354 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
62356         [BZ #13566]
62357         * assert/assert.h (static_assert): Don't define for C++.
62358         * libio/stdio.h (gets): Do declare for C++ <= C++11.
62359         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
62361 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
62363         * iconv/loop.c (single loop): Fix assertion in storing of
62364         remaining bytes.
62366         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
62368 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
62370         * posix/getconf.c: Update copyright year.
62371         * nss/getent.c: Likewise.
62372         * nss/makedb.c: Likewise.
62373         * iconv/iconvconfig.c: Likewise.
62374         * iconv/iconv_prog.c: Likewise.
62375         * elf/ldconfig.c: Likewise.
62376         * elf/pldd.c: Likewise.
62377         * elf/sotruss.ksh: Likewise.
62378         * catgets/gencat.c: Likewise.
62379         * csu/version.c: Likewise.
62380         * elf/ldd.bash.in: Likewise.
62381         * elf/sprof.c (print_version): Likewise.
62382         * locale/programs/locale.c: Likewise.
62383         * locale/programs/localedef.c: Likewise.
62384         * login/programs/pt_chown.c: Likewise.
62385         * nscd/nscd.c (print_version): Likewise.
62386         * debug/xtrace.sh: Likewise.
62387         * malloc/memusage.sh: Likewise.
62388         * malloc/mtrace.pl: Likewise.
62389         * debug/catchsegv.sh: Likewise.
62391 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
62393         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
62394         pure attribute.
62396 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
62398         [BZ #13533]
62399         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
62400         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
62401         transformations.
62402         * iconv/gconv_int.h: Likewise.
62403         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
62404         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
62405         from libc for GLIBC_2.16.
62406         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
62407         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
62408         * wcsmbs/uchar.h: Really define mbstate_t.
62409         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
62410         * wcsmbs/c16rtomb.c: New file.
62411         * wcsmbs/mbrtoc16.c: New file.
62412         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
62413         for C/POSIX locale.
62414         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
62415         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
62417         * wcsmbs/wchar.h: Add missing __restrict.
62419 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62421         [BZ #13532]
62422         * time/Makefile (routines): Add timespec_get.
62423         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
62424         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
62425         timespec for ISO C11.
62426         * time/timespec_get.c: New file.
62427         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
62428         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
62430         [BZ #13531]
62431         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
62432         * stdlib/stdlib.h: Declare aligned_alloc.
62433         * Versions.def: Add GLIBC_2.16 for libc.
62434         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
62436         [BZ 13527]
62437         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
62438         ISO C11.
62440         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
62441         code.
62443         [BZ #13528]
62444         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
62446         [BZ #13529]
62447         * assert/assert.h (static_assert): Define.
62449         * version.h: Update for 2.16 development version.
62451         [BZ #13526]
62452         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
62453         _ISOC11_SOURCE.
62455         * version.h (RELEASE): Bump for 2.15 release.
62456         * include/features.h (__GLIBC_MINOR__): Bump to 15.
62458         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
62459         Patch by Marek Polacek <mpolacek@redhat.com>.
62461         * bits/byteswap.h: Protect long long constants with __extension__.
62462         * sysdeps/i386/bits/byteswap.h: Likewise.
62463         * sysdeps/ia64/bits/byteswap.h: Likewise.
62464         * sysdeps/s390/bits/byteswap.h: Likewise.
62465         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62467 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62469         [BZ #13540]
62470         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
62471         destination buffer.
62472         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
62474 2011-12-23  Marek Polacek  <polacek@redhat.com>
62476         * elf/dl-addr.c (determine_info): Add inline keyword.
62477         * elf/tst-auditmod4b.c (check_avx): Likewise.
62478         * elf/tst-auditmod6b.c (check_avx): Likewise.
62479         * elf/tst-auditmod6c.c (check_avx): Likewise.
62480         * elf/tst-auditmod7b.c (check_avx): Likewise.
62482 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62484         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
62485         !__SSE_MATH__.
62487 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62489         [BZ #13540]
62490         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
62491         processing for last bytes.
62493 2011-08-06  Bruno Haible  <bruno@clisp.org>
62495         [BZ #13061]
62496         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
62497         U+0385, not to U+1FEE.
62499         [BZ #13062]
62500         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
62501         entry for U+00A5 U+0301.
62503 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62505         [BZ #13166]
62506         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
62507         buffer for the output is too small.
62509         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
62510         optimization.
62512         [BZ #13185]
62513         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
62514         SSE flags if possible.
62516 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62518         [BZ #13540]
62519         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
62520         processing for last bytes.
62522 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
62524         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
62525         (syscall-list-default-options, syscall-list-default-condition)
62526         (syscall-list-includes): Define.
62527         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
62528         list of ABIs and options and #if conditions for each ABI.  Do not
62529         handle common syscalls between ABIs specially.
62530         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
62531         Remove.
62532         (syscall-list-variants, syscall-list-32bit-options)
62533         (syscall-list-32bit-condition, syscall-list-64bit-options)
62534         (syscall-list-64bit-condition): Define.
62535         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
62536         (syscall-list-variants, syscall-list-32bit-options)
62537         (syscall-list-32bit-condition, syscall-list-64bit-options)
62538         (syscall-list-64bit-condition): Define.
62539         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
62540         Remove.
62541         (syscall-list-variants, syscall-list-32bit-options)
62542         (syscall-list-32bit-condition, syscall-list-64bit-options)
62543         (syscall-list-64bit-condition): Define.
62544         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
62545         Remove.
62546         (syscall-list-variants, syscall-list-32bit-options)
62547         (syscall-list-32bit-condition, syscall-list-64bit-options)
62548         (syscall-list-64bit-condition): Define.
62550 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62552         * locale/iso-639.def: Add brx entry.
62554         [BZ #13328]
62555         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
62556         Proposed by Mariusz_Cukr <marcukr@op.pl>.
62558         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
62559         __feraiseexcept_renamed.
62561 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62563         [BZ #13538]
62564         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
62565         EPOLLET with unsigned values.
62566         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62567         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62569         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
62570         to large cancellation.
62571         * math/s_cacoshf.c: Likewise.
62572         * math/s_cacoshl.c: Likewise.
62574 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
62576         [BZ #13305]
62577         [BZ #12786]
62578         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
62579         * math/s_cacoshf.c: Likewise.
62580         * math/s_cacoshl.c: Likewise.
62582 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62584         [BZ #13439]
62585         * iconv/gconv.h: Define __GCONV_SWAP.
62586         * iconvdata/unicode.c: The swap bit must be stored in __flags.
62587         * iconvdata/utf-16.c: Likewise.
62588         * iconvdata/utf-32.c: Likewise.
62590 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
62592         [BZ #13524]
62593         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
62594         numerator after shifting it by one limb.
62596 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
62598         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
62599         under [__USE_EXTERN_INLINES].
62601 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62603         [BZ #13446]
62604         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
62606 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62608         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
62609         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
62610         optimized code.
62611         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
62612         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
62613         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
62614         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
62615         for strncasecmp/strncasecmp_l compilation.
62616         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
62617         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
62619 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
62621         [BZ #13484]
62622         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
62623         of __asm__.
62625 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62627         [BZ #13506]
62628         * time/tzfile.c (__tzfile_read): Check values from file header.
62630 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62632         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
62633         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
62634         * powerpc/powerpc32/dl-start.S: Likewise.
62635         * powerpc/powerpc32/elf/start.S: Likewise.
62636         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
62637         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
62638         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
62639         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
62640         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62641         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
62642         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
62643         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62644         * powerpc/powerpc32/fpu/s_round.S: Likewise.
62645         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62646         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62647         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62648         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
62649         * powerpc/powerpc32/memset.S: Likewise.
62650         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62651         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62652         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62653         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62654         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62655         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62656         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62657         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62658         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
62659         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
62660         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
62661         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62662         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62664 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62666         * math/libm-test.inc: Added more nearbyint tests.
62667         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
62668         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
62669         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
62670         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
62672 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
62674         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
62675         FD_CLOEXEC.
62677 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62679         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
62680         Add wcscpy-ssse3 wcscpy-c.
62681         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
62682         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
62683         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
62684         * sysdeps/x86_64/wcschr.S: New file.
62685         * sysdeps/x86_64/wcsrchr.S: New file.
62686         * string/test-strcmp.c: Remove checking of wcscmp function for
62687         wrong alignments.
62688         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
62689         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
62690         wcsrchr-sse2 wcsrchr-c.
62691         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
62692         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
62693         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
62694         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
62695         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
62696         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
62697         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
62698         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
62699         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
62700         * wcsmbc/wcschr.c (WCSCHR): New macro.
62702 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62704         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
62705         * wcsmbs/test-wcsrchr.c: New file.
62706         * string/test-strrchr.c: Add wcsrchr support.
62707         (WIDE): New macro.
62708         * wcsmbs/test-wcscpy.c: New file.
62709         * string/test-strcpy.c: Add wcscpy support.
62710         (WIDE): New macro.
62712 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
62714         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
62715         the inner loop.
62717 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
62719         [BZ #13472]
62720         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
62722 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
62724         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
62725         Minor optimizations.
62727         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
62728         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
62729         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
62731 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
62733         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
62734         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
62735         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
62736         for gcc to avoid warnings.
62737         * inet/Makefile (tests): Add tst-checks.
62738         * inet/tst-checks.c: New file.
62740         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
62741         warning.
62743         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
62744         __wmemcmp_sse2.
62746         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
62747         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
62749         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
62751 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
62753         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
62754         problem.
62756         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
62758 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
62760         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
62761         conditional on GCC version.
62762         (__arch_compare_and_exchange_val_8_acq)
62763         (__arch_compare_and_exchange_val_16_acq)
62764         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
62765         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
62766         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
62768 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
62770         * sysdeps/sh/backtrace.c: New file.
62772 2011-12-02  Andreas Schwab  <schwab@redhat.com>
62774         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
62775         parenthesis.
62777 2011-12-01  Andreas Schwab  <schwab@redhat.com>
62779         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
62780         falling back to utime.
62782 2011-11-30  Andreas Schwab  <schwab@redhat.com>
62784         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
62785         expectations for float.
62787 2011-11-29  Andreas Schwab  <schwab@redhat.com>
62789         * locale/weight.h (findidx): Add parameter len.
62790         * locale/weightwc.h (findidx): Likewise.
62791         * posix/fnmatch_loop.c (FCT): Adjust caller.
62792         * posix/regcomp.c (build_equiv_class): Likewise.
62793         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
62794         * posix/regexec.c (check_node_accept_bytes): Likewise.
62795         * string/strcoll_l.c (STRCOLL): Likewise.
62796         * string/strxfrm_l.c (STRXFRM): Likewise.
62798 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
62800         * Makefile.in: Remove CVSOPT handling.
62801         * configure.in: Remove use of AC_REVISION.
62802         * iconvdata/Makefile (distribute): No need to filter out CVS.
62803         * scripts/list-sources.sh: Remove CVS, subversion and monotone
62804         handling.
62806 2011-11-16  Andreas Schwab  <schwab@redhat.com>
62808         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
62809         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
62810         [USE_AS_STRNCASECMP_L]: Likewise.
62811         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
62812         NO_TLS_DIRECT_SEG_REFS.
62813         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
62814         Fix argument offsets for non-PIC.
62815         [USE_AS_STRNCASECMP_L]: Likewise.
62816         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
62817         NO_TLS_DIRECT_SEG_REFS.
62819 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62821         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
62822         O_CLOEXEC.
62823         * locale/loadlocale.c (_nl_load_locale): Likewise.
62825 2011-11-15  Andreas Schwab  <schwab@redhat.com>
62827         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
62828         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
62829         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
62830         (SYSCALL_GETTIME): Set errno on error.
62832         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
62833         count references to noai6ai_cached.
62835 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62837         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
62839         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
62840         FD_CLOEXEC for /proc/self/maps.
62842         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
62843         FD_CLOEXEC for /proc/meminfo.
62845         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
62846         gai.conf.
62848         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
62849         FD_CLOEXEC for given file.
62851         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
62853         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
62854         FD_CLOEXEC for /etc/hosts.
62855         (_gethtent): Likewise.
62857         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
62859         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
62860         cancellation and set FD_CLOEXEC for /etc/netgroup.
62862         * nss/nss_files/files-key.c (search): Don't allow cancellation when
62863         reading /etc/publickey.
62865         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
62866         allow cancellation when reading /etc/group.
62868         * nss/nss_files/files-alias.c (internal_setent): Don't allow
62869         cancellation.
62870         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
62872         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
62873         when using data file.
62875         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
62877         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
62878         (write_nis_obj): Use "c" and "e" in fopen.
62880         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
62882         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
62884         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
62886         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
62888         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
62889         locale.alias.
62891         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
62893         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
62895         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
62897         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
62898         file parsing and set FD_CLOEXEC.
62900 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62902         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
62904 2011-11-14  Andreas Schwab  <schwab@redhat.com>
62906         * malloc/arena.c (arena_get2): Don't call reused_arena when
62907         _int_new_arena failed.
62909 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62911         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
62912         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
62913         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
62914         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62915         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62916         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
62917         to compile strcasecmp and strncasecmp.
62918         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
62919         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
62921         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
62923 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
62925         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
62926         locale-defines.sym to gen-as-const-headers.
62927         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
62928         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
62929         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
62930         to compile strcasecmp and strncasecmp.
62931         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
62932         strcasecmp_l and strncasecmp_l.
62933         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
62934         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
62935         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
62936         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
62937         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
62938         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
62939         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
62940         * sysdeps/i386/i686/multiarch/strncase.S: New file.
62941         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
62942         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
62943         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
62945 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
62947         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
62948         result of SYSDEP_GETTIME_CPU to retval.
62949         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
62950         parameter list to macro.  Remove trailing semicolon.  Adjust users.
62952         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
62953         variable.
62955         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
62956         mantissa words.
62957         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
62959         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
62960         from unused variable.
62962         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
62963         DWARF definitions.
62964         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
62965         for assembling.
62967         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
62968         over namespaces.
62970         * sunrpc/rpc_prot.c (rejected): Fix case value.
62972         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
62973         unsigned long long int to avoid warnings in shift.
62975         * posix/regex_internal.c (re_string_reconstruct): Actually use result
62976         of use of trans.
62977         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
62978         variable tmp.
62980         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
62981         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
62982         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
62984         * nis/nis_table.c (nis_list): Use variable of correct type for
62985         result of __follow_path call.
62987 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62989         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
62990         of math functions ceil, trunc, floor, round, and sqrt, when
62991         avaliable on the platform.
62992         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
62993         name clash.
62994         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62995         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
62996         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
62998 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
63000         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
63001         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63003 2011-11-11  Roland McGrath  <roland@hack.frob.com>
63005         * include/unistd.h: Fix __readlink return type.
63006         Reported by Chris Metcalf <cmetcalf@tilera.com>.
63008 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
63010         * stdlib/ucontext.h: Undo last change for makecontext.
63012 2011-11-11  Andreas Schwab  <schwab@redhat.com>
63014         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
63016         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
63017         * setjmp/setjmp.h: Mark functions as non-leaf.
63018         * setjmp/bits/setjmp2.h: Likewise.
63019         * stdlib/ucontext.h: Likewise.
63021 2011-11-10  Andreas Schwab  <schwab@redhat.com>
63023         * malloc/arena.c (_int_new_arena): Don't increment narenas.
63024         (reused_arena): Don't check arena limit.
63025         (arena_get2): Atomically check arena limit.
63027 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
63029         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
63030         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
63032         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
63033         instructions.
63035 2011-11-07  Andreas Schwab  <schwab@redhat.com>
63037         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
63038         handler when locking.
63040         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
63041         Fix size of allocated buffer.
63043 2011-11-04  Andreas Schwab  <schwab@redhat.com>
63045         [BZ #10103]
63046         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
63047         declarations for long double functions.
63048         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
63050         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
63052 2011-11-03  Andreas Schwab  <schwab@redhat.com>
63054         * nscd/nscd.c (main): Don't start AVC thread until credentials are
63055         installed.
63057         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
63058         is disabled.
63060 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63062         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
63064 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
63066         * include/alloca.h (stackinfo_alloca_round): Define.
63067         (extend_alloca): Use it.
63068         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
63069         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
63070         here.
63072         * scripts/check-local-headers.sh: Ignore libaudit.h.
63074         * nscd/Makefile (extra-objs): Make recursively expanded.
63076 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
63078         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
63079         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63081         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
63082         * posix/tst-rfc3484-2.c: Likewise.
63083         * posix/tst-rfc3484-3.c: Likewise.
63085         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63086         process_vm_writev.
63087         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
63088         process_vm_writev.
63089         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
63090         process_vm_writev from libc using GLIBC_2.15 version.
63092         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
63094 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
63096         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
63097         stack usage.
63099 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
63101         [BZ #13367]
63102         * nss/getent.c (initgroups_keys): Show error message in case no group
63103         names are given.
63105         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
63106         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
63107         __bump_nl_timestamp.
63108         * nscd/connections (nscd_init): When host database is served open
63109         netlink socket and request notification about configuration changes.
63110         (main_loop_poll): Track netlink file descriptor and bump timestamp
63111         in case data becomes available.
63112         (main_loop_epoll): Likewise.
63113         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
63114         (database_pers_head): Add extra_data fileds.
63115         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
63116         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
63117         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
63118         Adjust caller.
63119         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
63120         in6ai data, call __free_in6ai.
63121         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
63122         Add -DHAVE_NETLINK.
63123         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
63124         interface information.  Reuse previous data if netlink timestamp
63125         is not changed.
63126         (__bump_nl_timestamp): New function.
63127         (__free_in6ai): New function.
63129 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
63131         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
63132         close_not_cancel_no_status here.
63133         (__check_pf): Reorganize code a bit to not call close twice if OOM.
63135 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63137         [BZ #13276]
63138         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
63139         return value.
63141         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
63142         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
63143         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
63145 2011-07-03  Andreas Jaeger  <aj@suse.de>
63147         [BZ #10709]
63148         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
63149         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
63150         * math/libm-test.inc (sin_test): Add test case.
63152 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63154         [BZ #13337]
63155         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
63156         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63158         * elf/chroot_canon.c (chroot_canon): Cleanups.
63160         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
63162         [BZ #13335]
63163         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
63164         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63166         * string/test-strchr.c: Make usable for strchrnul testing.
63167         * string/test-strchrnul.c: New file.
63168         * string/Makefile (strop-tests): Add strchrnul.
63170         * po/it.po: Update from translation team.
63171         * po/es.po: Likewise.
63173 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
63175         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
63176         the three constants needed as parameters.  Drop the others.
63177         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
63178         __m128i_strloadu_tolower.
63179         Create and initialize variable zero and use it in all the places
63180         where _mm_setzero_si128 was used.
63182         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
63183         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
63184         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
63185         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
63186         anymore.
63187         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
63188         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
63189         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
63190         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
63191         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
63192         __mpranred, __mptan.
63193         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
63194         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
63195         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
63196         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
63197         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
63198         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
63199         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
63200         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
63201         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
63203 2011-10-28  Andreas Schwab  <schwab@redhat.com>
63205         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
63206         redefine if SHARED.
63207         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
63209         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
63210         wide char related routines to wcsmbs subdir.
63212 2011-10-27  Andreas Schwab  <schwab@redhat.com>
63214         [BZ #13344]
63215         * misc/sys/cdefs.h (__THROWNL): Define.
63216         * posix/unistd.h: Use __THREADNL instead of __THREAD
63217         for memory synchronization functions.
63219 2011-10-26  Roland McGrath  <roland@hack.frob.com>
63221         [BZ #13349]
63222         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
63223         doesn't exist.
63224         * manual/stdio.texi (Obstack Streams): Node removed.
63226 2011-10-26  Andreas Schwab  <schwab@redhat.com>
63228         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
63229         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63230         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63232         * math/math_private.h (math_force_eval): Allow non-addressable
63233         arguments.
63234         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
63236 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63238         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
63239         file is not needed.
63241         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
63242         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
63243         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63244         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63245         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63246         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63247         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63248         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
63249         Add AVX variants.
63250         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
63251         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
63252         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
63253         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
63254         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
63255         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
63256         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
63257         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
63258         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
63259         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
63260         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
63261         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
63262         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
63263         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
63264         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
63265         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
63266         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
63267         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
63268         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
63270         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
63271         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
63273         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
63274         place.  Use VEX encoding when compiling for AVX.
63276 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63278         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
63279         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63281         * string/test-strchr.c (do_test): Don't generate NUL bytes.
63283 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63285         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
63286         useless if() expression.
63287         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63288         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63289         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63290         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63291         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63292         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63293         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63294         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63295         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63296         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63297         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63298         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63299         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63300         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63301         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63302         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63303         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63304         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63305         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63307         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
63309 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63311         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
63312         condition.
63313         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63315 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63317         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
63318         .text section.  Avoid duplicate constants.
63319         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63320         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63321         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63322         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63323         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63324         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63325         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63326         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63327         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
63328         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
63329         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
63330         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63331         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
63332         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
63333         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
63334         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
63335         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
63336         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
63337         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63338         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63339         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63340         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63341         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63342         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
63343         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
63344         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
63345         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
63346         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
63347         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
63348         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
63349         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
63350         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
63351         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63352         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
63353         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
63354         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
63355         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
63356         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
63357         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
63358         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
63359         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
63360         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
63361         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
63362         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
63363         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
63365 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
63367         * sysdeps/x86_64/dla.h: Move to ...
63368         * sysdeps/x86_64/fpu/dla.h: ...here.
63369         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
63370         situations.  Use __builtin_fma only for gcc 4.6 and up.
63372         * config.make.in: Add have-mfma4 entry.
63373         * configure.in: Substitute libc_cv_cc_fma4.
63374         * math/Makefile (dbl-only-routines): Add sincostab.
63375         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
63376         Use __sincostab not sincos.
63377         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
63378         name is a macro.
63379         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63380         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63381         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63382         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
63383         using __copysign.
63384         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
63385         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
63386         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
63387         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
63388         and __inv.
63389         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
63390         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
63391         __copysign.
63392         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
63393         define aliases when function name is a macro.
63394         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
63395         sysdeps/ieee754/dbl-64/sincos.tbl.
63396         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
63397         fma4-enabled routines.
63398         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
63399         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
63400         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
63401         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
63402         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
63403         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
63404         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
63405         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
63406         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
63407         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
63408         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
63409         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
63410         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
63411         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
63412         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
63413         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
63414         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
63415         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
63416         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
63417         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
63418         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
63419         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
63420         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
63421         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
63422         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
63423         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
63424         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
63425         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
63426         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
63427         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
63429         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
63430         rename.
63431         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63432         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63433         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63434         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63435         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63436         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63437         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63438         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63440 2011-10-24  Andreas Schwab  <schwab@redhat.com>
63442         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
63444 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63446         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
63448         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
63449         prediction.
63450         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
63452         * string/strnlen.c: Don't define STRNLEN, reverse logic.
63453         Remove unused variable magic_bits.
63454         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
63456         * string/strnlen.c: Define and use STRNLEN macro.
63457         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
63458         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
63459         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
63460         * wcsmbs/wcslen.c: Define and use WCSLEN.
63461         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
63462         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
63463         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
63464         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
63465         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
63466         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
63467         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
63469 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63472         strnlen-sse2-no-bsf.
63473         Rename strlen-no-bsf to strlen-sse2-no-bsf.
63474         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
63475         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
63476         Add strnlen support.
63477         (USE_AS_STRNLEN): New macro.
63478         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
63479         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
63480         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
63481         * sysdeps/x86_64/wcslen.S: New file.
63483 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
63485         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63486         XMM-moves are used for copying on small sizes.
63488 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63490         * wcsmbs/Makefile (strop-tests): Add wcschr.
63491         * wcsmbs/test-wcschr.c: New file.
63492         * string/test-strchr.c: Update.
63493         Add wcschr support.
63494         (WIDE): New macro.
63496 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63498         * wcsmbs/Makefile (strop-tests): Add wcslen.
63499         * wcsmbs/test-wcslen.c: New file.
63500         * string/test-strlen.c: Update.
63501         Add wcslen support.
63502         (WIDE): New macro.
63504 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63506         * po/it.po: Update from translation team.
63508 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63510         * sysdeps/x86_64/wcscmp.S: Update.
63511         Fix wrong comparison semantics.
63512         wcscmp shall use signed comparison not unsigned.
63513         Don't use substraction to avoid overflow bug.
63514         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
63515         * wcsmbc/wcscmp.c: Likewise.
63516         * string/test-strcmp.c: Likewise.
63517         Add new tests to check cases with negative values.
63519 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63521         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
63522         * sysdeps/x86_64/dla.h: ...here.  New file.
63523         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
63524         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63525         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63526         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63527         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63528         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63529         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63530         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63531         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63533 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
63535         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
63536         __ynl_finite aliases.
63538 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63540         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63542         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
63543         define DLA_FMA.
63544         [DLA_FMA] (EMULV): Use DLA_FMA.
63545         [DLA_FMA] (MUL12): Use EMULV.
63546         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
63547         that are not needed.
63548         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63549         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63550         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63551         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63552         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63553         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63554         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63556 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
63558         * math/s_nan.c: Undef __nan.
63559         * math/s_nanf.c: Undef __nanf.
63560         * math/s_nanl.c: Undef __nanl.
63561         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
63562         "math_private.h".
63564 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63566         * math/s_catan.c: Add branch predictions.
63567         * math/s_catanf.c: Likewise.
63568         * math/s_catanh.c: Likewise.
63569         * math/s_catanhf.c: Likewise.
63570         * math/s_catanhl.c: Likewise.
63571         * math/s_catanl.c: Likewise.
63572         * math/s_cexp.c: Likewise.
63573         * math/s_cexpf.c: Likewise.
63574         * math/s_cexpl.c: Likewise.
63575         * math/s_clog.c: Likewise.
63576         * math/s_clog10.c: Likewise.
63577         * math/s_clog10f.c: Likewise.
63578         * math/s_clog10l.c: Likewise.
63579         * math/s_clogf.c: Likewise.
63580         * math/s_clogl.c: Likewise.
63581         * math/s_csqrt.c: Likewise.
63582         * math/s_csqrtf.c: Likewise.
63583         * math/s_csqrtl.c: Likewise.
63584         * math/s_ctanf.c: Likewise.
63585         * math/s_ctanh.c: Likewise.
63586         * math/s_ctanhf.c: Likewise.
63587         * math/s_ctanhl.c: Likewise.
63588         * math/s_ctanl.c: Likewise.
63590         * math/math_private.h: Define __nan, __nanf, __nanl.
63591         * math/s_cacosh.c: Include <math_private.h>.
63592         * math/s_cacoshl.c: Likewise.
63593         * math/s_casinh.c: Likewise.
63594         * math/s_casinhf.c: Likewise.
63595         * math/s_casinhl.c: Likewise.
63596         * math/s_ccos.c: Rely entire on ccosh.
63597         * math/s_ccosf.c: Rely entire on ccoshf.
63598         * math/s_ccosl.c: Rely entirely on ccoshl.
63599         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
63600         Remove tests for FE_INVALID.
63601         * math/s_ccoshf.c: Likewise.
63602         * math/s_ccoshl.c: Likewise.
63603         * math/s_csin.c: Likewise.
63604         * math/s_csinf.c: Likewise.
63605         * math/s_csinh.c Likewise.
63606         * math/s_csinhf.c: Likewise.
63607         * math/s_csinhl.c: Likewise.
63608         * math/s_csinl.c: Likewise.
63609         * math/s_ctan.c: Likewise.
63610         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
63611         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
63612         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
63614 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
63616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
63617         compilation problems.
63619         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
63620         __builtin_expect.
63622 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
63624         * sysdeps/i386/configure.in: Test for -mfma4 option.
63625         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
63626         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
63627         COMMON_CPUID_INDEX_80000001.
63628         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
63629         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
63630         use it if FMA3 is not supported.
63631         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
63633         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
63634         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63636 2011-10-20  Andreas Schwab  <schwab@redhat.com>
63638         [BZ #12892]
63639         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
63640         it would create a cycle with a link time dependency.
63642 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
63644         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
63645         instruction.
63646         * string/Makefile (strop-tests): Add rawmemchr.
63647         * string/test-rawmemchr.c: New file.
63649         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
63650         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
63651         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
63652         when compiling str{,n}casecmp and when AVX is available.  Hook up
63653         new optimized code in initializers.
63655 2011-10-19  Andreas Schwab  <schwab@redhat.com>
63657         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
63658         __feraiseexcept instead of feraiseexcept.
63660 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
63662         * math/math_private.h: Define defaults for libc_fetestexcept and
63663         libc_feupdateenv.
63664         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
63665         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
63666         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63667         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63668         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63669         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63670         libc_fetestexcept and libc_feupdateenv.
63672         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
63673         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
63674         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
63675         * sysdeps/x86_64/fpu/math_private.h: Define special version of
63676         libc_feholdexcept_setround.
63678         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
63679         Add s_nearbyint-c and s_nearbyintf-c.
63680         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
63681         nearbyintf inlines.
63682         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
63683         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
63684         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
63685         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
63687         * math/math_private.h: Define defaults for libc_fegetround,
63688         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
63689         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
63690         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
63691         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
63692         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
63693         standard functions.
63694         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63695         Remove comments and hacks for old compiler versions.
63696         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63697         libc_fegetround, libc_fesetround, libc_feholdexcept, and
63698         libc_feholdexceptl.
63700 2011-10-18  Andreas Schwab  <schwab@redhat.com>
63702         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
63703         (__feraiseexcept_renamed): Add __NTH.
63704         (feraiseexcept): Add __NTH.  Rename local variables to fix
63705         namespace violations.
63707 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
63709         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
63711         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
63713         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
63714         recently added interfaces.
63715         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
63717         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
63718         about macro parameter expansion.
63720         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
63721         __NO_MATH_INLINES is defined.  Cleanups.
63723         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
63724         and __floorf is target has SSE4.1.
63725         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
63726         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
63727         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
63728         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
63730         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
63731         name.
63732         (floorf): Likewise.
63734         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
63736 2011-10-17  Andreas Schwab  <schwab@redhat.com>
63738         * misc/sys/cdefs.h: Fix last change.
63740         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
63741         database lookup.
63743 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
63745         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
63747         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
63748         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63749         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63750         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63751         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63752         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63753         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63754         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63755         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63756         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
63757         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
63758         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
63759         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
63760         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
63761         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
63762         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
63763         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
63764         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
63765         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
63766         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
63767         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
63768         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
63770         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
63771         ceil, ceilf, floor, floorf.
63773         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
63774         Perform IRELATIVE relocations last.
63776         * elf/do-rel.h: Add another parameter nrelative, replacing the
63777         local variable with the same name.  Change name of the function
63778         to end in Rel or Rela (uppercase).
63779         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
63780         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
63781         elf_dynamic_do_##reloc function.
63783 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63785         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
63786         is sufficient, at least on modern CPUs.
63788         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
63790         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
63791         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
63793         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
63794         __expl_finite.
63795         * math/bits/math-finite.h: Add entries for exp.
63796         * math/e_expl.c: Add __*_finite alias.
63797         * sysdeps/i386/fpu/e_exp.S: Likewise.
63798         * sysdeps/i386/fpu/e_expf.S: Likewise.
63799         * sysdeps/i386/fpu/e_expl.c: Likewise.
63800         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63801         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63802         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63803         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63804         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
63805         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63806         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63808         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
63809         is sufficient, at least on modern CPUs.
63811         * ctype/ctype-info.c (__ctype_init): Define.
63812         * include/ctype.h (__ctype_init): Declare.
63813         (__ctype_b_loc): The variable is always initialized.
63814         (__ctype_toupper_loc): Likewise.
63815         (__ctype_tolower_loc): Likewise.
63816         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
63817         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
63819 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
63821         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
63823         * configure.in: Also look in $cxxmachine/include for C++ system
63824         headers.
63826 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63828         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
63829         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
63830         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
63831         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
63832         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
63833         (USE_AS_WMEMCMP): New macro.
63834         Fixing indents.
63835         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
63836         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
63837         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
63838         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
63839         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63840         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
63841         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
63842         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
63843         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
63844         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
63845         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
63846         (USE_AS_WMEMCMP): New macro.
63847         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
63848         * sysdeps/string/test-memcmp.c: Update.
63849         Fix simple_wmemcmp.
63850         Add new tests.
63851         * wcsmbs/wmemcmp.c: Update.
63852         (WMEMCMP): New macro.
63853         Fix overflow bug.
63855 2011-10-12  Andreas Jaeger  <aj@suse.de>
63857         [BZ #13268]
63858         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
63860 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63862         * libio/iofwide.c (do_length): Avoid warning.
63864         * ctype/ctype.h (__isctype_f): Add missing __THROW.
63866 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
63868         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
63870         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
63871         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
63872         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
63873         * sysdeps/i386/i686/fpu/e_log.S: New file.
63874         * sysdeps/i386/i686/fpu/e_logf.S: New file.
63875         * sysdeps/i386/i686/fpu/e_logl.S: New file.
63877         * ctype/ctype.h: Add support for inlined isXXX functions when
63878         compiling C++ code.
63880 2011-10-14  Andreas Schwab  <schwab@redhat.com>
63882         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63884         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
63886 2011-10-13  Roland McGrath  <roland@hack.frob.com>
63888         [BZ #13291]
63889         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
63891 2011-10-13  Andreas Schwab  <schwab@redhat.com>
63893         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
63894         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
63895         feraiseexcept.
63897         * sysdeps/x86_64/memrchr.S: Check for zero size.
63899         * string/stratcliff.c: Add memrchr tests.
63901 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63903         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63904         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
63905         rawmemchr-sse2 rawmemchr-sse2-bsf.
63906         * sysdeps/i386/i686/multiarch/memchr.S: New file.
63907         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
63908         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
63909         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
63910         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
63911         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
63912         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
63913         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
63914         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
63915         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
63916         * string/memrchr.c (MEMRCHR): New macro.
63918 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
63920         Add integration with gcc's -ffinite-math-only and optimize wrapper
63921         functions in libm.
63922         * Versions.def: Define GLIBC_2.15 version for libm.
63923         * math/Makefile (headers): Add bits/math-finite.h.
63924         * math/bits/math-finite.h: New file.
63925         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
63926         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
63927         * math/e_acoshl.c: Add __*_finite alias.
63928         * math/e_acosl.c: Likewise.
63929         * math/e_asinl.c: Likewise.
63930         * math/e_atan2l.c: Likewise.
63931         * math/e_atanhl.c: Likewise.
63932         * math/e_coshl.c: Likewise.
63933         * math/e_exp10.c: Likewise.
63934         * math/e_exp10f.c: Likewise.
63935         * math/e_exp10l.c: Likewise.
63936         * math/e_exp2l.c: Likewise.
63937         * math/e_fmodl.c: Likewise.
63938         * math/e_gammal_r.c: Likewise.
63939         * math/e_hypotl.c: Likewise.
63940         * math/e_j0l.c: Likewise.
63941         * math/e_j1l.c: Likewise.
63942         * math/e_jnl.c: Likewise.
63943         * math/e_lgammal_r.c: Likewise.
63944         * math/e_log10l.c: Likewise.
63945         * math/e_log2l.c: Likewise.
63946         * math/e_logl.c: Likewise.
63947         * math/e_powl.c: Likewise.
63948         * math/e_sinhl.c: Likewise.
63949         * math/e_sqrtl.c: Likewise.
63950         * math/e_scalb.c: Completely rewritten and optimized.
63951         * math/e_scalbf.c: Likewise.
63952         * math/e_scalbl.c: Likewise.
63953         * math/w_acos.c: Likewise.
63954         * math/w_acosf.c: Likewise.
63955         * math/w_acosl.c: Likewise.
63956         * math/w_acosh.c: Likewise.
63957         * math/w_acoshf.c: Likewise.
63958         * math/w_acoshl.c: Likewise.
63959         * math/w_asin.c: Likewise.
63960         * math/w_asinf.c: Likewise.
63961         * math/w_asinl.c: Likewise.
63962         * math/w_atan2.c: Likewise.
63963         * math/w_atan2f.c: Likewise.
63964         * math/w_atan2l.c: Likewise.
63965         * math/w_atanh.c: Likewise.
63966         * math/w_atanhf.c: Likewise.
63967         * math/w_atanhl.c: Likewise.
63968         * math/w_exp10.c: Likewise.
63969         * math/w_exp10f.c: Likewise.
63970         * math/w_exp10l.c: Likewise.
63971         * math/w_fmod.c: Likewise.
63972         * math/w_fmodf.c: Likewise.
63973         * math/w_fmodl.c: Likewise.
63974         * math/w_j0.c: Likewise.
63975         * math/w_j0f.c: Likewise.
63976         * math/w_j0l.c: Likewise.
63977         * math/w_j1.c: Likewise.
63978         * math/w_j1f.c: Likewise.
63979         * math/w_j1l.c: Likewise.
63980         * math/w_jn.c: Likewise.
63981         * math/w_jnf.c: Likewise.
63982         * math/w_log.c: Likewise.
63983         * math/w_logf.c: Likewise.
63984         * math/w_logl.c: Likewise.
63985         * math/w_log10.c: Likewise.
63986         * math/w_log10f.c: Likewise.
63987         * math/w_log10l.c: Likewise.
63988         * math/w_log2.c: Likewise.
63989         * math/w_log2f.c: Likewise.
63990         * math/w_log2l.c: Likewise.
63991         * math/w_pow.c: Likewise.
63992         * math/w_powf.c: Likewise.
63993         * math/w_powl.c: Likewise.
63994         * math/w_remainder.c: Likewise.
63995         * math/w_remainderf.c: Likewise.
63996         * math/w_remainderl.c: Likewise.
63997         * math/w_scalb.c: Likewise.
63998         * math/w_scalbf.c: Likewise.
63999         * math/w_scalbl.c: Likewise.
64000         * math/w_sqrt.c: Likewise.
64001         * math/w_sqrtf.c: Likewise.
64002         * math/w_sqrtl.c: Likewise.
64003         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
64004         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
64005         used.
64006         * math/math_private.h: Declare __kernel_standard_f.
64007         * math/w_cosh.c: Remove cruft and optimize a bit.
64008         * math/w_coshf.c: Likewise.
64009         * math/w_coshl.c: Likewise.
64010         * math/w_exp2.c: Likewise.
64011         * math/w_exp2f.c: Likewise.
64012         * math/w_exp2l.c: Likewise.
64013         * math/w_hypot.c: Likewise.
64014         * math/w_hypotf.c: Likewise.
64015         * math/w_hypotl.c: Likewise.
64016         * math/w_lgamma.c: Likewise.
64017         * math/w_lgamma_r.c: Likewise.
64018         * math/w_lgammaf.c: Likewise.
64019         * math/w_lgammaf_r.c: Likewise.
64020         * math/w_lgammal.c: Likewise.
64021         * math/w_lgammal_r.c: Likewise.
64022         * math/w_sinh.c: Likewise.
64023         * math/w_sinhf.c: Likewise.
64024         * math/w_sinhl.c: Likewise.
64025         * math/w_tgamma.c: Likewise.
64026         * math/w_tgammaf.c: Likewise.
64027         * math/w_tgammal.c: Likewise.
64028         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64029         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64030         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
64031         Minor optimizations.  Pretty printing.  Remove cruft.
64032         * sysdeps/i386/fpu/e_acosf.S: Likewise.
64033         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64034         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64035         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64036         * sysdeps/i386/fpu/e_acosl.c: Likewise.
64037         * sysdeps/i386/fpu/e_asin.S: Likewise.
64038         * sysdeps/i386/fpu/e_asinf.S: Likewise.
64039         * sysdeps/i386/fpu/e_atan2.S: Likewise.
64040         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
64041         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
64042         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64043         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64044         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64045         * sysdeps/i386/fpu/e_exp10.S: Likewise.
64046         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
64047         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
64048         * sysdeps/i386/fpu/e_exp2.S: Likewise.
64049         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
64050         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
64051         * sysdeps/i386/fpu/e_fmod.S: Likewise.
64052         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
64053         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
64054         * sysdeps/i386/fpu/e_hypot.S: Likewise.
64055         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
64056         * sysdeps/i386/fpu/e_log.S: Likewise.
64057         * sysdeps/i386/fpu/e_log10.S: Likewise.
64058         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64059         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64060         * sysdeps/i386/fpu/e_log2.S: Likewise.
64061         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64062         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64063         * sysdeps/i386/fpu/e_logf.S: Likewise.
64064         * sysdeps/i386/fpu/e_logl.S: Likewise.
64065         * sysdeps/i386/fpu/e_pow.S: Likewise.
64066         * sysdeps/i386/fpu/e_powf.S: Likewise.
64067         * sysdeps/i386/fpu/e_powl.S: Likewise.
64068         * sysdeps/i386/fpu/e_remainder.S: Likewise.
64069         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
64070         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
64071         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64072         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64073         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64074         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
64075         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
64076         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
64077         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64078         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64079         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64080         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64081         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64082         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64083         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
64084         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64085         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64086         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64087         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64088         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64089         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64090         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64091         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64092         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64093         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64094         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64095         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64096         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64097         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64098         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64099         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64100         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64101         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64102         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64103         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64104         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64105         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
64106         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64107         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64108         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64109         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64110         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64111         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64112         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64113         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64114         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64115         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64116         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64117         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64118         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64119         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64120         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64121         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64122         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64123         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64124         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64125         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64126         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
64127         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64128         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64129         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64130         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64131         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64132         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64133         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64134         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64135         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64136         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64137         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64138         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64139         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64140         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64141         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64142         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64143         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64144         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64145         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
64146         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64147         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64148         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64149         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64150         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64151         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64152         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64153         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64154         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64155         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64156         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64157         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64158         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64159         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
64160         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64161         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64162         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64163         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64164         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64165         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64166         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64167         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64168         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64169         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64170         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64171         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64172         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64173         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64174         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
64175         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
64176         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
64177         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
64178         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
64179         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
64180         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
64181         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64182         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64183         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64184         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64185         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
64186         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64187         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
64188         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
64189         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
64190         (__isnanf): Likewise.
64191         (__isinf_ns): Likewise.
64192         (__isinf_nsf): Likewise.
64193         (__finite): Likewise.
64194         (__finitef): Likewise.
64195         (__ieee754_sqrt): Define as macro.
64196         (__ieee754_sqrtf): Define as macro.
64197         (__ieee754_sqrtl): Define as macro.
64198         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
64199         inlined copy.
64200         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
64201         __FINITE_MATH_ONLY__ consistent.
64202         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
64204 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
64206         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
64207         of rawmemchr.
64209         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
64211 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
64213         * po/ja.po: Update from translation team.
64215 2011-10-08  Roland McGrath  <roland@hack.frob.com>
64217         * locale/programs/locarchive.c (prepare_address_space): New function.
64218         (create_archive, enlarge_archive, open_archive): Use it.
64220         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
64221         inside [SHARED], where it is used.
64223         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
64225         * nss/getent.c (netgroup_keys): Remove unused variable.
64226         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64228 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
64230         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
64231         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
64232         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
64233         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
64234         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
64235         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
64236         * math/Makefile (libm-calls): Add s_isinf_ns.
64237         * math/divtc3.c: Use __isinf_nsl instead of isinf.
64238         * math/multc3.c: Likewise.
64239         * math/s_casin.c: Likewise.
64240         * math/s_casinf.c: Likewise.
64241         * math/s_casinl.c: Likewise.
64242         * math/s_ccos.c: Likewise.
64243         * math/s_ccosf.c: Likewise.
64244         * math/s_ccosl.c: Likewise.
64245         * math/s_ctan.c: Likewise.
64246         * math/s_ctanf.c: Likewise.
64247         * math/s_ctanh.c: Likewise.
64248         * math/s_ctanhf.c: Likewise.
64249         * math/s_ctanhl.c: Likewise.
64250         * math/s_ctanl.c: Likewise.
64251         * math/w_fmod.c: Likewise.
64252         * math/w_fmodf.c: Likewise.
64253         * math/w_fmodl.c: Likewise.
64254         * math/w_remainder.c: Likewise.
64255         * math/w_remainderf.c: Likewise.
64256         * math/w_remainderl.c: Likewise.
64257         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
64258         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
64259         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
64260         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
64261         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
64262         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
64263         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
64264         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
64266         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
64267         of the number.
64268         * stdio-common/printf_fphex.c: Likewise.
64269         * stdio-common/printf_size.c: Likewise.
64271         * math/e_exp10.c: Include math_private.h using <...> not "...".
64272         * math/e_exp10f.c: Likewise.
64273         * math/e_exp10l.c: Likewise.
64274         * math/e_exp2l.c: Likewise.
64275         * math/e_j0l.c: Likewise.
64276         * math/e_j1l.c: Likewise.
64277         * math/e_jnl.c: Likewise.
64278         * math/e_lgammal_r.c: Likewise.
64279         * math/e_rem_pio2l.c: Likewise.
64280         * math/e_scalb.c: Likewise.
64281         * math/e_scalbf.c: Likewise.
64282         * math/e_scalbl.c: Likewise.
64283         * math/k_cosl.c: Likewise.
64284         * math/k_sinl.c: Likewise.
64285         * math/k_tanl.c: Likewise.
64286         * math/s_cacoshf.c: Likewise.
64287         * math/s_catan.c: Likewise.
64288         * math/s_catanf.c: Likewise.
64289         * math/s_catanh.c: Likewise.
64290         * math/s_catanhf.c: Likewise.
64291         * math/s_catanhl.c: Likewise.
64292         * math/s_catanl.c: Likewise.
64293         * math/s_ccosh.c: Likewise.
64294         * math/s_ccoshf.c: Likewise.
64295         * math/s_ccoshl.c: Likewise.
64296         * math/s_cexp.c: Likewise.
64297         * math/s_cexpf.c: Likewise.
64298         * math/s_cexpl.c: Likewise.
64299         * math/s_clog.c: Likewise.
64300         * math/s_clog10.c: Likewise.
64301         * math/s_clog10f.c: Likewise.
64302         * math/s_clog10l.c: Likewise.
64303         * math/s_clogf.c: Likewise.
64304         * math/s_clogl.c: Likewise.
64305         * math/s_csin.c: Likewise.
64306         * math/s_csinf.c: Likewise.
64307         * math/s_csinh.c: Likewise.
64308         * math/s_csinhf.c: Likewise.
64309         * math/s_csinhl.c: Likewise.
64310         * math/s_csinl.c: Likewise.
64311         * math/s_csqrt.c: Likewise.
64312         * math/s_csqrtf.c: Likewise.
64313         * math/s_csqrtl.c: Likewise.
64314         * math/s_ctan.c: Likewise.
64315         * math/s_ctanf.c: Likewise.
64316         * math/s_ctanh.c: Likewise.
64317         * math/s_ctanhf.c: Likewise.
64318         * math/s_ctanhl.c: Likewise.
64319         * math/s_ctanl.c: Likewise.
64320         * math/s_ldexp.c: Likewise.
64321         * math/s_ldexpf.c: Likewise.
64322         * math/s_ldexpl.c: Likewise.
64323         * math/s_significand.c: Likewise.
64324         * math/s_significandf.c: Likewise.
64325         * math/s_significandl.c: Likewise.
64326         * math/w_acos.c: Likewise.
64327         * math/w_acosf.c: Likewise.
64328         * math/w_acosh.c: Likewise.
64329         * math/w_acoshf.c: Likewise.
64330         * math/w_acoshl.c: Likewise.
64331         * math/w_acosl.c: Likewise.
64332         * math/w_asin.c: Likewise.
64333         * math/w_asinf.c: Likewise.
64334         * math/w_asinl.c: Likewise.
64335         * math/w_atan2.c: Likewise.
64336         * math/w_atan2f.c: Likewise.
64337         * math/w_atan2l.c: Likewise.
64338         * math/w_atanh.c: Likewise.
64339         * math/w_atanhf.c: Likewise.
64340         * math/w_atanhl.c: Likewise.
64341         * math/w_cosh.c: Likewise.
64342         * math/w_coshf.c: Likewise.
64343         * math/w_coshl.c: Likewise.
64344         * math/w_dremf.c: Likewise.
64345         * math/w_exp10.c: Likewise.
64346         * math/w_exp10f.c: Likewise.
64347         * math/w_exp10l.c: Likewise.
64348         * math/w_exp2.c: Likewise.
64349         * math/w_exp2f.c: Likewise.
64350         * math/w_fmod.c: Likewise.
64351         * math/w_fmodf.c: Likewise.
64352         * math/w_fmodl.c: Likewise.
64353         * math/w_hypot.c: Likewise.
64354         * math/w_hypotf.c: Likewise.
64355         * math/w_hypotl.c: Likewise.
64356         * math/w_j0.c: Likewise.
64357         * math/w_j0f.c: Likewise.
64358         * math/w_j0l.c: Likewise.
64359         * math/w_j1.c: Likewise.
64360         * math/w_j1f.c: Likewise.
64361         * math/w_j1l.c: Likewise.
64362         * math/w_jn.c: Likewise.
64363         * math/w_jnf.c: Likewise.
64364         * math/w_jnl.c: Likewise.
64365         * math/w_lgamma.c: Likewise.
64366         * math/w_lgamma_r.c: Likewise.
64367         * math/w_lgammaf.c: Likewise.
64368         * math/w_lgammaf_r.c: Likewise.
64369         * math/w_lgammal.c: Likewise.
64370         * math/w_lgammal_r.c: Likewise.
64371         * math/w_log.c: Likewise.
64372         * math/w_log10.c: Likewise.
64373         * math/w_log10f.c: Likewise.
64374         * math/w_log10l.c: Likewise.
64375         * math/w_log2.c: Likewise.
64376         * math/w_log2f.c: Likewise.
64377         * math/w_log2l.c: Likewise.
64378         * math/w_logf.c: Likewise.
64379         * math/w_logl.c: Likewise.
64380         * math/w_pow.c: Likewise.
64381         * math/w_powf.c: Likewise.
64382         * math/w_powl.c: Likewise.
64383         * math/w_remainder.c: Likewise.
64384         * math/w_remainderf.c: Likewise.
64385         * math/w_remainderl.c: Likewise.
64386         * math/w_scalb.c: Likewise.
64387         * math/w_scalbf.c: Likewise.
64388         * math/w_scalbl.c: Likewise.
64389         * math/w_sinh.c: Likewise.
64390         * math/w_sinhf.c: Likewise.
64391         * math/w_sinhl.c: Likewise.
64392         * math/w_sqrt.c: Likewise.
64393         * math/w_sqrtf.c: Likewise.
64394         * math/w_sqrtl.c: Likewise.
64395         * math/w_tgamma.c: Likewise.
64396         * math/w_tgammaf.c: Likewise.
64397         * math/w_tgammal.c: Likewise.
64399         * po/ja.po: Update from translation team.
64401 2011-09-29  Andreas Jaeger  <aj@suse.de>
64403         [BZ #13179]
64404         * sunrpc/netname.c (netname2host): Fix logic.
64406         [BZ #6779]
64407         [BZ #6783]
64408         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
64409         correctly.
64410         * math/w_remainder.c (__remainder): Likewise.
64411         * math/w_remainderf.c (__remainderf): Likewise.
64412         * math/libm-test.inc (remainder_test): Add test cases.
64414 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64416         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
64417         sdiv_qrnnd.
64419 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64421         * string/test-memcmp.c: Avoid unncessary #defines.
64422         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64424 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64426         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
64427         Use new sse2 version for core i3 - i7 as it's faster
64428         than sse42 version.
64429         (bit_Prefer_PMINUB_for_stringop): New.
64430         * sysdeps/x86_64/rawmemchr.S: Update.
64431         Replace with faster SSE2 version.
64432         * sysdeps/x86_64/memrchr.S: New file.
64433         * sysdeps/x86_64/memchr.S: Update.
64434         Replace with faster SSE2 version.
64436 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
64438         * elf/dl-load.c (lose): Add cast to avoid warning.
64440 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64442         * po/ca.po: Update from translation team.
64444         * inet/getnetgrent_r.c: Hook up nscd.
64445         * nscd/Makefile (routines): Add nscd_netgroup.
64446         (nscd-modules): Add netgroupcache.
64447         (CFLAGS-netgroupcache.c): Define.
64448         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
64449         (cache_search): Add const to second parameter.
64450         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
64451         INNETGR.
64452         (dbs): Add netgrdb entry.
64453         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
64454         (verify_persistent_db): Handle netgrdb.
64455         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
64456         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
64457         GETFDNETGR.
64458         (netgroup_response_header): Define.
64459         (innetgroup_response_header): Define.
64460         (datahead): Add netgroup_response_header and innetgroup_response_header
64461         elements.
64462         * nscd/nscd.conf: Add entries for netgroup cache.
64463         * nscd/nscd.h (dbtype): Add netgrdb.
64464         (_PATH_NSCD_NETGROUP_DB): Define.
64465         (netgroup_iov_disabled): Declare.
64466         (xmalloc, xcalloc, xrealloc): Move declarations here.
64467         (cache_search): Adjust prototype.
64468         Add netgroup-related prototypes.
64469         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
64470         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
64471         (__nscd_innetgr): Declare.
64472         * nscd/selinux.c (perms): Use access_vector_t as element type and
64473         add netgroup-related initializers.
64474         * nscd/netgroupcache.c: New file.
64475         * nscd/nscd_netgroup.c: New file.
64476         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
64477         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
64478         For four parameters use innetgr.
64479         * nss/nss_files/files-init.c: Add definition and callback for netgr.
64480         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
64481         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
64482         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
64484         * nscd/connections.c (register_traced_file): Don't register file
64485         for disabled databases.
64487 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
64489         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
64491         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
64492         from tree and freeing node.
64494 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
64496         * nss/nsswitch.c (__nss_database_lookup): Handle
64497         nss_parse_service_list out of memory case.
64499 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
64501         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
64502         out of memory case.
64504 2011-10-04  Andreas Schwab  <schwab@redhat.com>
64506         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
64507         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
64508         pass it down.
64509         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
64510         elf_machine_rela, elf_machine_lazy_rel.
64511         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
64512         (ELF_DYNAMIC_DO_REL): Likewise.
64513         (ELF_DYNAMIC_DO_RELA): Likewise.
64514         (ELF_DYNAMIC_RELOCATE): Likewise.
64515         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
64516         to ELF_DYNAMIC_DO_REL.
64517         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
64518         (dl_main): In trace mode always set __RTLD_NOIFUNC.
64519         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
64520         elf_machine_rela.
64521         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
64522         skip_ifunc, don't call ifunc function if non-zero.
64523         (elf_machine_rela): Likewise.
64524         (elf_machine_lazy_rel): Likewise.
64525         (elf_machine_lazy_rela): Likewise.
64526         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
64527         (elf_machine_lazy_rel): Likewise.
64528         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
64529         Likewise.
64530         (elf_machine_lazy_rel): Likewise.
64531         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64532         Likewise.
64533         (elf_machine_lazy_rel): Likewise.
64534         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
64535         (elf_machine_lazy_rel): Likewise.
64536         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
64537         (elf_machine_lazy_rel): Likewise.
64538         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64539         (elf_machine_lazy_rel): Likewise.
64540         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
64541         (elf_machine_lazy_rel): Likewise.
64542         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
64543         (elf_machine_lazy_rel): Likewise.
64544         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64545         (elf_machine_lazy_rel): Likewise.
64547 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
64549         * nss/nss_files/files-init.c (_nss_files_init): Use static
64550         initialization for all the *_traced_file variables.
64552 2011-09-28  Andreas Schwab  <schwab@redhat.com>
64554         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64556 2011-09-27  Roland McGrath  <roland@hack.frob.com>
64558         [BZ #13226]
64559         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
64561 2011-09-27  Andreas Schwab  <schwab@redhat.com>
64563         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64564         Reread the line before reparsing it.
64566 2011-09-26  Andreas Schwab  <schwab@redhat.com>
64568         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
64570 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
64571             Maxim Kuvyrkov  <maxim@codesourcery.com>
64572             Joseph Myers  <joseph@codesourcery.com>
64574         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
64575         if needed for __stack_chk_guard.
64577 2011-09-19  Roland McGrath  <roland@hack.frob.com>
64579         * sysdeps/posix/spawni.c (script_execute): Always define it.
64580         It will be optimized away if unused.
64581         (maybe_script_execute): New function.
64582         (__spawni): Call it.
64584         * Makerules: Don't include tls.make.
64585         (config-tls): Always set to thread.
64586         * tls.make.c: File removed.
64588 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
64590         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
64591         * config.make.in (CPPFLAGS-config): New substituted variable.
64593 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64595         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
64597         [BZ #13192]
64598         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
64599         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
64601 2011-09-15  Roland McGrath  <roland@hack.frob.com>
64603         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
64604         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
64605         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64606         (CALL_FAIL): Likewise.
64607         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
64608         (CALL_FAIL): Macro removed.
64609         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
64611 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64613         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
64614         for __FINITE_MATH_ONLY__ == 1.
64616 2011-09-15  Andreas Schwab  <schwab@redhat.com>
64618         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
64619         __ieee754_sqrt instead of sqrt.
64620         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
64621         __ieee754_sqrtf instead of sqrtf.
64622         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
64623         __floorf instead of floorf.
64624         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
64625         __floorf, __truncf instead of floorf, truncf.
64627 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
64629         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
64631         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
64632         __extern_always_inline.
64633         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
64634         32-bit.
64636 2011-09-14  Andreas Schwab  <schwab@redhat.com>
64638         * elf/rtld.c (dl_main): Also relocate in dependency order when
64639         doing symbol dependency testing.
64641 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
64643         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64644         Always define `refsym'.
64646 2011-09-13  Andreas Schwab  <schwab@redhat.com>
64648         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
64649         (__FD_ELT): Renamed from __FDELT.
64650         * misc/bits/select2.h (__FD_ELT): Likewise.
64651         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
64652         __FD_MASK instead of __FDELT, __FDMASK.
64653         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64654         Likewise.
64655         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64656         Likewise.
64658         * elf/Makefile (gen-ldd): Fix pattern.
64660         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
64661         (init_tls): Likewise.
64663 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
64665         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
64667 2011-09-12  Andreas Schwab  <schwab@redhat.com>
64669         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
64670         `struct cmsghdr *' instead of `void *'.
64671         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
64672         Likewise.
64674 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
64676         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
64677         if non-absolute.
64678         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
64679         ldd_rewrite_script.
64681 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
64683         * configure.in: Remove --with-tls option.
64684         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
64685         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
64686         out in case it is missing.
64687         * sysdeps/ia64/elf/configure.in: Likewise.
64688         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
64689         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
64690         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
64691         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
64692         * sysdeps/sh/elf/configure.in: Likewise.
64693         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
64694         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64695         * sysdeps/x86_64/elf/configure.in: Likewise.
64696         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
64697         * sysdeps/mach/hurd/tls.h: Likewise.
64699         [BZ #13067]
64700         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
64702         [BZ #13090]
64703         * configure.in: Fix use of AC_INIT.
64705         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
64707 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
64709         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
64710         __set_errno.
64711         * malloc/hooks.c: Likewise.
64713         [BZ #11929]
64714         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
64715         variables statically.
64716         (narenas): Initialize.
64717         (list_lock): Initialize.
64718         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
64719         initializtion of main_arena and list_lock.  Small cleanups.
64720         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
64721         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
64722         Add initializers to main_arena and mp_.
64723         (malloc_state): Remove pagesize member.  Change all users to use
64724         GLRO(dl_pagesize).
64726         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
64727         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
64728         is always initialized.
64730         * malloc/malloc.c: Removed unused configurations and dead code.
64731         * malloc/arena.c: Likewise.
64732         * malloc/hooks.c: Likewise.
64733         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
64735         * include/tls.h: Removed.  USE___THREAD must always be defined.
64736         * bits/libc-tsd.h: Don't handle !USE___THREAD.
64737         * elf/dl-libc.c: Likewise.
64738         * elf/dl-tsd.c: Likewise.
64739         * include/errno.h: Likewise.
64740         * include/netdb.h: Likewise.
64741         * include/resolv.h: Likewise.
64742         * inet/herrno-loc.c: Likewise.
64743         * inet/herrno.c: Likewise.
64744         * malloc/arena.c: Likewise.
64745         * malloc/hooks.c: Likewise.
64746         * malloc/malloc.c: Likewise.
64747         * resolv/res-state.c: Likewise.
64748         * resolv/res_libc.c: Likewise.
64749         * sysdeps/i386/dl-machine.h: Likewise.
64750         * sysdeps/ia64/dl-machine.h: Likewise.
64751         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
64752         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64753         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
64754         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
64755         * sysdeps/sh/dl-machine.h: Likewise.
64756         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64757         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64758         * sysdeps/unix/i386/sysdep.S: Likewise.
64759         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
64760         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
64761         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
64762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
64763         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
64764         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
64765         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
64766         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64767         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64768         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
64769         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64770         * sysdeps/x86_64/dl-machine.h: Likewise.
64771         * tls.make.c: Likewise.
64773         * configure.in: Remove --with-__thread option.  Make tests for
64774         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
64775         tls_model attribute fail if no support is available.  Remove
64776         USE_IN_LIBIO.
64777         * Makeconfig: Adjust for dropped configure option.  All features are
64778         now mandatory.
64779         * Makerules: Likewise.
64780         * Versions.def: Likewise.
64781         * argp/argp-fmtstream.c: Likewise.
64782         * argp/argp-fmtstream.h: Likewise.
64783         * argp/argp-help.c: Likewise.
64784         * assert/assert.c: Likewise.
64785         * config.h.in: Likewise.
64786         * config.make.in: Likewise.
64787         * configure: Likewise.
64788         * configure.in: Likewise.
64789         * csu/Versions: Likewise.
64790         * csu/init.c: Likewise.
64791         * elf/tst-audit2.c: Likewise.
64792         * elf/tst-tls10.c: Likewise.
64793         * elf/tst-tls10.h: Likewise.
64794         * elf/tst-tls11.c: Likewise.
64795         * elf/tst-tls12.c: Likewise.
64796         * elf/tst-tls14.c: Likewise.
64797         * elf/tst-tlsmod11.c: Likewise.
64798         * elf/tst-tlsmod12.c: Likewise.
64799         * elf/tst-tlsmod13.c: Likewise.
64800         * elf/tst-tlsmod13a.c: Likewise.
64801         * elf/tst-tlsmod14a.c: Likewise.
64802         * elf/tst-tlsmod15b.c: Likewise.
64803         * elf/tst-tlsmod16a.c: Likewise.
64804         * elf/tst-tlsmod16b.c: Likewise.
64805         * elf/tst-tlsmod7.c: Likewise.
64806         * elf/tst-tlsmod8.c: Likewise.
64807         * elf/tst-tlsmod9.c: Likewise.
64808         * gmon/gmon.c: Likewise.
64809         * grp/fgetgrent_r.c: Likewise.
64810         * grp/putgrent.c: Likewise.
64811         * hurd/fopenport.c: Likewise.
64812         * include/libc-symbols.h: Likewise.
64813         * include/tls.h: Likewise.
64814         * intl/gettextP.h: Likewise.
64815         * intl/loadinfo.h: Likewise.
64816         * locale/global-locale.c: Likewise.
64817         * locale/localeinfo.h: Likewise.
64818         * mach/devstream.c: Likewise.
64819         * malloc/arena.c: Likewise.
64820         * malloc/set-freeres.c: Likewise.
64821         * misc/err.c: Likewise.
64822         * misc/getttyent.c: Likewise.
64823         * misc/mntent_r.c: Likewise.
64824         * posix/getopt.c: Likewise.
64825         * posix/wordexp.c: Likewise.
64826         * pwd/fgetpwent_r.c: Likewise.
64827         * resolv/Versions: Likewise.
64828         * resolv/res_hconf.c: Likewise.
64829         * shadow/fgetspent_r.c: Likewise.
64830         * shadow/putspent.c: Likewise.
64831         * stdio-common/printf_fphex.c: Likewise.
64832         * stdio-common/tmpfile.c: Likewise.
64833         * stdlib/abort.c: Likewise.
64834         * stdlib/fmtmsg.c: Likewise.
64835         * sunrpc/auth_unix.c: Likewise.
64836         * sunrpc/clnt_perr.c: Likewise.
64837         * sunrpc/clnt_tcp.c: Likewise.
64838         * sunrpc/clnt_udp.c: Likewise.
64839         * sunrpc/clnt_unix.c: Likewise.
64840         * sunrpc/openchild.c: Likewise.
64841         * sunrpc/svc_simple.c: Likewise.
64842         * sunrpc/svc_tcp.c: Likewise.
64843         * sunrpc/svc_udp.c: Likewise.
64844         * sunrpc/svc_unix.c: Likewise.
64845         * sunrpc/xdr.c: Likewise.
64846         * sunrpc/xdr_array.c: Likewise.
64847         * sunrpc/xdr_rec.c: Likewise.
64848         * sunrpc/xdr_ref.c: Likewise.
64849         * sunrpc/xdr_stdio.c: Likewise.
64851 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64853         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64855 2011-07-03  Andreas Jaeger  <aj@suse.de>
64857         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
64858         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
64859         regenerate with gen-libm-tests.pl.
64861 2010-05-12  Petr Baudis  <pasky@suse.cz>
64863         [BZ #11589]
64864         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
64865         around j0() zero points by switching to j1().
64866         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64867         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64868         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64869         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64871 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64873         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
64874         instead of 0.
64875         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
64876         instead of 0.
64877         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64878         Patch in part by Pavel Roskin <proski@gnu.org>.
64880         [BZ #13138]
64881         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
64882         realloc.
64883         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
64884         Free memory block if necessary.
64886         [BZ #12847]
64887         * libio/genops.c (INTDEF): For string streams the _lock pointer can
64888         be NULL.  Don't lock in this case.
64890 2011-09-09  Roland McGrath  <roland@hack.frob.com>
64892         * elf/elf.h (ELFOSABI_GNU): New macro.
64893         (ELFOSABI_LINUX): Define to that.
64895 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
64897         * string/strncat.c (strncat): Undef the symbol in case it has been
64898         defined in bits/string.h.
64900 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64902         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
64904         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
64905         link map.
64907 2011-08-17  Andreas Jaeger  <aj@suse.de>
64909         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
64911 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
64912             Ian Lance Taylor  <iant@google.com>
64914         * math/libm-test.inc (lround_test): New testcase.
64915         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
64917 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
64919         * Makefile: Remove support for automatic cvs check-ins.
64920         * Makerules: Likewise.
64921         * config.make.in: Likewise.
64922         * configure.in: Likewise.
64923         * intl/Makefile: Likewise.
64924         * locale/Makefile: Likewise.
64925         * po/Makefile: Likewise.
64926         * posix/Makefile: Likewise.
64927         * sysdeps/gnu/Makefile: Likewise.
64928         * sysdeps/mach/hurd/Makefile: Likewise.
64929         * sysdeps/sparc/sparc32/Makefile: Likewise.
64931         [BZ #13118]
64932         * posix/Makefile (bug-regex32-ENV): Define.
64933         Patch by John Stanley <jpsinthemix@verizon.net>.
64935         * misc/Makefile (headers): Add bits/select2.h.
64936         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
64937         * misc/bits/select2.h: New file.
64938         * include/bits/select2.h: New file.
64939         * debug/Makefile (routines): Add fdelt_chk.
64940         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
64941         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
64942         FD_ISSET.
64943         * debug/fdelt_chk.c: New file.
64945         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
64946         * wcsmbs/test-wmemcmp.c: Likewise.
64947         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
64948         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
64950 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64952         * string/Makefile (strop-tests): Add memcmp.
64953         * string/test-wmemcmp.c: New file.
64954         * string/test-memcmp.c: Add wmemcmp support.
64956 2011-09-08  Roland McGrath  <roland@hack.frob.com>
64958         [BZ #13153]
64959         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
64960         2011-07-19 change.
64962         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
64963         garbage value in a __mach_port_mod_refs call in the cases of the
64964         task-self and thread-self ports.
64966 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64968         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
64970 2011-09-08  Andreas Schwab  <schwab@redhat.com>
64972         * elf/dl-load.c (lose): Check for non-null L.
64974 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64976         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
64978         * elf/dl-libc.c (dlerror_run): Pass back error code from
64979         dl_catch_error.
64981         [BZ #13123]
64982         * elf/dl-load.c (lose): Free l_origin if it is valid.
64984         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
64985         names.
64986         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
64987         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64988         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
64989         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64990         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
64991         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
64993 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64995         * sysdeps/powerpc/fpu/e_hypot.c: New file.
64996         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
64997         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
64998         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
64999         * sysdeps/powerpc/fpu/k_cosf.c: New file.
65000         * sysdeps/powerpc/fpu/k_sinf.c: New file.
65001         * sysdeps/powerpc/fpu/s_cosf.c: New file.
65002         * sysdeps/powerpc/fpu/s_sinf.c: New file.
65003         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
65004         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
65006 2011-08-15  Alan Modra  <amodra@gmail.com>
65008         [BZ #13092]
65009         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
65010         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
65011         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
65012         ppc_mcount to static-only-routines.
65013         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
65014         __mcount_internal.
65015         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
65016         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
65018 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
65020         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
65021         for finite and infinity parameters.
65023 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65025         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
65026         and add nop instructions for throughput optimization.
65027         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65029 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
65031         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
65032         aligned copy for power7 with vector-scalar instructions.
65033         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
65035 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
65037         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
65038         AVX check.
65040 2011-09-07  Andreas Schwab  <schwab@redhat.com>
65042         [BZ #13144]
65043         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
65044         last change.
65046 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
65048         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65049         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
65050         syscall wrapper around clock_gettime in __vdso_clock_gettime.
65051         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
65052         clock_gettime.
65054 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65056         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
65057         Forgot to demangle the pointer.
65059         * sysdeps/i386/sysdep.h: Define atom_text_section.
65060         * sysdeps/x86_64/sysdep.h: Likewise.
65061         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
65062         section with atom_text_section.
65063         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
65064         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
65065         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
65066         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65067         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
65069         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
65070         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
65071         already be defined.  Change to take two parameters and don't assign
65072         result to variable.  Adjust all users.
65073         Define INTERNAL_GETTIME if not already defined.
65074         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
65075         call.
65076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
65077         HAVE_CLOCK_GETTIME_VSYSCALL.
65078         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
65080         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
65081         gettimeofday vsyscall, just use time.
65083 2011-09-06  Andreas Schwab  <schwab@redhat.com>
65085         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
65086         <errno.h>.
65088 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65090         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
65091         syscall on x86-64.
65092         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
65093         syscall.
65094         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
65095         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
65096         syscall if possible.
65098 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65100         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
65101         e_ident.  Don't pass to find_mapsXX.
65102         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
65104 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65107         strchr-sse2-no-bsf strrchr-sse2-no-bsf
65108         * sysdeps/x86_64/multiarch/strchr.S: Update.
65109         Check bit_slow_BSF bit.
65110         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65111         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
65112         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
65114 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65116         [BZ #13134]
65117         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
65118         before glibc 2.15.
65119         (tryshell): Define.
65120         (__spawni): Change last parameter to be flag.  Test
65121         SPAWN_XFLAGS_USE_PATH flag to use path or not.
65122         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
65123         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
65124         * posix/spawni.c: Likewise.
65125         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
65126         * posix/spawnp.c: Likewise.  Change normal version to use
65127         SPAWN_XFLAGS_USE_PATH.
65128         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
65129         SPAWN_XFLAGS_TRY_SHELL.
65131         [BZ #13150]
65132         * posix/glob.h: Remove gcc 1.x support.
65134         [BZ #13068]
65135         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
65137 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65139         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65140         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
65141         strrchr-sse2-bsf
65142         * sysdeps/i386/i686/multiarch/strchr.S: New file.
65143         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
65144         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
65145         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
65146         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
65147         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
65149 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65151         * sysdeps/x86_64/wcscmp.S: New file.
65153         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
65154         wcscmp-c wcscmp-sse2
65155         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
65156         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
65157         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
65158         * wcsmbs/wcscmp.c: Allow renaming.
65160 2011-09-05  David S. Miller  <davem@davemloft.net>
65162         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
65163         stack slot, rather than the struct return pointer slot.
65164         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
65165         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
65166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
65167         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
65169 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65171         * po/ja.po: Update from translation team.
65173         [BZ #13144]
65174         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
65175         kernel in 64-bit binaries.
65177 2011-09-01  David S. Miller  <davem@davemloft.net>
65179         * elf/elf.h (HWCAP_SPARC_*): Move to..
65180         * sysdeps/sparc/sysdep.h: this new file and add new values.
65181         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
65182         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
65183         _DL_HWCAP_COUNT to 24.
65184         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
65185         entries.
65186         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
65187         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
65188         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
65189         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
65190         instead of magic constants.
65191         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65193 2011-08-31  David S. Miller  <davem@davemloft.net>
65195         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
65196         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
65197         Reimplement to do errno handling inline.
65198         (SYSCALL_ERROR_HANDLER): New macro.
65199         (__SYSCALL_STRING): Do not do errno handling in asm.
65200         (__CLONE_SYSCALL_STRING): Delete.
65201         (__INTERNAL_SYSCALL_STRING): Delete.
65202         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
65203         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
65204         (PSEUDO): Reimplement to do errno handling inline.
65205         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
65206         (SYSCALL_ERROR_HANDLER): New macro.
65207         (__SYSCALL_STRING): Do not do errno handling in asm.
65208         (__CLONE_SYSCALL_STRING): Delete.
65209         (__INTERNAL_SYSCALL_STRING): Delete.
65210         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
65211         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
65212         i386.
65213         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
65214         (inline_syscall*): Add 'err' argument.
65215         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
65216         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
65217         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
65218         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
65220         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
65221         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65223 2011-08-30  Andreas Schwab  <schwab@redhat.com>
65225         * elf/rtld.c (dl_main): Relocate objects in dependency order.
65227 2011-08-29  Jiri Olsa <jolsa@redhat.com>
65229         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
65230         directive.
65232 2011-08-24  David S. Miller  <davem@davemloft.net>
65234         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
65236 2011-08-24  Andreas Schwab  <schwab@redhat.com>
65238         * elf/Makefile: Add rules to build and run unload8 test.
65239         * elf/unload8.c: New file.
65240         * elf/unload8mod1.c: New file.
65241         * elf/unload8mod1x.c: New file.
65242         * elf/unload8mod2.c: New file.
65243         * elf/unload8mod3.c: New file.
65245         * elf/dl-close.c (_dl_close_worker): Reset private search list if
65246         it wasn't used.
65248 2011-08-23  David S. Miller  <davem@davemloft.net>
65250         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
65251         subtract stack bias.
65252         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
65253         %sp not %fp in calculations.
65254         (_JMPBUF_UNWINDS_ADJ): Likewise.
65256         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
65257         (aio_suspend): Call it to force an exception region around the
65258         AIO_MISC_WAIT() invocation.
65260 2011-08-23  Andreas Schwab  <schwab@redhat.com>
65262         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
65263         backslash.
65265 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
65267         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
65268         protection macro.
65269         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
65270         and <dl-machine.h>.
65271         (Elf64_FuncDesc): Remove.
65273 2011-08-22  David S. Miller  <davem@davemloft.net>
65275         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
65276         sigaltstack check, add missing cfi directives.
65277         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
65278         missing cfi directives, and sigaltstack handling.
65280 2011-08-16  Andreas Schwab  <schwab@redhat.com>
65282         [BZ #11724]
65283         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
65284         object is seen twice.
65285         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65287         * elf/Makefile (distribute): Add tst-initorder2.c.
65288         (tests): Add tst-initorder2.
65289         (modules-names): Add tst-initorder2a tst-initorder2b
65290         tst-initorder2c tst-initorder2d.  Add rules to build them.
65291         ($(objpfx)tst-initorder2.out): New rule.
65292         * elf/tst-initorder2.c: New file.
65293         * elf/tst-initorder2.exp: New file.
65295 2011-08-22  Andreas Schwab  <schwab@redhat.com>
65297         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
65299         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
65300         dependencies back to end of function.
65302         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65303         $(elfobjdir)/ld.so.
65305 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
65307         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
65308         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
65309         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
65310         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
65311         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
65312         of __vdso_gettimeofday.
65313         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
65314         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
65315         attribute_hidden.
65316         (_libc_vdso_platform_setup): Remove initialization of
65317         __vdso_gettimeofday and __vdso_time.
65319 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65321         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
65322         and fgetc_unlocked.
65323         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
65324         getc_unlocked.
65326         * elf/dl-open.c (add_to_global): Report additions to the global scope
65327         for LD_DEBUG=scopes.
65328         (dl_open_worker): Also print scope of newly loaded dependencies.
65329         (_dl_show_scope): Indicate if there is no scope.
65331         [BZ #13114]
65332         * stdio-common/Makefile (tests): Add bug24.
65333         * stdio-common/bug24.c: New file.
65335 2011-08-19  Andreas Jaeger  <aj@suse.de>
65337         [BZ #13114]
65338         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
65339         non-existant file when using close-on-exec mode.
65341 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65343         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
65344         the very first instruction.
65346         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
65347         the CFI state in the end.
65348         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
65349         inclusion of dl-trampoline.h.
65350         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
65352 2011-08-19  Andreas Schwab  <schwab@redhat.com>
65354         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
65355         expectations for long double.
65357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
65358         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
65360 2011-08-14  David S. Miller  <davem@davemloft.net>
65362         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
65363         artificual limit depends upon the system page size.
65365 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65367         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
65368         * resolv/Makefile: Define CFLAGS-libresolv.
65370 2011-08-17  Andreas Schwab  <schwab@redhat.com>
65372         * nss/makedb.c (compute_tables): Make variables used in nested
65373         function static.
65375 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65377         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
65378         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
65379         if buffer was too small.
65381         * elf/pldd.c (main): Attach to all threads in the process.
65382         Rewrite /proc handling to use *at functions.
65384 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
65386         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
65387         specifies first scope to show.
65388         (dl_open_worker): Update callers.  Move printing scope of new
65389         object to before the relocation.
65390         * elf/rtld.c (dl_main): Update _dl_show_scope call.
65391         * sysdeps/generic/ldsodefs.h: Update declaration.
65393         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
65394         string for the scope number.
65396 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
65398         * nscd/servicescache.c (cache_addserv): Make sure written is always
65399         initialized.
65401 2011-08-14  Roland McGrath  <roland@hack.frob.com>
65403         * sysdeps/i386/i486/bits/atomic.h
65404         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
65405         statement expression, so as to suppress "set but not used" warning.
65406         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
65408         * string/strncat.c (STRNCAT): Use prototype definition.
65410         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
65411         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
65412         -Iprograms here.
65413         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
65414         (localedef-modules): Add localedef.
65415         (locale-modules): Add locale.
65417         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
65418         * elf/rtld.c (dl_main): Invert order of assignment in last change,
65419         to avoid a warning.
65421 2011-08-14  David S. Miller  <davem@davemloft.net>
65423         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
65424         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
65426 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
65428         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
65429         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
65430         * elf/rtld.c (dl_main): Set l_name of vDSO.
65431         Call _dl_show_scope when DL_DEBUG_SCOPES.
65432         (process_dl_debug): Recognize scopes flag and also set it for all.
65433         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
65434         Declare _dl_show_scope.
65436         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
65437         (do_dlopen): Pass caller_dlopen to dl_open.
65438         (__libc_dlopen_mode): Initialize caller_dlopen.
65440         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
65441         of libc.  Make tolower call locale-independent.  Optimize a bit by
65442         using isdigit instead of isalnum.
65443         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
65445 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
65447         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
65448         was a dependency or dynamically loaded.
65450 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
65452         * intl/l10nflist.c: Allow architecture-specific pop function.
65453         * sysdeps/x86_64/l10nflist.c: New file.
65455         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
65456         classification.
65458 2011-08-10  Andreas Schwab  <schwab@redhat.com>
65460         * include/dirent.h: Add libc_hidden_proto for scandirat and
65461         scandirat64.  Don't declare __scandirat64.
65462         * dirent/scandirat.c: Add libc_hidden_def.
65463         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
65464         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
65466 2011-08-10  David S. Miller  <davem@davemloft.net>
65468         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
65469         enum.
65470         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65471         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65472         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65474 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
65476         * Versions.def [libc]: Add GLIBC_2.15.
65477         * dirent/Makefile (routines): Add scandirat and scandirat64.
65478         * dirent/Versions [libc]: Export scandirat and scandirat64 for
65479         GLIBC_2.15.
65480         * dirent/dirent.h: Declare scandirat and scandirat64.
65481         * dirent/scandirat.c: New file.
65482         * dirent/scandirat64.c: New file.
65483         * sysdeps/wordsize-64/scandirat.c: New file.
65484         * sysdeps/wordsize-64/scandirat64.c: New file.
65485         * dirent/opendir.c: Define opendirat.
65486         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
65487         using scandirat.
65488         * dirent/scandir64.c: Adjust for scandir.c change.
65489         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
65490         __scandirat64, and __scandir_cancel_handler.
65491         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
65492         additional parameter and use openat instead of open (outside of ld.so).
65493         Add new __opendir as wrapper around __opendirat.
65494         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
65495         here without requiring old scandirat implementation.
65497 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
65499         * dirent/scandir.c (cancel_handler): Renamed to
65500         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
65501         defined.  Adjust users.
65502         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
65503         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
65505 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
65507         * string/test-string.h (IMPL): Use __STRING to expand name and then
65508         stringify it.
65510         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
65511         of cleanups.
65513 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65515         * string/Makefile: Update.
65516         (strop-tests): Append strncat.
65517         * string/test-wcscmp.c: New file.
65518         New comprehensive test for wcscmp.
65519         * string/test-strcmp.c: Update.
65520         (WIDE): New define.
65522 2011-07-22  Andreas Schwab  <schwab@redhat.com>
65524         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
65525         line.
65527 2011-07-26  Andreas Schwab  <schwab@redhat.com>
65529         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65530         encoding to ACE if AI_IDN.
65532 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
65534         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
65535         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
65537 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65539         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
65540         Fix overflow bug in strncat.
65541         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
65543         * string/test-strncat.c: Update.
65544         Add new tests for checking overflow bugs.
65546 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65548         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65549         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
65550         * sysdeps/i386/i686/multiarch/strcat.S: New file.
65551         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
65552         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
65553         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
65554         * sysdeps/i386/i686/multiarch/strncat.S: New file.
65555         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
65556         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
65558         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
65559         (USE_AS_STRCAT): Define.
65560         Add strcat and strncat support.
65561         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65563 2011-07-25  Andreas Schwab  <schwab@redhat.com>
65565         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
65566         __n bigger than INT_MAX+1.
65567         (__strncmp_g): Likewise.
65569 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
65571         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
65572         * libio/stido.h: Likewise.
65574         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
65575         (AF_NFC): Define.
65576         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
65577         (AF_NFC): Define.
65579         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
65580         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65581         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65582         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
65583         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65585         [BZ #13021]
65586         * scripts/test-installation.pl: Don't expect libnss_test1 to be
65587         installed.
65589         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
65590         typo.
65591         (_dl_x86_64_save_sse): Likewise.
65593 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
65595         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
65596         OSXSAVE.
65597         (_dl_x86_64_save_sse): Likewise.
65599         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
65601         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
65603 2011-07-21  Andreas Schwab  <schwab@redhat.com>
65605         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
65606         change.
65607         (_dl_x86_64_save_sse): Use correct AVX check.
65609 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65611         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
65612         bug in strncpy/strncat.
65613         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
65615 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
65617         * string/tester.c (test_strcat): Add tests for different alignments
65618         of source and destination.
65619         (test_strncat): Likewise.
65621 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65623         [BZ #12852]
65624         * posix/glob.c (glob): Check passed in values before using them in
65625         expressions to avoid some overflows.
65626         (glob_in_dir): Likewise.
65628         [BZ #13007]
65629         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
65630         check for AVX enablement so that we don't crash with old kernels and
65631         new hardware.
65632         * elf/tst-audit4.c: Add same checks here.
65633         * elf/tst-audit6.c: Likewise.
65635         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
65637 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
65639         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
65641 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65643         * po/cs.po: Update from translation team.
65644         * po/bg.po: Likewise.
65646 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
65648         * misc/sys/cdefs.h: Add support for const attribute.
65649         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
65650         to gnu_dev_{major,minor,makedev} functions.
65652 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
65654         * intl/dcigettext.c (get_output_charset): Add missing bracket.
65656 2011-07-20  Andreas Schwab  <schwab@redhat.com>
65658         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
65659         strlen results.
65661 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65663         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
65664         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
65665         register in order to avoid conflicts with the soft frame pointer
65666         being held in r11 when necessary.
65667         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
65668         (INTERNAL_VSYSCALL_NCS): Likewise.
65670 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
65672         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
65673         * elf/dl-fini.c (_dl_fini): Adjust caller.
65674         * elf/dl-close.c (_dl_close_worker): Likewise.
65675         * sysdeps/generic/ldsodefs.h: Adjust declaration.
65677 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65679         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
65680         "aux_cache->nlibs < 0".
65682         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
65683         in the reload-count case.
65685 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65688         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
65689         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
65690         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
65691         * sysdeps/x86_64/multiarch/strcat.S: New file.
65692         * sysdeps/x86_64/multiarch/strncat.S: New file.
65693         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
65694         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
65695         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
65696         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
65697         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
65698         (USE_AS_STRCAT): Define.
65699         Add strcat and strncat support.
65700         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65701         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
65702         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
65703         * string/strncat.c: Update.
65704         (USE_AS_STRNCAT): Define.
65705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65706         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
65707         and i7.
65708         * sysdeps/x86_64/multiarch/init-arch.h
65709         (bit_Prefer_PMINUB_for_stringop): New.
65710         (index_Prefer_PMINUB_for_stringop): Likewise.
65711         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
65712         bit_Prefer_PMINUB_for_stringop.
65714 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65716         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
65717         buffer64.
65718         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
65719         of casting of buffer.
65720         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
65721         buffer32 and buffer64.
65722         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
65723         writes instead of casting of buffer.
65724         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
65725         buffer32.
65726         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
65727         casting of buffer.
65729 2011-07-19  Andreas Schwab  <schwab@redhat.com>
65731         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
65733 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65735         * nscd/nscd.c (termination_handler): Don't do anything for a database
65736         if it has not yet been initialized.
65738 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65740         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65742 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65744         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65746 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65748         * po/nl.po: Update from translation team.
65749         * po/sv.po: Likewise.
65751 2011-07-16  Roland McGrath  <roland@hack.frob.com>
65753         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
65754         now disallowed by GCC.
65756         * configure.in (use-default-link): Default to yes if a test -shared
65757         link meets our qualifications.
65758         * configure: Regenerated.
65760         * config.make.in (output-format): New variable.
65761         * configure.in: Check for ld --print-output-format support.
65762         * configure: Regenerated.
65763         * Makerules ($(common-objpfx)format.lds)
65764         [$(output-format) != unknown]: Just use $(output-format),
65765         instead of the linker-script munging.
65767 2011-07-14  Roland McGrath  <roland@hack.frob.com>
65769         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
65770         of $(common-objpfx)shlib.lds.
65771         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
65773         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
65774         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
65776         * configure.in (-z relro check): Adjust test code to add a large
65777         writable data section after it.
65778         * configure: Regenerated.
65780 2011-07-11  Roland McGrath  <roland@hack.frob.com>
65782         * configure.in (-z relro check): Fix test code to make the variable
65783         truly const.
65784         * configure: Regenerated.
65786 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
65788         * nscd/nscd.h (struct traced_file): Define.
65789         (struct database_dyn): Remove inotify_descr, reset_res, and filename
65790         elements.  Add traced_files.
65791         (inotify_fd): Declare.
65792         (register_traced_file): Declare.
65793         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
65794         (inotify_fd): Export.
65795         (resolv_conf_descr): Remove.
65796         (nscd_init): Move inotify descriptor creation to main.
65797         Don't register files for notification here.
65798         (register_traced_file): New function.
65799         (invalidate_cache): Don't use reset_res to determine whether to call
65800         res_init, go through the list of registered files.
65801         (main_loop_poll): The inotify descriptors are now stored in the
65802         structures for the traced files.
65803         (main_loop_epoll): Likewise
65804         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
65805         to __nss_disable_nscd.
65806         * nscd/cache.c (prune_cache): There is no single inotify descriptor
65807         for a database anymore.  Check the records for all the registered
65808         files instead.
65809         * nss/Makefile (libnss_files-routines): Add files-init.
65810         (libnss_db-routines): Add db-init.
65811         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
65812         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
65813         * nss/nss_db/db-init.c: New file.
65814         * nss/nss_files/files-init.c: New file.
65815         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
65816         __nss_lookup_function.
65817         (__nss_lookup_function): Call nss_load_library.
65818         (nss_load_all_libraries): New function.
65819         (__nss_disable_nscd): Take parameter with callback function for files
65820         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
65821         used for the cached services.
65822         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
65823         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
65824         options for features to all the files in nscd.
65826         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
65828 2011-07-10  Roland McGrath  <roland@hack.frob.com>
65830         * csu/elf-init.c (__libc_csu_init): Comment typo.
65832 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
65834         * po/pl.po: Update from translation team.
65835         * po/ja.po: Likewise.
65836         * po/ru.po: Likewise.
65837         * po/ko.po: Likewise.
65838         * po/fr.po: Likewise.
65840 2011-07-09  Roland McGrath  <roland@hack.frob.com>
65842         * configure.in (.ctors/.dtors header and trailer check):
65843         Use an empirical test on a built program.
65844         * configure: Regenerated.
65846         * configure.in (-z relro check): Use an empirical test on a built DSO.
65847         Detect, but do not require, on ia64.
65848         * configure: Regenerated.
65850         * configure.in (READELF): Find it with AC_CHECK_TOOL.
65851         Update tests that use readelf to use $READELF instead.
65852         * configure: Regenerated.
65854 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
65856         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
65857         if the result is not used.
65859 2011-07-05  Andreas Jaeger  <aj@suse.de>
65861         [BZ#9696]
65862         * stdlib/tst-strtod.c: Add testcase.
65864 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
65866         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
65867         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
65868         The latter has a higher limit.  Take additional parameter to pass to
65869         the new function.
65870         (__pathconf): Pass file to __statfs_link_max.
65871         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
65872         __statfs_link_max.
65873         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
65874         __statfs_link_max.
65876         [BZ #12868]
65877         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
65878         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65879         Handle Lustre.
65880         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
65881         (__statfs_filesize_max): Likewise.
65882         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
65884 2011-07-05  Andreas Jaeger  <aj@suse.de>
65886         * resolv/res_comp.c (dn_skipname): Remove unused variable.
65888 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
65890         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
65891         `status' variable.
65892         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
65893         Likewise.
65895 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
65897         * Makefile (strop-tests): Add strncat.
65898         * string/test-strncat.c: New file.
65900 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
65902         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
65904 2011-06-21  Andreas Jaeger  <aj@suse.de>
65906         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
65907         Copy rule from iconvdata/Makefile.
65909 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65911         [BZ #12922]
65912         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
65913         but no long options are defined, just return 'W'.
65915 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
65917         [BZ #9696]
65918         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
65920 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65922         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
65923         netgroups to read.
65924         (innetgr): Likewise.
65926 2011-07-05  Roland McGrath  <roland@hack.frob.com>
65928         * config.make.in (install_root): Default to $(DESTDIR).
65930 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
65932         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
65934 2011-07-02  Roland McGrath  <roland@hack.frob.com>
65936         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
65938         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
65939         containing directory rather than embedding absolute directory names.
65941         * scripts/check-local-headers.sh: Rewritten using awk.
65942         Match by word, not by line.  Print error messages for matches.
65943         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
65945         * Makerules [shlib-lds-flags empty]:
65946         ($(common-objpfx)libc_pic.opts): New target.
65947         ($(common-objpfx)libc_pic.os.clean): New target.
65948         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
65950         * config.make.in (OBJCOPY): New variable.
65951         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
65952         * configure: Regenerated.
65954         * config.make.in (use-default-link): New variable.
65955         * configure.in (use_default_link): Grok --with-default-link to set it.
65956         * configure: Regenerated.
65957         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
65958         (shlib-lds, shlib-lds-flags): Define to empty.
65960         * Makerules (shlib-lds): New variable.
65961         (shlib-lds-flags): New variable.
65962         (build-shlib, build-moduile, build-module-asneeded): Use it.
65963         ($(common-objpfx)libc.so): Use $(shlib-lds).
65964         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
65965         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
65967         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
65968         DT_FLAGS/DT_FLAGS_1 with zero flags.
65970         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
65971         linker script munging.
65973 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
65975         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
65976         as 128-bit value.
65977         * crypt/sha512.c (sha512_process_block): Perform total addition using
65978         128-bit if possible.
65979         (__sha512_finish_ctx): Likewise.
65980         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
65981         as 64-bit value.
65982         * crypt/sha256.c (SWAP64): Define.
65983         (sha256_process_block): Perform total addition using 64-bit if
65984         possible.
65985         (__sha256_finish_ctx): Likewise.
65987 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
65989         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
65990         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65991         * nscd/hstcache.c (cache_addhst): Likewise.
65992         * nscd/grpcache.c (cache_addgr): Likewise.
65993         * nscd/aicache.c (addhstaiX): Likewise
65994         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
65996 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
65998         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
65999         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66000         * nscd/hstcache.c (cache_addhst): Likewise.
66001         * nscd/grpcache.c (cache_addgr): Likewise.
66002         * nscd/aicache.c (addhstaiX): Likewise
66004 2011-07-01  Andreas Schwab  <schwab@redhat.com>
66006         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
66007         domain only when needed.
66009 2011-06-30  Andreas Schwab  <schwab@redhat.com>
66011         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
66012         is always restored.
66014 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
66016         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
66017         are re-adding the entry.
66018         * nscd/servicescache.c (cache_addserv): Likewise.
66020 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
66022         * sysdeps/generic/dl-irel.h: fix protection against multiple
66023         inclusions.
66024         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
66026 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
66028         [BZ #12935]
66029         * malloc/memusage.sh: Fix quoting in message.
66030         * debug/xtrace.sh: Likewise.
66032         * configure.in: Remove support for --experimental-malloc option, make
66033         it the default.
66034         * config.make.in: Likewise.
66035         * malloc/Makefile: Likewise.
66037 2011-06-27  Andreas Schwab  <schwab@redhat.com>
66039         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
66040         two-byte characters.
66042 2011-06-27  Roland McGrath  <roland@hack.frob.com>
66044         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
66045         AC_CACHE_CHECK invocation.
66046         * configure: Regenerated.
66048         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
66050 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
66052         [BZ #12350]
66053         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
66054         bit from old_res_options.
66056         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
66058         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
66059         value type for setfct.
66061 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
66063         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66064         __gettimeofday instead of gettimeofday.
66066 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
66068         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
66070 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
66072         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
66074         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
66075         info.
66077 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66080         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66081         strcpy-sse2-unaligned strncpy-sse2-unaligned
66082         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
66083         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
66084         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
66085         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
66086         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
66087         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
66088         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
66089         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
66090         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
66091         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
66092         (STRCPY): Support SSE2 and SSSE3 versions.
66094 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
66096         [BZ #12874]
66097         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
66098         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
66099         kernels which artificially limit size of requests.
66101 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66103         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66104         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66105         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
66106         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
66107         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
66108         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
66109         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
66110         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
66111         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
66112         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
66113         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
66114         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
66115         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
66116         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
66117         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
66118         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66119         Enable unaligned load optimization for Intel Core i3, i5 and i7
66120         processors.
66121         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
66122         Define.
66123         (index_Fast_Unaligned_Load): Define.
66124         (HAS_FAST_UNALIGNED_LOAD): Define.
66126 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
66128         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
66130 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66132         [BZ #12907]
66133         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
66134         until it is clear that the information is realy needed.
66135         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
66137 2011-06-22  Andreas Schwab  <schwab@redhat.com>
66139         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
66141 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66143         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66144         /sys/devices/system/cpu/online if it is usable.
66146         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
66147         reading the information from the /proc filesystem to once a second.
66149 2011-06-21  Andreas Jaeger  <aj@suse.de>
66151         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
66152         NULL after inclusion of kernel headers.
66154 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
66156         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
66157         calls to internal_setent.
66159         [BZ #12885]
66160         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
66161         addresses using gethostbyname4_r ignore IPv4 addresses.
66163         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
66164         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
66166         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
66168 2011-06-20  David S. Miller  <davem@davemloft.net>
66170         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
66171         inclusions.
66172         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
66174         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
66175         (elf_irel): Use it.
66176         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
66177         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
66178         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
66179         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
66180         * sysdeps/x86_64/dl-irel.h: Likewise.
66182         * elf/dl-runtime.c: Use elf_ifunc_invoke.
66183         * elf/dl-sym.c: Likewise.
66185 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66187         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
66188         need to dereference resplen2.
66190 2011-06-14  Andreas Schwab  <schwab@redhat.com>
66192         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
66194 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66196         * Makeconfig: Define vardbdir and inst_vardbdir.
66197         * nss/Makefile: Add rules to install db-Makefile.
66199         * nss/nss_db/db-XXX.c: Cleanup.
66201         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
66202         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
66203         GLIBC_PRIVATE.
66204         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
66205         * nss/makedb.c: Implement -g option to specify that value strings
66206         are generated and should not be added to table iterated over for
66207         get*ent calls.
66208         * nss/nss_db/db-initgroups.c: New file.
66210         * nss/getent.c: Add support for initgroups lookups through getgrouplist
66211         interface.
66213         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
66214         (internal_getgrouplist): Adjust to name change.
66215         Update use_initgroups_entry if this is not the first call.
66216         * nss/databases.def: Add initgroups entry.
66218         * nss/makedb.c (compute_tables): Check result of multiple hash table
66219         sizes to minimize maximum chain length.
66221 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
66223         * Versions.def: Add entry for libnss_db.
66224         * shlib-versions: Likewise.
66225         * nss/Makefile: Add rules to build libnss_db.
66226         * nss/Versions: Add libnss_db information.  Organize libnss_files
66227         entries better.
66228         * nss/db-Makefile: Add gshadow support.  Change rules for the new
66229         makedb progra.  Some minor improvements to generate smaller files.
66230         * nss/nss_db/nss_db.h: Move NSS database header data structures to
66231         here from...
66232         * nss/makedb.c: ...here.
66233         Improve database format to be smaller and require less memory at
66234         runtime.
66235         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
66236         db anymore.
66237         * nss/nss_db/db-netgrp.c: Likewise.
66238         * nss/nss_db/db-open.c: Likewise.
66239         * nss/nss_files/flies-XXX.x: Adjust comments.
66240         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
66241         * nss/nss_files/files-grp.c: Likewise.
66242         * nss/nss_files/files-hosts.c: Likewise.
66243         * nss/nss_files/files-network.c: Likewise.
66244         * nss/nss_files/files-proto.c: Likewise.
66245         * nss/nss_files/files-pwd.c: Likewise.
66246         * nss/nss_files/files-rpc.c: Likewise.
66247         * nss/nss_files/files-service.c: Likewise.
66248         * nss/nss_files/files-sgrp.c: Likewise.
66249         * nss/nss_files/files-spwd.c: Likewise.
66250         * nss/nss_db/db-alias.c: Removed.
66251         * nss/nss_db/dummy-db.h: Removed.
66253 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
66255         * nss/makedb.c: Rewritten to not use database library.
66256         * nss/Makefile: Update to build new makedb program.
66258 2011-06-14  Andreas Jaeger  <aj@suse.de>
66260         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
66261         memset declaration.
66263 2011-06-10  Andreas Schwab  <schwab@redhat.com>
66265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
66266         tmpbuf.
66268 2011-06-10  Roland McGrath  <roland@hack.frob.com>
66270         * Makerules (shlib.lds): Fail if the linker script comes out empty.
66271         * elf/Makefile ($(objpfx)ld.so): Likewise.
66273         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
66274         Don't list ld.so twice in dependencies.
66276         * posix/bug-regex31.c: Include <stdlib.h>.
66278         * nscd/hstcache.c (cache_addhst): Remove unused variable.
66280         * nis/nss_compat/compat-spwd.c
66281         (getspent_next_nss_netgr): Remove unused variable.
66282         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
66284         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
66285         nonmembers" output to use the right array.
66287         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
66289         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
66291         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
66292         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
66293         * catgets/gencat.c (read_input_file): Likewise.
66294         * locale/programs/locarchive.c (enlarge_archive): Likewise.
66296         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
66297         variable definition inside #if's controlling its use.
66299         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
66301         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
66303         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
66305         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
66306         unreachable code.
66308         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
66310         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
66311         * configure: Regenerated.
66313         * Makerules: Revert last change.
66314         * elf/Makefile: Likewise.
66316 2011-06-09  Roland McGrath  <roland@hack.frob.com>
66318         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
66319         * elf/Makefile ($(objpfx)librtld.os): Likewise.
66320         (reloc-link): Likewise.
66322 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
66324         * elf/Makefile: Add rules to build pldd.
66325         * elf/pldd.c: New file.
66326         * elf/pldd-xx.c: New file.
66328 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
66330         * version.h: Update for 2.15 development version.
66332 2011-06-07  David S. Miller  <davem@davemloft.net>
66334         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
66335         ifuncs.
66336         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
66337         elf_machine_lazy_rel): Likewise.
66338         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
66339         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
66340         elf_machine_lazy_rel): Likewise.
66341         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
66342         dl_hwcap via passed in argument.
66343         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
66344         Likewise.
66346 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66348         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
66350 2011-06-06  Roland McGrath  <roland@hack.frob.com>
66352         [BZ #12849]
66353         * manual/fdl-1.1.texi: New file, verbatim from:
66354         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
66355         * manual/lgpl-2.1.texi: New file, verbatim from:
66356         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
66357         * manual/Makefile (licenses): New variable, list those new file names.
66358         (texis): Use it.
66359         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
66361         * manual/fdl.texi: File removed.
66362         * manual/lesser.texi: File removed.
66363         * manual/libc.texinfo (Copying, Documentation License):
66364         Use new @include file names, put @appendix directive before @include.
66366 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
66368         [BZ #12841]
66369         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
66370         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
66371         (mq_open): Add __NTH.
66373 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
66375         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66376         Assume Intel Core i3/i5/i7 processor if AVX is available.
66378 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66380         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66381         typo.
66383 2011-05-31  Andreas Schwab  <schwab@redhat.com>
66385         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
66386         memory.  Use alloca_account.  Fix memory leak when retrying.
66388 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66390         * version.h (RELEASE): Bump for 2.14 release.
66391         * include/features.h (__GLIBC_MINOR__): Bump to 14.
66393         * config.make.in (RANLIB): Remove entry.
66395 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
66397         * po/Makefile (po-sed-cmd): Add ksh to extensions.
66398         (libc.pot): Work around missing support for .ksh extension in xgettext.
66400         [BZ #12684]
66401         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
66402         if both request failed.
66403         (send_dg): In case of server errors clear resplen or *resplen2.
66405         [BZ #12454]
66406         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
66407         when there are multiple maps.
66408         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
66409         (_dl_fini): Remove test here.
66411         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
66413 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
66415         [BZ #12350]
66416         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
66417         bit from old_res_options.
66418         (gaih_inet): Likewise.
66420         [BZ #11099]
66421         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
66422         as signed.
66424         * resolv/res_init.c (res_setoptions): Make the code more compact.
66426         [BZ #11558]
66427         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
66428         set RES_USEVC.
66430         [BZ #11634]
66431         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
66433         * malloc/malloc.h: Mark malloc hook variables as deprecated.
66435         [BZ #11781]
66436         * malloc/malloc.h: Declare malloc hook variables as volatile.
66438         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
66439         in last patch.
66441         [BZ #11799]
66442         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
66443         raise in the comment.
66444         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66445         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66446         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
66448 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
66450         [BZ #12811]
66451         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
66452         grow the buffers more if it already has to be sufficient.
66453         (build_wcs_upper_buffer): Likewise.
66454         * posix/regexec.c (check_matching): Likewise.
66455         (clean_state_log_if_needed): Likewise.
66456         (extend_buffers): Don't enlarge buffers beyond size of the input
66457         buffer.
66458         Patches mostly by Emil Wojak <emil@wojak.eu>.
66459         * posix/bug-regex32.c: New file.
66460         * posix/Makefile (tests): Add bug-regex32.
66462         * locale/findlocale.c (_nl_find_locale): Return right away if
66463         _nl_explode_name failed.
66464         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
66466         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
66468         * debug/xtrace.sh: Unify messages.
66469         * malloc/memusage.sh: Likewise.
66471         [BZ #12813]
66472         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
66473         time symbol from vDSO.  Substitute with vsyscall if not available.
66474         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
66475         __vdso_time.
66477         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
66478         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
66479         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
66480         Add sendmmsg and internal_sendmmsg.
66481         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
66482         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
66483         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
66485         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
66486         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
66487         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
66489 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
66491         [BZ #12813]
66492         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
66493         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
66494         available.
66495         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
66496         __vdso_getcpu.
66498         [BZ #12814]
66499         * iconvdata/Makefile (tests): Add bug-iconv9.
66500         * iconvdata/bug-iconv9.c: New file.
66502 2011-05-27  Andreas Schwab  <schwab@redhat.com>
66504         [BZ #12814]
66505         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
66507 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
66509         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66510         (struct user_regs_struct): Change intcs field back to cs.
66512 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
66514         * po/ja.po: Update from translation team.
66516 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
66518         [BZ #12795]
66519         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
66520         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
66522 2011-05-20  Andreas Schwab  <schwab@redhat.com>
66524         * stdlib/longlong.h: Update from GCC.
66526 2011-05-23  Andreas Schwab  <schwab@redhat.com>
66528         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
66529         parameter name.
66530         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
66531         Add parameter name.
66532         (__sysconf): Pass it down.
66534 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
66536         [BZ #12671]
66537         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
66538         some situations.
66539         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
66540         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
66541         add in in __libc_use_alloca calls.  Adjust callers.
66542         (glob): Use malloc in some situations.
66544         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
66545         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
66546         pltexit.
66548 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
66550         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
66551         and CLOCK_BOOTTIME_ALARM.
66553         [BZ #12782]
66554         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
66555         is returned.
66557         * string/_strerror.c (__strerror_r): Print negative errors as signed
66558         numbers.
66560         [BZ #12777]
66561         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
66562         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
66563         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
66565         * configure.in: Fix typo in redirection and correct removal of test
66566         files in two cases.
66568         [BZ #12788]
66569         * locale/setlocale.c (new_composite_name): Fix test to check for
66570         identical name of all categories.
66572         [BZ #12792]
66573         * libio/filedoalloc.c (local_isatty): New function.
66574         (_IO_file_doallocate): Use local_isatty.
66575         * stdio-common/perror.c (perror): In case a new stream is used
66576         forward the stream error.
66577         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
66578         error flag.
66580 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
66582         [BZ #11869]
66583         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
66584         alloca.
66585         * include/alloca.h (extend_alloca_account): Define.
66587         [BZ #11857]
66588         * posix/regex.h: Fix comments with documentation of user-accessible
66589         fields after compilation and describe correct free'ing of pattern
66590         after re_compile_pattern.
66591         Patch by Reuben Thomas <rrt@sc3d.org>.
66593 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
66595         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
66596         and -mno-altivec to prevent the compiler from using Altivec and/or
66597         VSX instructions when the corresponding registers are not available.
66599 2011-05-19  Andreas Schwab  <schwab@redhat.com>
66601         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
66603 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
66605         * libio/freopen.c (freopen): Use __dup2, not dup2.
66606         * libio/freopen64.c (freopen64): Likewise.
66608 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66610         [BZ #12775]
66611         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
66612         * math/Makefile (tests): Add test-powl.
66613         (CFLAGS-test-powl.c): Define.
66614         * math/test-powl.c: New file.
66616 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66618         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
66620 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
66622         [BZ #11837]
66623         * iconvdata/gb18030.c: Update to GB18020-2005.
66625 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
66627         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
66628         RE_SYNTAX_POSIX_AWK): Update to match recent development.
66629         Patch by Aharon Robbins <arnold@skeeve.com>.
66631         [BZ #11892]
66632         * stdlib/putenv.c (putenv): Don't always create copy of the variable
66633         on the stack.
66635         [BZ #11895]
66636         * misc/pselect.c (__pselect): Handle timeout value errors hidden
66637         through underflows.
66639         [BZ #12766]
66640         * misc/error.c (error_at_line): Ensure file_name and old_file_name
66641         point to strings before performing equality test for error_one_per_line
66642         mode.
66644         [BZ #11697]
66645         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
66647         [BZ #11820]
66648         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66649         (struct user_fpregs_struct): Avoid __uint*_t types.
66651         [BZ #6420]
66652         * malloc/mtrace.c (tr_where): Add additional parameter to point to
66653         symbol info.  Use it instead of calling _dl_addr locally.
66654         (lock_and_info): New function.
66655         (tr_freehook): Call lock_and_info and pass symbol info as additional
66656         parameter to tr_where.
66657         (tr_mallochook): Likewise.
66658         (tr_reallochook): Likewise.
66659         (tr_memalignhook): Likewise.
66661         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
66662         used and couldn't be at all thread-safe.
66664 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
66666         * libio/freopen.c (freopen): Don't close old file descriptor
66667         before the new one is opened.  Instead dup the new file descriptor
66668         to the old one after the new stream is created.
66669         * libio/freopen64.c (freopen64): Likewise.
66670         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
66671         * libio/fileops.c (_IO_new_file_close_it): Handle new
66672         _IO_FLAGS2_NOCLOSE flag.
66673         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
66674         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
66675         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
66676         _IO_FLAGS2_NOCLOSE flag.
66677         * include/unistd.h: Add hidden_proto for dup3.
66678         Define __have_dup3.
66679         * io/dup3.c: Define hidden symbol.
66680         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
66682         [BZ #7101]
66683         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
66684         when an incomplete long option is used.
66685         * posix/tst-getopt_long1.c: New file.
66686         * posix/Makefile (tests): Add tst-getopt_long1.
66688         [BZ #10138]
66689         * scripts/config.guess: Update from autoconf-2.68.
66690         * scripts/config.sub: Likewise.
66692         [BZ #10157]
66693         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
66694         tests into ...
66695         (has_cpuclock): ...this.  New function.
66696         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
66697         macro here based on has_cpuclock code.
66699         [BZ #10149]
66700         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66701         First byte (not low byte) is now always NUL.
66702         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
66704         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66705         Use non-cancelable interfaces.
66707         [BZ #9809]
66708         * locale/iso-639.def: Add entry for Sorani.
66710         [BZ #11901]
66711         * include/stdlib.h: Move include protection to the right place.
66712         Define abort_msg_s.  Declare __abort_msg with it.
66713         * stdlib/abort.c (__abort_msg): Adjust type.
66714         * assert/assert.c (__assert_fail_base): New function.  Majority
66715         of code from __assert_fail.  Allocate memory for __abort_msg with
66716         mmap.
66717         (__assert_fail): Now call __assert_fail_base.
66718         * assert/assert-perr.c: Remove bulk of implementation.  Use
66719         __assert_fail_base.
66720         * include/assert.hL Declare __assert_fail_base.
66721         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
66722         mmap.
66723         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
66725 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
66727         [BZ #11952]
66728         [BZ #12453]
66729         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
66730         until all modules are registered in the DTV.
66731         * elf/Makefile: Add rules to build and run tst-tls19.
66732         * elf/tst-tls19.c: New file.
66733         * elf/tst-tls19mod1.c: New file.
66734         * elf/tst-tls19mod2.c: New file.
66735         * elf/tst-tls19mod3.c: New file.
66736         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
66738         [BZ #12083]
66739         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
66740         correctly.
66742         [BZ #12601]
66743         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
66744         two-byte sequence errors.
66745         * iconvdata/Makefile (tests): Add bug-iconv8.
66746         * iconvdata/bug-iconv8.c: New file.
66748         [BZ #12626]
66749         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
66750         buf2 definition.
66752         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
66754         [BZ #12432]
66755         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
66756         (dummy_getcfa): New function.
66757         (init): Get _Unwind_GetCFA address, use dummy if not found.
66758         (backtrace_helper): In recursion check, also check whether CFA changes.
66759         (__backtrace): Completely initialize arg.
66761         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
66762         storing incomplete byte sequence in state object.  Avoid testing for
66763         guaranteed too small input if we know there is enough data available.
66765 2011-05-11  Andreas Schwab  <schwab@redhat.com>
66767         * Makeconfig (+link-pie): Indent.
66768         * Rules (binaries-pie): Define if $(have-fpie) and
66769         $(build-shared).
66770         (binaries-shared): Also filter out $(binaries-pie).
66771         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
66772         * nscd/Makefile (others-pie): Add nscd.
66773         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
66774         ($(objpfx)nscd): Remove command override.
66775         * login/Makefile (others-pie): Add pt_chown.
66776         ($(objpfx)pt_chown): Remove command override.
66777         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
66778         remove command overrides.
66780 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
66782         * libio/tst_putwc.c: Fix error messages.
66784         [BZ #12724]
66785         * libio/fileops.c (_IO_new_file_close_it): Always flush when
66786         currently writing and seek to current position when not.
66787         * libio/Makefile (tests): Add bug-fclose1.
66788         * libio/bug-fclose1.c: New file.
66790 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
66792         [BZ #12511]
66793         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
66794         don't set DF_1_NODELETE here.
66795         (do_lookup_x): When entering new entry test for copy relocation
66796         and if necessary set DF_1_NODELETE flag.
66797         * elf/tst-unique4.cc: New file.
66798         * elf/tst-unique4.h: New file.
66799         * elf/tst-unique4lib.cc: New file.
66800         * elf/Makefile: Add rules to build and run tst-unique4.
66801         Patch by Piotr Bury <pbury@goahead.com>.
66803 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
66805         [BZ #12052]
66806         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
66808         [BZ #12625]
66809         * misc/mntent_r.c (addmntent): Flush the stream after the output
66811         [BZ #12393]
66812         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
66813         (is_trusted_path_normalize): Skip initial colon.  Append slash
66814         to empty buffer.  Duplicate is_trusted_path code but allow
66815         constructed patch to be prefix.
66816         (is_dst): Allow $ORIGIN followed by /.
66817         (_dl_dst_substitute): Correct clearing of check_for_trusted.
66818         Correct testing of result of is_trusted_path_normalize
66819         (decompose_rpath): Fix warning.
66821 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
66823         [BZ #11257]
66824         * grp/initgroups.c (internal_getgrouplist): When we found the service
66825         list through the initgroups entry in nsswitch.conf do not always
66826         continue on a successful lookup.  Don't always use the
66827         __nss_group_database value if it is set.
66828         * nss/nsswitch.conf (initgroups): Change action for successful db
66829         lookup to continue for compatibility.
66831 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
66833         [BZ #11532]
66834         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
66835         and CP774 modules.
66836         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
66837         and CP774 modules.
66838         * iconvdata/tst-tables.sh: Likewise.
66839         * iconvdata/cp770.c: New file.
66840         * iconvdata/cp771.c: New file.
66841         * iconvdata/cp772.c: New file.
66842         * iconvdata/cp773.c: New file.
66843         * iconvdata/cp774.c: New file.
66844         * iconvdata/testdata/CP770: New file.
66845         * iconvdata/testdata/CP770..UTF8: New file.
66846         * iconvdata/testdata/CP771: New file.
66847         * iconvdata/testdata/CP771..UTF8: New file.
66848         * iconvdata/testdata/CP772: New file.
66849         * iconvdata/testdata/CP772..UTF8: New file.
66850         * iconvdata/testdata/CP773: New file.
66851         * iconvdata/testdata/CP773..UTF8: New file.
66852         * iconvdata/testdata/CP774: New file.
66853         * iconvdata/testdata/CP774..UTF8: New file.
66855         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
66856         END CHARMAP line.
66857         * iconvdata/gen-8bit-gap.sh: Likewise.
66858         * iconvdata/gen-8bit.sh: Likewise.
66860         * locale/iso-639.def: Add ary entry.
66862         [BZ #11258]
66863         * locale/C-translit.h.in: Add U20A1 transliteration.
66865         [BZ #12178]
66866         * locale/iso-639.def: Add wae entry.
66867         Patch by Kevin Bortis <bortis@translate-wae.ch>.
66869         [BZ #12545]
66870         * locale/programs/localedef.c (construct_output_path): Use ssize_t
66871         for n.
66873         [BZ #12711]
66874         * locale/C-translit.h.in: Add entry for U20B9.
66875         Patch by pravin.d.s@gmail.com.
66877 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
66879         [BZ #12713]
66880         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
66881         ENAMETOOLONG use generic getcwd.
66882         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
66883         in rtld.  Use *stat64.
66884         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
66885         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
66886         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
66887         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
66888         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
66889         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
66890         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
66891         __fstatat64 macros.
66892         * include/dirent.h: Add libc_hidden_proto for rewinddir.
66893         * dirent/rewinddir.c: Add libc_hidden_def.
66894         * sysdeps/mach/hurd/rewinddir.c: Likewise.
66895         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
66897         * include/dirent.h (__alloc_dir): Add flags parameter.
66898         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
66899         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
66900         __alloc_dir.
66901         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
66902         from fdopendir if O_CLOEXEC is already set.
66904 2011-03-15  Alan Modra  <amodra@gmail.com>
66906         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
66907         l_tls_firstbyte_offset non-zero.  Save padding offset in
66908         l_tls_firstbyte_offset for later use.
66909         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
66910         freeing static tls block.
66912 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
66914         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
66915         where #ifdef was intended.  The intent is to prevent ARG_MAX from
66916         being defined by the kernel headers.
66918 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
66920         [BZ #12734]
66921         * resolv/resolv.h: Define RES_NOTLDQUERY.
66922         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
66923         no-tld-query and set RES_NOTLDQUERY.
66924         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
66925         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
66926         modern BIND to search name as TLD unless forbidden.
66928 2011-05-07  Petr Baudis  <pasky@suse.cz>
66929             Ulrich Drepper  <drepper@gmail.com>
66931         [BZ #12393]
66932         * elf/dl-load.c (fillin_rpath): Move trusted path check...
66933         (is_trusted_path): ...to here.
66934         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
66935         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
66936         using is_trusted_path_normalize() in setuid scripts.
66938 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66940         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
66941         __BEGIN/__END_DECLS.
66943 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
66945         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
66946         NSS_STATUS_NOTFOUND if no record was found.
66948 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66950         * sunrpc/Makefile (headers): Add rpc/netdb.h.
66951         (headers-not-in-tirpc): Remove rpc/netdb.h
66952         * resolv/netdb.h: Revert last change.
66954 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66956         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
66957         circular dependency between libgcc.a and libc.a.
66959 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66961         * resolv/netdb.h: Don't include <rpc/netdb.h>.
66962         * nis/Makefile: Don't install rpcsvc/*.
66963         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
66964         instead of <rpc/types.h>.
66965         (MAXHOSTNAMELEN): Define.
66967 2011-05-03  Andreas Schwab  <schwab@redhat.com>
66969         * elf/ldconfig.c (add_dir): Don't crash on empty path.
66971 2011-04-28  Maciej Babinski  <mbabinski@google.com>
66973         [BZ #12714]
66974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
66975         gethostbyname4_r when IPv6 results are possible.
66977 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
66979         [BZ #12723]
66980         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
66981         _PC_PIPE_BUF handling.
66983 2011-04-30  Bruno Haible  <bruno@clisp.org>
66985         [BZ #12717]
66986         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
66987         * resolv/netdb.h (getnameinfo): Change type of flags parameter
66988         to 'int'.
66989         * inet/getnameinfo.c (getnameinfo): Likewise.
66991 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
66993         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
66994         to groups setting in database lookup.
66995         * nss/nsswitch.conf: Add initgroups entry.
66997 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
66999         [BZ #12685]
67000         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
67001         mode string.
67002         Patch by Eric Blake <eblake@redhat.com>.
67004 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
67006         * sunrpc/Makefile (need-export-routines): Add svc_run.
67007         (routines): Remove svc_run.
67008         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
67009         * sunrpc/clnt_perr.c (clnt_perrno): Export.
67010         * sunrpc/svc_run.c (svc_run): Likewise.
67011         * sunrpc/svc_udp.c (svcudp_create): Likewise.
67013 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
67015         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
67016         problem in reallocation in last patch.
67018 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
67020         * sunrpc/Makefile: Move inclusion of Rules.
67022 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67024         * nss/nss_files/files-initgroups.c: New file.
67025         * nss/Makefile (libnss_files-routines): Add files-initgroups.
67026         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
67027         _nss_files_initgroups_dyn.
67029 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
67031         * elf/elf.h (R_ARM_IRELATIVE): Define.
67033 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67035         * po/ru.po: Update from translation team.
67037 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67039         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
67040         dependencies.
67042 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
67044         [BZ #12653]
67045         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
67046         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
67047         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67048         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67049         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67051 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
67053         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
67054         differing bytes.
67055         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67056         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67057         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67059 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67061         [BZ #12420]
67062         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
67063         storing it.
67064         * stdlib/bug-getcontext.c: New file.
67065         * stdlib/Makefile: Add rules to build and run bug-getcontext.
67067 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67069         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
67070         instructions into .machine "z9-109".
67071         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
67072         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
67074 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67076         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
67077         between environment variables and auxiliary vector.
67079 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
67081         * Makefile: Add rules to build linkobj/libc.so.
67082         * include/libc-symbols.h: Define libc_hidden_nolink.
67083         * include/rpc/auth.h: Mark functions which are to be hidden.
67084         * include/rpc/auth_des.h: Likewise.
67085         * include/rpc/auth_unix.h: Likewise.
67086         * include/rpc/clnt.h: Likewise.
67087         * include/rpc/des_crypt.h: Likewise.
67088         * include/rpc/key_prot.h: Likewise.
67089         * include/rpc/pmap_clnt.h: Likewise.
67090         * include/rpc/pmap_prot.h: Likewise.
67091         * include/rpc/pmap_rmt.h: Likewise.
67092         * include/rpc/rpc_msg.h: Likewise.
67093         * include/rpc/svc.h: Likewise.
67094         * include/rpc/svc_auth.h: Likewise.
67095         * include/rpc/xdr.h: Likewise.
67096         * nis/Makefile: Link all DSOs against linkobj/libc.so.
67097         * nss/Makefile: Likewise.
67098         * sunrpc/Makefile: Don't install headers.  Build library with normal
67099         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
67100         * sunrpc/auth_des.c: Hide exported symbols by default, export some
67101         for the compat linking library.  Remove use of INTDEF/INTUSE.
67102         * sunrpc/auth_none.c: Likewise.
67103         * sunrpc/auth_unix.c: Likewise.
67104         * sunrpc/authdes_prot.c: Likewise.
67105         * sunrpc/authuxprot.c: Likewise.
67106         * sunrpc/clnt_gen.c: Likewise.
67107         * sunrpc/clnt_perr.c: Likewise.
67108         * sunrpc/clnt_raw.c: Likewise.
67109         * sunrpc/clnt_simp.c: Likewise.
67110         * sunrpc/clnt_tcp.c: Likewise.
67111         * sunrpc/clnt_udp.c: Likewise.
67112         * sunrpc/clnt_unix.c: Likewise.
67113         * sunrpc/des_crypt.c: Likewise.
67114         * sunrpc/des_soft.c: Likewise.
67115         * sunrpc/get_myaddr.c: Likewise.
67116         * sunrpc/key_call.c: Likewise.
67117         * sunrpc/key_prot.c: Likewise.
67118         * sunrpc/netname.c: Likewise.
67119         * sunrpc/pm_getmaps.c: Likewise.
67120         * sunrpc/pm_getport.c: Likewise.
67121         * sunrpc/pmap_clnt.c: Likewise.
67122         * sunrpc/pmap_prot.c: Likewise.
67123         * sunrpc/pmap_prot2.c: Likewise.
67124         * sunrpc/pmap_rmt.c: Likewise.
67125         * sunrpc/publickey.c: Likewise.
67126         * sunrpc/rpc_cmsg.c: Likewise.
67127         * sunrpc/rpc_common.c: Likewise.
67128         * sunrpc/rpc_dtable.c: Likewise.
67129         * sunrpc/rpc_prot.c: Likewise.
67130         * sunrpc/rpc_thread.c: Likewise.
67131         * sunrpc/rtime.c: Likewise.
67132         * sunrpc/svc.c: Likewise.
67133         * sunrpc/svc_auth.c: Likewise.
67134         * sunrpc/svc_authux.c: Likewise.
67135         * sunrpc/svc_raw.c: Likewise.
67136         * sunrpc/svc_run.c: Likewise.
67137         * sunrpc/svc_simple.c: Likewise.
67138         * sunrpc/svc_tcp.c: Likewise.
67139         * sunrpc/svc_udp.c: Likewise.
67140         * sunrpc/svc_unix.c: Likewise.
67141         * sunrpc/svcauth_des.c: Likewise.
67142         * sunrpc/xcrypt.c: Likewise.
67143         * sunrpc/xdr.c: Likewise.
67144         * sunrpc/xdr_array.c: Likewise.
67145         * sunrpc/xdr_float.c: Likewise.
67146         * sunrpc/xdr_intXX_t.c: Likewise.
67147         * sunrpc/xdr_mem.c: Likewise.
67148         * sunrpc/xdr_rec.c: Likewise.
67149         * sunrpc/xdr_ref.c: Likewise.
67150         * sunrpc/xdr_sizeof.c: Likewise.
67151         * sunrpc/xdr_stdio.c: Likewise.
67153 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
67155         [BZ #12650]
67156         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
67157         * sysdeps/ia64/dl-tls.h: Likewise.
67158         * sysdeps/powerpc/dl-tls.h: Likewise.
67159         * sysdeps/s390/dl-tls.h: Likewise.
67160         * sysdeps/sh/dl-tls.h: Likewise.
67161         * sysdeps/sparc/dl-tls.h: Likewise.
67162         * sysdeps/x86_64/dl-tls.h: Likewise.
67163         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
67165 2011-03-14  Andreas Schwab  <schwab@redhat.com>
67167         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
67168         rpath element also skip the following colon.
67169         (expand_dynamic_string_token): Add is_path parameter and pass
67170         down to DL_DST_REQUIRED and _dl_dst_substitute.
67171         (decompose_rpath): Call expand_dynamic_string_token with
67172         non-zero is_path.  Ignore empty rpaths.
67173         (_dl_map_object_from_fd): Call expand_dynamic_string_token
67174         with zero is_path.
67176 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
67178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67179         Make cancelable.
67181 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
67183         [BZ #12655]
67184         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
67185         Patch by Filipe David Manana <fdmanana@apache.org>.
67187 2011-04-07  Andreas Schwab  <schwab@redhat.com>
67189         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
67190         Maintain aligned stack.
67191         (CHECK_RSP): Remove unused macro.
67193 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
67195         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
67196         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
67198 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
67200         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
67202         * include/features.h: Mention __USE_XOPEN2K8 in comment.
67204 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
67206         [BZ #12518]
67207         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
67208         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
67209         * sysdeps/x86_64/memmove.c: New file.
67210         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
67211         (memcpy): Renamed to ...
67212         (__new_memcpy): This.
67213         (memcpy): Provide GLIBC_2_14 memcpy.
67214         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
67215         (memcpy): Provide GLIBC_2_2_5 memcpy.
67217 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67219         [BZ #12631]
67220         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
67222 2011-03-30  Andreas Schwab  <schwab@redhat.com>
67224         * misc/syncfs.c: New file.
67225         * misc/Makefile (routines): Add syncfs.
67226         * posix/unistd.h: Declare syncfs.
67227         * sysdeps/unix/syscalls.list: Add syncfs.
67229 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67231         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
67232         open_by_handle_at.
67233         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
67234         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67235         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67236         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67237         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67238         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
67239         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67241 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67243         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
67244         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67245         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
67246         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67247         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67248         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67249         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67251         * io/Makefile: Compile fallocate.c, fallocate64.c, and
67252         sync_file_range.c with -fexceptions.
67253         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
67254         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
67255         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
67256         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
67257         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
67258         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67259         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
67260         sync_file_range as cancellation point
67261         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
67262         now a wrapper around __call_sync_file_range with cancellation handling.
67263         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
67264         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
67265         function name to __call_sync_file_range.
67266         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
67267         Add call_sync_file_range.
67269 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67272         bits/timex.h.
67274 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67276         * iconv/iconv.h: Fix typo in comment.
67277         * io/fcntl.h: Likewise.
67278         * libio/stdio.h: Likewise.
67279         * posix/spawn.h: Likewise.
67280         * posix/unistd.h: Likewise.
67281         * stdlib/stdlib.h: Likewise.
67282         * time/time.h: Likewise.
67283         * wcsmbs/wchar.h: Likewise.
67285         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
67286         open_by_handle): Add.
67287         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
67288         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
67289         Augment a few comments.
67290         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67291         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67292         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67293         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67294         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67295         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
67296         open_by_handle.
67298         * io/fcntl.h (AT_EMPTY_PATH): Define.
67300 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
67302         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
67303         * sysdeps/unix/sysv/linux/bits/time.h: New file.
67304         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
67305         to...
67306         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
67307         * Versions.def: Add GLIBC_2.14.
67308         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
67309         Export.
67311 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
67313         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
67314         round counter.
67315         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67317 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67319         [BZ #12597]
67320         * string/test-strncmp.c (do_page_test): New function.
67321         (check2): Likewise.
67322         (test_main): Call check2.
67323         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
67325 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
67327         [BZ #12587]
67328         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
67329         Handle cache information in CPU leaf 4.
67330         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67332 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
67334         [BZ #12583]
67335         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
67336         character representation.
67337         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
67339 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
67341         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
67342         END(__isnan) to END(__isnanf) to match function entry point/label
67343         EALIGN(__isnanf,...).
67345 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
67347         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
67349 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
67351         [BZ #12510]
67352         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
67353         copy from the symbol referenced in the relocation to initialize the
67354         used variable.
67355         Patch by Piotr Bury <pbury@goahead.com>.
67356         * elf/Makefile: Add rules to build and tst-unique3.
67357         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
67358         * elf/tst-unique3.cc: New file.
67359         * elf/tst-unique3.h: New file.
67360         * elf/tst-unique3lib.cc: New file.
67361         * elf/tst-unique3lib2.cc: New file.
67363         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
67365 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
67367         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
67368         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
67369         to _start.
67371 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
67373         * elf/dl-load.c (_dl_map_object): If we are looking for the first
67374         to-be-loaded object along a path to loader is ld.so.
67376 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67377             Ulrich Drepper  <drepper@gmail.com>
67379         * sysdeps/x86_64/memset.S: After aligning destination, code
67380         branches to different locations depending on the value of
67381         misalignment, when multiarch is enabled. Fix this.
67383 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67385         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
67386         Set _x86_64_preferred_memory_instruction for AMD processsors.
67387         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67388         Set bit_Prefer_SSE_for_memop for AMD processors.
67390 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
67392         * libio/fmemopen.c (fmemopen): Optimize a bit.
67394 2011-03-03  Andreas Schwab  <schwab@redhat.com>
67396         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
67398 2011-03-03  Roland McGrath  <roland@redhat.com>
67400         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
67402 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
67404         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
67405         __bzero_ultra1 instead of __memset_ultra1.
67407 2011-02-23  Andreas Schwab  <schwab@redhat.com>
67408             Ulrich Drepper  <drepper@gmail.com>
67410         [BZ #12509]
67411         * include/link.h (struct link_map): Add l_orig_initfini.
67412         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
67413         returning unsuccessfully.
67414         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
67415         close of a file loaded at startup, restore the original l_initfini
67416         list.
67417         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
67418         list, store the pointer.
67419         * elf/Makefile ($(objpfx)noload-mem): New rule.
67420         (noload-ENV): Define.
67421         (tests): Add $(objpfx)noload-mem.
67422         * elf/noload.c: Include <memcheck.h>.
67423         (main): Call mtrace.  Close all opened handles.
67425 2011-02-17  Andreas Schwab  <schwab@redhat.com>
67427         [BZ #12454]
67428         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
67429         dependencies are missing.
67431 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67433         Fix __if_freereq crash: Unlike the generic version which uses free,
67434         Hurd needs munmap.
67435         * sysdeps/mach/hurd/ifreq.h: New file.
67437 2011-01-27  Petr Baudis  <pasky@suse.cz>
67438             Ulrich Drepper  <drepper@gmail.com>
67440         [BZ 12445]#
67441         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
67442         to extend_alloca().
67443         * stdio-common/bug23.c: New file.
67444         * stdio-common/Makefile (tests): Add bug23.
67446 2010-09-28  Andreas Schwab  <schwab@redhat.com>
67447             Ulrich Drepper  <drepper@gmail.com>
67449         [BZ #12489]
67450         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
67451         before performing relro protection.  At old place add assertion
67452         to make sure nothing changed.
67454 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
67455             Glauber de Oliveira Costa  <glommer@gmail.com>
67457         * elf/elf.h: Add new ARM TLS relocs.
67459 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
67461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67462         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
67463         cast from r3.
67464         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
67465         'tests' variable.
67466         * sysdeps/wordsize-64/tst-writev.c: New file.
67468 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
67470         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
67471         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
67472         insns in _dl_start to prevent a TOC reference before relocs are
67473         resolved.
67475 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
67477         [BZ #12469]
67478         * Makeconfig: Remove RANLIB definition.
67479         * Makerules: Don't use RANLIB.
67480         * aclocal.m4: Remove ranlib test.
67481         * configure.in: No need to check for ranlib.
67482         * elf/rtld-Rules: Don't use RANLIB.
67484 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67486         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
67487         protection macro.
67488         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
67489         inclusion protection macro.
67491         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
67492         SIGRTMIN and SIGRTMAX and print information in that case only when
67493         SIGRTMIN is defined.
67495 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
67497         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
67498         arginfo fn returning -1.
67500         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
67501         and thousands string is zero terminated.
67503 2011-02-03  Andreas Schwab  <schwab@redhat.com>
67505         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
67506         sysdeps/unix/sysv/linux/bits/socket.h.
67508 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67510         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
67511         (__CPU_COUNT): Remove old macros.
67512         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
67513         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
67514         (__CPU_ALLOC, __CPU_FREE): Add macros.
67515         (__sched_cpualloc, __sched_cpufree): Add declarations.
67517 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
67519         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
67520         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
67521         * nscd/aicache.c (addhstaiX): Return timeout of added value.
67522         (readdhstai): Return value of addhstaiX call.
67523         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
67524         (addgrbyX): Return value returned by cache_addgr.
67525         (readdgrbyname): Return value returned by addgrbyX.
67526         (readdgrbygid): Likewise.
67527         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
67528         (addpwbyX): Return value returned by cache_addpw.
67529         (readdpwbyname): Return value returned by addhstbyX.
67530         (readdpwbyuid): Likewise.
67531         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
67532         (addservbyX): Return value returned by cache_addserv.
67533         (readdservbyname): Return value returned by addservbyX:
67534         (readdservbyport): Likewise.
67535         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
67536         (addhstbyX): Return value returned by cache_addhst.
67537         (readdhstbyname): Return value returned by addhstbyX.
67538         (readdhstbyaddr): Likewise.
67539         (readdhstbynamev6): Likewise.
67540         (readdhstbyaddrv6): Likewise.
67541         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
67542         (readdinitgroups): Return value returned by addinitgroupsX.
67543         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
67544         (prune_cache): Keep track of timeout value of re-added entries.
67545         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
67546         * nscd/nscd.h: Adjust prototypes of readd* functions.
67548 2011-02-04  Roland McGrath  <roland@redhat.com>
67550         * nis/nis_server.c (nis_servstate): Use the right name for 0.
67551         (nis_stats): Likewise.
67552         * nis/nis_modify.c (nis_modify): Likewise.
67553         * nis/nis_remove.c (nis_remove): Likewise.
67554         * nis/nis_add.c (nis_add): Likewise.
67556         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
67558         * posix/fnmatch_loop.c: Add some consts.
67560         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
67562 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
67564         [BZ #12460]
67565         * config.make.in (config-cflags-novzeroupper): Define.
67566         * configure.in: Substitute libc_cv_cc_novzeroupper.
67567         * elf/Makefile (AVX-CFLAGS): Define.
67568         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
67569         (CFLAGS-tst-auditmod4a.c): Likewise.
67570         (CFLAGS-tst-auditmod4b.c): Likewise.
67571         (CFLAGS-tst-auditmod6b.c): Likewise.
67572         (CFLAGS-tst-auditmod6c.c): Likewise.
67573         (CFLAGS-tst-auditmod7b.c): Likewise.
67574         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
67576 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
67578         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
67579         function to the callback.
67580         Patch partly by Jiri Olsa <jolsa@redhat.com>.
67582 2011-02-02  Andreas Schwab  <schwab@redhat.com>
67584         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
67585         of errno.
67587 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
67589         [BZ #11724]
67590         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
67591         of constructors.
67592         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
67593         of destructors.
67594         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
67596         [BZ #11724]
67597         * elf/Makefile: Add rules to build and run new test.
67598         * elf/tst-initorder.c: New file.
67599         * elf/tst-initorder.exp: New file.
67600         * elf/tst-initordera1.c: New file.
67601         * elf/tst-initordera2.c: New file.
67602         * elf/tst-initordera3.c: New file.
67603         * elf/tst-initordera4.c: New file.
67604         * elf/tst-initorderb1.c: New file.
67605         * elf/tst-initorderb2.c: New file.
67606         * elf/tst-order-a1.c: New file.
67607         * elf/tst-order-a2.c: New file.
67608         * elf/tst-order-a3.c: New file.
67609         * elf/tst-order-a4.c: New file.
67610         * elf/tst-order-b1.c: New file.
67611         * elf/tst-order-b2.c: New file.
67612         * elf/tst-order-main.c: New file.
67613         New test case by George Gensure <werkt0@gmail.com>.
67615 2010-10-01  Andreas Schwab  <schwab@redhat.com>
67617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67618         decoding ACE if AI_CANONIDN.
67620 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
67622         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
67624 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
67626         * version.h (RELEASE): Bump for 2.13 release.
67627         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
67629         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
67631         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
67632         MADV_NOHUGEPAGE.
67633         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
67634         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67635         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67636         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67637         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67638         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67640         * posix/getconf.c: Update copyright year.
67641         * catgets/gencat.c: Likewise.
67642         * csu/version.c: Likewise.
67643         * debug/catchsegv.sh: Likewise.
67644         * debug/xtrace.sh: Likewise.
67645         * elf/ldconfig.c: Likewise.
67646         * elf/ldd.bash.in: Likewise.
67647         * elf/sprof.c (print_version): Likewise.
67648         * iconv/iconv_prog.c: Likewise.
67649         * iconv/iconvconfig.c: Likewise.
67650         * locale/programs/locale.c: Likewise.
67651         * locale/programs/localedef.c: Likewise.
67652         * malloc/memusage.sh: Likewise.
67653         * malloc/mtrace.pl: Likewise.
67654         * nscd/nscd.c (print_version): Likewise.
67655         * nss/getent.c: Likewise.
67657         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
67658         PF_CAIF, and PF_ALG.
67659         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67661 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
67663         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
67664         (modules-names): Use them.
67665         (ifunc-test-modules, ifunc-pie-tests): Define.
67666         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
67667         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
67668         (test-extras): Likewise.
67669         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
67670         $(compile-command.c).
67671         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
67672         (all-built-dso): Define.
67673         (check-textrel.out, check-execstack.out): Depend on it.
67675         * configure.in: Don't override --enable-multi-arch.
67677 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
67679         [BZ #6812]
67680         * nscd/hstcache.c (tryagain): Define.
67681         (cache_addhst): Return tryagain not notfound for temporary errors.
67682         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
67683         failed.
67685 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
67687         [BZ #10563]
67688         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
67689         to make the syscall.
67690         * sysdeps/unix/sysv/linux/setgroups.c: New file.
67692         [BZ #12378]
67693         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
67694         and fall back to matching as normal character if the string ends before
67695         the matching ']' is found.  This is what POSIX requires.
67696         * posix/testfnm.c: Adjust test result.
67697         * posix/globtest.sh: Adjust test result.  Add new test.
67698         * posix/tst-fnmatch.input: Likewise.
67699         * posix/tst-fnmatch2.c: Add new test.
67701 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
67703         * elf/Makefile (check-execstack): Revert last change.  Depend on
67704         check-execstack.h.
67705         (check-execstack.h): New target.
67706         (generated): Add check-execstack.h.
67707         * elf/check-execstack.c: Include "check-execstack.h".
67708         (main): Revert last change.
67709         (handle_file): Return zero if GNU_STACK is absent and
67710         DEFAULT_STACK_PERMS doesn't include PF_X.
67712 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
67714         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
67715         in child fails because the descriptor is already closed.
67716         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
67717         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
67718         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
67720         [BZ #12397]
67721         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
67722         syscall.
67724         [BZ #10484]
67725         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
67726         temporary buffer used to handle multi lookups locally.
67727         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
67729 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67731         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
67732         loader is ld.so.
67734 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
67736         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
67737         alignment for SSE2.
67739 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67741         [BZ #12394]
67742         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
67743         characters.  When rounding increased number of integer digits recompute
67744         number of groups.
67745         * stdio-common/tst-grouping.c: New file.
67746         * stdio-common/Makefile: Add rules to build and run tst-grouping.
67748 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
67750         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
67751         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
67753         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
67754         void.
67755         * bits/select.h: Likewise.
67757 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
67759         * po/ja.po: Update from translation team.
67761 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
67763         [BZ #11155]
67764         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
67765         implementation just like for lxstat, fxstatat, et al.
67767 2010-12-27  Jim Meyering  <meyering@redhat.com>
67769         [BZ #12348]
67770         * posix/regexec.c (build_trtable): Return failure indication upon
67771         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
67773 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
67775         [BZ #12201]
67776         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
67777         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
67778         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
67779         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
67781         [BZ #12207]
67782         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
67784         [BZ #12204]
67785         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
67786         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
67788 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
67790         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
67791         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
67792         script has SORT_BY_INIT_PRIORITY.
67793         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
67794         NO_CTORS_DTORS_SECTIONS is defined.
67795         * elf/soinit.c: Likewise.
67796         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
67797         NO_CTORS_DTORS_SECTIONS is defined.
67798         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
67799         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
67800         * sysdeps/sh/init-first.c: Likewise.
67801         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
67803 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
67805         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
67806         always use the slow path.
67808 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
67810         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
67811         similar rule which adds the sysdep directories to the header search in
67812         order to pick up the correct platform stackinfo.h.
67813         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
67814         perform test if it is, otherwise return successfully without testing.
67815         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
67816         DEFAULT_STACK_PERMS define in stackinfo.h.
67817         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
67818         defined in stackinfo.h.
67819         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
67820         DEFAULT_STACK_PERMS defined in stackinfo.h.
67821         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
67822         * sysdeps/ia64/stackinfo.h: Likewise.
67823         * sysdeps/s390/stackinfo.h: Likewise.
67824         * sysdeps/sh/stackinfo.h: Likewise.
67825         * sysdeps/sparc/stackinfo.h: Likewise.
67826         * sysdeps/x86_64/stackinfo.h: Likewise.
67827         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
67828         PF_X for powerpc64.  Retain PF_X for powerpc32.
67830 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
67832         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
67833         accurately.
67834         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
67835         GETDENTS_64BIT_ALIGNED.
67837 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
67839         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
67841 2010-12-10  Andreas Schwab  <schwab@redhat.com>
67843         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
67844         _GNU_SOURCE.
67846         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
67847         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
67848         Remove __restrict.
67849         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
67850         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
67852 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
67854         [BZ #11655]
67855         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
67856         are initialized.
67858 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
67860         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
67862 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
67864         * po/it.po: Update from translation team.
67866 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
67868         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
67869         unused codes.
67871 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
67873         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
67875 2010-11-24  Andreas Schwab  <schwab@redhat.com>
67877         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
67878         specially.
67879         (gaih_getanswer_slice): Likewise.
67881 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
67883         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
67885 2010-05-31  Petr Baudis  <pasky@suse.cz>
67887         [BZ #11149]
67888         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
67889         silently even in the chroot mode.
67891 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
67893         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
67894         last patch a bit.  Pretty printing
67896 2010-05-31  Petr Baudis <pasky@suse.cz>
67898         [BZ #10085]
67899         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
67900         initialization of skip_initgroups_dyn.
67902 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
67904         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
67905         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67907 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
67909         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
67911 2010-11-11  Andreas Schwab  <schwab@redhat.com>
67913         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
67914         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
67915         (tst-fnmatch-ENV): Set MALLOC_TRACE.
67916         ($(objpfx)tst-fnmatch-mem): New rule.
67917         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
67918         * posix/tst-fnmatch.c (main): Call mtrace.
67920 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
67922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67923         Support Intel processor model 6 and model 0x2c.
67925 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
67927         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
67928           signed comparison.
67930 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
67932         [BZ #12205]
67933         * string/test-strncasecmp.c (check_result): New function.
67934         (do_one_test): Use it.
67935         (check1): New function.
67936         (test_main): Use it.
67937         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
67938         Support strcasecmp and strncasecmp.
67940 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
67942         [BZ #12194]
67943         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
67944         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67946 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67948         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
67949         IFUNC support.
67950         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67951         memset-x86-64.
67952         * sysdeps/x86_64/multiarch/bzero.S: New file.
67953         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
67954         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
67955         * sysdeps/x86_64/multiarch/memset.S: New file.
67956         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
67957         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67958         Set bit_Prefer_SSE_for_memop for Intel processors.
67959         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
67960         Define.
67961         (index_Prefer_SSE_for_memop): Define.
67962         (HAS_PREFER_SSE_FOR_MEMOP): Define.
67964 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
67966         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
67967         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
67969 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
67971         [BZ #12191]
67972         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67973         (__x86_64_raw_data_cache_size_half): Likewise.
67974         (__x86_64_raw_shared_cache_size): Likewise.
67975         (__x86_64_raw_shared_cache_size_half): Likewise.
67977         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67978         (__x86_64_raw_data_cache_size_half): Likewise.
67979         (__x86_64_raw_shared_cache_size): Likewise.
67980         (__x86_64_raw_shared_cache_size_half): Likewise.
67981         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
67982         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
67983         and __x86_64_raw_shared_cache_size_half.  Round
67984         __x86_64_data_cache_size_half, __x86_64_data_cache_size
67985         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
67986         to multiple of 256 bytes.
67988 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
67990         [BZ #12167]
67991         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
67992         of inacessible symlinks.  Verify result of symlink before returning it.
67993         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
67994         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
67996 2010-10-28  Erich Ritz  <erichritz@gmail.com>
67998         * math/math.h (isinf): Fix typo in comment.
68000 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
68002         * po/da.po: Update from translation team.
68004 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
68006         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
68007         is added to the list.
68009 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68010             Ulrich Drepper  <drepper@gmail.com>
68012         * elf/dl-object.c (_dl_new_object): Don't append the new object to
68013         the global list here.  Move code to...
68014         (_dl_add_to_namespace_list): ...here.  New function.
68015         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
68016         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
68017         * elf/dl-load.c (lose): Don't remove the element from the list.
68018         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
68019         (_dl_map_object): Likewise.
68021 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
68023         [BZ #12159]
68024         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
68025         into all bytes of SSE register.
68026         Patch by Richard Li <richardpku@gmail.com>.
68028 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
68030         [BZ #12140]
68031         * malloc/malloc.c (_int_free): Fill correct number of bytes when
68032         perturbing.
68034 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
68036         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
68037         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
68038         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
68039         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
68041         submachine.
68042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
68044 2010-10-22  Andreas Schwab  <schwab@redhat.com>
68046         * include/dlfcn.h (__RTLD_SECURE): Define.
68047         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
68048         mode & __RTLD_SECURE instead.
68049         (open_path): Rename preloaded parameter to secure.
68050         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
68051         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
68052         * elf/dl-deps.c (openaux): Likewise.
68053         * elf/rtld.c (struct map_args): Remove is_preloaded.
68054         (map_doit): Don't use it.
68055         (dl_main): Likewise.
68056         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
68057         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
68059 2010-09-09  Andreas Schwab  <schwab@redhat.com>
68061         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
68062         (sysd-rules-targets): Remove duplicates.
68063         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
68064         rtld-%.$o dependency.
68066 2010-10-18  Andreas Schwab  <schwab@redhat.com>
68068         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
68069         _dl_map_object do it.
68071 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
68073         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
68074         fast fma builtins, define the macros in the C99 standard.
68075         (FP_FAST_FMAF): Likewise.
68076         (FP_FAST_FMAL): Likewise.
68077         * sysdeps/x86_64/bits/mathdef.h: Likewise.
68079         * bits/mathdef.h: Update copyright year.
68080         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68082 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
68084         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
68085         builtins, define the macros in the C99 standard.
68086         (FP_FAST_FMAF): Likewise.
68087         (FP_FAST_FMAL): Likewise.
68088         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
68089         multiply/add.
68090         (FP_FAST_FMAF): Likewise.
68092 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
68094         [BZ #3268]
68095         * math/libm-test.inc (fma_test): Some new testcases.
68096         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
68097         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
68098         y and infinite z.  Do multiplication by C already in long double.
68099         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
68100         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
68101         y and infinite z.  Do bitwise or of inexact bit into u.d.
68102         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
68103         * sysdeps/i386/fpu/s_fmaf.S: Removed.
68104         * sysdeps/i386/fpu/s_fma.S: Removed.
68105         * sysdeps/i386/fpu/s_fmal.S: Removed.
68107 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
68109         [BZ #3268]
68110         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
68111         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
68112         computation is not scheduled after fetestexcept.  Fix value
68113         of minimum denormal long double.
68115 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
68117         [BZ #3268]
68118         * math/libm-test.inc (fma_test): Add some more tests.
68119         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
68120         correctly.
68122 2010-10-15  Andreas Schwab  <schwab@redhat.com>
68124         * scripts/data/localplt-s390-linux-gnu.data: New file.
68125         * scripts/data/localplt-s390x-linux-gnu.data: New file.
68127 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
68129         [BZ #3268]
68130         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
68131         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
68132         instead of dbl-64.
68133         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
68134         inlines.
68135         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
68136         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
68137         if one of x and y is very large and the other is subnormal.
68138         * sysdeps/s390/fpu/s_fmaf.c: New file.
68139         * sysdeps/s390/fpu/s_fma.c: New file.
68140         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
68141         * sysdeps/powerpc/fpu/s_fma.S: New file.
68142         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
68143         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
68144         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
68146 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
68148         [BZ #3268]
68149         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
68150         fma tests.
68151         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
68152         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
68153         * sysdeps/i386/i686/multiarch/s_fma.c: Include
68154         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
68155         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
68156         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
68157         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
68159 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
68161         [BZ #12078]
68162         * posix/regcomp.c (parse_branch): One more memory leak plugged.
68163         * posix/bug-regex31.input: Add test case.
68165 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68167         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
68168         * posix/bug-regex31.input: New file.
68170         [BZ #12078]
68171         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
68172         (parse_sub_exp): Fix last change, use postorder.
68174         * posix/bug-regex31.c: New file.
68175         * posix/Makefile: Add rules to build and run bug-regex31.
68177         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
68179         [BZ #12078]
68180         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
68182         [BZ #12108]
68183         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
68184         to have entries in sys_siglist.
68186         [BZ #12093]
68187         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
68188         be NULL.
68190 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
68192         [BZ #3268]
68193         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
68194         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
68195         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
68196         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
68197         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68198         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
68199         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
68200         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
68201         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
68202         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
68203         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
68204         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
68205         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
68206         * math/ftestexcept.c (fetestexcept): Likewise.
68207         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
68208         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
68209         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
68210         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
68211         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
68212         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
68213         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68215 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68217         [BZ #12107]
68218         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
68219         newline.
68221 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
68223         * string/bug-strstr1.c: New file.
68224         * string/Makefile: Add rules to build and run bug-strstr1.
68226 2010-10-05  Eric Blake  <eblake@redhat.com>
68228         [BZ #12092]
68229         * string/str-two-way.h (two_way_long_needle): Always clear memory
68230         when skipping input due to the shift table.
68232 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
68234         [BZ #12005]
68235         * malloc/mcheck.c: Handle large requests.
68237         [BZ #12077]
68238         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
68239         for strncmp and strncasecmp.
68240         * string/stratcliff.c: Add tests for strcmp and strncmp.
68241         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
68243 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68245         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
68246         __set_fpscr.
68248 2010-09-30  Andreas Jaeger  <aj@suse.de>
68250         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
68251         (CGROUP_SUPER_MAGIC): Define.
68252         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68253         Handle btrfs and cgroup file systems.
68254         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68255         Likewise.
68257 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
68259         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
68260         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
68262 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68264         [BZ #12067]
68265         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
68266         trying to locate the ELF header.
68268 2010-09-27  Andreas Schwab  <schwab@redhat.com>
68270         [BZ #11611]
68271         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
68272         Mask out sign-bit copies when constructing f_fsid.
68274 2010-09-24  Petr Baudis <pasky@suse.cz>
68276         * debug/stack_chk_fail_local.c: Add missing licence exception.
68277         * debug/warning-nop.c: Likewise.
68279 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
68281         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
68282         implementing getdents64 using getdents syscall, set d_type if
68283         __ASSUME_GETDENTS32_D_TYPE.
68285 2010-09-16  Andreas Schwab  <schwab@redhat.com>
68287         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
68288         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
68290 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
68292         [BZ #12037]
68293         * posix/unistd.h: Undo change of feature selection for ftruncate from
68294         2010-01-11.
68296 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
68298         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
68299         detection.
68301 2010-09-20  Andreas Schwab  <schwab@redhat.com>
68303         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
68304         fanotify_mark.
68305         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68307 2010-09-14  Andreas Schwab  <schwab@redhat.com>
68309         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
68310         variables after CHECK_SP call.
68311         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
68313 2010-09-13  Andreas Schwab  <schwab@redhat.com>
68314             Ulrich Drepper  <drepper@redhat.com>
68316         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
68317         re-relocationg ld.so.
68318         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
68319         _dl_init_paths call.
68320         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
68321         here anymore.
68323 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
68325         * resolv/res_init.c (__res_vinit): Count the default server we added.
68327 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
68328             Ulrich Drepper  <drepper@redhat.com>
68330         [BZ #11968]
68331         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68332         (____longjmp_chk): Use %ebx for saving value across system call.
68333         Add unwind info.
68335 2010-09-06  Andreas Schwab  <schwab@redhat.com>
68337         * manual/Makefile: Don't mix pattern rules with normal rules.
68339 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68341         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
68342         operation.
68343         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
68344         * libio/iofopncook.c (_IO_cookie_init): Likewise.
68345         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
68346         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
68347         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68348         Likewise.
68350 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
68352         [BZ #11979]
68353         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
68354         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
68356 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
68358         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
68359         * sysdeps/x86_64/addmul_1.S: Likewise.
68360         * sysdeps/x86_64/lshift.S: Likewise.
68361         * sysdeps/x86_64/mul_1.S: Likewise.
68362         * sysdeps/x86_64/rshift.S: Likewise.
68363         * sysdeps/x86_64/sub_n.S: Likewise.
68364         * sysdeps/x86_64/submul_1.S: Likewise.
68366 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68368         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
68369         Define __sched_param instead of SCHED_* and sched_param when
68370         <bits/sched.h> is included with __need_schedparam defined.
68371         * bits/sched.h [__need_schedparam]
68372         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
68373         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
68374         (__defined_schedparam): Define to 1.
68375         (__sched_param): New structure, identical to sched_param.
68376         (__need_schedparam): Undefine.
68378 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
68380         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
68381         (epoll_create1): Declare.
68383         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
68385 2010-08-31  Andreas Schwab  <schwab@redhat.com>
68387         [BZ #7066]
68388         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
68389         shifting retval into place.
68391 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
68393         * nis/rpcsvc/nis.h: Update copyright notice.
68394         * nis/rpcsvc/nis.x: Likewise.
68395         * nis/rpcsvc/nis_callback.h: Likewise.
68396         * nis/rpcsvc/nis_callback.x: Likewise.
68397         * nis/rpcsvc/nis_object.x: Likewise.
68398         * nis/rpcsvc/nis_tags.h: Likewise.
68399         * nis/rpcsvc/yp.h: Likewise.
68400         * nis/rpcsvc/yp.x: Likewise.
68401         * nis/rpcsvc/ypupd.h: Likewise.
68402         * nis/yp_xdr.c: Likewise.
68403         * nis/ypupdate_xdr.c: Likewise.
68405         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
68406         mainly the body of pmap_getport.  Add parameters to specify timeouts.
68407         (pmap_getport): Use __libc_rpc_getport.
68408         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
68409         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
68410         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
68412 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
68414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
68415         fanotify_mark.
68417 2010-08-27  Roland McGrath  <roland@redhat.com>
68419         * sysdeps/i386/i686/multiarch/Makefile
68420         (CFLAGS-varshift.c): New variable.
68422 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
68424         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
68425         * sysdeps/i386/i686/multiarch/varshift.c: New file.
68427         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
68429         * sysdeps/x86_64/strlen.S: Minimal code improvement.
68431 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
68433         * sysdeps/x86_64/strlen.S: Unroll the loop.
68434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68435         strlen-sse2 strlen-sse2-bsf.
68436         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
68437         __strlen_no_bsf if bit_Slow_BSF is set.
68438         (__strlen_sse42): Removed.
68439         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
68440         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
68442 2010-08-25  Roland McGrath  <roland@redhat.com>
68444         * sysdeps/x86_64/multiarch/varshift.S: File removed.
68445         * sysdeps/x86_64/multiarch/varshift.c: New file.
68446         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
68447         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
68448         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
68449         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68451 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
68453         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68454         strlen-sse2 strlen-sse2-bsf.
68455         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
68456         __strlen_sse2_bsf if bit_Slow_BSF is unset.
68457         (__strlen_sse2): Removed.
68458         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
68459         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
68460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
68461         bit_Slow_BSF for Atom.
68462         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
68463         (index_Slow_BSF): Define.
68464         (HAS_SLOW_BSF): Define.
68466 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
68468         [BZ #10851]
68469         * resolv/res_init.c (__res_vinit): When no server address at all
68470         is given default to loopback.
68472 2010-08-24  Roland McGrath  <roland@redhat.com>
68474         * configure.in: Remove config-name.h generation.
68475         * configure: Regenerated.
68476         * config-name.in: File removed.
68477         * scripts/config-uname.sh: New file.
68478         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
68479         ($(objdir)config-name.h): New target.
68481         * sunrpc/rpc_parse.h: Avoid nested comment.
68483 2010-08-24  Richard Henderson  <rth@redhat.com>
68484             Ulrich Drepper  <drepper@redhat.com>
68485             H.J. Lu  <hongjiu.lu@intel.com>
68487         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
68488         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
68489         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
68490         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
68491         _mm_alignr_epi8 with _mm_loadu_si128.
68492         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
68493         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
68494         (__m128i_shift_right): Removed.
68495         * sysdeps/i386/i686/multiarch/varshift.h: New file.
68496         * sysdeps/i386/i686/multiarch/varshift.S: New file.
68497         * sysdeps/x86_64/multiarch/varshift.h: New file.
68498         * sysdeps/x86_64/multiarch/varshift.S: New file.
68500 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
68502         * configure.in: Move assembler checks to before sysdep dir checking.
68504 2010-08-20  Petr Baudis  <pasky@suse.cz>
68506         * LICENSES: Sync the sunrpc license.
68508 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
68510         * sunrpc/auth_des.c: Update copyright notice once again.
68511         * sunrpc/auth_none.c: Likewise.
68512         * sunrpc/auth_unix.c: Likewise.
68513         * sunrpc/authdes_prot.c: Likewise.
68514         * sunrpc/authuxprot.c: Likewise.
68515         * sunrpc/bindrsvprt.c: Likewise.
68516         * sunrpc/clnt_gen.c: Likewise.
68517         * sunrpc/clnt_perr.c: Likewise.
68518         * sunrpc/clnt_raw.c: Likewise.
68519         * sunrpc/clnt_simp.c: Likewise.
68520         * sunrpc/clnt_tcp.c: Likewise.
68521         * sunrpc/clnt_udp.c: Likewise.
68522         * sunrpc/clnt_unix.c: Likewise.
68523         * sunrpc/des_crypt.c: Likewise.
68524         * sunrpc/des_soft.c: Likewise.
68525         * sunrpc/get_myaddr.c: Likewise.
68526         * sunrpc/getrpcport.c: Likewise.
68527         * sunrpc/key_call.c: Likewise.
68528         * sunrpc/key_prot.c: Likewise.
68529         * sunrpc/openchild.c: Likewise.
68530         * sunrpc/pm_getmaps.c: Likewise.
68531         * sunrpc/pm_getport.c: Likewise.
68532         * sunrpc/pmap_clnt.c: Likewise.
68533         * sunrpc/pmap_prot.c: Likewise.
68534         * sunrpc/pmap_prot2.c: Likewise.
68535         * sunrpc/pmap_rmt.c: Likewise.
68536         * sunrpc/rpc/auth.h: Likewise.
68537         * sunrpc/rpc/auth_unix.h: Likewise.
68538         * sunrpc/rpc/clnt.h: Likewise.
68539         * sunrpc/rpc/des_crypt.h: Likewise.
68540         * sunrpc/rpc/key_prot.h: Likewise.
68541         * sunrpc/rpc/netdb.h: Likewise.
68542         * sunrpc/rpc/pmap_clnt.h: Likewise.
68543         * sunrpc/rpc/pmap_prot.h: Likewise.
68544         * sunrpc/rpc/pmap_rmt.h: Likewise.
68545         * sunrpc/rpc/rpc.h: Likewise.
68546         * sunrpc/rpc/rpc_des.h: Likewise.
68547         * sunrpc/rpc/rpc_msg.h: Likewise.
68548         * sunrpc/rpc/svc.h: Likewise.
68549         * sunrpc/rpc/svc_auth.h: Likewise.
68550         * sunrpc/rpc/types.h: Likewise.
68551         * sunrpc/rpc/xdr.h: Likewise.
68552         * sunrpc/rpc_clntout.c: Likewise.
68553         * sunrpc/rpc_cmsg.c: Likewise.
68554         * sunrpc/rpc_common.c: Likewise.
68555         * sunrpc/rpc_cout.c: Likewise.
68556         * sunrpc/rpc_dtable.c: Likewise.
68557         * sunrpc/rpc_hout.c: Likewise.
68558         * sunrpc/rpc_main.c: Likewise.
68559         * sunrpc/rpc_parse.c: Likewise.
68560         * sunrpc/rpc_parse.h: Likewise.
68561         * sunrpc/rpc_prot.c: Likewise.
68562         * sunrpc/rpc_sample.c: Likewise.
68563         * sunrpc/rpc_scan.c: Likewise.
68564         * sunrpc/rpc_scan.h: Likewise.
68565         * sunrpc/rpc_svcout.c: Likewise.
68566         * sunrpc/rpc_tblout.c: Likewise.
68567         * sunrpc/rpc_util.c: Likewise.
68568         * sunrpc/rpc_util.h: Likewise.
68569         * sunrpc/rpcinfo.c: Likewise.
68570         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
68571         * sunrpc/rpcsvc/key_prot.x: Likewise.
68572         * sunrpc/rpcsvc/klm_prot.x: Likewise.
68573         * sunrpc/rpcsvc/mount.x: Likewise.
68574         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
68575         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
68576         * sunrpc/rpcsvc/rex.x: Likewise.
68577         * sunrpc/rpcsvc/rstat.x: Likewise.
68578         * sunrpc/rpcsvc/rusers.x: Likewise.
68579         * sunrpc/rpcsvc/sm_inter.x: Likewise.
68580         * sunrpc/rpcsvc/spray.x: Likewise.
68581         * sunrpc/rpcsvc/yppasswd.x: Likewise.
68582         * sunrpc/rtime.c: Likewise.
68583         * sunrpc/svc.c: Likewise.
68584         * sunrpc/svc_auth.c: Likewise.
68585         * sunrpc/svc_authux.c: Likewise.
68586         * sunrpc/svc_raw.c: Likewise.
68587         * sunrpc/svc_run.c: Likewise.
68588         * sunrpc/svc_simple.c: Likewise.
68589         * sunrpc/svc_tcp.c: Likewise.
68590         * sunrpc/svc_udp.c: Likewise.
68591         * sunrpc/svc_unix.c: Likewise.
68592         * sunrpc/svcauth_des.c: Likewise.
68593         * sunrpc/xcrypt.c: Likewise.
68594         * sunrpc/xdr.c: Likewise.
68595         * sunrpc/xdr_array.c: Likewise.
68596         * sunrpc/xdr_float.c: Likewise.
68597         * sunrpc/xdr_mem.c: Likewise.
68598         * sunrpc/xdr_rec.c: Likewise.
68599         * sunrpc/xdr_ref.c: Likewise.
68600         * sunrpc/xdr_sizeof.c: Likewise.
68601         * sunrpc/xdr_stdio.c: Likewise.
68603         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
68604         handling.
68606 2010-08-19  Andreas Schwab  <schwab@redhat.com>
68608         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
68610 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
68612         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
68613         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
68614         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
68615         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
68616         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
68617         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
68618         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
68619         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
68620         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
68621         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
68622         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
68623         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
68624         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
68625         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
68627 2010-07-26  Anton Blanchard  <anton@samba.org>
68629         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
68630         * malloc/arena.c (heap_trim): Likewise.
68632 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
68634         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
68635         here.  Not...
68636         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
68637         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
68639 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
68641         * sysdeps/i386/elf/Makefile: New file.
68643 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68645         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
68646         from fanotify_init.
68647         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
68648         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68650 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
68652         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
68653         of strncasecmp_l.
68654         * sysdeps/multiarch/strcmp.S: Likewise.
68656 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
68658         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68659         strncase_l-nonascii.
68660         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68661         Add strncase_l-ssse3.
68662         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
68663         * sysdeps/x86_64/strcmp.S: Likewise.
68664         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
68665         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
68666         * sysdeps/x86_64/strncase.S: New file.
68667         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
68668         * sysdeps/x86_64/strncase_l.S: New file.
68669         * string/Makefile (strop-tests): Add strncasecmp.
68670         * string/test-strncasecmp.c: New file.
68672         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
68673         warning.
68675         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
68676         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
68678 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68680         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
68682 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
68684         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
68685         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
68686         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
68688 2010-05-01  Alan Modra  <amodra@gmail.com>
68690         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
68691         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
68692         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
68693         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
68694         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
68695         tidying.  Don't tail-call __sigjmp_save for static lib.
68696         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
68697         save location.
68698         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
68699         (CALL_MCOUNT): Add eh info, and nop after bl.
68700         (TAIL_CALL_SYSCALL_ERROR): New macro.
68701         (PSEUDO_RET): Use it.
68702         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
68703         Correct save location of integer regs and cr.
68704         (_dl_profile_resolve): Correct cr save location.  Delete nops
68705         after bl when SHARED.  Reduce cfi size a little by better
68706         placement of cfi directives.
68707         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
68708         make a stack frame.  Instead use parm save area as a temp.
68709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
68710         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
68711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
68712         Don't make a stack frame for parent, use parm save area.
68713         Increase child stack frame to 112 bytes.  Don't save unused reg,
68714         and adjust reg usage.  Set up cfi on error recovery and
68715         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
68716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68717         (__makecontext): Add dummy nop after jump to exit.
68718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
68719         Use correct parm save area and cr save, reduce stack frame.
68720         Correct cfi for possible PSEUDO_RET frame setup.
68721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
68722         Branch to local label emitted by PSEUDO_RET rather than
68723         __syscall_error.
68725 2010-08-12  Andreas Schwab  <schwab@redhat.com>
68727         [BZ #11904]
68728         * locale/programs/locale.c (print_assignment): New function.
68729         (show_locale_vars): Use it.
68731 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
68733         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
68734         field.
68735         (struct statfs64): Likewise.
68736         (_STATFS_F_FLAGS): Define.
68737         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
68738         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68739         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
68740         (ST_VALID): Define locally.
68741         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
68742         __statvfs_getflags, use the provided value.
68743         * sysdeps/unix/sysv/linux/kernel-features.h: Define
68744         __ASSUME_STATFS_F_FLAGS.
68746         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
68748         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
68749         Add sys/fanotify.h.
68750         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
68751         fanotify_mask for GLIBC_2.13.
68752         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
68753         fanotify_init and fanotify_mark.
68754         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68755         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
68757         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
68758         Add prlimit.
68759         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
68760         prlimit64 for GLIBC_2.13.
68761         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
68762         prlimit64.
68763         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
68764         syscall.
68765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
68766         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68767         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
68768         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
68769         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
68770         add prlimit alias.
68771         * sysdeps/unix/sysv/linux/prlimit.c: New file.
68773         [BZ #11903]
68774         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
68775         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
68777         * nss/Makefile: Add rules to build and run tst-nss-test1.
68778         * shlib-versions: Add entry for libnss_test1.
68779         * nss/nss_test1.c: New file.
68780         * nss/tst-nss-test1.c: New file.
68782         * nss/nsswitch.c (__nss_database_custom): Define new variable.
68783         (__nss_configure_lookup): Set appropriate entry in
68784         __nss_configure_lookup to true.
68785         * nss/nsswitch.h: Define enum with indeces of databases in
68786         databases and __nss_database_custom arrays.  Declare
68787         __nss_database_custom.
68788         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
68789         to avoid using nscd when custom rules are installed.
68790         * nss/getXXbyYY_r.c: Likewise.
68791         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
68793         * nss/nss_files/files-parse.c: Whitespace fixes.
68795 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
68797         [BZ #11883]
68798         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
68799         * posix/fnmatch_loop.c: Likewise.
68801 2010-07-17  Andi Kleen  <ak@linux.intel.com>
68803         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
68804         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
68805         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
68806         * Versions.def [GLIBC_2.13]: Add.
68808 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
68810         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68811         Also fail if tpwd after pwuid call is NULL.
68813 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68815         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
68816         when converting to ms.
68818 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68820         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
68821         EOPNOTSUPP errors with ENOTTY.
68822         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
68823         EOPNOTSUPP errors with ENOTTY.
68825 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
68827         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68828         Add strcasecmp_l-ssse3.
68829         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
68830         strcasecmp.
68831         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
68832         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
68833         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
68835 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
68837         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
68839         * string/Makefile (strop-tests): Add strcasecmp.
68840         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68841         strcasecmp_l-nonascii.
68842         (gen-as-const-headers): Add locale-defines.sym.
68843         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
68844         * sysdeps/x86_64/strcasecmp.S: New file.
68845         * sysdeps/x86_64/strcasecmp_l.S: New file.
68846         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
68847         * sysdeps/x86_64/locale-defines.sym: New file.
68848         * string/test-strcasecmp.c: New file.
68850         * string/test-strcasestr.c: Test both ends of the range of characters.
68851         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
68853 2010-07-29  Roland McGrath  <roland@redhat.com>
68855         [BZ #11856]
68856         * manual/locale.texi (Yes-or-No Questions): Fix example code.
68858 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
68860         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
68861         for ld.so.
68863 2010-07-27  Andreas Schwab  <schwab@redhat.com>
68865         * manual/memory.texi (Malloc Tunable Parameters): Document
68866         M_PERTURB.
68868 2010-07-26  Roland McGrath  <roland@redhat.com>
68870         [BZ #11840]
68871         * configure.in (-fgnu89-inline check): Set and substitute
68872         gnu89_inline, not libc_cv_gnu89_inline.
68873         * configure: Regenerated.
68874         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
68876 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
68878         * string/test-strnlen.c: New file.
68879         * string/Makefile (strop-tests): Add strnlen.
68880         * string/tester.c (test_strnlen): Add a few more test cases.
68881         * string/tst-strlen.c: Better error reporting.
68883         * sysdeps/x86_64/strnlen.S: New file.
68885 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
68887         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
68888         lower-latency instructions.
68890 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
68892         * string/test-strcasestr.c: New file.
68893         * string/test-strstr.c: New file.
68894         * string/Makefile (strop-tests): Add strstr and strcasestr.
68895         * string/str-two-way.h: Don't undefine MAX.
68896         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
68898 2010-07-21  Andreas Schwab  <schwab@redhat.com>
68900         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68901         strcasestr-nonascii.
68902         (CFLAGS-strcasestr-nonascii.c): Define.
68903         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
68904         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
68905         Remove unused attribute.
68907 2010-07-20  Roland McGrath  <roland@redhat.com>
68909         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
68910         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
68911         ld.so.cache was broken.  With it, there is no way to disable dsocaps
68912         like LD_HWCAP_MASK can disable hwcaps.
68914 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68916         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
68918 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
68920         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
68921         call in strcasestr.
68922         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
68923         __strcasestr_sse42_nonascii.
68924         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
68925         strcasestr-nonascii.c.
68926         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
68928 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
68930         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
68931         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
68932         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
68933         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
68935 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
68937         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
68938         fcntl.
68940 2010-07-06  Andreas Schwab  <schwab@redhat.com>
68942         [BZ #11577]
68943         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
68944         dl_signal_cerror.
68946 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
68948         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
68949         _PC_PIPE_BUF using F_GETPIPE_SZ.
68951 2010-07-05  Roland McGrath  <roland@redhat.com>
68953         * manual/arith.texi (Rounding Functions): Fix rint description
68954         implicit in round description.
68956 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
68958         * elf/Makefile: Fix linking for a few tests to make recent linker
68959         happy.
68961 2010-06-30  Andreas Schwab  <schwab@redhat.com>
68963         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68964         $(common-objpfx)libc_nonshared.a.
68966 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
68968         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
68969         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
68970         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68971         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68972         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
68973         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
68974         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68975         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
68977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
68978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
68979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
68981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
68983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
68984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
68985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
68986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
68988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
68990         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
68991         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
68992         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
68993         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
68994         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
68995         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
68996         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
68997         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
68998         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
68999         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
69000         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
69001         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
69002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
69003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
69004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
69005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
69006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
69007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
69008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
69009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
69010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
69011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
69012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
69013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
69014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
69015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
69017 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
69019         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
69020         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
69021         * string/memmove.c (memmove): Renamed to ...
69022         (MEMMOVE): ...this.  Default to memmove.
69023         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
69024         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
69025         (END_CHK): Define.
69026         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69027         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
69028         mempcpy-ssse3-back memmove-ssse3-back.
69029         * sysdeps/x86_64/multiarch/bcopy.S: New file .
69030         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
69031         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
69032         * sysdeps/x86_64/multiarch/memcpy.S: New file.
69033         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
69034         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
69035         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
69036         * sysdeps/x86_64/multiarch/memmove.c: New file.
69037         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
69038         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
69039         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
69040         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
69041         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
69042         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
69043         Define.
69044         (index_Fast_Copy_Backward): Define.
69045         (HAS_ARCH_FEATURE): Define.
69046         (HAS_FAST_REP_STRING): Define.
69047         (HAS_FAST_COPY_BACKWARD): Define.
69049 2010-06-21  Andreas Schwab  <schwab@redhat.com>
69051         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
69052         Restore proper fallback handling.
69054 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
69056         [BZ #11701]
69057         * posix/group_member.c (__group_member): Correct checking loop.
69059         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
69060         OOM in getpwuid_r correctly.  Return error number when the caller
69061         should return, otherwise -1.
69062         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
69063         call returning > 0 value.
69064         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
69066 2010-06-07  Andreas Schwab  <schwab@redhat.com>
69068         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
69069         libc_nonshared.a from targets in modules-names.
69071 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
69073         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
69074         requires it.
69076 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
69078         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
69079         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
69080         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
69081         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
69083 2010-06-02  Andreas Schwab  <schwab@redhat.com>
69085         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
69087 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
69089         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
69090         and F_GETPIPE_SZ.
69091         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69092         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69093         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69094         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69095         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69096         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
69098 2010-06-14  Roland McGrath  <roland@redhat.com>
69100         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
69102 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
69104         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
69105         __REDIRECT followed by __THROW.
69106         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
69107         * posix/getopt.h (getopt): Likewise.
69109 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
69111         * hurd/lookup-at.c (__file_name_lookup_at): Accept
69112         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
69113         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
69114         in AT_FLAGS.
69115         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
69116         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
69118 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
69120         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
69122 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
69124         [BZ #11640]
69125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69126         Properly check family and model.
69128 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
69130         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
69132 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
69134         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
69136 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
69138         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
69139         symbol reference.
69141 2010-05-19  Andreas Schwab  <schwab@redhat.com>
69143         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
69144         symbol reference.
69146 2010-05-21  Andreas Schwab  <schwab@redhat.com>
69148         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
69149         and internal_recvmmsg.
69150         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
69151         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
69152         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
69153         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
69155         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
69156         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
69157         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
69159 2010-05-20  Andreas Schwab  <schwab@redhat.com>
69161         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
69163 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
69165         POWER7 optimizations.
69166         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
69167         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
69169 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
69171         * version.h: Update for 2.13 development version.
69173 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
69175         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
69176         exceptions.  Return 0.
69178 2010-05-07  Roland McGrath  <roland@redhat.com>
69180         * elf/ldconfig.c (main): Add a const.
69182 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
69184         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
69185         (args_options): Add no-idn option.
69186         (ahosts_keys_int): Add idn_flags to ai_flags.
69187         (parse_option): Handle 'i' option to clear idn_flags.
69189         * malloc/malloc.c (_int_free): Possible race in the most recently
69190         added check.  Only act on the data if no current modification
69191         happened.
69193 See ChangeLog.17 for earlier changes.