Remove configure test for needing -P for .S files.
[glibc.git] / ChangeLog
blob38cb052307222a4ce2c9a543740c686a3afcb14e
1 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3         * configure.ac (libc_cv_need_minus_P): Remove configure test.
4         * configure: Regenerated.
5         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
9         * configure.ac (old_glibc_headers): Remove configure test.
10         * configure: Regenerated.
11         * config.make.in (old-glibc-headers): Remove variable.
12         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
13         (install): Remove dependency on remove-old-headers.
14         (headers2_0): Remove variable.
15         (remove-old-headers): Remove rule.
17         * configure.ac (libc_cv_dot_text): Remove configure test.
18         (libc_cv_asm_set_directive): Use .text instead of
19         ${libc_cv_dot_text} in configure test.
20         * configure: Regenerated.
22 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24         [BZ #19168]
25         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27 2015-10-26  Florian Weimer  <fweimer@redhat.com>
29         * configure.ac (CXX): Clear the variable if the C++ toolchain does
30         not support static linking.
31         * configure: Regenerate.
33 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
35         * math/libm-test.inc (check_float_internal): Do not special-case
36         errors up to 0.5 ulp.
38         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39         log2.
40         * math/auto-libm-test-out: Regenerated.
41         * math/libm-test.inc (MAX_EXP): New macro.
42         (ilogb_test_data): Add more tests.
43         (isfinite_test_data): Likewise.
44         (isgreater_test_data): Likewise.
45         (isgreaterequal_test_data): Likewise.
46         (isinf_test_data): Likewise.
47         (isless_test_data): Likewise.
48         (islessequal_test_data): Likewise.
49         (islessgreater_test_data): Likewise.
50         (isnan_test_data): Likewise.
51         (isnormal_test_data): Likewise.
52         (issignaling_test_data): Likewise.
53         (isunordered_test_data): Likewise.
54         (j0_test_data): Likewise.
55         (j1_test_data): Likewise.
56         (jn_test_data): Likewise.
57         (lgamma_test_data): Likewise.
58         (log_test_data): Likewise.
59         (log10_test_data): Likewise.
60         (log1p_test_data): Likewise.
61         (log2_test_data): Likewise.
62         (logb_test_data): Likewise.
63         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65         [BZ #18611]
66         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
67         avoid excess range and precision on underflow.
68         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
69         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
70         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
71         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
72         underflow.
73         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
74         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
75         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
76         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
77         * math/auto-libm-test-in: Do not allow missing errno setting for
78         tests of j1 and jn.
79         * math/auto-libm-test-out: Regenerated.
81 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
83         [BZ #15491]
84         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
85         floating-point environment instead of clearing all exceptions.
86         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
87         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
88         merging in "invalid" exceptions from frndint.
89         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
90         * math/test-nearbyint-except.c: New file.
91         * math/Makefile (tests): Add test-nearbyint-except.
93 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
95         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
97         * sysdeps/tile/libm-test-ulps: Regenerated.
99 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
102         (__NR_sync_file_range2): Assume it is always defined.
103         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
104         (__NR_sync_file_range): Assume it is always defined.
106 2015-10-22  Andreas Schwab  <schwab@suse.de>
108         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
109         INTERNAL_SYSCALL_ERRNO.
110         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
111         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
112         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
113         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
114         Likewise.
115         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
117 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
119         * io/tst-fcntl.c (fd): New static variable.
120         (do_prepare): Open temporary file here....
121         (do_test): ...not here.
123         * io/ftwtest-sh: Also trap on exit to remove temporary files.
125 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
127         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
128         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
129         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
130         Moved before "#ifdef __ASSEMBLER__".
132 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
134         [BZ #19156]
135         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
136         arguments very close to 0.
138 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
140         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
141         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
143 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
145         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
146         New.  Defined for GCC 5 and above when not compiling for
147         profiling.
148         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
150         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
151         Renamed to ...
152         (CFLAGS-epoll_pwait.o): This.
153         (CFLAGS-mmap.c): Renamed to ...
154         (CFLAGS-mmap.o): This.
155         (CFLAGS-mmap64.c): Renamed to ...
156         (CFLAGS-mmap64.o): This.
157         (CFLAGS-epoll_pwait.os): New.
158         (CFLAGS-mmap.os): Likewise.
159         (CFLAGS-mmap64.os): Likewise.
160         (CFLAGS-semtimedop.os): Likewise.
161         (CFLAGS-semtimedop.c): Renamed to ...
162         (CFLAGS-semtimedop.o): This.
164 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
166         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
167         warning message.
169 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
171         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
172         * Makefile ($(objpfx)c++-types-check.out): Filter out
173         $(+gccwarn-c) instead of -Wstrict-prototypes.
175         * io/fts.c (fts_open): Convert to prototype-style function
176         definition.
177         * malloc/mcheck.c (mcheck): Likewise.
178         (mcheck_pedantic): Likewise.
179         * posix/regexec.c (re_search_2_stub): Likewise.  Use
180         internal_function.
181         (re_search_internal): Likewise.
182         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
183         prototype-style function definition.
184         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
185         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
186         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
187         (xdr_utmpptr): Likewise.
188         (xdr_utmparr): Likewise.
189         (xdr_utmpidle): Likewise.
190         (xdr_utmpidleptr): Likewise.
191         (xdr_utmpidlearr): Likewise.
193         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
194         log, log10 and log2.
195         * math/auto-libm-test-out: Regenerated.
196         * math/libm-test.inc (fmod_test_data): Add more tests.
197         (fpclassify_test_data): Likewise.
198         (frexp_test_data): Likewise.
199         (hypot_test_data): Likewise.
200         (ilogb_test_data): Likewise.
202 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
204         * debug/fortify_fail.c (__fortify_fail): Convert to
205         prototype-style function definition.  Use internal_function.
206         * libio/genops.c (save_for_backup): Convert to prototype-style
207         function definition.
208         * libio/wgenops.c (save_for_wbackup): Likewise.
209         * login/grantpt.c (grantpt): Likewise.
210         * login/ptsname.c (ptsname): Likewise.
211         (__ptsname_r): Likewise.
212         * login/unlockpt.c (unlockpt): Likewise.
213         * mach/msgserver.c (__mach_msg_server): Likewise.
214         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
215         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
216         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
217         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
218         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
219         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
220         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
221         Likewise.
222         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
223         internal_function.
224         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
225         prototype-style function definition.
226         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
227         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
228         (__pthread_create_2_0): Likewise.
229         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
230         * nptl/register-atfork.c (__register_atfork): Likewise.
231         * posix/glob.c (glob): Likewise.
232         * posix/regcomp.c (re_comp): Likewise.
233         * posix/regexec.c (re_exec): Likewise.
234         * stdlib/add_n.c [__STDC__]: Make code unconditional.
235         [!__STDC__]: Remove conditional code.
236         * stdlib/cmp.c [__STDC__]: Make code unconditional.
237         [!__STDC__]: Remove conditional code.
238         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
239         [!__STDC__]: Remove conditional code.
240         * stdlib/divrem.c [__STDC__]: Make code unconditional.
241         [!__STDC__]: Remove conditional code.
242         * stdlib/lshift.c [__STDC__]: Make code unconditional.
243         [!__STDC__]: Remove conditional code.
244         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
245         [!__STDC__]: Remove conditional code.
246         * stdlib/mul.c [__STDC__]: Make code unconditional.
247         [!__STDC__]: Remove conditional code.
248         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
249         [!__STDC__]: Remove conditional code.
250         * stdlib/rshift.c [__STDC__]: Make code unconditional.
251         [!__STDC__]: Remove conditional code.
252         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
253         function definition.
254         (STRTOF): Likewise.
255         * stdlib/strtod_l.c (__STRTOF): Likewise.
256         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
257         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
258         (__strtol_l): Likewise.
259         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
260         [!__STDC__]: Remove conditional code.
261         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
262         definition.
263         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
264         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
265         type.
266         (__strcasecmp): Convert to prototype-style function definition.
267         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
268         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
269         type.
270         (__strncasecmp): Convert to prototype-style function definition.
271         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
272         * sunrpc/xdr.c (xdr_union): Likewise.
273         * sunrpc/xdr_array.c (xdr_array): Likewise.
274         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
275         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
276         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
277         Likewise.
278         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
279         Likewise.
280         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
281         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
282         Likewise.
283         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
284         (LOCALE_PARAM_PROTO): Likewise.
285         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
286         argument type.
287         (ut_argument_spec): Remove macro.
288         (ut_argument_spec_iso): Rename to ut_argument_spec.
289         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
290         prototype-style function definition.
291         (memcpy_uppcase): Likewise.
292         (__strftime_internal): Likewise.
293         (my_strftime): Likewise.
294         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
295         (LOCALE_PARAM_DECL): Likewise.
296         [_LIBC] (LOCALE_PARAM): Include argument type.
297         (__strptime_internal): Convert to prototype-style function
298         definition.
299         (strptime): Likewise.
300         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
301         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
302         type.
303         (__wcscasecmp): Convert to prototype-style function definition.
304         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
305         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
306         type.
307         (__wcsncasecmp): Convert to prototype-style function definition.
309         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
310         function definition.
311         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
312         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
313         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
314         * elf/dl-minimal.c (_itoa): Likewise.
315         * hurd/hurdmalloc.c (malloc): Likewise.
316         (free): Likewise.
317         (realloc): Likewise.
318         * inet/inet6_option.c (inet6_option_space): Likewise.
319         (inet6_option_init): Likewise.
320         (inet6_option_append): Likewise.
321         (inet6_option_alloc): Likewise.
322         (inet6_option_next): Likewise.
323         (inet6_option_find): Likewise.
324         * io/ftw.c (FTW_NAME): Likewise.
325         (NFTW_NAME): Likewise.
326         (NFTW_NEW_NAME): Likewise.
327         (NFTW_OLD_NAME): Likewise.
328         * libio/iofwide.c (_IO_fwide): Likewise.
329         * libio/strops.c (_IO_str_init_static_internal): Likewise.
330         (_IO_str_init_static): Likewise.
331         (_IO_str_init_readonly): Likewise.
332         (_IO_str_overflow): Likewise.
333         (_IO_str_underflow): Likewise.
334         (_IO_str_count): Likewise.
335         (_IO_str_seekoff): Likewise.
336         (_IO_str_pbackfail): Likewise.
337         (_IO_str_finish): Likewise.
338         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
339         (_IO_wstr_overflow): Likewise.
340         (_IO_wstr_underflow): Likewise.
341         (_IO_wstr_count): Likewise.
342         (_IO_wstr_seekoff): Likewise.
343         (_IO_wstr_pbackfail): Likewise.
344         (_IO_wstr_finish): Likewise.
345         * locale/programs/localedef.c (normalize_codeset): Likewise.
346         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
347         (add_locales_to_archive): Likewise.
348         (delete_locales_from_archive): Likewise.
349         * malloc/malloc.c (__libc_mallinfo): Likewise.
350         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
351         * misc/tsearch.c (__tfind): Likewise.
352         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
353         * nptl/pthread_attr_getdetachstate.c
354         (__pthread_attr_getdetachstate): Likewise.
355         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
356         Likewise.
357         * nptl/pthread_attr_getinheritsched.c
358         (__pthread_attr_getinheritsched): Likewise.
359         * nptl/pthread_attr_getschedparam.c
360         (__pthread_attr_getschedparam): Likewise.
361         * nptl/pthread_attr_getschedpolicy.c
362         (__pthread_attr_getschedpolicy): Likewise.
363         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
364         Likewise.
365         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
366         Likewise.
367         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
368         Likewise.
369         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
370         Likewise.
371         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
372         (__pthread_attr_init_2_0): Likewise.
373         * nptl/pthread_attr_setdetachstate.c
374         (__pthread_attr_setdetachstate): Likewise.
375         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
376         Likewise.
377         * nptl/pthread_attr_setinheritsched.c
378         (__pthread_attr_setinheritsched): Likewise.
379         * nptl/pthread_attr_setschedparam.c
380         (__pthread_attr_setschedparam): Likewise.
381         * nptl/pthread_attr_setschedpolicy.c
382         (__pthread_attr_setschedpolicy): Likewise.
383         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
384         Likewise.
385         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
386         Likewise.
387         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
388         Likewise.
389         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
390         Likewise.
391         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
392         Likewise.
393         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
394         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
395         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
396         use internal_function.
397         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
398         prototype-style function definition.
399         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
400         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
401         internal_function.
402         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
403         Convert to prototype-style function definition.
404         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
405         Likewise.
406         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
407         Likewise.
408         (__pthread_mutex_unlock): Likewise.
409         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
410         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
411         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
412         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
413         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
414         * nss/makedb.c (process_input): Likewise.
415         * posix/fnmatch.c (__strchrnul): Likewise.
416         (__wcschrnul): Likewise.
417         (fnmatch): Likewise.
418         * posix/fnmatch_loop.c (FCT): Likewise.
419         * posix/glob.c (globfree): Likewise.
420         (__glob_pattern_type): Likewise.
421         (__glob_pattern_p): Likewise.
422         * posix/regcomp.c (re_compile_pattern): Likewise.
423         (re_set_syntax): Likewise.
424         (re_compile_fastmap): Likewise.
425         (regcomp): Likewise.
426         (regerror): Likewise.
427         (regfree): Likewise.
428         * posix/regexec.c (regexec): Likewise.
429         (re_match): Likewise.
430         (re_search): Likewise.
431         (re_match_2): Likewise.
432         (re_search_2): Likewise.
433         (re_search_stub): Likewise.  Use internal_function
434         (re_copy_regs): Likewise.
435         (re_set_registers): Convert to prototype-style function
436         definition.
437         (prune_impossible_nodes): Likewise.  Use internal_function.
438         * resolv/inet_net_pton.c (inet_net_pton): Convert to
439         prototype-style function definition.
440         (inet_net_pton_ipv4): Likewise.
441         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
442         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
443         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
444         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
445         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
446         Make variadic.
447         * time/strptime_l.c (localtime_r): Convert to prototype-style
448         function definition.
449         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
450         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
451         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
452         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
454         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
455         definition.
456         (_ufc_doit_r): Likewise.
457         * crypt/crypt_util.c (_ufc_copymem): Likewise.
458         (_ufc_output_conversion_r): Likewise.
459         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
460         * inet/rcmd.c (rcmd_af): Likewise.
461         (rcmd): Likewise.
462         (ruserok_af): Likewise.
463         (ruserok): Likewise.
464         (ruserok2_sa): Likewise.
465         (ruserok_sa): Likewise.
466         (iruserok_af): Likewise.
467         (iruserok): Likewise.
468         (__ivaliduser): Likewise.
469         (__validuser2_sa): Likewise.
470         * inet/rexec.c (rexec_af): Likewise.
471         (rexec): Likewise.
472         * inet/ruserpass.c (ruserpass): Likewise.
473         * locale/programs/xmalloc.c (xcalloc): Likewise.
474         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
475         * math/w_drem.c (__drem): Likewise.
476         * math/w_dremf.c (__dremf): Likewise.
477         * math/w_dreml.c (__dreml): Likewise.
478         * misc/daemon.c (daemon): Likewise.
479         * resolv/res_debug.c (p_fqnname): Likewise.
480         * stdlib/div.c (div): Likewise.
481         * string/memcmp.c (memcmp_bytes): Likewise.
482         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
483         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
485         * crypt/cert.c (main): Convert to prototype-style function
486         definition.
487         * io/pipe.c (__pipe): Likewise.
488         * io/pipe2.c (__pipe2): Likewise.
489         * misc/futimesat.c (futimesat): Likewise.
490         * misc/utimes.c (__utimes): Likewise.
491         * posix/execve.c (__execve): Likewise.
492         * posix/execvp.c (execvp): Likewise.
493         * posix/execvpe.c (__execvpe): Likewise.
494         * posix/fexecve.c (fexecve): Likewise.
495         * socket/socketpair.c (socketpair): Likewise.
496         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
497         * stdlib/erand48.c (erand48): Likewise.
498         * stdlib/erand48_r.c (__erand48_r): Likewise.
499         * stdlib/jrand48.c (jrand48): Likewise.
500         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
501         * stdlib/lcong48.c (lcong48): Likewise.
502         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
503         * stdlib/nrand48.c (nrand48): Likewise.
504         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
505         * stdlib/seed48.c (seed48): Likewise.
506         * stdlib/seed48_r.c (__seed48_r): Likewise.
507         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
508         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
509         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
511 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
513         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
514         * configure: Regenerated.
515         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
516         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
517         unconditional.
518         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
519         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
520         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
521         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
522         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
523         unconditional.
524         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
526         * posix/Makefile (CFLAGS-regex.c): Remove variable.
527         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
529         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
530         function definition.
531         * crypt/crypt_util.c (__encrypt_r): Likewise.
532         * libio/genops.c (_IO_no_init): Likewise.
533         * libio/iofopncook.c (_IO_fopencookie): Likewise.
534         (_IO_old_fopencookie): Likewise.
535         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
536         * libio/iogetline.c (_IO_getline): Likewise.
537         (_IO_getline_info): Likewise.
538         * libio/iogetwline.c (_IO_getwline): Likewise.
539         (_IO_getwline_info): Likewise.
540         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
541         * libio/vswprintf.c (_IO_vswprintf): Likewise.
542         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
543         (find_entry): Likewise.
544         (iterate_table): Likewise.
545         (lookup): Likewise.
546         * login/forkpty.c (forkpty): Likewise.
547         * misc/hsearch_r.c (__hsearch_r): Likewise.
548         * misc/select.c (__select): Likewise.
549         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
550         Likewise.
551         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
552         Likewise.
553         * nptl/old_pthread_cond_timedwait.c
554         (__pthread_cond_timedwait_2_0): Likewise.
555         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
556         * nptl/pthread_barrierattr_getpshared.c
557         (pthread_barrierattr_getpshared): Likewise.
558         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
559         Likewise.
560         * nptl/pthread_mutex_setprioceiling.c
561         (pthread_mutex_setprioceiling): Likewise.
562         * nptl/pthread_mutexattr_getprioceiling.c
563         (pthread_mutexattr_getprioceiling): Likewise.
564         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
565         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
566         Likewise.
567         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
568         Likewise.
569         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
570         Likewise.
571         * socket/recvfrom.c (__recvfrom): Likewise.
572         * socket/sendto.c (__sendto): Likewise.
573         * socket/setsockopt.c (__setsockopt): Likewise.
574         * stdio-common/_itoa.c (_itoa): Likewise.
575         * stdio-common/_itowa.c (_itowa): Likewise.
576         * stdio-common/reg-printf.c (__register_printf_specifier):
577         Likewise.
578         (__register_printf_function): Likewise.
579         * stdio-common/tempname.c (__path_search): Likewise.
580         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
581         * stdlib/mul_1.c (mpn_mul_1): Likewise.
582         * stdlib/random_r.c (__initstate_r): Likewise.
583         * stdlib/setenv.c (__add_to_environ): Likewise.
584         * stdlib/submul_1.c (mpn_submul_1): Likewise.
585         * streams/getpmsg.c (getpmsg): Likewise.
586         * streams/putmsg.c (putmsg): Likewise.
587         * streams/putpmsg.c (putpmsg): Likewise.
588         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
589         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
590         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
591         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
592         * sunrpc/pm_getport.c (pmap_getport): Likewise.
593         * sunrpc/svc_udp.c (cache_get): Likewise.
594         * sunrpc/xdr_array.c (xdr_vector): Likewise.
595         * sysdeps/mach/hurd/getcwd.c
596         (__canonicalize_directory_name_internal): Likewise.
597         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
598         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
599         * sysdeps/mach/hurd/select.c (__select): Likewise.
600         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
601         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
602         * sysdeps/sparc/nptl/pthread_barrier_init.c
603         (__pthread_barrier_init): Likewise.
604         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
605         (__pthread_cond_timedwait): Likewise.
606         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
607         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
608         Likewise.
609         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
610         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
611         Likewise.
612         * sysvipc/semtimedop.c (semtimedop): Likewise.
613         * time/setitimer.c (__setitimer): Likewise.
614         * time/strftime_l.c (emacs_strftime): Likewise.
616 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
618         * config.make.in (have-ssp): Delete.
619         (stack-protector): New variable.
620         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
621         cache test for -fstack-protector-strong.  Export stack_protector to
622         the best ssp flag.
623         * configure: Regenerated.
624         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
625         * nscd/Makefile (CFLAGS-nscd): Likewise.
626         * resolv/Makefile (CFLAGS-libresolv): Likewise.
628 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
630         [BZ #19122]
631         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
632         attribute_hidden.
634 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
636         [BZ #18743]
637         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
638         code to...
639         (ELIDE_LOCK): ...here.
640         (__get_new_count): New function with part of the code from
641         __elide_lock that updates the value of adapt_count after a
642         transaction abort.
643         (__elided_trylock): Moved this code to...
644         (ELIDE_TRYLOCK): ...here.
646 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
648         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
649         * configure: Regenerate.
650         * INSTALL: Regenerate.
651         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
652         and tweak grammar.
654 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
656         * login/programs/pt_chown.c: Include signal.h
657         (main): Clear any signal mask from the parent process.
659 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
661         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
662         * configure: Regenerated.
663         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
664         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
665         $(gnu89-inline-CFLAGS).
667         * configure.ac (libc_cv_asm_weak_directive): Remove configure
668         test.
669         (libc_cv_asm_weakext_directive): Likewise.
670         * configure: Regenerated.
671         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
672         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
673         * include/libc-symbols.h
674         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
675         #error.
676         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
677         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
679         * sysdeps/arm/backtrace.c (__backtrace): Convert to
680         prototype-style function definition.
681         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
682         * sysdeps/i386/ffs.c (__ffs): Likewise.
683         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
684         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
685         Likewise.
686         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
687         Likewise.
688         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
689         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
690         Likewise.
691         * sysdeps/m68k/ffs.c (__ffs): Likewise.
692         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
693         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
694         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
695         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
696         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
697         * sysdeps/mach/hurd/access.c (__access): Likewise.
698         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
699         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
700         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
701         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
702         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
703         (cthread_getspecific): Likewise.
704         (cthread_setspecific): Likewise.
705         (__libc_getspecific): Likewise.
706         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
707         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
708         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
709         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
710         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
711         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
712         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
713         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
714         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
715         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
716         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
717         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
718         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
719         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
720         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
721         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
722         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
723         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
724         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
725         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
726         * sysdeps/mach/hurd/link.c (__link): Likewise.
727         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
728         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
729         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
730         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
731         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
732         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
733         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
734         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
735         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
736         * sysdeps/mach/hurd/rename.c (rename): Likewise.
737         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
738         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
739         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
740         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
741         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
742         * sysdeps/mach/hurd/send.c (__send): Likewise.
743         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
744         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
745         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
746         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
747         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
748         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
749         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
750         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
751         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
752         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
753         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
754         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
755         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
756         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
757         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
758         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
759         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
760         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
761         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
762         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
763         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
764         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
765         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
766         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
767         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
768         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
769         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
770         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
771         * sysdeps/posix/alarm.c (alarm): Likewise.
772         * sysdeps/posix/cuserid.c (cuserid): Likewise.
773         * sysdeps/posix/dirfd.c (dirfd): Likewise.
774         * sysdeps/posix/dup.c (__dup): Likewise.
775         * sysdeps/posix/dup2.c (__dup2): Likewise.
776         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
777         (main): Likewise.
778         * sysdeps/posix/flock.c (__flock): Likewise.
779         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
780         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
781         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
782         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
783         * sysdeps/posix/isatty.c (__isatty): Likewise.
784         * sysdeps/posix/killpg.c (killpg): Likewise.
785         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
786         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
787         * sysdeps/posix/raise.c (raise): Likewise.
788         * sysdeps/posix/remove.c (remove): Likewise.
789         * sysdeps/posix/rename.c (rename): Likewise.
790         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
791         * sysdeps/posix/seekdir.c (seekdir): Likewise.
792         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
793         * sysdeps/posix/sigignore.c (sigignore): Likewise.
794         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
795         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
796         * sysdeps/posix/sigset.c (sigset): Likewise.
797         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
798         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
799         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
800         * sysdeps/posix/time.c (time): Likewise.
801         * sysdeps/posix/ttyname.c (getttyname): Likewise.
802         (ttyname): Likewise.
803         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
804         * sysdeps/posix/utime.c (utime): Likewise.
805         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
806         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
807         Likewise.
808         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
809         (pthread_spin_trylock): Likewise.
810         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
811         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
812         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
813         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
814         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
815         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
816         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
817         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
818         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
819         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
820         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
821         * sysdeps/s390/ffs.c (__ffs): Likewise.
822         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
823         Likewise.
824         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
825         Likewise.
826         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
827         Likewise.
828         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
829         (pthread_barrier_destroy): Likewise.
830         * sysdeps/sparc/nptl/pthread_barrier_wait.c
831         (__pthread_barrier_wait): Likewise.
832         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
833         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
834         (__pthread_barrier_wait): Likewise.
835         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
836         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
837         (memcmp_not_common_alignment): Likewise.
838         (MEMCMP): Likewise.
839         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
840         (_wordcopy_fwd_dest_aligned): Likewise.
841         (_wordcopy_bwd_aligned): Likewise.
842         (_wordcopy_bwd_dest_aligned): Likewise.
843         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
844         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
845         * sysdeps/unix/bsd/stty.c (stty): Likewise.
846         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
847         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
848         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
849         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
850         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
851         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
852         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
853         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
854         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
855         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
856         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
857         * sysdeps/unix/stime.c (stime): Likewise.
858         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
859         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
860         Likewise.  Use internal_function.
861         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
862         Convert to prototype-style function definition.
863         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
864         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
865         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
866         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
867         Likewise.  Use internal_function.
868         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
869         prototype-style function definition
870         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
871         Likewise.
872         (__getlogin_r): Likewise.
873         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
874         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
875         (__pthread_cond_broadcast): Likewise.
876         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
877         (__pthread_cond_destroy): Likewise.
878         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
879         (__pthread_cond_init): Likewise.
880         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
881         (__pthread_cond_signal): Likewise.
882         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
883         (__pthread_cond_wait): Likewise.
884         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
885         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
886         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
887         Likewise.
888         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
889         Likewise.
890         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
891         Likewise.
892         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
893         Likewise.
894         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
896         (__ftruncate64): Likewise.
897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
898         (truncate64): Likewise.
899         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
900         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
901         (pthread_getcpuclockid): Likewise.
902         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
903         Likewise.
904         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
905         Likewise.
906         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
907         Likewise.
908         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
909         Likewise.
910         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
911         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
912         (__libc_sigaction): Likewise.
913         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
914         Likewise.
915         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
916         (__sigprocmask): Likewise.
917         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
918         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
919         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
920         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
921         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
922         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
923         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
924         Likewise.
925         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
926         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
927         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
928         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
929         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
930         Likewise.
931         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
932         (__sigprocmask): Likewise.
933         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
934         (cfgetispeed): Likewise.
935         (cfsetospeed): Likewise.
936         (cfsetispeed): Likewise.
937         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
938         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
939         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
940         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
941         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
942         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
943         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
944         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
945         Likewise.
946         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
947         Likewise.
948         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
949         Likewise.
950         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
951         Likewise.
952         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
954 2015-10-17  Florian Weimer  <fweimer@redhat.com>
956         sunrpc: Rewrite with explicit TLS access using __thread.
957         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
958         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
959         directly.
960         (__rpc_thread_variables): Access thread_rpc_vars directly.
961         Eliminate redundant assignment of the tvp variable.
963 2015-10-17  Florian Weimer  <fweimer@redhat.com>
965         malloc: Rewrite with explicit TLS access using __thread.
966         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
967         (tsd_setspecific, tsd_getspecific): Remove.
968         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
969         (tsd_setspecific, tsd_getspecific): Likewise.
970         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
971         (tsd_setspecific, tsd_getspecific): Likewise.
972         * malloc/arena.c (thread_arena): New TLS variable.
973         (arena_key): Remove variable.
974         (arena_get): Use thread_arena.
975         (arena_lookup): Remove macro.
976         (malloc_atfork, free_atfork, ptmalloc_lock_all)
977         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
978         (_int_new_arena, get_free_list, reused_arena)
979         (arena_thread_freeres): Use thread_arena.
980         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
981         tsd_getspecific, tsd_setspecific from safety annotations.
982         (Allocating Cleared Space): Remove arena_lookup from safety
983         annotations.
985 2015-10-17  Florian Weimer  <fweimer@redhat.com>
987         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
988         struct scratch_buffer instead of extend_alloca.
990 2015-10-17  Florian Weimer  <fweimer@redhat.com>
992         * sysdeps/unix/sysv/linux/kernel-features.h
993         (__ASSUME_SOCK_CLOEXEC): Remove.
994         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
995         (__have_paccept): Remove unused macro.
996         * include/unistd.h (__have_sock_cloexec): Remove declaration.
997         * misc/syslog.c (openlog_internal): Remove fallback code for
998         !__ASSUME_SOCK_CLOEXEC.
999         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
1000         missing SOCK_CLOEXEC.
1001         * nscd/connections.c (have_sock_cloexec): Remove definition.
1002         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1003         * nscd/nscd_helper.c (open_socket): Remove fallback code for
1004         !__ASSUME_SOCK_CLOEXEC.
1005         * resolv/res_send.c (__have_o_nonblock): Remove definition.
1006         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1007         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
1008         definition.
1009         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
1010         code for !__ASSUME_SOCK_CLOEXEC.
1012 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1014         [BZ #18982]
1015         * manual/stdio.texi (Variable Arguments Output): Add portability
1016         note, explaining that vfprintf clobbers the va_list pointer.
1018 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1020         * math/libm-test.inc (fabs_test_data): Add more tests.
1021         (fdim_test_data): Likewise.
1022         (fma_test_data): Likewise.
1023         (fmax_test_data): Likewise.
1024         (fmin_test_data): Likewise.
1025         (fmod_test_data): Likewise.
1027 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
1029         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
1030         data.
1032 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1034         * math/libm-test.inc (ceil_test_data): Add more tests and more
1035         expectations for "inexact".
1036         (floor_test_data): Add more tests.
1037         (round_test_data): Likewise.
1038         (trunc_test_data): Likewise.
1040         * crypt/cert.c (good_bye): Convert to prototype-style function
1041         definition.
1042         (get8): Likewise.
1043         (put8): Likewise.
1044         * crypt/crypt-entry.c (crypt): Likewise.
1045         (__fcrypt): Likewise.
1046         * crypt/crypt_util.c (_ufc_prbits): Likewise.
1047         (_ufc_set_bits): Likewise.
1048         (_ufc_clearmem): Likewise.
1049         (__init_des_r): Likewise.
1050         (shuffle_sb): Likewise.
1051         (shuffle_sb): Likewise.
1052         (_ufc_setup_salt_r): Likewise.
1053         (_ufc_mk_keytab_r): Likewise.
1054         (_ufc_dofinalperm_r): Likewise.
1055         (encrypt): Likewise.
1056         (__setkey_r): Likewise.
1057         (setkey): Likewise.
1058         * crypt/md5.c (md5_init_ctx): Likewise.
1059         (md5_read_ctx): Likewise.
1060         (md5_finish_ctx): Likewise.
1061         (md5_stream): Likewise.
1062         (md5_buffer): Likewise.
1063         (md5_process_bytes): Likewise.
1064         * crypt/sha256.c (__sha256_init_ctx): Likewise.
1065         (__sha256_finish_ctx): Likewise.
1066         (__sha256_process_bytes): Likewise.
1067         * crypt/sha512.c (__sha512_init_ctx): Likewise.
1068         (__sha512_finish_ctx): Likewise.
1069         (__sha512_process_bytes): Likewise.
1070         * ctype/isctype.c (__isctype): Likewise.
1071         * debug/backtrace.c (__backtrace): Likewise.
1072         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
1073         * debug/fgets_chk.c (__fgets_chk): Likewise.
1074         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
1075         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
1076         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1077         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1078         * debug/memset_chk.c (__memset_chk): Likewise.
1079         * debug/strcat_chk.c (__strcat_chk): Likewise.
1080         * debug/strncat_chk.c (__strncat_chk): Likewise.
1081         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
1082         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
1083         * dirent/dirfd.c (dirfd): Likewise.
1084         * dirent/getdents.c (__getdirentries): Likewise.
1085         * dirent/getdents64.c (getdirentries64): Likewise.
1086         * dirent/rewinddir.c (__rewinddir): Likewise.
1087         * dirent/seekdir.c (seekdir): Likewise.
1088         * dirent/telldir.c (telldir): Likewise.
1089         * elf/sln.c (makesymlinks): Likewise.
1090         (makesymlink): Likewise.
1091         * gmon/gmon.c (__moncontrol): Likewise.
1092         (__monstartup): Likewise.
1093         (write_hist): Likewise.
1094         (write_call_graph): Likewise.
1095         (write_bb_counts): Likewise.
1096         * grp/setgroups.c (setgroups): Likewise.
1097         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1098         * inet/inet_net.c (inet_network): Likewise.
1099         * inet/inet_netof.c (inet_netof): Likewise.
1100         * inet/rcmd.c (rresvport_af): Likewise.
1101         (rresvport): Likewise.
1102         * io/access.c (__access): Likewise.
1103         * io/chdir.c (__chdir): Likewise.
1104         * io/chmod.c (__chmod): Likewise.
1105         * io/chown.c (__chown): Likewise.
1106         * io/close.c (__close): Likewise.
1107         * io/creat.c (creat): Likewise.
1108         * io/creat64.c (creat64): Likewise.
1109         * io/dup.c (__dup): Likewise.
1110         * io/dup2.c (__dup2): Likewise.
1111         * io/dup3.c (__dup3): Likewise.
1112         * io/euidaccess.c (__euidaccess): Likewise.
1113         * io/faccessat.c (faccessat): Likewise.
1114         * io/fchmod.c (__fchmod): Likewise.
1115         * io/fchmodat.c (fchmodat): Likewise.
1116         * io/fchown.c (__fchown): Likewise.
1117         * io/fchownat.c (fchownat): Likewise.
1118         * io/fcntl.c (__fcntl): Likewise.
1119         * io/flock.c (__flock): Likewise.
1120         * io/fts.c (fts_load): Likewise.
1121         (fts_close): Likewise.
1122         (fts_read): Likewise.
1123         (fts_set): Likewise.
1124         (fts_children): Likewise.
1125         (fts_build): Likewise.
1126         (fts_stat): Likewise.
1127         (fts_sort): Likewise.
1128         (fts_alloc): Likewise.
1129         (fts_lfree): Likewise.
1130         (fts_palloc): Likewise.
1131         (fts_padjust): Likewise.
1132         (fts_maxarglen): Likewise.
1133         (fts_safe_changedir): Likewise.
1134         * io/getwd.c (getwd): Likewise.
1135         * io/isatty.c (__isatty): Likewise.
1136         * io/lchown.c (__lchown): Likewise.
1137         * io/link.c (__link): Likewise.
1138         * io/linkat.c (linkat): Likewise.
1139         * io/lseek.c (__libc_lseek): Likewise.
1140         * io/mkdir.c (__mkdir): Likewise.
1141         * io/mkdirat.c (mkdirat): Likewise.
1142         * io/mkfifo.c (mkfifo): Likewise.
1143         * io/mkfifoat.c (mkfifoat): Likewise.
1144         * io/open.c (__libc_open): Likewise.
1145         * io/open64.c (__libc_open64): Likewise.
1146         * io/readlink.c (__readlink): Likewise.
1147         * io/readlinkat.c (readlinkat): Likewise.
1148         * io/rmdir.c (__rmdir): Likewise.
1149         * io/symlink.c (__symlink): Likewise.
1150         * io/symlinkat.c (symlinkat): Likewise.
1151         * io/ttyname.c (ttyname): Likewise.
1152         * io/ttyname_r.c (__ttyname_r): Likewise.
1153         * io/umask.c (__umask): Likewise.
1154         * io/unlink.c (__unlink): Likewise.
1155         * io/unlinkat.c (unlinkat): Likewise.
1156         * io/utime.c (utime): Likewise.
1157         * libio/clearerr.c (clearerr): Likewise.
1158         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
1159         * libio/feof.c (_IO_feof): Likewise.
1160         * libio/feof_u.c (feof_unlocked): Likewise.
1161         * libio/ferror.c (_IO_ferror): Likewise.
1162         * libio/ferror_u.c (ferror_unlocked): Likewise.
1163         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1164         * libio/fileno.c (__fileno): Likewise.
1165         * libio/fputc.c (fputc): Likewise.
1166         * libio/fputc_u.c (fputc_unlocked): Likewise.
1167         * libio/fputwc.c (fputwc): Likewise.
1168         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
1169         * libio/freopen.c (freopen): Likewise.
1170         * libio/freopen64.c (freopen64): Likewise.
1171         * libio/fseek.c (fseek): Likewise.
1172         * libio/fseeko.c (fseeko): Likewise.
1173         * libio/fseeko64.c (fseeko64): Likewise.
1174         * libio/ftello.c (__ftello): Likewise.
1175         * libio/ftello64.c (ftello64): Likewise.
1176         * libio/fwide.c (fwide): Likewise.
1177         * libio/genops.c (_IO_un_link): Likewise.
1178         (_IO_link_in): Likewise.
1179         (_IO_least_marker): Likewise.
1180         (_IO_switch_to_main_get_area): Likewise.
1181         (_IO_switch_to_backup_area): Likewise.
1182         (_IO_switch_to_get_mode): Likewise.
1183         (_IO_free_backup_area): Likewise.
1184         (_IO_switch_to_put_mode): Likewise.
1185         (__overflow): Likewise.
1186         (__underflow): Likewise.
1187         (__uflow): Likewise.
1188         (_IO_setb): Likewise.
1189         (_IO_doallocbuf): Likewise.
1190         (_IO_default_underflow): Likewise.
1191         (_IO_default_uflow): Likewise.
1192         (_IO_default_xsputn): Likewise.
1193         (_IO_sgetn): Likewise.
1194         (_IO_default_xsgetn): Likewise.
1195         (_IO_sync): Likewise.
1196         (_IO_default_setbuf): Likewise.
1197         (_IO_default_seekpos): Likewise.
1198         (_IO_default_doallocate): Likewise.
1199         (_IO_init): Likewise.
1200         (_IO_old_init): Likewise.
1201         (_IO_default_sync): Likewise.
1202         (_IO_default_finish): Likewise.
1203         (_IO_default_seekoff): Likewise.
1204         (_IO_sputbackc): Likewise.
1205         (_IO_sungetc): Likewise.
1206         (_IO_set_column): Likewise.
1207         (_IO_set_column): Likewise.
1208         (_IO_adjust_column): Likewise.
1209         (_IO_get_column): Likewise.
1210         (_IO_init_marker): Likewise.
1211         (_IO_remove_marker): Likewise.
1212         (_IO_marker_difference): Likewise.
1213         (_IO_marker_delta): Likewise.
1214         (_IO_seekmark): Likewise.
1215         (_IO_unsave_markers): Likewise.
1216         (_IO_nobackup_pbackfail): Likewise.
1217         (_IO_default_pbackfail): Likewise.
1218         (_IO_default_seek): Likewise.
1219         (_IO_default_stat): Likewise.
1220         (_IO_default_read): Likewise.
1221         (_IO_default_write): Likewise.
1222         (_IO_default_showmanyc): Likewise.
1223         (_IO_default_imbue): Likewise.
1224         (_IO_iter_next): Likewise.
1225         (_IO_iter_file): Likewise.
1226         * libio/getc.c (_IO_getc): Likewise.
1227         * libio/getwc.c (_IO_getwc): Likewise.
1228         * libio/iofclose.c (_IO_new_fclose): Likewise.
1229         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1230         * libio/iofflush.c (_IO_fflush): Likewise.
1231         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
1232         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
1233         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
1234         * libio/iofgets.c (_IO_fgets): Likewise.
1235         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
1236         * libio/iofgetws.c (fgetws): Likewise.
1237         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1238         * libio/iofopen64.c (_IO_fopen64): Likewise.
1239         * libio/iofopncook.c (_IO_cookie_read): Likewise.
1240         (_IO_cookie_write): Likewise.
1241         (_IO_cookie_seek): Likewise.
1242         (_IO_cookie_close): Likewise.
1243         (_IO_cookie_seekoff): Likewise.
1244         (_IO_old_cookie_seek): Likewise.
1245         * libio/iofputs.c (_IO_fputs): Likewise.
1246         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
1247         * libio/iofputws.c (fputws): Likewise.
1248         * libio/iofputws_u.c (fputws_unlocked): Likewise.
1249         * libio/iofread.c (_IO_fread): Likewise.
1250         * libio/iofread_u.c (__fread_unlocked): Likewise.
1251         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1252         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
1253         * libio/ioftell.c (_IO_ftell): Likewise.
1254         * libio/iofwrite.c (_IO_fwrite): Likewise.
1255         * libio/iogetdelim.c (_IO_getdelim): Likewise.
1256         * libio/iogets.c (_IO_gets): Likewise.
1257         * libio/iopadn.c (_IO_padn): Likewise.
1258         * libio/iopopen.c (_IO_new_proc_open): Likewise.
1259         (_IO_new_popen): Likewise.
1260         (_IO_new_proc_close): Likewise.
1261         * libio/ioputs.c (_IO_puts): Likewise.
1262         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
1263         (_IO_seekoff): Likewise.
1264         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
1265         (_IO_seekpos): Likewise.
1266         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
1267         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
1268         * libio/ioungetc.c (_IO_ungetc): Likewise.
1269         * libio/ioungetwc.c (ungetwc): Likewise.
1270         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1271         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1272         * libio/iowpadn.c (_IO_wpadn): Likewise.
1273         * libio/libc_fatal.c (__libc_fatal): Likewise.
1274         * libio/memstream.c (__open_memstream): Likewise.
1275         (_IO_mem_sync): Likewise.
1276         (_IO_mem_finish): Likewise.
1277         * libio/oldfileops.c (_IO_old_file_init): Likewise.
1278         (_IO_old_file_close_it): Likewise.
1279         (_IO_old_file_finish): Likewise.
1280         (_IO_old_file_fopen): Likewise.
1281         (_IO_old_file_attach): Likewise.
1282         (_IO_old_file_setbuf): Likewise.
1283         (_IO_old_do_write): Likewise.
1284         (old_do_write): Likewise.
1285         (_IO_old_file_underflow): Likewise.
1286         (_IO_old_file_overflow): Likewise.
1287         (_IO_old_file_sync): Likewise.
1288         (_IO_old_file_seekoff): Likewise.
1289         (_IO_old_file_write): Likewise.
1290         (_IO_old_file_xsputn): Likewise.
1291         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1292         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1293         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
1294         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
1295         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1296         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
1297         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
1298         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
1299         (_IO_old_popen): Likewise.
1300         (_IO_old_proc_close): Likewise.
1301         * libio/oldpclose.c (__old_pclose): Likewise.
1302         * libio/pclose.c (__new_pclose): Likewise.
1303         * libio/peekc.c (_IO_peekc_locked): Likewise.
1304         * libio/putc.c (_IO_putc): Likewise.
1305         * libio/putc_u.c (putc_unlocked): Likewise.
1306         * libio/putchar.c (putchar): Likewise.
1307         * libio/putchar_u.c (putchar_unlocked): Likewise.
1308         * libio/putwc.c (putwc): Likewise.
1309         * libio/putwc_u.c (putwc_unlocked): Likewise.
1310         * libio/putwchar.c (putwchar): Likewise.
1311         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1312         * libio/rewind.c (rewind): Likewise.
1313         * libio/setbuf.c (setbuf): Likewise.
1314         * libio/setlinebuf.c (setlinebuf): Likewise.
1315         * libio/vasprintf.c (_IO_vasprintf): Likewise.
1316         * libio/vscanf.c (_IO_vscanf): Likewise.
1317         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
1318         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
1319         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1320         * libio/wgenops.c (_IO_least_wmarker): Likewise.
1321         (_IO_switch_to_main_wget_area): Likewise.
1322         (_IO_switch_to_wbackup_area): Likewise.
1323         (_IO_wsetb): Likewise.
1324         (_IO_wdefault_pbackfail): Likewise.
1325         (_IO_wdefault_finish): Likewise.
1326         (_IO_wdefault_uflow): Likewise.
1327         (__woverflow): Likewise.
1328         (__wuflow): Likewise.
1329         (__wunderflow): Likewise.
1330         (_IO_wdefault_xsputn): Likewise.
1331         (_IO_wdefault_xsgetn): Likewise.
1332         (_IO_wdoallocbuf): Likewise.
1333         (_IO_wdefault_doallocate): Likewise.
1334         (_IO_switch_to_wget_mode): Likewise.
1335         (_IO_free_wbackup_area): Likewise.
1336         (_IO_switch_to_wput_mode): Likewise.
1337         (_IO_sputbackwc): Likewise.
1338         (_IO_sungetwc): Likewise.
1339         (_IO_adjust_wcolumn): Likewise.
1340         (_IO_init_wmarker): Likewise.
1341         (_IO_wmarker_delta): Likewise.
1342         (_IO_seekwmark): Likewise.
1343         (_IO_unsave_wmarkers): Likewise.
1344         * libio/wmemstream.c (open_wmemstream): Likewise.
1345         (_IO_wmem_sync): Likewise.
1346         (_IO_wmem_finish): Likewise.
1347         * locale/nl_langinfo.c (nl_langinfo): Likewise.
1348         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
1349         * locale/programs/simple-hash.c (init_hash): Likewise.
1350         (delete_hash): Likewise.
1351         (insert_entry): Likewise.
1352         (set_entry): Likewise.
1353         (next_prime): Likewise.
1354         (is_prime): Likewise.
1355         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
1356         (xmalloc): Likewise.
1357         (xrealloc): Likewise.
1358         * locale/programs/xstrdup.c (xstrdup): Likewise.
1359         * localedata/collate-test.c (xstrcoll): Likewise.
1360         * localedata/xfrm-test.c (xstrcmp): Likewise.
1361         * login/getlogin_r.c (__getlogin_r): Likewise.
1362         * login/getpt.c (__posix_openpt): Likewise.
1363         * login/login_tty.c (login_tty): Likewise.
1364         * login/setlogin.c (setlogin): Likewise.
1365         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
1366         (mach_msg_destroy_port): Likewise.
1367         (mach_msg_destroy_memory): Likewise.
1368         * malloc/mcheck.c (flood): Likewise.
1369         * misc/acct.c (acct): Likewise.
1370         * misc/brk.c (__brk): Likewise.
1371         * misc/chflags.c (chflags): Likewise.
1372         * misc/chroot.c (chroot): Likewise.
1373         * misc/fchflags.c (fchflags): Likewise.
1374         * misc/fstab.c (getfsspec): Likewise.
1375         (getfsfile): Likewise.
1376         * misc/fsync.c (fsync): Likewise.
1377         * misc/ftruncate.c (__ftruncate): Likewise.
1378         * misc/ftruncate64.c (__ftruncate64): Likewise.
1379         * misc/getdomain.c (getdomainname): Likewise.
1380         (getdomainname): Likewise.
1381         * misc/gethostname.c (__gethostname): Likewise.
1382         * misc/getpass.c (getpass): Likewise.
1383         * misc/getttyent.c (skip): Likewise.
1384         (value): Likewise.
1385         * misc/gtty.c (gtty): Likewise.
1386         * misc/hsearch.c (hsearch): Likewise.
1387         (hcreate): Likewise.
1388         * misc/hsearch_r.c (__hcreate_r): Likewise.
1389         (__hdestroy_r): Likewise.
1390         * misc/ioctl.c (__ioctl): Likewise.
1391         * misc/mkdtemp.c (mkdtemp): Likewise.
1392         * misc/mkostemp.c (mkostemp): Likewise.
1393         * misc/mkostemp64.c (mkostemp64): Likewise.
1394         * misc/mkostemps.c (mkostemps): Likewise.
1395         * misc/mkostemps64.c (mkostemps64): Likewise.
1396         * misc/mkstemp.c (mkstemp): Likewise.
1397         * misc/mkstemp64.c (mkstemp64): Likewise.
1398         * misc/mkstemps.c (mkstemps): Likewise.
1399         * misc/mkstemps64.c (mkstemps64): Likewise.
1400         * misc/mktemp.c (__mktemp): Likewise.
1401         * misc/preadv.c (preadv): Likewise.
1402         * misc/preadv64.c (preadv64): Likewise.
1403         * misc/pwritev.c (pwritev): Likewise.
1404         * misc/pwritev64.c (pwritev64): Likewise.
1405         * misc/readv.c (__readv): Likewise.
1406         * misc/revoke.c (revoke): Likewise.
1407         * misc/setdomain.c (setdomainname): Likewise.
1408         * misc/setegid.c (setegid): Likewise.
1409         * misc/seteuid.c (seteuid): Likewise.
1410         * misc/sethostid.c (sethostid): Likewise.
1411         * misc/sethostname.c (sethostname): Likewise.
1412         * misc/setregid.c (__setregid): Likewise.
1413         * misc/setreuid.c (__setreuid): Likewise.
1414         * misc/sstk.c (sstk): Likewise.
1415         * misc/stty.c (stty): Likewise.
1416         * misc/syscall.c (syscall): Likewise.
1417         * misc/syslog.c (setlogmask): Likewise.
1418         * misc/truncate.c (__truncate): Likewise.
1419         * misc/truncate64.c (truncate64): Likewise.
1420         * misc/ualarm.c (ualarm): Likewise.
1421         * misc/usleep.c (usleep): Likewise.
1422         * misc/ustat.c (ustat): Likewise.
1423         * misc/writev.c (__writev): Likewise.
1424         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
1425         * nptl/old_pthread_cond_broadcast.c
1426         (__pthread_cond_broadcast_2_0): Likewise.
1427         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
1428         Likewise.
1429         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
1430         Likewise.
1431         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
1432         Likewise.
1433         * nptl/pt-raise.c (raise): Likewise.
1434         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
1435         Likewise.
1436         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
1437         * nptl/pthread_barrierattr_destroy.c
1438         (pthread_barrierattr_destroy): Likewise.
1439         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
1440         Likewise.
1441         * nptl/pthread_barrierattr_setpshared.c
1442         (pthread_barrierattr_setpshared): Likewise.
1443         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1444         Likewise.
1445         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1446         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1447         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1448         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
1449         Likewise.
1450         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
1451         Likewise.
1452         * nptl/pthread_condattr_getpshared.c
1453         (pthread_condattr_getpshared): Likewise.
1454         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
1455         Likewise.
1456         * nptl/pthread_condattr_setpshared.c
1457         (pthread_condattr_setpshared): Likewise.
1458         * nptl/pthread_detach.c (pthread_detach): Likewise.
1459         * nptl/pthread_equal.c (__pthread_equal): Likewise.
1460         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
1461         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1462         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1463         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
1464         Likewise.
1465         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
1466         Likewise.
1467         * nptl/pthread_mutex_getprioceiling.c
1468         (pthread_mutex_getprioceiling): Likewise.
1469         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
1470         Likewise.
1471         * nptl/pthread_mutexattr_getprotocol.c
1472         (pthread_mutexattr_getprotocol): Likewise.
1473         * nptl/pthread_mutexattr_getpshared.c
1474         (pthread_mutexattr_getpshared): Likewise.
1475         * nptl/pthread_mutexattr_getrobust.c
1476         (pthread_mutexattr_getrobust): Likewise.
1477         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1478         Likewise.
1479         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
1480         Likewise.
1481         * nptl/pthread_mutexattr_setprioceiling.c
1482         (pthread_mutexattr_setprioceiling): Likewise.
1483         * nptl/pthread_mutexattr_setprotocol.c
1484         (pthread_mutexattr_setprotocol): Likewise.
1485         * nptl/pthread_mutexattr_setpshared.c
1486         (pthread_mutexattr_setpshared): Likewise.
1487         * nptl/pthread_mutexattr_setrobust.c
1488         (pthread_mutexattr_setrobust): Likewise.
1489         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1490         Likewise.
1491         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
1492         Likewise.
1493         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
1494         Likewise.
1495         * nptl/pthread_rwlockattr_getkind_np.c
1496         (pthread_rwlockattr_getkind_np): Likewise.
1497         * nptl/pthread_rwlockattr_getpshared.c
1498         (pthread_rwlockattr_getpshared): Likewise.
1499         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
1500         Likewise.
1501         * nptl/pthread_rwlockattr_setkind_np.c
1502         (pthread_rwlockattr_setkind_np): Likewise.
1503         * nptl/pthread_rwlockattr_setpshared.c
1504         (pthread_rwlockattr_setpshared): Likewise.
1505         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
1506         Likewise.
1507         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
1508         Likewise.
1509         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
1510         Likewise.
1511         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1512         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1513         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
1514         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
1515         * nptl/sem_close.c (sem_close): Likewise.
1516         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
1517         * nptl/sem_init.c (__old_sem_init): Likewise.
1518         * nptl/sigaction.c (__sigaction): Likewise.
1519         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1520         * posix/_exit.c (_exit): Likewise.
1521         * posix/alarm.c (alarm): Likewise.
1522         * posix/confstr.c (confstr): Likewise.
1523         * posix/fpathconf.c (__fpathconf): Likewise.
1524         * posix/getgroups.c (__getgroups): Likewise.
1525         * posix/getpgid.c (__getpgid): Likewise.
1526         * posix/group_member.c (__group_member): Likewise.
1527         * posix/pathconf.c (__pathconf): Likewise.
1528         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
1529         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
1530         * posix/setgid.c (__setgid): Likewise.
1531         * posix/setpgid.c (__setpgid): Likewise.
1532         * posix/setuid.c (__setuid): Likewise.
1533         * posix/sleep.c (__sleep): Likewise.
1534         * posix/sysconf.c (__sysconf): Likewise.
1535         * posix/times.c (__times): Likewise.
1536         * posix/uname.c (__uname): Likewise.
1537         * posix/waitid.c (__waitid): Likewise.
1538         * pwd/getpw.c (__getpw): Likewise.
1539         * resolv/base64.c (b64_pton): Likewise.
1540         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1541         * resolv/gethnamaddr.c (Dprintf): Likewise.
1542         (gethostbyname): Likewise.
1543         (gethostbyname2): Likewise.
1544         (gethostbyaddr): Likewise.
1545         (_sethtent): Likewise.
1546         (_gethtbyname): Likewise.
1547         (_gethtbyname2): Likewise.
1548         (_gethtbyaddr): Likewise.
1549         (map_v4v6_address): Likewise.
1550         (map_v4v6_hostent): Likewise.
1551         (addrsort): Likewise.
1552         (ht_sethostent): Likewise.
1553         (ht_gethostbyname): Likewise.
1554         (ht_gethostbyaddr): Likewise.
1555         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
1556         (inet_net_ntop_ipv4): Likewise.
1557         * resolv/inet_neta.c (inet_neta): Likewise.
1558         * resolv/inet_ntop.c (inet_ntop): Likewise.
1559         (inet_ntop4): Likewise.
1560         (inet_ntop6): Likewise.
1561         * resolv/inet_pton.c (__inet_pton): Likewise.
1562         (inet_pton4): Likewise.
1563         (inet_pton6): Likewise.
1564         * resolv/res_debug.c (loc_aton): Likewise.
1565         (loc_ntoa): Likewise.
1566         * resource/getpriority.c (__getpriority): Likewise.
1567         * resource/getrusage.c (__getrusage): Likewise.
1568         * resource/nice.c (nice): Likewise.
1569         * resource/setpriority.c (__setpriority): Likewise.
1570         * resource/setrlimit64.c (setrlimit64): Likewise.
1571         * resource/vlimit.c (vlimit): Likewise.
1572         * resource/vtimes.c (vtimes): Likewise.
1573         * rt/aio_error.c (aio_error): Likewise.
1574         * rt/aio_return.c (aio_return): Likewise.
1575         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
1576         * signal/kill.c (__kill): Likewise.
1577         * signal/killpg.c (killpg): Likewise.
1578         * signal/raise.c (raise): Likewise.
1579         * signal/sigaction.c (__sigaction): Likewise.
1580         * signal/sigaddset.c (sigaddset): Likewise.
1581         * signal/sigaltstack.c (sigaltstack): Likewise.
1582         * signal/sigandset.c (sigandset): Likewise.
1583         * signal/sigblock.c (__sigblock): Likewise.
1584         * signal/sigdelset.c (sigdelset): Likewise.
1585         * signal/sigempty.c (sigemptyset): Likewise.
1586         * signal/sigfillset.c (sigfillset): Likewise.
1587         * signal/sighold.c (sighold): Likewise.
1588         * signal/sigignore.c (sigignore): Likewise.
1589         * signal/sigintr.c (siginterrupt): Likewise.
1590         * signal/sigisempty.c (sigisemptyset): Likewise.
1591         * signal/sigismem.c (sigismember): Likewise.
1592         * signal/signal.c (signal): Likewise.
1593         * signal/sigorset.c (sigorset): Likewise.
1594         * signal/sigpause.c (__sigpause): Likewise.
1595         * signal/sigpending.c (sigpending): Likewise.
1596         * signal/sigprocmask.c (__sigprocmask): Likewise.
1597         * signal/sigrelse.c (sigrelse): Likewise.
1598         * signal/sigreturn.c (__sigreturn): Likewise.
1599         * signal/sigset.c (sigset): Likewise.
1600         * signal/sigsetmask.c (__sigsetmask): Likewise.
1601         * signal/sigstack.c (sigstack): Likewise.
1602         * signal/sigsuspend.c (__sigsuspend): Likewise.
1603         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
1604         * signal/sysv_signal.c (__sysv_signal): Likewise.
1605         * socket/accept.c (accept): Likewise.
1606         * socket/accept4.c (__libc_accept4): Likewise.
1607         * socket/bind.c (__bind): Likewise.
1608         * socket/connect.c (__connect): Likewise.
1609         * socket/getpeername.c (getpeername): Likewise.
1610         * socket/getsockname.c (__getsockname): Likewise.
1611         * socket/getsockopt.c (getsockopt): Likewise.
1612         * socket/listen.c (__listen): Likewise.
1613         * socket/recv.c (__recv): Likewise.
1614         * socket/recvmsg.c (__recvmsg): Likewise.
1615         * socket/send.c (__send): Likewise.
1616         * socket/sendmsg.c (__sendmsg): Likewise.
1617         * socket/shutdown.c (shutdown): Likewise.
1618         * socket/sockatmark.c (sockatmark): Likewise.
1619         * socket/socket.c (__socket): Likewise.
1620         * stdio-common/ctermid.c (ctermid): Likewise.
1621         * stdio-common/cuserid.c (cuserid): Likewise.
1622         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
1623         * stdio-common/remove.c (remove): Likewise.
1624         * stdio-common/rename.c (rename): Likewise.
1625         * stdio-common/renameat.c (renameat): Likewise.
1626         * stdio-common/tempname.c (__gen_tempname): Likewise.
1627         * stdio-common/xbug.c (InitBuffer): Likewise.
1628         (AppendToBuffer): Likewise.
1629         (ReadFile): Likewise.
1630         * stdlib/a64l.c (a64l): Likewise.
1631         * stdlib/drand48_r.c (drand48_r): Likewise.
1632         * stdlib/getcontext.c (getcontext): Likewise.
1633         * stdlib/getenv.c (getenv): Likewise.
1634         * stdlib/l64a.c (l64a): Likewise.
1635         * stdlib/llabs.c (llabs): Likewise.
1636         * stdlib/lldiv.c (lldiv): Likewise.
1637         * stdlib/lrand48_r.c (lrand48_r): Likewise.
1638         * stdlib/mrand48_r.c (mrand48_r): Likewise.
1639         * stdlib/putenv.c (putenv): Likewise.
1640         * stdlib/random.c (__srandom): Likewise.
1641         (__initstate): Likewise.
1642         (__setstate): Likewise.
1643         * stdlib/random_r.c (__srandom_r): Likewise.
1644         (__setstate_r): Likewise.
1645         (__random_r): Likewise.
1646         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
1647         * stdlib/setcontext.c (setcontext): Likewise.
1648         * stdlib/setenv.c (setenv): Likewise.
1649         (unsetenv): Likewise.
1650         * stdlib/srand48.c (srand48): Likewise.
1651         * stdlib/srand48_r.c (__srand48_r): Likewise.
1652         * stdlib/swapcontext.c (swapcontext): Likewise.
1653         * stdlib/system.c (__libc_system): Likewise.
1654         * stdlib/tst-strtod.c (expand): Likewise.
1655         * stdlib/tst-strtol.c (expand): Likewise.
1656         * stdlib/tst-strtoll.c (expand): Likewise.
1657         * streams/fattach.c (fattach): Likewise.
1658         * streams/fdetach.c (fdetach): Likewise.
1659         * streams/getmsg.c (getmsg): Likewise.
1660         * streams/isastream.c (isastream): Likewise.
1661         * string/ffs.c (__ffs): Likewise.
1662         * string/ffsll.c (ffsll): Likewise.
1663         * string/memcmp.c (memcmp_common_alignment): Likewise.
1664         (memcmp_not_common_alignment): Likewise.
1665         (MEMCMP): Likewise.
1666         * string/memcpy.c (memcpy): Likewise.
1667         * string/memmove.c (MEMMOVE): Likewise.
1668         * string/memset.c (memset): Likewise.
1669         * string/rawmemchr.c (RAWMEMCHR): Likewise.
1670         * string/strchrnul.c (STRCHRNUL): Likewise.
1671         * string/strerror.c (strerror): Likewise.
1672         * string/strndup.c (__strndup): Likewise.
1673         * string/strverscmp.c (__strverscmp): Likewise.
1674         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
1675         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
1676         (clnttcp_freeres): Likewise.
1677         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
1678         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
1679         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
1680         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
1681         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
1682         (xdr_callhdr): Likewise.
1683         * sunrpc/rpcinfo.c (udpping): Likewise.
1684         (tcpping): Likewise.
1685         (pstatus): Likewise.
1686         (pmapdump): Likewise.
1687         (brdcst): Likewise.
1688         (deletereg): Likewise.
1689         (getprognum): Likewise.
1690         (getvers): Likewise.
1691         (get_inet_address): Likewise.
1692         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
1693         * sunrpc/svc_udp.c (svcudp_create): Likewise.
1694         (svcudp_stat): Likewise.
1695         (svcudp_recv): Likewise.
1696         (svcudp_reply): Likewise.
1697         (svcudp_getargs): Likewise.
1698         (svcudp_freeargs): Likewise.
1699         (svcudp_destroy): Likewise.
1700         * sunrpc/xdr.c (xdr_bytes): Likewise.
1701         (xdr_netobj): Likewise.
1702         (xdr_string): Likewise.
1703         (xdr_wrapstring): Likewise.
1704         * sunrpc/xdr_float.c (xdr_float): Likewise.
1705         (xdr_double): Likewise.
1706         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
1707         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
1708         * sysvipc/ftok.c (ftok): Likewise.
1709         * sysvipc/msgctl.c (msgctl): Likewise.
1710         * sysvipc/msgget.c (msgget): Likewise.
1711         * sysvipc/msgrcv.c (msgrcv): Likewise.
1712         * sysvipc/msgsnd.c (msgsnd): Likewise.
1713         * sysvipc/semget.c (semget): Likewise.
1714         * sysvipc/semop.c (semop): Likewise.
1715         * sysvipc/shmat.c (shmat): Likewise.
1716         * sysvipc/shmctl.c (shmctl): Likewise.
1717         * sysvipc/shmdt.c (shmdt): Likewise.
1718         * sysvipc/shmget.c (shmget): Likewise.
1719         * termios/cfmakeraw.c (cfmakeraw): Likewise.
1720         * termios/speed.c (cfgetospeed): Likewise.
1721         (cfgetispeed): Likewise.
1722         (cfsetospeed): Likewise.
1723         (cfsetispeed): Likewise.
1724         * termios/tcflow.c (tcflow): Likewise.
1725         * termios/tcflush.c (tcflush): Likewise.
1726         * termios/tcgetattr.c (__tcgetattr): Likewise.
1727         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
1728         * termios/tcgetsid.c (tcgetsid): Likewise.
1729         * termios/tcsendbrk.c (tcsendbreak): Likewise.
1730         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
1731         * time/adjtime.c (__adjtime): Likewise.
1732         * time/dysize.c (dysize): Likewise.
1733         * time/ftime.c (ftime): Likewise.
1734         * time/getitimer.c (__getitimer): Likewise.
1735         * time/gettimeofday.c (__gettimeofday): Likewise.
1736         * time/gmtime.c (__gmtime_r): Likewise.
1737         (gmtime): Likewise.
1738         * time/localtime.c (__localtime_r): Likewise.
1739         (localtime): Likewise.
1740         * time/offtime.c (__offtime): Likewise.
1741         * time/settimeofday.c (__settimeofday): Likewise.
1742         * time/stime.c (stime): Likewise.
1743         * time/strftime_l.c (tm_diff): Likewise.
1744         (iso_week_days): Likewise.
1745         * time/strptime.c (strptime): Likewise.
1746         * time/time.c (time): Likewise.
1747         * time/timespec_get.c (timespec_get): Likewise.
1748         * time/tzset.c (tzset_internal): Likewise.
1749         (compute_change): Likewise.
1750         (__tz_compute): Likewise.
1751         * wcsmbs/btowc.c (__btowc): Likewise.
1752         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
1753         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
1754         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
1755         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
1756         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
1757         * wcsmbs/wcscat.c (__wcscat): Likewise.
1758         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1759         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
1760         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
1761         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1762         * wcsmbs/wcsdup.c (wcsdup): Likewise.
1763         * wcsmbs/wcslen.c (__wcslen): Likewise.
1764         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
1765         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
1766         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
1767         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
1768         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1769         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
1770         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1771         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1772         * wcsmbs/wcstok.c (wcstok): Likewise.
1773         * wcsmbs/wctob.c (wctob): Likewise.
1774         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
1775         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1776         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
1777         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
1778         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
1779         * wcsmbs/wmemset.c (__wmemset): Likewise.
1780         * wctype/wcfuncs.c (__towlower): Likewise.
1781         (__towupper): Likewise.
1783         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
1784         (lll_unlock_elision): Add adapt_count parameter.
1786 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1788         * sysdeps/nptl/configure.ac: Do not give errors based on the
1789         results of top-level configure tests.
1790         * sysdeps/nptl/configure: Regenerated.
1792         * configure.ac (libc_cv_Bgroup): Remove configure test.
1793         * configure: Regenerated.
1794         * config.make.in (have-Bgroup): Remove variable.
1796         * configure.ac (sizeof_long_double): Remove configure test.
1797         * configure: Regenerated.
1798         * config.make.in (sizeof-long-double): Remove variable.
1800         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
1801         * configure: Regenerated.
1802         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
1803         variable.
1804         (exceptions): Likewise.
1805         * sysdeps/arm/configure: Regenerated.
1806         * config.make.in (exceptions): Remove variable.
1807         * Makeconfig (uses-callbacks): Use -fexceptions instead of
1808         $(exceptions).
1809         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
1810         (CFLAGS-vdprintf_chk.c): Likewise.
1811         (CFLAGS-printf_chk.c): Likewise.
1812         (CFLAGS-fprintf_chk.c): Likewise.
1813         (CFLAGS-vprintf_chk.c): Likewise.
1814         (CFLAGS-vfprintf_chk.c): Likewise.
1815         (CFLAGS-gets_chk.c): Likewise.
1816         (CFLAGS-fgets_chk.c): Likewise.
1817         (CFLAGS-fgets_u_chk.c): Likewise.
1818         (CFLAGS-fread_chk.c): Likewise.
1819         (CFLAGS-fread_u_chk.c): Likewise.
1820         (CFLAGS-wprintf_chk.c): Likewise.
1821         (CFLAGS-fwprintf_chk.c): Likewise.
1822         (CFLAGS-vwprintf_chk.c): Likewise.
1823         (CFLAGS-vfwprintf_chk.c): Likewise.
1824         (CFLAGS-fgetws_chk.c): Likewise.
1825         (CFLAGS-fgetws_u_chk.c): Likewise.
1826         * libio/Makefile (CFLAGS-fileops.c): Likewise.
1827         (CFLAGS-fputc.c): Likewise.
1828         (CFLAGS-fputwc.c): Likewise.
1829         (CFLAGS-freopen64.c): Likewise.
1830         (CFLAGS-freopen.c): Likewise.
1831         (CFLAGS-fseek.c): Likewise.
1832         (CFLAGS-fseeko64.c): Likewise.
1833         (CFLAGS-fseeko.c): Likewise.
1834         (CFLAGS-ftello64.c): Likewise.
1835         (CFLAGS-ftello.c): Likewise.
1836         (CFLAGS-fwide.c): Likewise.
1837         (CFLAGS-genops.c): Likewise.
1838         (CFLAGS-getc.c): Likewise.
1839         (CFLAGS-getchar.c): Likewise.
1840         (CFLAGS-getwc.c): Likewise.
1841         (CFLAGS-getwchar.c): Likewise.
1842         (CFLAGS-iofclose.c): Likewise.
1843         (CFLAGS-iofflush.c): Likewise.
1844         (CFLAGS-iofgetpos64.c): Likewise.
1845         (CFLAGS-iofgetpos.c): Likewise.
1846         (CFLAGS-iofgets.c): Likewise.
1847         (CFLAGS-iofgetws.c): Likewise.
1848         (CFLAGS-iofputs.c): Likewise.
1849         (CFLAGS-iofputws.c): Likewise.
1850         (CFLAGS-iofread.c): Likewise.
1851         (CFLAGS-iofsetpos64.c): Likewise.
1852         (CFLAGS-iofsetpos.c): Likewise.
1853         (CFLAGS-ioftell.c): Likewise.
1854         (CFLAGS-iofwrite.c): Likewise.
1855         (CFLAGS-iogetdelim.c): Likewise.
1856         (CFLAGS-iogetline.c): Likewise.
1857         (CFLAGS-iogets.c): Likewise.
1858         (CFLAGS-iogetwline.c): Likewise.
1859         (CFLAGS-ioputs.c): Likewise.
1860         (CFLAGS-ioseekoff.c): Likewise.
1861         (CFLAGS-ioseekpos.c): Likewise.
1862         (CFLAGS-iosetbuffer.c): Likewise.
1863         (CFLAGS-iosetvbuf.c): Likewise.
1864         (CFLAGS-ioungetc.c): Likewise.
1865         (CFLAGS-ioungetwc.c): Likewise.
1866         (CFLAGS-oldfileops.c): Likewise.
1867         (CFLAGS-oldiofclose.c): Likewise.
1868         (CFLAGS-oldiofgetpos64.c): Likewise.
1869         (CFLAGS-oldiofgetpos.c): Likewise.
1870         (CFLAGS-oldiofsetpos64.c): Likewise.
1871         (CFLAGS-oldiofsetpos.c): Likewise.
1872         (CFLAGS-peekc.c): Likewise.
1873         (CFLAGS-putc.c): Likewise.
1874         (CFLAGS-putchar.c): Likewise.
1875         (CFLAGS-putwc.c): Likewise.
1876         (CFLAGS-putwchar.c): Likewise.
1877         (CFLAGS-rewind.c): Likewise.
1878         (CFLAGS-wfileops.c): Likewise.
1879         (CFLAGS-wgenops.c): Likewise.
1880         (CFLAGS-oldiofopen.c): Likewise.
1881         (CFLAGS-iofopen.c): Likewise.
1882         (CFLAGS-iofopen64.c): Likewise.
1883         (CFLAGS-oldtmpfile.c): Likewise.
1884         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
1885         (CFLAGS-fprintf.c): Likewise.
1886         (CFLAGS-printf.c): Likewise.
1887         (CFLAGS-vfwprintf.c): Likewise.
1888         (CFLAGS-vfscanf.c): Likewise.
1889         (CFLAGS-vfwscanf.c): Likewise.
1890         (CFLAGS-fscanf.c): Likewise.
1891         (CFLAGS-scanf.c): Likewise.
1892         (CFLAGS-isoc99_vfscanf.c): Likewise.
1893         (CFLAGS-isoc99_vscanf.c): Likewise.
1894         (CFLAGS-isoc99_fscanf.c): Likewise.
1895         (CFLAGS-isoc99_scanf.c): Likewise.
1896         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
1897         (CFLAGS-isoc99_fwscanf.c): Likewise.
1898         (CFLAGS-isoc99_vwscanf.c): Likewise.
1899         (CFLAGS-isoc99_vfwscanf.c): Likewise.
1901         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
1902         after mkstemp64.
1903         * login/tst-utmp.c (do_prepare): Likewise.
1904         * rt/tst-aio.c (do_prepare): Likewise.
1905         * rt/tst-aio64.c (do_prepare): Likewise.
1907 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1909         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1910         (__lll_lock_elision): Remove adapt_count decrement...
1911         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1912         (__lll_trylock_elision): Likewise.
1913         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1914         (__lll_unlock_elision): ... to here. And utilize
1915         new adapt_count parameter.
1916         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1917         (__lll_unlock_elision): Update to include adapt_count
1918         parameter.
1919         (lll_unlock_elision): Pass pointer to adapt_count
1920         variable.
1922 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1924         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
1925         Add elision adapt_count parameter to list of arguments.
1926         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1927         (lll_unlock_elision): Update with new parameter list
1928         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1929         (lll_unlock_elision): Likewise
1930         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
1931         (lll_unlock_elision): Likewise
1933 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1935         [BZ #19122]
1936         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
1937         attribute_hidden.
1939         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
1940         attribute_hidden.
1941         [IS_IN (rtld)] (__strdup): Likewise.
1942         [IS_IN (rtld)] (__strerror_r): Likewise.
1943         [IS_IN (rtld)] (__strsep_g): Likewise.
1944         [IS_IN (rtld)] (memchr): Likewise.
1945         [IS_IN (rtld)] (memcmp): Likewise.
1946         [IS_IN (rtld)] (memcpy): Likewise.
1947         [IS_IN (rtld)] (memmove): Likewise.
1948         [IS_IN (rtld)] (memset): Likewise.
1949         [IS_IN (rtld)] (rawmemchr): Likewise.
1950         [IS_IN (rtld)] (stpcpy): Likewise.
1951         [IS_IN (rtld)] (strchr): Likewise.
1952         [IS_IN (rtld)] (strcmp): Likewise.
1953         [IS_IN (rtld)] (strlen): Likewise.
1954         [IS_IN (rtld)] (strnlen): Likewise.
1955         [IS_IN (rtld)] (strsep): Likewise.
1957         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
1958         attribute_hidden.
1959         [IS_IN (rtld)] (__strtoul_internal): Likewise.
1961         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
1962         attribute_hidden.
1963         [IS_IN (rtld)] (__libc_sigaction): Likewise.
1965         * include/setjmp.h (__longjmp): Add attribute_hidden.
1966         [IS_IN (rtld)] (__sigsetjmp): Likewise.
1968         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
1969         Add attribute_hidden.
1971         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
1972         [IS_IN (rtld)] (__open): Likewise.
1973         [IS_IN (rtld)] (__fcntl): Likewise.
1975         * include/dirent.h (__opendirat): Add attribute_hidden.
1976         (__getdents): Likewise.
1977         (__getdents64): Likewise.
1978         (__alloc_dir): Likewise.
1979         [IS_IN (rtld)] (__closedir): Likewise.
1980         [IS_IN (rtld)] (__fdopendir): Likewise.
1981         [IS_IN (rtld)] (__readdir): Likewise.
1982         [IS_IN (rtld)] (__readdir64): Likewise.
1983         [IS_IN (rtld)] (__rewinddir): Likewise.
1985         * include/dlfcn.h (_dl_catch_error): Moved to ...
1986         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
1987         attribute_hidden.
1989         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
1990         (_itoa_word): Likewise.
1992         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
1993         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
1994         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
1995         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
1996         (_dl_higher_prime_number): Likewise.
1997         (_dl_debug_printf_c): Likewise.
1998         (_dl_signal_cerror): Likewise.
1999         (_dl_receive_error): Likewise.
2000         (_dl_reloc_bad_type): Likewise.
2001         (_dl_resolve_conflicts): Likewise.
2002         (_dl_check_all_versions): Likewise.
2003         (_dl_check_map_versions): Likewise.
2004         (_dl_sort_fini): Likewise.
2005         (_dl_debug_initialize): Likewise.
2006         (_dl_init_paths): Likewise.
2007         (_dl_show_auxv): Likewise.
2008         (_dl_next_ld_env_entry): Likewise.
2009         (_dl_important_hwcaps): Likewise.
2010         (_dl_load_cache_lookup): Likewise.
2011         (_dl_update_slotinfo): Likewise.
2012         (_dl_show_scope): Likewise.
2014         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
2015         attribute_hidden.
2016         (_wordcopy_fwd_dest_aligned): Likewise.
2017         (_wordcopy_bwd_aligned): Likewise.
2018         (_wordcopy_bwd_dest_aligned): Likewise.
2020         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2021         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2022         Likewise.
2023         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2024         Likewise.
2025         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
2027 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2029         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
2030         GCC 5 requirement.
2032 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
2034         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
2035         test.
2036         * sysdeps/i386/configure: Regenerated.
2037         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
2038         code unconditional.
2040         * configure.ac (libc_cv_asm_previous_directive): Remove configure
2041         test.
2042         (libc_cv_asm_popsection_directive): Likewise.
2043         * configure: Regenerated.
2044         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
2045         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
2046         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
2047         (__make_section_unallocated): Make definition unconditional.
2048         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
2049         Remove conditional definition.
2050         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
2051         (__make_section_unallocated): Likewise.
2053         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
2054         * configure: Regenerated.
2055         * config.make.in (static-libgcc): Remove variable.
2056         * Makerules (build-shlib-helper): Use -static-libgcc instead of
2057         $(static-libgcc).
2058         (build-module-helper): Likewise.
2060         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
2061         * configure: Regenerated.
2063 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2065         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
2066         (struct char_buffer): New type.
2067         (char_buffer_start, char_buffer_size, char_buffer_error)
2068         (char_buffer_rewind, char_buffer_add): New functions.
2069         (ADDW): Remove macro, replaced by the char_buffer_add function.
2070         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
2071         of extend_alloca.  Make control flow more explicit.
2073 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2075         [BZ #19137]
2076         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2077         Add -fomit-frame-pointer.
2078         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
2080 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2082         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
2083         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
2084         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
2085         only if !__GNUC_PREREQ (5,0).
2086         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
2087         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
2088         (INTERNAL_SYSCALL_NCS): Likewise.
2089         (LOADREGS_0): New macro for GCC 5.
2090         (ASMARGS_0): Likewise.
2091         (LOADREGS_1): Likewise.
2092         (ASMARGS_1): Likewise.
2093         (LOADREGS_2): Likewise.
2094         (ASMARGS_2): Likewise.
2095         (LOADREGS_3): Likewise.
2096         (ASMARGS_3): Likewise.
2097         (LOADREGS_4): Likewise.
2098         (ASMARGS_4): Likewise.
2099         (LOADREGS_5): Likewise.
2100         (ASMARGS_5): Likewise.
2101         (LOADREGS_6): Likewise.
2102         (ASMARGS_6): Likewise.
2104 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2106         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
2107         -fomit-frame-pointer.
2108         (CFLAGS-mmap64.c): Likewise.
2109         (CFLAGS-semtimedop.c): Likewise.
2110         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
2111         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
2112         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2113         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2115 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2117         [BZ #18928]
2118         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
2119         _dl_pointer_guard member.
2120         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
2121         initializer.
2122         (security_init): Always set up pointer guard.
2123         (process_envvars): Do not process LD_POINTER_GUARD.
2125 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
2127         [BZ #19134]
2128         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
2129         (.LC2): Likewise.
2130         (.LC3): Likewise.
2131         (__lround): Do not add 0.5 to integer or out-of-range arguments.
2133 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2135         [BZ #19129]
2136         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
2137         r0 and r1.
2139 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
2141         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
2143 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
2145         * include/stap-probe.h: Fix macro definition formatting.
2147 2015-10-14  Florian Weimer  <fweimer@redhat.com>
2149         [BZ #19074]
2150         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
2151         load and store num_ifs.
2153 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2155         [BZ #18822]
2156         * sysdeps/unix/sysv/linux/sched_getaffinity.c
2157         (__sched_getaffinity_new): Add libc_hidden_proto and
2158         libc_hidden_def.
2160 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2162         [BZ #19007]
2163         * scripts/localplt.awk: Also allow GOT references.
2164         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
2165         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
2166         with "+ REL R_386_GLOB_DAT".
2167         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
2168         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
2170 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2172         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
2173         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2174         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
2175         Likewise.
2176         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2177         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
2178         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2179         INTERNAL_SYSCALLINTERNAL_SYSCALL and
2180         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2181         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2182         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2183         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2184         Likewise.
2185         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2187 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2189         [BZ #19125]
2190         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
2191         <math_private.h> and <stdint.h>.
2192         (__llround): Avoid conversions to and from long long int, and
2193         subtractions, where those might raise spurious exceptions.
2194         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
2195         <math_private.h> and <stdint.h>.
2196         (__llroundf): Avoid conversions to and from long long int, and
2197         subtractions, where those might raise spurious exceptions.
2199 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2201         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
2202         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2203         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2204         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
2205         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2206         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2207         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
2208         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
2209         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
2210         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2211         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2212         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2213         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
2214         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2215         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2216         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
2217         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
2218         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2219         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
2220         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
2221         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2222         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
2223         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
2224         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2225         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
2226         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2227         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
2228         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2229         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2230         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
2231         (__xstat64_conv): Likewise.
2232         (__xstat32_conv): Likewise.
2234 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2236         * sysdeps/unix/sysv/linux/sysdep.h: New file.
2237         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
2238         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
2239         <sysdeps/unix/sysv/linux/sysdep.h>.
2240         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2241         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
2242         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
2243         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2244         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2245         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
2246         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
2247         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2248         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2251         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2252         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2253         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2254         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2255         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2256         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
2257         (sysdep-dl-routines): Add sysdep.
2258         [$(subdir) == nptl] (libpthread-routines): Likewise.
2259         [$(subdir) == rt] (librt-routines): Likewise.
2260         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
2261         PIC when branching to SYSCALL_ERROR_LABEL.
2262         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
2263         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
2264         <sysdeps/unix/sysv/linux/sysdep.h>.
2265         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
2266         (SYSCALL_ERROR_ERRNO): Removed.
2267         (SYSCALL_ERROR_HANDLER): Changed to empty.
2268         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
2269         (__syscall_error): New prototype.
2270         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
2271         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
2273 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2275         [BZ #19124]
2276         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
2277         (_dl_runtime_resolve_avx512): Make it a hidden alias of
2278         _dl_runtime_resolve_avx.
2279         (_dl_runtime_profile_avx512): Make it a hidden alias of
2280         _dl_runtime_profile_avx.
2282 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2284         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
2285         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
2286         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
2287         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
2289         [BZ #16422]
2290         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
2291         New configure test.
2292         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
2293         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
2294         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
2295         <math_private.h> and <stdint.h>.
2296         (__llrint): Avoid conversions to long long int where those might
2297         raise spurious exceptions.
2298         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
2299         <math_private.h> and <stdint.h>.
2300         (__llrintf): Avoid conversions to long long int where those might
2301         raise spurious exceptions.
2303 2015-10-12  Andreas Schwab  <schwab@suse.de>
2305         [BZ #18969]
2306         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
2307         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
2308         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
2309         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
2310         $(gen-locales).
2311         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
2312         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
2313         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
2314         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
2315         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
2316         $(gen-locales).
2317         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
2318         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
2319         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
2320         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
2321         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
2322         ($(objpfx)tst-ftell-active-handler.out)
2323         ($(objpfx)tst-ftell-append.out)
2324         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
2325         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
2326         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
2327         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
2328         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
2329         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
2330         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
2331         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
2332         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
2333         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
2334         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
2335         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
2336         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
2337         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
2338         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
2339         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
2340         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
2341         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
2342         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
2343         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
2344         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
2345         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
2346         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
2347         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
2348         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
2349         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
2350         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
2351         $(gen-locales).
2352         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
2353         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
2354         $(gen-locales).
2355         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
2356         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
2357         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
2358         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
2359         $(gen-locales).
2360         * libio/tst_wprintf2.c (main): Use explicit locale.
2361         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
2363 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2365         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
2366         __msg_sig_post.
2367         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
2369 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2371         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2372         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2374         * sysdeps/arm/libm-test-ulps: Regenerated.
2376         [BZ #15470]
2377         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
2379         [BZ #16399]
2380         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
2381         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
2382         and <fix-fp-int-convert-overflow.h>.
2383         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2384         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2385         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
2386         and <fix-fp-int-convert-overflow.h>.
2387         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
2388         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2389         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
2390         <fix-fp-int-convert-overflow.h>.
2391         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2392         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2393         * sysdeps/ieee754/dbl-64/s_lround.c: Include
2394         <fix-fp-int-convert-overflow.h>.
2395         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
2396         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2397         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
2398         and <fix-fp-int-convert-overflow.h>.
2399         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2400         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2401         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
2402         <limits.h> and <fix-fp-int-convert-overflow.h>.
2403         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2404         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2405         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
2406         and <fix-fp-int-convert-overflow.h>.
2407         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2408         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2409         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
2410         and <fix-fp-int-convert-overflow.h>.
2411         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2412         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2413         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
2415 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
2417         [BZ #18589]
2418         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
2419         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
2420         $(gen-locales).
2422 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2423             Phil Blundell <pb@pbcl.net>
2425         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
2426         * nptl/tst-cancel26.c: New file.
2427         * nptl/tst-cancel27.c: Likewise.
2429 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
2431         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
2432         __ILP32__ isn't defined.
2433         (lrint): Likewise.
2434         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
2435         (lrintf): Likewise.
2436         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
2437         (lrintl): Likewise.
2438         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
2439         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
2440         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
2442 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2444         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2445         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2447         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
2448         file.
2449         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
2450         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2452 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2454         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
2455         configure test.
2456         * sysdeps/i386/configure: Regenerated.
2457         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
2458         configure test.
2459         * sysdeps/x86_64/configure: Regenerated.
2460         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
2461         Make code unconditional.
2463         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
2464         test.
2465         * sysdeps/i386/configure: Regenerated.
2466         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
2467         test.
2468         * sysdeps/x86_64/configure: Regenerated.
2469         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
2470         Make code unconditional.
2471         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2472         Likewise.
2473         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
2474         Likewise.
2475         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2476         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
2477         code unconditional.
2478         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2479         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
2480         code unconditional.
2481         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2482         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
2483         code unconditional.
2484         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
2485         code unconditional.
2486         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2487         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
2488         code unconditional.
2489         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2490         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
2491         code unconditional.
2492         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2493         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
2494         code unconditional.
2495         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2496         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
2497         code unconditional.
2498         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2499         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
2501         [BZ #19095]
2502         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
2503         mantissa to long int before shifting left.
2505 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2507         [BZ #19094]
2508         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
2509         <limits.h>.
2510         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2511         when result overflows but exception would not result from cast.
2512         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
2513         <limits.h>.
2514         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2515         when result overflows but exception would not result from cast.
2516         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
2517         <limits.h>.
2518         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2519         when result overflows but exception would not result from cast.
2520         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
2521         <limits.h>.
2522         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2523         when result overflows but exception would not result from cast.
2524         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
2525         <limits.h>.
2526         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2527         when result overflows but exception would not result from cast.
2528         * math/libm-test.inc (lrint_test_data): Add more tests.
2529         (llrint_test_data): Likewise.
2531 2015-10-08  Roland McGrath  <roland@hack.frob.com>
2533         [BZ #18872]
2534         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
2535         Move out from under [$(run-built-tests) = yes] conditional.
2536         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
2537         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
2539 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
2541         [BZ #18589]
2542         * string/Makefile (tests): Add bug-strcoll2.
2543         (LOCALES): Add cs_CZ.UTF-8.
2544         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
2546         [BZ #18589]
2547         * string/bug-strcoll2.c: New file.
2548         * locale/categories.def: Revert commit
2549         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
2550         * locale/langinfo.h: Likewise.
2551         * locale/localeinfo.h: Likewise.
2552         * locale/C-collate.c: Likewise.
2553         * locale/programs/ld-collate.c (collate_output): Likewise.
2554         * string/strcoll_l.c (STRDIFF): Likewise.
2555         (STRCOLL): Likewise.
2556         * wcsmbs/wcscoll_l.c: Likewise.
2558 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2560         * math/libm-test.inc (lround_test_data): Do not expect the absence
2561         of "inexact" for some tests with non-integer arguments.
2562         (llround_test_data): Likewise.
2564         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
2565         test.
2566         (libc_cv_cc_sse2avx): Likewise.
2567         * sysdeps/i386/configure: Regenerated.
2568         * sysdeps/i386/i686/multiarch/Makefile
2569         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
2570         [$(subdir) = math].
2571         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
2572         code unconditional.
2573         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2574         Likewise.
2575         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
2576         Likewise.
2577         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2578         Likewise.
2579         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
2580         test.
2581         (libc_cv_cc_sse2avx): Likewise.
2582         * sysdeps/x86_64/configure: Regenerated.
2583         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
2584         unconditional.
2585         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
2586         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
2587         unconditional.
2588         (_dl_runtime_profile)
2589         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
2590         conditional code.
2591         * sysdeps/x86_64/fpu/multiarch/Makefile
2592         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
2593         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2594         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2595         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2596         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2597         * sysdeps/x86_64/fpu/multiarch/e_log.c
2598         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2599         * sysdeps/x86_64/fpu/multiarch/s_atan.c
2600         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2601         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2602         Likewise.
2603         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2604         Likewise.
2605         * sysdeps/x86_64/fpu/multiarch/s_sin.c
2606         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2607         * sysdeps/x86_64/fpu/multiarch/s_tan.c
2608         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2609         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
2610         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
2611         (HAVE_SSE2AVX_SUPPORT): Likewise.
2613 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
2615         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
2616         instead of #pragma optimize.
2618 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2620         [BZ #17195]
2621         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
2622         as is similarly done in systrim and _int_free already.
2624 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2626         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
2628 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2630         [BZ #19088]
2631         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
2632         <limits.h>.
2633         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2634         overflows but exception would not result from cast.
2635         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
2636         and <limits.h>.
2637         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2638         overflows but exception would not result from cast.
2639         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
2640         <limits.h>.
2641         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2642         overflows but exception would not result from cast.
2643         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
2644         <limits.h>.
2645         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2646         overflows but exception would not result from cast.
2647         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
2648         <limits.h>.
2649         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2650         overflows but exception would not result from cast.
2651         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
2652         <limits.h>.
2653         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2654         overflows but exception would not result from cast.
2655         * math/libm-test.inc (lround_test_data): Add more tests.
2656         (llround_test_data): Likewise.
2658 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
2660         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
2661         (CFLAGS-ialloc.c): Ditto.
2662         (CFLAGS-scheck.c): Ditto.
2664 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2666         [BZ #19086]
2667         * manual/filesys.texi (Storage Allocation): Fix argument order for
2668         posix_fallocate64.
2670 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2672         [BZ #19085]
2673         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
2674         exponent below 48 inside case for non-overflowing exponent.
2675         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2677 2015-10-07  Florian Weimer  <fweimer@redhat.com>
2679         * iconvdata/cp737.h (from_idx): Add const.
2680         * iconvdata/cp775.h (from_idx): Likewise.
2682 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2684         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
2685         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
2686         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
2688         [BZ #19079]
2689         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
2690         file, conditioned on [!_LP64].
2691         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
2692         [!_LP64] (__lround): Do not define as function or alias.
2693         [!_LP64] (lround): Likewise.
2694         [!_LP64] (__lroundl): Likewise.
2695         [!_LP64] (lroundl): Likewise.
2696         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
2697         macro.
2698         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2699         Likewise.
2701 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2703         * math/libm-test.inc (lrint_test_data): Add more tests.
2704         (llrint_test_data): Likewise.
2705         (lround_test_data): Likewise.
2706         (llround_test_data): Likewise.
2708         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
2709         (llrint_test_data): Add tests used for lrint.
2711         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
2712         test.
2713         * sysdeps/i386/configure: Regenerated.
2714         * sysdeps/i386/i686/multiarch/Makefile
2715         [$(config-cflags-sse4) = yes]: Make code unconditional.
2716         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2717         Likewise.
2718         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
2719         Likewise.
2720         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
2721         test.
2722         * sysdeps/x86_64/configure: Regenerated.
2723         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
2724         Make code unconditional.
2725         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2726         Likewise.
2727         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
2728         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
2730         * scripts/rpm2dynsym.sh: Remove file.
2732 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2734         * configure.ac (libc_cv_cxx_thread_local): Define.
2735         * configure: Regenerate.
2736         * config.make.in (have-cxx-thread_local): Define.
2737         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
2738         (LDLIBS-tst-thread_local1): Define.
2739         (tests): Add tst-thread_local1.
2740         [have-cxx-thread_local != yes] (tests-unsupported): Add
2741         tst-thread_local1.
2742         * nptl/tst-thread_local1.cc: New file.
2744 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2746         [BZ #19078]
2747         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
2748         (u_thres): Likewise.
2749         (__expl): Determine whether to call __kernel_standard_l based on
2750         value of result, not argument.
2752         * math/libm-test.inc (scalb_test_data): Add more expectations for
2753         the "inexact" exception.
2755         [BZ #19077]
2756         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
2757         0.0L for argument 1.0L.
2759         [BZ #19076]
2760         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
2761         constant 0.0L when computing infinite result.
2763 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2765         [BZ #10432]
2766         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
2767         malloc_usable_size.
2769 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2771         [BZ #19018]
2772         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2773         Mangle function pointer before storing it.
2774         (__call_tls_dtors): Demangle function pointer before calling it.
2776 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2778         [BZ #19012]
2779         * iconv/gconv_db.c (gen_steps): Check for additional errors.
2780         Clean up on failure.
2782 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
2784         [BZ #19071]
2785         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
2786         long int variable to store possibly incremented high part of
2787         mantissa.
2788         * math/libm-test.inc (lround_test_data): Add tests used for
2789         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
2790         for tests requiring 64-bit long.  Do not condition tests on
2791         [TEST_FLOAT] unnecessarily.
2792         (llround_test_data): Add tests used for lround.  Add another
2793         expectation for the "inexact" exception.  Do not condition tests
2794         on [TEST_FLOAT] unnecessarily.
2796         [BZ #887]
2797         [BZ #19049]
2798         [BZ #19050]
2799         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
2800         * sysdeps/ieee754/dbl-64/e_log10.c: Include
2801         <fix-int-fp-convert-zero.h>.
2802         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2803         * sysdeps/ieee754/dbl-64/e_log2.c: Include
2804         <fix-int-fp-convert-zero.h>.
2805         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2806         * sysdeps/ieee754/dbl-64/s_erf.c: Include
2807         <fix-int-fp-convert-zero.h>.
2808         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2809         * sysdeps/ieee754/dbl-64/s_logb.c: Include
2810         <fix-int-fp-convert-zero.h>.
2811         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2812         * sysdeps/ieee754/flt-32/e_log10f.c: Include
2813         <fix-int-fp-convert-zero.h>.
2814         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2815         * sysdeps/ieee754/flt-32/e_log2f.c: Include
2816         <fix-int-fp-convert-zero.h>.
2817         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2818         * sysdeps/ieee754/flt-32/s_erff.c: Include
2819         <fix-int-fp-convert-zero.h>.
2820         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2821         * sysdeps/ieee754/flt-32/s_logbf.c: Include
2822         <fix-int-fp-convert-zero.h>.
2823         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2824         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
2825         <fix-int-fp-convert-zero.h>.
2826         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2827         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
2828         <fix-int-fp-convert-zero.h>.
2829         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2830         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
2831         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
2832         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
2833         file.
2834         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
2836 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2838         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2840 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
2842         [BZ #19059]
2843         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
2844         overflowing computation.
2845         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2846         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2847         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2848         Likewise.
2849         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2850         Likewise.
2851         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
2852         Likewise.
2853         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2854         Likewise.
2855         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2856         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2857         Likewise.
2858         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2859         Likewise.
2860         * math/libm-test.inc (nexttoward_test_data): Add more tests.
2862         * nss/rewrite_field.c (__nss_rewrite_field): Use
2863         internal_function.
2864         * nss/valid_field.c (__nss_valid_field): Likewise.
2865         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
2867 2015-10-02  Florian Weimer  <fweimer@redhat.com>
2869         [BZ #18724]
2870         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
2871         (__nss_invalid_field_characters, __nss_valid_field)
2872         (__nss_valid_list_field, __nss_rewrite_field): Declare.
2873         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
2874         tst-field.c: New file.
2875         * nss/Makefile (routines): Add valid_field, rewrite_field.
2876         (tests-static): Define unconditionally.
2877         (tests): Include tests-static.
2878         [build-static-nss] (tests-static): Use append.
2879         [build-static-nss] (tests): Remove modification.
2880         * nss/getent.c (print_group): Call putgrent.  Report error.
2881         (print_gshadow): Call putsgent.  Report error.
2882         (print_passwd): Call putpwent.  Report error.
2883         (print_shadow): Call putspent.  Report error.
2884         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
2885         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
2886         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
2887         name, password, directory, shell fields for valid syntax.  Rewrite
2888         GECOS field to match syntax.
2889         * pwd/Makefile (tests): Add tst-putpwent.
2890         * pwd/tst-putpwent.c: New file.
2891         * grp/putgrent.c (putgrent): Convert to ISO function definition.
2892         Check grName, grpasswd, gr_mem fields for valid syntax.
2893         Change loop variable i to size_t.
2894         * grp/Makefile (tests): Add tst-putgrent.
2895         * grp/tst-putgrent.c: New file.
2896         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
2897         valid syntax.
2898         * shadow/Makefile (tests): Add tst-putspent.
2899         * shadow/tst-putspent.c: New file.
2900         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
2901         sg_mem fields for valid syntax.
2902         * gshadow/Makefile (tests): Add tst-putsgent.
2903         * gshadow/tst-putsgent.c: New file.
2905 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2907         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
2908         assembly instructions.
2910 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2912         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
2913         prefix from operands.
2915 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
2917         [BZ #16347]
2918         [BZ #19046]
2919         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
2920         <libc-internal.h>.
2921         (MAXLGM): Do not use diagnostic control macros.
2922         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
2923         threshold for ldbl-128ibm.
2924         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
2925         instead of multiplying by log then subtracting.
2926         * math/auto-libm-test-in: Add more tests of lgamma.
2927         * math/auto-libm-test-out: Regenerated.
2929         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
2930         (TYPE_HEX_DIG): Likewise.
2931         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
2932         precisions when printing floating-point numbers.
2933         (check_float_internal): Likewise.
2935 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2937         [BZ #16620]
2938         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
2939         of log (10) rounded downward to 48 bits.
2940         (log10_low): Use corresponding low part of log (10).
2942         [BZ #19032]
2943         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
2944         compute result as (x - x) / (x - x) not as 0 / 0.
2945         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2946         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
2948         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2949         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
2950         and expm1.
2951         * math/auto-libm-test-out: Regenerated.
2952         * math/libm-test.inc (acos_test_data): Add more tests.
2953         (asin_test_data): Likewise.
2954         (asinh_test_data): Likewise.
2955         (atan_test_data): Likewise.
2956         (atanh_test_data): Likewise.
2957         (atan2_test_data): Likewise.
2958         (cbrt_test_data): Likewise.
2959         (ceil_test_data): Likewise.
2960         (copysign_test_data): Likewise.
2961         (cos_test_data): Likewise.
2962         (cosh_test_data): Likewise.
2963         (erf_test_data): Likewise.
2964         (erfc_test_data): Likewise.
2965         (exp_test_data): Likewise.
2966         (exp10_test_data): Likewise.
2967         (exp2_test_data): Likewise.
2968         (expm1_test_data): Likewise.
2969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2971 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
2973         [BZ #19006]
2974         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
2975         to ...
2976         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
2977         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
2978         to ...
2979         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
2980         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
2981         to ...
2982         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
2983         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
2984         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
2985         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
2986         to ...
2987         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
2988         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2989         Moved to ...
2990         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
2991         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2992         Moved to ...
2993         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
2994         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
2995         to ...
2996         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
2997         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2998         Moved to ...
2999         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
3000         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
3001         to ...
3002         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
3003         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
3004         Removed.
3005         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
3006         Likewise.
3007         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
3008         Likewise.
3009         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
3010         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
3011         Likewise.
3012         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3013         Likewise.
3014         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3015         Likewise.
3016         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3017         Likewise.
3018         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3019         Likewise.
3020         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
3021         Likewise.
3022         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
3023         Likewise.
3024         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
3025         Likewise.
3026         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
3027         Likewise.
3028         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
3029         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
3030         Likewise.
3031         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3032         Likewise.
3033         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3034         Likewise.
3035         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3036         Likewise.
3037         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
3038         Likewise.
3039         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3040         Replace ../i486/pthread_cond_timedwait.S with
3041         ../pthread_cond_timedwait.S.
3043 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
3045         * math/libm-test.inc (acos_test_data): Refine expectations for
3046         errno and "inexact" exceptions.
3047         (acosh_test_data): Likewise.
3048         (asin_test_data): Likewise.
3049         (asinh_test_data): Likewise.
3050         (atan_test_data): Likewise.
3051         (atanh_test_data): Likewise.
3052         (atan2_test_data): Likewise.
3053         (cbrt_test_data): Likewise.
3054         (ceil_test_data): Likewise.
3055         (copysign_test_data): Likewise.
3056         (cosh_test_data): Likewise.
3057         (erf_test_data): Likewise.
3058         (erfc_test_data): Likewise.
3059         (exp_test_data): Likewise.
3060         (exp10_test_data): Likewise.
3061         (exp2_test_data): Likewise.
3062         (expm1_test_data): Likewise.
3063         (fabs_test_data): Likewise.
3064         (floor_test_data): Likewise.
3065         (fma_test_data): Likewise.
3066         (fmax_test_data): Likewise.
3067         (fmin_test_data): Likewise.
3068         (fmod_test_data): Likewise.
3069         (fpclassify_test_data): Likewise.
3070         (frexp_test_data): Likewise.
3071         (hypot_test_data): Likewise.
3072         (ilogb_test_data): Likewise.
3073         (isgreater_test_data): Likewise.
3074         (isgreaterequal_test_data): Likewise.
3075         (isinf_test_data): Likewise.
3076         (isless_test_data): Likewise.
3077         (islessequal_test_data): Likewise.
3078         (islessgreater_test_data): Likewise.
3079         (isnan_test_data): Likewise.
3080         (isnormal_test_data): Likewise.
3081         (issignaling_test_data): Likewise.
3082         (isunordered_test_data): Likewise.
3083         (j0_test_data): Likewise.
3084         (j1_test_data): Likewise.
3085         (jn_test_data): Likewise.
3086         (lgamma_test_data): Likewise.
3087         (lrint_test_data): Likewise.
3088         (llrint_test_data): Likewise.
3089         (log_test_data): Likewise.
3090         (log10_test_data): Likewise.
3091         (log1p_test_data): Likewise.
3092         (log2_test_data): Likewise.
3093         (logb_test_data): Likewise.
3094         (lround_test_data): Likewise.
3095         (llround_test_data): Likewise.
3096         (modf_test_data): Likewise.
3097         (nearbyint_test_data): Likewise.
3098         (nextafter_test_data): Likewise.
3099         (nexttoward_test_data): Likewise.
3100         (pow_test_data): Likewise.
3101         (remainder_test_data): Likewise.
3102         (remquo_test_data): Likewise.
3103         (rint_test_data): Likewise.
3104         (round_test_data): Likewise.
3105         (signbit_test_data): Likewise.
3106         (sinh_test_data): Likewise.
3107         (sqrt_test_data): Likewise.
3108         (tanh_test_data): Likewise.
3109         (tgamma_test_data): Likewise.
3110         (trunc_test_data): Likewise.
3111         (y0_test_data): Likewise.
3112         (y1_test_data): Likewise.
3113         (yn_test_data): Likewise.
3114         (significand_test_data): Likewise.
3116 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
3118         * manual/filesys.texi (Storage Allocation): Document that
3119         posix_fallocate emulation fails when fd is open with O_WRONLY.
3121 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3123         [BZ #19016]
3124         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
3125         allow more cases with X^2 + Y^2 >= 0.5.
3126         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
3127         normal element in sum instead of special-casing based on values of
3128         arguments.
3129         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
3130         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
3131         -1 as normal element in sum instead of special-casing based on
3132         values of arguments.
3133         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
3134         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
3135         (__x2y2m1): Update comment.
3136         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
3137         as normal element in sum instead of special-casing based on values
3138         of arguments.
3139         * math/s_clog.c (__clog): Handle more cases using log1p without
3140         hypot.
3141         * math/s_clog10.c (__clog10): Likewise.
3142         * math/s_clog10f.c (__clog10f): Likewise.
3143         * math/s_clog10l.c (__clog10l): Likewise.
3144         * math/s_clogf.c (__clogf): Likewise.
3145         * math/s_clogl.c (__clogl): Likewise.
3146         * math/auto-libm-test-in: Add more tests of clog and clog10.
3147         * math/auto-libm-test-out: Regenerated.
3148         * sysdeps/i386/fpu/libm-test-ulps: Update.
3149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3151 2015-09-28  Martin Sebor  <msebor@redhat.com>
3153         [BZ #18969]
3154         * string/Makefile (LOCALES): Define.
3155         (gen-locales.mk): Include.
3156         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
3157         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
3158         * string/tst-strxfrm2.c (do_test): Print the name of the locale
3159         on setlocale failure.
3161 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3163         [BZ #18985]
3164         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
3165         (__strftime_internal): Likewise.
3166         * time/tst-strftime.c (do_bz18985): New test.
3167         (do_test): Call it.
3169 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
3171         [BZ #18956]
3172         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
3173         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
3174         extracting high part.
3175         * math/auto-libm-test-in: Add another test of pow.
3176         * math/auto-libm-test-out: Regenerated.
3177         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3179 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3181         [BZ #18825]
3182         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
3183         New macro.
3184         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
3185         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3186         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
3187         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
3188         DBL_NARROW_EVAL, reloading the PIC register as needed.
3189         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
3190         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
3191         FLT_NARROW_EVAL.  Use separate return path for case when first
3192         argument is NaN.
3193         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
3194         DEFINE_LDBL_MIN.
3195         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
3196         PIC register.
3197         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
3198         math_check_force_underflow_nonneg.
3199         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
3200         underflow for subnormal result.
3201         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3202         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
3203         math_check_force_underflow_nonneg.
3204         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
3205         math_check_force_underflow.
3206         * sysdeps/x86_64/fpu/x86_64-math-asm.h
3207         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
3208         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
3209         DEFINE_LDBL_MIN.
3210         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
3211         * math/auto-libm-test-in: Add more tests of pow.
3212         * math/auto-libm-test-out: Regenerated.
3214 2015-09-25  Florian Weimer  <fweimer@redhat.com>
3216         * nss/bug17079.c (init_test_items): Add diagnostic for
3217         inconsistent entries.
3218         (test_buffer_size): Skip inconsistent entries.
3220 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3222         [BZ #13304]
3223         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
3224         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
3225         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
3227         [BZ #13304]
3228         * sysdeps/microblaze/s_fma.c: New file.
3229         * sysdeps/microblaze/s_fmaf.c: Likewise.
3230         * sysdeps/microblaze/sfp-machine.h: Likewise.
3232 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
3234         [BZ #17250]
3235         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
3236         member.
3238 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3240         [BZ #18803]
3241         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
3242         (MO): New macro.
3243         (__ieee754_hypot) [PIC]: Load PIC register.
3244         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
3245         DBL_NARROW_EVAL.
3246         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
3247         math_check_force_underflow_nonneg in case where result might be
3248         tiny.
3249         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3250         Likewise.
3251         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3252         Likewise.
3253         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
3254         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
3255         * math/auto-libm-test-in: Add more tests of hypot.
3256         * math/auto-libm-test-out: Regenerated.
3258 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
3260         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
3262 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3264         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
3265         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
3266         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3267         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3268         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
3269         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3270         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3272         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
3273         LOAD_PIC_REG.
3275         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
3276         (FLT_CHECK_FORCE_UFLOW): Likewise.
3277         (DBL_CHECK_FORCE_UFLOW): Likewise.
3278         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
3279         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
3280         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
3281         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3282         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3283         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3284         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3285         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3286         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
3287         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3288         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
3289         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
3290         (flt_min): Replace with use of DEFINE_FLT_MIN.
3291         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
3292         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
3293         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3294         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
3295         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
3296         (flt_min): Replace with use of DEFINE_FLT_MIN.
3297         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
3298         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
3299         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3300         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
3301         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
3302         (flt_min): Replace with use of DEFINE_FLT_MIN.
3303         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
3304         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
3305         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3306         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3307         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
3308         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3309         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3310         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
3311         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3312         (__atan): Use DBL_CHECK_FORCE_UFLOW.
3313         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
3314         (flt_min): Replace with use of DEFINE_FLT_MIN.
3315         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
3316         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
3317         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3318         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
3319         main computation.
3320         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
3321         (flt_min): Replace with use of DEFINE_FLT_MIN.
3322         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
3323         main computation.
3324         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
3325         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3326         (MO): New macro.
3327         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
3328         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
3329         (flt_min): Replace with use of DEFINE_FLT_MIN.
3330         (MO): New macro.
3331         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
3332         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
3333         (__log1pl): Use MO.
3335         [BZ #19003]
3336         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
3337         $(config-cflags-nofma).
3339 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3341         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3343 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
3345         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
3346         (TWO127): Likewise.
3348         * sysdeps/generic/math_private.h (fabs_tg): New macro.
3349         (min_of_type): Likewise.
3350         (math_check_force_underflow): Likewise.
3351         (math_check_force_underflow_nonneg): Likewise.
3352         (math_check_force_underflow_complex): Likewise.
3353         * math/e_exp2l.c (__ieee754_exp2l): Use
3354         math_check_force_underflow_nonneg.
3355         * math/k_casinh.c (__kernel_casinh): Likewise.
3356         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3357         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3358         * math/s_catan.c (__catan): Use
3359         math_check_force_underflow_complex.
3360         * math/s_catanf.c (__catanf): Likewise.
3361         * math/s_catanh.c (__catanh): Likewise.
3362         * math/s_catanhf.c (__catanhf): Likewise.
3363         * math/s_catanhl.c (__catanhl): Likewise.
3364         * math/s_catanl.c (__catanl): Likewise.
3365         * math/s_ccosh.c (__ccosh): Likewise.
3366         * math/s_ccoshf.c (__ccoshf): Likewise.
3367         * math/s_ccoshl.c (__ccoshl): Likewise.
3368         * math/s_cexp.c (__cexp): Likewise.
3369         * math/s_cexpf.c (__cexpf): Likewise.
3370         * math/s_cexpl.c (__cexpl): Likewise.
3371         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
3372         * math/s_clog10.c (__clog10): Likewise.
3373         * math/s_clog10f.c (__clog10f): Likewise.
3374         * math/s_clog10l.c (__clog10l): Likewise.
3375         * math/s_clogf.c (__clogf): Likewise.
3376         * math/s_clogl.c (__clogl): Likewise.
3377         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
3378         * math/s_csinf.c (__csinf): Likewise.
3379         * math/s_csinh.c (__csinh): Likewise.
3380         * math/s_csinhf.c (__csinhf): Likewise.
3381         * math/s_csinhl.c (__csinhl): Likewise.
3382         * math/s_csinl.c (__csinl): Likewise.
3383         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
3384         * math/s_csqrtf.c (__csqrtf): Likewise.
3385         * math/s_csqrtl.c (__csqrtl): Likewise.
3386         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
3387         * math/s_ctanf.c (__ctanf): Likewise.
3388         * math/s_ctanh.c (__ctanh): Likewise.
3389         * math/s_ctanhf.c (__ctanhf): Likewise.
3390         * math/s_ctanhl.c (__ctanhl): Likewise.
3391         * math/s_ctanl.c (__ctanl): Likewise.
3392         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
3393         instead of volatile.
3394         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
3395         math_check_force_underflow.
3396         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3397         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
3398         volatile when forcing underflow.
3399         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3400         math_check_force_underflow_nonneg.
3401         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3402         Likewise.
3403         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
3404         math_check_force_underflow.
3405         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3406         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3407         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3408         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
3409         math_check_force_underflow_nonneg.
3410         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
3411         math_check_force_underflow.
3412         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
3413         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
3414         instead of volatile.
3415         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
3416         math_check_force_underflow.
3417         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3418         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3419         math_check_force_underflow_nonneg.
3420         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
3421         math_check_force_underflow.
3422         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
3423         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3424         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
3425         math_check_force_underflow_nonneg.
3426         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3427         Likewise.
3428         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
3429         math_check_force_underflow.
3430         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3431         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3432         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
3433         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
3434         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
3435         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
3436         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
3437         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
3438         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3439         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
3440         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
3441         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
3442         Likewise.
3443         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
3444         math_check_force_underflow_nonneg.
3445         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3446         Likewise.
3447         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
3448         math_check_force_underflow.
3449         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3450         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
3451         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3452         Likewise.
3453         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
3454         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
3455         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
3456         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
3457         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
3458         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
3459         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
3460         instead of volatile.
3461         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
3462         math_check_force_underflow.
3463         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
3464         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
3465         math_check_force_underflow.
3466         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
3467         Likewise.
3468         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3469         Use math_check_force_underflow_nonneg.
3470         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
3471         math_check_force_underflow.
3472         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
3473         Likewise.
3474         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3475         Likewise.
3476         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3477         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3478         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3479         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3480         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
3481         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3482         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
3483         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
3484         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
3485         math_check_force_underflow_nonneg.
3486         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
3487         math_check_force_underflow.
3488         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3489         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
3490         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
3491         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
3492         math_check_force_underflow_nonneg.
3493         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
3494         math_check_force_underflow.
3495         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
3496         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
3497         instead of volatile.
3498         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
3499         math_check_force_underflow.
3501         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
3502         * stdlib/strtod_l.c: Include <math_private.h>.
3503         (overflow_value): Use math_narrow_eval.
3504         (underflow_value): Likewise.
3505         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3506         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3507         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
3508         (__ieee754_gamma_r): Likewise.
3509         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
3510         Likewise.
3511         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3512         Likewise.
3513         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
3514         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
3515         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
3516         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
3517         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3518         (__ieee754_gammaf_r): Likewise.
3519         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3520         Likewise.
3521         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
3522         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
3523         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
3524         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
3525         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
3526         volatile.
3527         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3528         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
3529         math_narrow_eval.
3530         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3531         Likewise.
3532         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3533         Likewise.
3534         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
3535         Likewise.
3536         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
3537         volatile.
3538         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3539         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
3540         math_narrow_eval.
3541         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3542         Likewise.
3543         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3544         Likewise.
3546 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
3548         * nptl/Versions: Remove ignored symbols.
3550 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3552         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
3553         * nss/Makefile (tests): Update.
3555 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3557         * nss/bug18287.c: New file.
3558         * nss/Makefile (tests): Add bug18287.
3560 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3562         * mach/Versions (__mach_host_self_): Add symbol.
3564 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3566         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
3567         vm_page_size.
3569 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3571         Really fix sysdeps/i386/fpu/s_scalbn.S build
3573         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
3574         (libc: GLIBC_2_22): Remove unused version set.
3576 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3578         * config.make.in (enable-timezone-tools): New variable.
3579         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
3580         (enable_timezone_tools): Export to generated files.
3581         * configure: Regenerate.
3582         * INSTALL: Regenerate.
3583         * manual/install.texi (--disable-timezone-tools): Document new flag.
3584         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
3585         ifeq ($(enable-timezone-tools),yes) check.
3587 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3589         * timezone/Makefile: Revert previous change.
3591         [BZ #18980]
3592         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
3593         (DEFINE_DBL_MIN): Likewise.
3594         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3595         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3596         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3597         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3598         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
3599         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3600         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3601         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
3602         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
3603         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3604         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3605         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
3606         (flt_min): Replace with use of DEFINE_FLT_MIN.
3607         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3608         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
3609         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3610         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3611         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
3612         (flt_min): Replace with use of DEFINE_FLT_MIN.
3613         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3614         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
3615         (flt_min): Replace with use of DEFINE_FLT_MIN.
3616         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3617         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
3618         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
3619         (__ieee754_hypot): Use DBL_NARROW_EVAL.
3620         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
3621         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
3622         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
3623         (__ieee754_pow): Use DBL_NARROW_EVAL.
3624         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
3625         (__ieee754_powf): Use FLT_NARROW_EVAL.
3626         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
3627         (__ieee754_expf_sse2): Convert double-precision result to single
3628         precision.
3629         * sysdeps/i386/fpu/libm-test-ulps: Update.
3631 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3633         * timezone/Makefile: Ignore unused variable errors due to private.h
3634         (time_t_min) and (time_t_max).
3635         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
3636         Likewise.
3638 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3640         [BZ #18981]
3641         * sysdeps/i386/fpu/i386-math-asm.h: New file.
3642         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
3643         (__ieee754_scalb): Use DBL_NARROW_EVAL.
3644         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
3645         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
3646         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
3647         (__scalbn): Use DBL_NARROW_EVAL.
3648         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
3649         (__scalbnf): Use FLT_NARROW_EVAL.
3651 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3653         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
3654         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
3655         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
3656         * stdio-common/printf_fp.c (___printf_fp):
3657         Use signbit to get the sign. Use isinf macro to allow inlining.
3658         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
3659         * stdio-common/printf_size.c (__printf_size): Likewise.
3661 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3663         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
3665 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3667         [BZ #18980]
3668         * sysdeps/generic/math_private.h: Include <float.h>.
3669         (math_narrow_eval): New macro.
3670         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
3671         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
3672         math_narrow_eval on overflowing return value.
3673         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
3674         Likewise.
3675         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3676         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
3677         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
3678         Likewise.
3679         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3681 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3683         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
3684         * math/Makefile: Remove isinf_ns.c.
3685         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
3686         * math/multc3.c (__multc3): Likewise.
3687         * math/s_casin.c (__casin): Likewise.
3688         * math/s_casinf.c (__casinf): Likewise.
3689         * math/s_casinl.c (__casinl): Likewise.
3690         * math/s_cproj.c (__cproj): Likewise.
3691         * math/s_cprojf.c (__cprojf): Likewise.
3692         * math/s_cprojl.c (__cprofl): Likewise.
3693         * math/s_ctan.c (__ctan): Likewise.
3694         * math/s_ctanf.c (__ctanf): Likewise.
3695         * math/s_ctanh.c (__ctanh): Likewise.
3696         * math/s_ctanhf.c (__ctanhf): Likewise.
3697         * math/s_ctanhl.c (__ctanhl): Likewise.
3698         * math/s_ctanl.c (__ctanl): Likewise.
3699         * math/w_fmod.c (__fmod): Likewise.
3700         * math/w_fmodf.c (__fmodf): Likewise.
3701         * math/w_fmodl.c (_fmodl): Likewise.
3702         * math/w_remainder.c (__remainder): Likewise.
3703         * math/w_remainderf.c (__remainderf): Likewise.
3704         * math/w_remainderl.c (__remainderl): Likewise.
3705         * math/w_scalb.c (__scalb): Likewise.
3706         * math/w_scalbf.c (__scalbf): Likewise.
3707         * math/w_scalbl.c (__scalbl): Likewise.
3708         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
3709         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
3710         with isinf.
3711         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
3712         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
3713         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
3714         __isinf_nsf with isinf.
3715         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
3716         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
3717         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
3718         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
3719         with isinf.
3720         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
3721         __isinf_nsl with isinf.
3722         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
3723         with isinf.
3724         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
3725         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
3726         __isinf_nsl with isinf.
3727         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
3728         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
3729         with isinf.
3731 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3733         * resolv/base64.c (rcsid): Remove unused static.
3734         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
3735         static.  (tqpi1): Likewise.
3736         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
3737         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
3738         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
3739         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
3740         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
3741         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
3742         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
3743         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
3744         Likewise.
3746 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
3748         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
3749         <nptl/pthreadP.h>.
3750         (_longjmp_unwind): Use __libc_ptf_call.
3751         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
3753 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
3755         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
3756         * sysdeps/arm/__longjmp.S: Likewise
3758 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3760         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
3761         Use __builtin_signbit.
3762         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
3763         Use __builtin_signbitf.
3764         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
3765         Use __builtin_signbitl.
3766         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3767         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
3769 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3771         [BZ #15367]
3772         [BZ #17441]
3774         * math/Makefile: Build test-snan.c with -fsignaling-nans.
3775         * math/math.h (fpclassify): Use __builtin_fpclassify when
3776         available.  (signbit): Use __builtin_signbit(f/l).
3777         (isfinite): Use__builtin_isfinite.  (isnormal): Use
3778         __builtin_isnormal.  (isnan): Use __builtin_isnan.
3779         (isinf): Use __builtin_isinf_sign.
3781 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3783         * benchtests/Makefile: Add bench-math-inlines, link with libm.
3784         * benchtests/bench-math-inlines.c: New benchmark.
3785         * benchtests/bench-util.h: New file.
3786         * benchtests/bench-util.c: New file.
3787         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
3789 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
3791         * elf/tst-dlmopen1.c: Define TEST_SO.
3792         (do_test): Use TEST_SO.
3794         * elf/dl-load.c: Include libc-internal.h.
3795         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
3797 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3799         [BZ #17887]
3800         * time/strptime_l.c (__strptime_internal): Make %z accept
3801         [+-]HH:MM time zones.
3803 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3805         [BZ #17886]
3806         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
3807         valid time zone.
3809 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
3811         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
3812         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
3813         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3814         (__ASSUME_FDATASYNC): Delete.
3816 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3818         * conform/linknamespace.pl: Require weak undefined symbols to be
3819         in the standard namespace.
3820         (%strong_syms): Rename to %seen_syms.
3821         (%strong_seen): Rename to %seen_where.
3823 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
3825         [BZ #18970]
3826         * misc/error.c (error): Replace pthread_setcancelstate with
3827         __pthread_setcancelstate.
3828         (error_at_line): Likewise.
3829         * posix/wordexp.c (parse_comm): Likewise.
3830         * stdlib/fmtmsg.c (fmtmsg): Likewise.
3831         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
3832         (__pthread_setcancelstate): This.
3833         (pthread_setcancelstate): Add an alias.
3834         * nptl/nptl-init.c (pthread_functions): Replace
3835         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
3836         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
3837         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
3838         hidden_proto.
3839         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
3840         it with hidden_def.
3841         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
3842         (pthread_setcancelstate): Renamed to ...
3843         (__pthread_setcancelstate): This.
3844         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
3845         __libc_ptf_call with __pthread_setcancelstate.
3847 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3848             Andreas Schwab  <schwab@suse.de>
3850         [BZ #17118]
3851         * math/s_ctan.c (__ctan): Determine sign of zero real part of
3852         result when imaginary part of argument is infinite using sine and
3853         cosine.
3854         * math/s_ctanf.c (__ctanf): Likewise.
3855         * math/s_ctanl.c (__ctanl): Likewise.
3856         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
3857         of result when real part of argument is infinite using sine and
3858         cosine.
3859         * math/s_ctanhf.c (__ctanhf): Likewise.
3860         * math/s_ctanhl.c (__ctanhl): Likewise.
3861         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
3862         (ctanh_test_data): Add more tests of ctanh.
3864 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3866         [BZ #15384]
3867         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
3868         bit-mask as in subtraction.
3869         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
3870         Likewise.
3871         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
3872         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
3873         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
3875         [BZ #18951]
3876         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
3877         underflow exception for small results.
3878         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3879         Likewise.
3880         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3881         Likewise.
3882         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3883         Likewise.
3884         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3885         Likewise.
3886         * math/auto-libm-test-in: Add more tests of tgamma.
3887         * math/auto-libm-test-out: Regenerated.
3889 2015-09-17  Andreas Schwab  <schwab@suse.de>
3891         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
3893 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3895         [BZ #18977]
3896         * math/bits/mathcalls.h
3897         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
3898         not declare.
3899         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
3900         Likewise.
3901         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
3902         Likewise.
3903         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
3904         Likewise.
3905         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
3906         Likewise.
3907         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
3908         Likewise.
3909         * conform/data/math.h-data
3910         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
3911         function.
3912         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
3913         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
3914         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
3915         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
3916         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
3917         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
3918         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
3919         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
3920         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
3921         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
3922         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
3924         [BZ #6803]
3925         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
3926         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
3927         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
3928         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
3929         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
3930         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
3931         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
3932         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
3933         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3934         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
3935         Likewise.
3936         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3937         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
3938         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
3939         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
3940         long_double_symbol calls.
3941         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
3942         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
3943         strong alias of __ldexpl.
3944         (scalbnl): Define using long_double_symbol.
3945         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
3946         Remove alias.
3947         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
3948         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
3949         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
3950         (scalbln_test_data): Add more errno expectations.
3952 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
3954         Cache the host port like we cache the task port.  This way we do not
3955         need to call the kernel just to get the port.  Furthermore, we no
3956         longer increase the reference count on every invocation of
3957         `mach_host_self'.
3959         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
3960         Protect declarations against the macro expansion.
3961         * mach/mach_init.c (__mach_host_self_): New variable.
3962         (mach_init): Initialize `__mach_host_self_'.
3963         * mach/mach_init.h (__mach_host_self_): New declaration.
3964         (__mach_host_self, mach_host_self): New macros.
3965         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
3966         Release reference.
3968 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3970         [BZ #4404]
3971         * po/de.po: Update from Translation Project.
3973         [BZ #16415]
3974         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
3975         (__expm1l): Remove code to handle positive infinity and overflow.
3976         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
3977         variable.
3978         (__expm1l): Remove code to handle positive infinity and overflow.
3980 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
3981             Paul Pluzhnikov  <ppluzhnikov@google.com>
3983         [BZ #18872]
3984         * stdio-common/Makefile (tst-printf-bz18872): New test.
3985         (tst-printf-bz18872-mem.out): Likewise.
3986         * stdio-common/tst-printf-bz18872.sh: Generate new test.
3987         * stdio-common/vfprintf.c: Fix memory leaks.
3989 2015-09-16  Andreas Schwab  <schwab@suse.de>
3991         [BZ #17244]
3992         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
3993         Remove extra va_start/va_end calls.
3995         [BZ #17243]
3996         * posix/execl.c (execl): Add missing va_end.
3997         * posix/execle.c (execle): Likewise.
3998         * posix/execlp.c (execlp): Likewise.
4000 2015-09-15  Roland McGrath  <roland@hack.frob.com>
4002         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
4003         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
4005 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
4007         [BZ #18967]
4008         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
4009         undefine around includes of <bits/mathcalls.h>.
4010         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
4011         not declare function.
4012         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
4013         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
4014         (scalb): Likewise.
4015         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
4016         not define macro.
4017         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
4018         variable.
4019         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4020         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4021         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4023         [BZ #18857]
4024         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
4025         return non-finite argument without doing ordered comparisons on
4026         it.
4028         [BZ #16296]
4029         * math/fenv.h (fegetround): Use __attribute_pure__.
4030         * include/fenv.h (__fegetround): Likewise.
4032         [BZ #18595]
4033         * math/s_ctan.c (__ctan): Force underflow exception for results
4034         whose real or imaginary part has small absolute value.
4035         * math/s_ctanf.c (__ctanf): Likewise.
4036         * math/s_ctanh.c (__ctanh): Likewise.
4037         * math/s_ctanhf.c (__ctanhf): Likewise.
4038         * math/s_ctanhl.c (__ctanhl): Likewise.
4039         * math/s_ctanl.c (__ctanl): Likewise.
4040         * math/auto-libm-test-in: Do not allow missing underflow for ctan
4041         and ctanh.  Add more tests of ctan and ctanh.
4043         [BZ #15918]
4044         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
4045         handling of cases where one argument is an infinity.
4047         [BZ #18875]
4048         [BZ #18966]
4049         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
4050         (MO): New macro.
4051         (__ieee754_exp10): For small results, force underflow exception
4052         and remove excess range and precision from return value.
4053         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
4054         (MO): New macro.
4055         (__ieee754_exp10f): For small results, force underflow exception
4056         and remove excess range and precision from return value.
4057         * math/auto-libm-test-in: Add more tests of exp10.
4058         * math/auto-libm-test-out: Regenerated.
4060 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
4062         [BZ #18875]
4063         [BZ #18961]
4064         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
4065         (MO): New macro.
4066         (__ieee754_exp): For small results, force underflow exception and
4067         remove excess range and precision from return value.
4068         (__exp_finite): Likewise.
4069         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
4070         (MO): New macro.
4071         (__ieee754_expf): For small results, force underflow exception and
4072         remove excess range and precision from return value.
4073         (__expf_finite): Likewise.
4074         * math/auto-libm-test-in: Add more tests of exp.
4075         * math/auto-libm-test-out: Regenerated.
4077         [BZ #16521]
4078         [BZ #18875]
4079         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
4080         small results.
4081         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
4082         (MO): New macro.
4083         (__ieee754_exp2): For small results, force underflow exception and
4084         remove excess range and precision from return value.
4085         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
4086         (MO): New macro.
4087         (__ieee754_exp2f): For small results, force underflow exception
4088         and remove excess range and precision from return value.
4089         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
4090         (MO): New macro.
4091         (__ieee754_exp2l): Force underflow exception for small results.
4092         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4093         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4094         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
4095         (MO): New macro.
4096         (__ieee754_exp2l): Force underflow exception for small results.
4097         * math/auto-libm-test-in: Add more tests or exp2.
4098         * math/auto-libm-test-out: Regenerated.
4100 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
4102         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
4104         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
4105         /dev/null.
4107 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4109         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4110         io fs process)): Drop spurious backslash.
4112 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4114         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
4115         Use sysinfo system call instead of parsing /proc/meminfo.
4116         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
4117         Likewise.
4119 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
4121         [BZ #16985]
4122         * programs/localedef.c (main): Display argv[remaining] when
4123         output_path is NULL.
4125 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4127         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4128         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
4129         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
4130         tanh.
4131         * math/auto-libm-test-out: Regenerated.
4132         * sysdeps/i386/fpu/libm-test-ulps: Update.
4133         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4134         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4137 2015-09-11  Roland McGrath  <roland@hack.frob.com>
4139         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
4140         Use 'override' keyword to freeze the value here, preventing
4141         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
4143 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4145         [BZ #14912]
4146         * sysdeps/aarch64/bits/atomic.h: Move to ...
4147         * sysdeps/aarch64/atomic-machine.h: ...here.
4148         (_AARCH64_BITS_ATOMIC_H): Rename macro to
4149         _AARCH64_ATOMIC_MACHINE_H.
4150         * sysdeps/alpha/bits/atomic.h: Move to ...
4151         * sysdeps/alpha/atomic-machine.h: ...here.
4152         * sysdeps/arm/bits/atomic.h: Move to ...
4153         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
4154         * bits/atomic.h: Move to ...
4155         * sysdeps/generic/atomic-machine.h: ...here.
4156         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4157         * sysdeps/i386/bits/atomic.h: Move to ...
4158         * sysdeps/i386/atomic-machine.h: ...here.
4159         * sysdeps/ia64/bits/atomic.h: Move to ...
4160         * sysdeps/ia64/atomic-machine.h: ...here.
4161         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
4162         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
4163         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4164         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
4165         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
4166         * sysdeps/microblaze/bits/atomic.h: Move to ...
4167         * sysdeps/microblaze/atomic-machine.h: ...here.
4168         * sysdeps/mips/bits/atomic.h: Move to ...
4169         * sysdeps/mips/atomic-machine.h: ...here.
4170         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
4171         * sysdeps/powerpc/bits/atomic.h: Move to ...
4172         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
4173         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
4174         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
4175         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
4176         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
4177         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
4178         <atomic-machine.h> instead of <bits/atomic.h>.
4179         * sysdeps/s390/bits/atomic.h: Move to ...
4180         * sysdeps/s390/atomic-machine.h: ...here.
4181         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
4182         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
4183         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4184         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
4185         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
4186         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
4187         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
4188         * sysdeps/tile/bits/atomic.h: Move to ...
4189         * sysdeps/tile/atomic-machine.h: ...here.
4190         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
4191         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
4192         <sysdeps/tile/atomic-machine.h> instead of
4193         <sysdeps/tile/bits/atomic.h>.
4194         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4195         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
4196         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
4197         <sysdeps/tile/atomic-machine.h> instead of
4198         <sysdeps/tile/bits/atomic.h>.
4199         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4200         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
4201         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
4202         <sysdeps/arm/atomic-machine.h> instead of
4203         <sysdeps/arm/bits/atomic.h>.
4204         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
4205         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
4206         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4207         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
4208         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
4209         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4210         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
4211         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
4212         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
4213         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
4214         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
4215         * sysdeps/x86_64/bits/atomic.h: Move to ...
4216         * sysdeps/x86_64/atomic-machine.h: ...here.
4217         * include/atomic.h: Include <atomic-machine.h> instead of
4218         <bits/atomic.h>.
4220         * sysdeps/mips/mips32/libm-test-ulps: Update.
4221         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4223         [BZ #18952]
4224         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
4225         not convert non-integer negative arguments to int to determine the
4226         value of signgam.
4227         * math/auto-libm-test-in: Add more tests of lgamma.
4228         * math/auto-libm-test-out: Regenerated.
4230         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
4231         cosh, csqrt, erfc, expm1 and lgamma.
4232         * math/auto-libm-test-out: Regenerated.
4233         * sysdeps/i386/fpu/libm-test-ulps: Update.
4234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4236 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
4238         [BZ #2542]
4239         [BZ #2543]
4240         [BZ #2558]
4241         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
4242         __lgamma_neg for arguments from -28.0 to -2.0.
4243         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
4244         __lgamma_negf for arguments from -15.0 to -2.0.
4245         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4246         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
4247         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
4248         Call __lgamma_negl for arguments from -33.0 to -2.0.
4249         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
4250         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4251         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
4252         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
4253         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4254         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4255         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
4256         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
4257         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
4258         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4259         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
4260         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
4261         (__lgamma_neg): Likewise.
4262         (__lgamma_negl): Likewise.
4263         (__lgamma_product): Likewise.
4264         (__lgamma_productl): Likewise.
4265         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
4266         * math/auto-libm-test-in: Add more tests of lgamma.
4267         * math/auto-libm-test-out: Regenerated.
4268         * sysdeps/i386/fpu/libm-test-ulps: Update.
4269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4271 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
4273         [BZ #18675]
4274         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
4276 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
4278         [BZ #14912]
4279         * bits/libc-lock.h: Move to ...
4280         * sysdeps/generic/libc-lock.h: ...here.
4281         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4282         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
4283         * sysdeps/mach/hurd/libc-lock.h: ...here.
4284         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4285         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
4286         * sysdeps/mach/bits/libc-lock.h: Move to ...
4287         * sysdeps/mach/libc-lock.h: ...here.
4288         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4289         * sysdeps/nptl/bits/libc-lock.h: Move to ...
4290         * sysdeps/nptl/libc-lock.h: ...here.
4291         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4292         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
4293         * sysdeps/nptl/libc-lockP.h: ...here.
4294         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
4295         * crypt/crypt_util.c: Include <libc-lock.h> instead of
4296         <bits/libc-lock.h>.
4297         * dirent/scandir-tail.c: Likewise.
4298         * dlfcn/dlerror.c: Likewise.
4299         * elf/dl-close.c: Likewise.
4300         * elf/dl-iteratephdr.c: Likewise.
4301         * elf/dl-lookup.c: Likewise.
4302         * elf/dl-open.c: Likewise.
4303         * elf/dl-support.c: Likewise.
4304         * elf/dl-writev.h: Likewise.
4305         * elf/rtld.c: Likewise.
4306         * grp/fgetgrent.c: Likewise.
4307         * gshadow/fgetsgent.c: Likewise.
4308         * gshadow/sgetsgent.c: Likewise.
4309         * iconv/gconv_conf.c: Likewise.
4310         * iconv/gconv_db.c: Likewise.
4311         * iconv/gconv_dl.c: Likewise.
4312         * iconv/gconv_int.h: Likewise.
4313         * iconv/gconv_trans.c: Likewise.
4314         * include/link.h: Likewise.
4315         * inet/getnameinfo.c: Likewise.
4316         * inet/getnetgrent.c: Likewise.
4317         * inet/getnetgrent_r.c: Likewise.
4318         * intl/bindtextdom.c: Likewise.
4319         * intl/dcigettext.c: Likewise.
4320         * intl/finddomain.c: Likewise.
4321         * intl/gettextP.h: Likewise.
4322         * intl/loadmsgcat.c: Likewise.
4323         * intl/localealias.c: Likewise.
4324         * intl/textdomain.c: Likewise.
4325         * libidn/idn-stub.c: Likewise.
4326         * libio/libioP.h: Likewise.
4327         * locale/duplocale.c: Likewise.
4328         * locale/freelocale.c: Likewise.
4329         * locale/newlocale.c: Likewise.
4330         * locale/setlocale.c: Likewise.
4331         * login/getutent_r.c: Likewise.
4332         * login/getutid_r.c: Likewise.
4333         * login/getutline_r.c: Likewise.
4334         * login/utmp-private.h: Likewise.
4335         * login/utmpname.c: Likewise.
4336         * malloc/mtrace.c: Likewise.
4337         * misc/efgcvt.c: Likewise.
4338         * misc/error.c: Likewise.
4339         * misc/fstab.c: Likewise.
4340         * misc/getpass.c: Likewise.
4341         * misc/mntent.c: Likewise.
4342         * misc/syslog.c: Likewise.
4343         * nis/nis_call.c: Likewise.
4344         * nis/nis_callback.c: Likewise.
4345         * nis/nss-default.c: Likewise.
4346         * nis/nss_compat/compat-grp.c: Likewise.
4347         * nis/nss_compat/compat-initgroups.c: Likewise.
4348         * nis/nss_compat/compat-pwd.c: Likewise.
4349         * nis/nss_compat/compat-spwd.c: Likewise.
4350         * nis/nss_nis/nis-alias.c: Likewise.
4351         * nis/nss_nis/nis-ethers.c: Likewise.
4352         * nis/nss_nis/nis-grp.c: Likewise.
4353         * nis/nss_nis/nis-hosts.c: Likewise.
4354         * nis/nss_nis/nis-network.c: Likewise.
4355         * nis/nss_nis/nis-proto.c: Likewise.
4356         * nis/nss_nis/nis-pwd.c: Likewise.
4357         * nis/nss_nis/nis-rpc.c: Likewise.
4358         * nis/nss_nis/nis-service.c: Likewise.
4359         * nis/nss_nis/nis-spwd.c: Likewise.
4360         * nis/nss_nisplus/nisplus-alias.c: Likewise.
4361         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4362         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4363         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4364         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
4365         * nis/nss_nisplus/nisplus-network.c: Likewise.
4366         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4367         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4368         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4369         * nis/nss_nisplus/nisplus-service.c: Likewise.
4370         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4371         * nis/ypclnt.c: Likewise.
4372         * nptl/libc_pthread_init.c: Likewise.
4373         * nss/getXXbyYY.c: Likewise.
4374         * nss/getXXent.c: Likewise.
4375         * nss/getXXent_r.c: Likewise.
4376         * nss/nss_db/db-XXX.c: Likewise.
4377         * nss/nss_db/db-netgrp.c: Likewise.
4378         * nss/nss_db/nss_db.h: Likewise.
4379         * nss/nss_files/files-XXX.c: Likewise.
4380         * nss/nss_files/files-alias.c: Likewise.
4381         * nss/nsswitch.c: Likewise.
4382         * posix/regex_internal.h: Likewise.
4383         * posix/wordexp.c: Likewise.
4384         * pwd/fgetpwent.c: Likewise.
4385         * resolv/res_hconf.c: Likewise.
4386         * resolv/res_libc.c: Likewise.
4387         * shadow/fgetspent.c: Likewise.
4388         * shadow/lckpwdf.c: Likewise.
4389         * shadow/sgetspent.c: Likewise.
4390         * socket/opensock.c: Likewise.
4391         * stdio-common/reg-modifier.c: Likewise.
4392         * stdio-common/reg-printf.c: Likewise.
4393         * stdio-common/reg-type.c: Likewise.
4394         * stdio-common/vfprintf.c: Likewise.
4395         * stdio-common/vfscanf.c: Likewise.
4396         * stdlib/abort.c: Likewise.
4397         * stdlib/cxa_atexit.c: Likewise.
4398         * stdlib/fmtmsg.c: Likewise.
4399         * stdlib/random.c: Likewise.
4400         * stdlib/setenv.c: Likewise.
4401         * string/strsignal.c: Likewise.
4402         * sunrpc/auth_none.c: Likewise.
4403         * sunrpc/bindrsvprt.c: Likewise.
4404         * sunrpc/create_xid.c: Likewise.
4405         * sunrpc/key_call.c: Likewise.
4406         * sunrpc/rpc_thread.c: Likewise.
4407         * sysdeps/arm/backtrace.c: Likewise.
4408         * sysdeps/generic/ldsodefs.h: Likewise.
4409         * sysdeps/generic/stdio-lock.h: Likewise.
4410         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
4411         * sysdeps/i386/backtrace.c: Likewise.
4412         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4413         * sysdeps/m68k/backtrace.c: Likewise.
4414         * sysdeps/mach/hurd/cthreads.c: Likewise.
4415         * sysdeps/mach/hurd/dirstream.h: Likewise.
4416         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4417         * sysdeps/nptl/malloc-machine.h: Likewise.
4418         * sysdeps/nptl/stdio-lock.h: Likewise.
4419         * sysdeps/posix/dirstream.h: Likewise.
4420         * sysdeps/posix/getaddrinfo.c: Likewise.
4421         * sysdeps/posix/system.c: Likewise.
4422         * sysdeps/pthread/aio_suspend.c: Likewise.
4423         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4424         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4425         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4426         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4427         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
4428         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
4429         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
4430         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4431         * sysdeps/unix/sysv/linux/system.c: Likewise.
4432         * sysdeps/x86_64/backtrace.c: Likewise.
4433         * time/alt_digit.c: Likewise.
4434         * time/era.c: Likewise.
4435         * time/tzset.c: Likewise.
4436         * wcsmbs/wcsmbsload.c: Likewise.
4437         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
4438         instead of <bits/libc-lock.h> in comment.
4440 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
4442         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
4443         Only use .set mips2 if the current ISA is below mips2.
4444         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
4445         Likewise.
4446         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
4447         mips32r2 if the current ISA is below mips32r2.
4448         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
4449         (TLS_IE): Updated to use the TLD_RDHWR macro.
4450         (TLS_LE): Likewise.
4451         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
4452         __ASSEMBLER__ condition.
4454 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4456         Fix parallel build of before-compile targets.
4458         * sysdeps/mach/Makefile ($(patsubst
4459         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
4460         mach-before-compile target.
4461         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4462         io fs process)): Move rule to dedicated hurd-before-compile target.
4464 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4466         Fix rules generating headers in hurd/ and mach/ when initial make call
4467         has subdir= explicitly set.
4469         * sysdeps/mach/Makefile ($(patsubst
4470         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
4471         calling $(MAKE).
4472         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4473         io fs process)): Force subdir to hurd when calling $(MAKE).
4474         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
4475         subdir to mach when calling $(MAKE).
4477 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
4479         Check sysheaders when looking for Mach and Hurd headers
4481         * sysdeps/mach/configure.ac: Add sysheaders check.
4482         * sysdeps/mach/configure: Regenerate.
4483         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
4484         * sysdeps/mach/hurd/configure: Regenerate.
4486 2015-09-04  Roland McGrath  <roland@hack.frob.com>
4488         [BZ #18921]
4489         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
4490         Fix inverted sense of test of 'o_directory_works' value.
4491         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
4492         Bernhard Voelker <mail@bernhard-voelker.de>.
4494 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4496         [BZ #14912]
4497         * bits/linkmap.h: Move to ...
4498         * sysdeps/generic/linkmap.h: ...here.
4499         * sysdeps/aarch64/bits/linkmap.h: Move to ...
4500         * sysdeps/aarch64/linkmap.h: ...here.
4501         * sysdeps/arm/bits/linkmap.h: Move to ...
4502         * sysdeps/arm/linkmap.h: ...here.
4503         * sysdeps/hppa/bits/linkmap.h: Move to ...
4504         * sysdeps/hppa/linkmap.h: ...here.
4505         * sysdeps/ia64/bits/linkmap.h: Move to ...
4506         * sysdeps/ia64/linkmap.h: ...here.
4507         * sysdeps/mips/bits/linkmap.h: Move to ...
4508         * sysdeps/mips/linkmap.h: ...here.
4509         * sysdeps/s390/bits/linkmap.h: Move to ...
4510         * sysdeps/s390/linkmap.h: ...here.
4511         * sysdeps/sh/bits/linkmap.h: Move to ...
4512         * sysdeps/sh/linkmap.h: ...here.
4513         * sysdeps/x86/bits/linkmap.h: Move to ...
4514         * sysdeps/x86/linkmap.h: ...here.
4515         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
4517 2015-09-04  Andreas Schwab  <schwab@suse.de>
4519         [BZ #18635]
4520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
4521         (__makecontext): Terminate FDE before return label.
4522         (__novec_makecontext): Likewise.
4524 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4526         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
4527         first member of struct sv in syscall macro.
4529 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4531         [BZ #14912]
4532         * bits/stdio-lock.h: Move to ...
4533         * sysdeps/generic/stdio-lock.h: ...here.
4534         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4535         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
4536         * sysdeps/nptl/stdio-lock.h: ...here.
4537         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4538         * include/libio.h: Include <stdio-lock.h> instead of
4539         <bits/stdio-lock.h>.
4540         * sysdeps/nptl/fork.c: Likewise.
4541         * sysdeps/pthread/flockfile.c: Likewise.
4542         * sysdeps/pthread/ftrylockfile.c: Likewise.
4543         * sysdeps/pthread/funlockfile.c: Likewise.
4545         [BZ #14912]
4546         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
4547         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
4548         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
4549         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
4550         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
4551         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4552         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
4554 2015-09-03  Roland McGrath  <roland@hack.frob.com>
4556         * elf/Makefile (test-xfail-tst-protected1a): New variable.
4557         (test-xfail-tst-protected1b): New variable.
4559 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
4561         [BZ #14912]
4562         * bits/libc-tsd.h: Move to ...
4563         * sysdeps/generic/libc-tsd.h: ...here.
4564         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
4565         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
4566         * sysdeps/mach/hurd/libc-tsd.h: ...here.
4567         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
4568         * include/ctype.h: Include <libc-tsd.h> instead of
4569         <bits/libc-tsd.h>.
4570         * include/rpc/rpc.h: Likewise.
4571         * locale/localeinfo.h: Likewise.
4572         * sunrpc/rpc_thread.c: Likewise.
4573         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4574         * sysdeps/nptl/malloc-machine.h: Likewise.
4576         * Makefile (headers): Remove bits/libc-lock.h.
4577         * libio/Makefile (headers): Remove bits/stdio-lock.h.
4579         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
4580         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
4581         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
4582         <bits/stdio-lock.h>.
4583         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
4584         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
4586 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4588         [BZ #18757]
4589         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
4590         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
4591         BZ #18757.
4593 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4595         * malloc/mtrace.pl: Filter out NULL entries.
4597 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
4599         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
4600         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
4601         macro.
4603         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
4604         (TCP_CC_INFO): Likewise.
4605         (TCP_SAVE_SYN): Likewise.
4606         (TCP_SAVED_SYN): Likewise.
4608 2015-08-31  Brett Neumeier <brett@neumeier.us>
4610         [BZ #18870]
4611         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
4613 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
4615         [BZ #18873]
4616         Fix broken overflow check in posix_fallocate
4617         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
4618         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4619         Fix parenthesization typo.
4621 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
4623         [BZ #18887]
4624         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
4625         tst-mntent-blank-passno.
4626         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
4627         * misc/tst-mntent-blank-corrupt.c: New test.
4628         * misc/tst-mntent-blank-passno.c: New test ripped from ...
4629         * misc/tst-mntent.c (do_test): ... here.
4631 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
4633         [BZ #4404]
4634         * po/de.po: Fix SIGALRM typo.
4636 2015-08-28  James Perkins  <james@loowit.net>
4638         * time/tst-strptime2.c (tests): Replace short list of test
4639         strings for strptime %z specifier with code which exhaustively
4640         tests every combination of sign and 0 to 5 digits. Tests for
4641         rejection of invalid strings.
4643 2015-08-28  James Perkins  <james@loowit.net>
4645         [BZ #16141]
4646         * time/strptime_l.c (__strptime_internal): Fix %z minutes
4647         calculation, removing incorrect decimal time rounding, so that
4648         all minute values result in a valid seconds value.
4649         * time/strptime_l.c (__strptime_internal): Extend %z time zone
4650         offset range limits to UTC-99:59 through UTC+99:59 to parse
4651         current and historical use cases.
4652         * time/tst-strptime2.c (tests): Modify and add tests for the
4653         strptime %z input field descriptor, specifically conversion of
4654         minutes to seconds and validating an offset range of -9959 to
4655         +9959.
4657 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4658             Dmitry V. Levin  <ldv@altlinux.org>
4660         [BZ #18877]
4661         * posix/Makefile (tests): Add tst-mmap-offset.
4662         * posix/tst-mmap.c: New file.
4663         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
4664         offset calculation for negative values.
4666 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4668         * sysdeps/i386/init-arch.h: New file.
4669         * sysdeps/i386/i586/init-arch.h: Likewise.
4670         * sysdeps/i386/i686/init-arch.h: Likewise.
4671         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
4672         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
4673         * sysdeps/x86/cpu-features.h (bit_I586): New.
4674         (bit_I686): Likewise.
4675         (bit_CX8): Likewise.
4676         (bit_CMOV): Likewise.
4677         (index_CX8): Likewise.
4678         (index_CMOV): Likewise.
4679         (index_I586): Likewise.
4680         (index_I686): Likewise.
4681         (reg_CX8): Likewise.
4682         (reg_CMOV): Likewise.
4683         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
4684         available at compile-time.
4685         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
4686         available at compile-time.
4687         * sysdeps/x86/init-arch.h (USE_I586): New macro.
4688         (USE_I686): Likewise.
4690 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4692         * sysdeps/i386/bcopy.S: New file.
4693         * sysdeps/i386/bzero.S: Likewise.
4694         * sysdeps/i386/memcpy.S: Likewise.
4695         * sysdeps/i386/memmove.S: Likewise.
4696         * sysdeps/i386/mempcpy.S: Likewise.
4697         * sysdeps/i386/memset.S: Likewise.
4698         * sysdeps/i386/bzero.c: Removed.
4699         * sysdeps/i386/memset.c: Likewise.
4700         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
4701         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
4702         * sysdeps/i386/i586/memset_chk.S: Likewise.
4703         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
4704         * sysdeps/i386/memcpy_chk.S: Here.
4705         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
4706         * sysdeps/i386/memmove_chk.S: Here.
4707         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
4708         * sysdeps/i386/mempcpy_chk.S: Likewise.
4709         * sysdeps/i386/i686/memset_chk.S: Moved to ...
4710         * sysdeps/i386/memset_chk.S: Likewise.
4712 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
4714         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
4715         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
4716         file, move DIAG_POP_NEEDS_COMMENT to end of file.
4717         * soft-fp/fmadf4.c: Ditto.
4718         * soft-fp/fmatf4.c: Ditto.
4720 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4722         * sysdeps/i386/i586/Implies: Removed.
4723         * sysdeps/i386/i686/Implies: Likewise.
4725 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4727         * sysdeps/i386/i486/strlen.S: Moved to ...
4728         * sysdeps/i386/strlen.S: Here.
4730 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4732         * sysdeps/i386/i486/strcat.S: Moved to ...
4733         * sysdeps/i386/strcat.S: Here.
4735 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4737         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
4738         * sysdeps/i386/pthread_spin_trylock.S: Here.
4739         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
4740         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
4742 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4744         * sysdeps/i386/i486/string-inlines.c: Moved to ...
4745         * sysdeps/i386/string-inlines.c: Here.
4747 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4749         * sysdeps/i386/i486/htonl.S: Moved ...
4750         * sysdeps/i386/htonl.S: here.
4752 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4754         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
4755         * sysdeps/i386/bits/atomic.h: Here.
4757 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4759         * sysdeps/i386/i486/Versions: Removed.
4761 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4763         [BZ #2898]
4764         * misc/mktemp.c: Add mkdtemp to the link_warning message.
4765         Based on patch by Aurelien Jarno.
4767 2015-08-26  Stan Shebs  <stanshebs@google.com>
4769         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
4770         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4772 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4774         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
4775         * sysdeps/powerpc/dl-procinfo.c:
4776         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
4777         feature so it shows when LD_SHOW_AUXV=1.
4779 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4781         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4782         (__arch_compare_and_exchange_val_32_acq): Remove and use common
4783         definition.  ISA 2.07B no longer requires full sync.
4785 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
4787         [BZ #18863]
4788         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
4789         (si_call_addr): Define.
4790         (si_syscall): Define.
4791         (si_arch): Define.
4793 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4795         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
4796         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
4797         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
4798         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4799         (__memset_zero_constant_len_parameter): New.
4800         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
4801         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4802         (__memset_zero_constant_len_parameter): Don't define if
4803         __memset_chk or USE_AS_BZERO are defined.
4805         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
4806         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
4807         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
4809         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
4810         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
4811         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
4812         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
4813         comments.
4814         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
4815         -mno-mmx for $(all-rtld-routines).
4816         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
4817         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
4818         i386.
4820 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4822         * sysdeps/generic/unwind.h
4823         (_Unwind_Word): Use __mode__(__unwind_word__)
4824         instead of __mode__(__word__).
4825         (_Unwind_Sword): Likewise.
4827         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4828         (MAX_NEEDED_INPUT): New define.
4829         (MAX_NEEDED_OUTPUT): New define.
4831         * NEWS: New item for IBM z13 string optimizations.
4833         * sysdeps/s390/multiarch/memrchr-c.c: New File.
4834         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
4835         * sysdeps/s390/multiarch/memrchr.c: Likewise.
4836         * sysdeps/s390/multiarch/Makefile
4837         (sysdep_routines): Add memrchr functions.
4838         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4839         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
4841         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
4842         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
4843         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
4844         * sysdeps/s390/multiarch/Makefile
4845         (sysdep_routines): Add wmemcmp functions.
4846         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4847         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
4848         * benchtests/bench-wmemcmp.c: New File.
4849         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
4851         * sysdeps/s390/multiarch/wmemset-c.c: New File.
4852         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
4853         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4854         * sysdeps/s390/multiarch/Makefile
4855         (sysdep_routines): Add wmemset functions.
4856         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4857         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
4858         * wcsmbs/wmemset.c: Use WMEMSET if defined.
4859         * string/test-memset.c: Add wmemset support.
4860         * wcsmbs/test-wmemset.c: New File.
4861         * wcsmbs/Makefile (strop-tests): Add wmemset.
4862         * benchtests/bench-memset.c: Add wmemset support.
4863         * benchtests/bench-wmemset.c: New File.
4864         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
4866         * sysdeps/s390/multiarch/memccpy-c.c: New File.
4867         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
4868         * sysdeps/s390/multiarch/memccpy.c: Likewise.
4869         * sysdeps/s390/multiarch/Makefile
4870         (sysdep_routines): Add memccpy functions.
4871         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4872         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
4873         * string/memccpy.c: Use MEMCCPY if defined.
4875         * sysdeps/s390/multiarch/memchr-vx.S: New File.
4876         * sysdeps/s390/multiarch/memchr.c: Likewise.
4877         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
4878         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
4879         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4880         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
4881         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
4882         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4883         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
4884         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4885         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
4886         and rawmemchr functions.
4887         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4888         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
4889         and wmemchr.
4890         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
4891         * string/test-memchr.c: Add wmemchr support.
4892         * wcsmbs/test-wmemchr.c: New File.
4893         * wcsmbs/Makefile (strop-tests): Add wmemchr.
4894         * benchtests/bench-memchr.c: Add wmemchr support.
4895         * benchtests/bench-wmemchr.c: New File.
4896         * benchtests/Makefile (wcsmbs-bench): wmemchr.
4898         * sysdeps/s390/multiarch/strcspn-c.c: New File.
4899         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
4900         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4901         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
4902         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
4903         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
4904         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
4905         wcscspn functions.
4906         * sysdeps/s390/multiarch/ifunc-impl-list.c
4907         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
4908         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
4909         * string/test-strcspn.c: Add wcscspn support.
4910         * wcsmbs/test-wcscspn.c: New File.
4911         * wcsmbs/Makefile (strop-tests): Add wcscspn.
4912         * benchtests/bench-strcspn.c: Add wcscspn support.
4913         * benchtests/bench-wcscspn.c: New File.
4914         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
4916         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
4917         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
4918         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4919         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
4920         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
4921         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4922         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
4923         wcspbrk functions.
4924         * sysdeps/s390/multiarch/ifunc-impl-list.c
4925         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
4926         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
4927         * string/test-strpbrk.c: Add wcspbrk support.
4928         * wcsmbs/test-wcspbrk.c: New File.
4929         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
4930         * benchtests/bench-strpbrk.c: Add wcspbrk support.
4931         * benchtests/bench-wcspbrk.c: New File.
4932         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
4934         * sysdeps/s390/multiarch/strspn-c.c: New File.
4935         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
4936         * sysdeps/s390/multiarch/strspn.c: Likewise.
4937         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
4938         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
4939         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4940         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
4941         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
4942         wcsspn functions.
4943         * sysdeps/s390/multiarch/ifunc-impl-list.c
4944         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
4945         * string/test-strspn.c: Add wcsspn support.
4946         * wcsmbs/test-wcsspn.c: New File.
4947         * wcsmbs/Makefile (strop-tests): Add wcsspn.
4948         * benchtests/bench-strspn.c: Add wcsspn support.
4949         * benchtests/bench-wcsspn.c: New File.
4950         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
4952         * sysdeps/s390/multiarch/strrchr-c.c: New File.
4953         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
4954         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4955         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
4956         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
4957         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
4958         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
4959         wcsrchr functions.
4960         * sysdeps/s390/multiarch/ifunc-impl-list.c
4961         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
4962         * benchtests/bench-wcsrchr.c: New File.
4963         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
4965         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
4966         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
4967         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
4968         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
4969         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
4970         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
4971         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
4972         wcschrnul functions.
4973         * sysdeps/s390/multiarch/ifunc-impl-list.c
4974         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
4975         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
4976         * string/test-strchr.c: Add wcschrnul support.
4977         * wcsmbs/test-wcschrnul.c: New File.
4978         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
4979         * benchtests/bench-strchr.c: Add wcschrnul support.
4980         * benchtests/bench-wcschrnul.c: New File.
4981         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
4983         * sysdeps/s390/multiarch/strchr-c.c: New File.
4984         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
4985         * sysdeps/s390/multiarch/strchr.c: Likewise.
4986         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
4987         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
4988         * sysdeps/s390/multiarch/wcschr.c: Likewise.
4989         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
4990         wcschr functions.
4991         * sysdeps/s390/multiarch/ifunc-impl-list.c
4992         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
4993         * string/strchr.c (STRCHR): Define and use macro.
4994         * benchtests/bench-wcschr.c: New File.
4995         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
4997         * sysdeps/s390/multiarch/strncmp-c.c: New File.
4998         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
4999         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5000         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
5001         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
5002         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
5003         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
5004         wcsncmp functions.
5005         * sysdeps/s390/multiarch/ifunc-impl-list.c
5006         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
5007         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
5008         * benchtests/bench-strncmp.c: Add wcsncmp support.
5009         * benchtests/bench-wcsncmp.c: New File.
5010         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
5012         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
5013         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5014         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
5015         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
5016         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5017         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
5018         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5019         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
5020         wcscmp functions.
5021         * sysdeps/s390/multiarch/ifunc-impl-list.c
5022         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
5023         * string/strcmp.c (STRCMP): Define and use macro.
5024         * benchtests/bench-wcscmp.c: New File.
5025         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
5026         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
5027         instead of _HAVE_STRING_ARCH_memchr.
5029         * sysdeps/s390/multiarch/strncat-c.c: New File.
5030         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
5031         * sysdeps/s390/multiarch/strncat.c: Likewise.
5032         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
5033         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
5034         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
5035         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
5036         wcsncat functions.
5037         * sysdeps/s390/multiarch/ifunc-impl-list.c
5038         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
5039         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
5040         * string/test-strncat.c: Add wcsncat support.
5041         * wcsmbs/test-wcsncat.c: New File.
5042         * wcsmbs/Makefile (strop-tests): Add wcsncat.
5043         * benchtests/bench-strncat.c: Add wcsncat support.
5044         * benchtests/bench-wcsncat.c: New File.
5045         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
5047         * sysdeps/s390/multiarch/strcat-c.c: New File.
5048         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
5049         * sysdeps/s390/multiarch/strcat.c: Likewise.
5050         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
5051         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
5052         * sysdeps/s390/multiarch/wcscat.c: Likewise.
5053         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
5054         wcscat functions.
5055         * sysdeps/s390/multiarch/ifunc-impl-list.c
5056         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
5057         * string/strcat.c (STRCAT): Define and use macro.
5058         * wcsmbs/wcscat.c: Use WCSCAT if defined.
5059         * string/test-strcat.c: Add wcscat support.
5060         * wcsmbs/test-wcscat.c: New File.
5061         * wcsmbs/Makefile (strop-tests): Add wcscat.
5062         * benchtests/bench-strcat.c: Add wcscat support.
5063         * benchtests/bench-wcscat.c: New File.
5064         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
5066         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
5067         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
5068         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5069         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
5070         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
5071         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
5072         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
5073         wcpncpy functions.
5074         * sysdeps/s390/multiarch/ifunc-impl-list.c
5075         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
5076         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
5077         * string/test-stpncpy.c: Add wcpncpy support.
5078         * wcsmbs/test-wcpncpy.c: New File.
5079         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
5080         * benchtests/bench-stpncpy.c: Add wcpncpy support.
5081         * benchtests/bench-wcpncpy.c: New File.
5082         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
5084         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
5085         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5086         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
5087         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
5088         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
5089         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
5090         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5091         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
5092         wcsncpy functions.
5093         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
5094         * sysdeps/s390/multiarch/ifunc-impl-list.c
5095         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
5096         * string/test-strncpy.c: Add wcsncpy support.
5097         * wcsmbs/test-wcsncpy.c: New File.
5098         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
5099         * benchtests/bench-strncpy.c: Add wcsncpy support.
5100         * benchtests/bench-wcsncpy.c: New File.
5101         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
5103         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
5104         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
5105         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5106         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
5107         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
5108         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
5109         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
5110         wcpcpy functions.
5111         * string/stpcpy.c: Use STPCPY if defined.
5112         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
5113         * sysdeps/s390/multiarch/ifunc-impl-list.c
5114         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
5115         * string/test-stpcpy.c: Add wcpcpy support.
5116         * wcsmbs/test-wcpcpy.c: New File.
5117         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
5118         * benchtests/bench-stpcpy.c: Add wcpcpy support.
5119         * benchtests/bench-wcpcpy.c: New File.
5120         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
5122         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
5123         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5124         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
5125         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
5126         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
5127         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
5128         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5129         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
5130         wcscpy functions.
5131         * sysdeps/s390/multiarch/ifunc-impl-list.c
5132         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
5133         * benchtests/bench-wcscpy.c: New File.
5134         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
5136         * sysdeps/s390/multiarch/strnlen-c.c: New File.
5137         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
5138         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5139         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
5140         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
5141         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
5142         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
5143         wcsnlen functions.
5144         * sysdeps/s390/multiarch/ifunc-impl-list.c
5145         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
5146         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
5147         * string/test-strnlen.c: Add wcsnlen support.
5148         * wcsmbs/test-wcsnlen.c: New File.
5149         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
5150         * benchtests/bench-strnlen.c: Add wcsnlen support.
5151         * benchtests/bench-wcsnlen.c: New File.
5152         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
5154         * sysdeps/s390/multiarch/Makefile: New File.
5155         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
5156         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
5157         * sysdeps/s390/multiarch/strlen.c: Likewise.
5158         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
5159         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
5160         * sysdeps/s390/multiarch/wcslen.c: Likewise.
5161         * string/strlen.c (STRLEN): Define and use macro.
5162         * sysdeps/s390/multiarch/ifunc-impl-list.c
5163         (IFUNC_VX_IMPL): New macro function.
5164         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
5165         * benchtests/Makefile (wcsmbs-bench): New variable.
5166         (string-bench-all): Added wcsmbs-bench.
5167         * benchtests/bench-wcslen.c: New File.
5169         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
5170         s390_vx_libc_ifunc2): New macro function.
5172         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
5173         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
5174         assembler support.
5175         * sysdeps/s390/configure: Regenerated.
5177         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
5178         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
5180         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
5181         * sysdeps/s390/dl-procinfo.h: Add vector capability.
5182         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
5184         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5185         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
5186         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
5187         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
5188         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
5189         (memcmp, bcmp): Use __memcmp_default as alias source.
5190         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
5191         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
5192         Rename to __memcmp_default.
5193         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
5194         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
5195         (memcpy): Use __memcpy_default as alias source.
5196         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
5197         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
5198         Rename to __memcpy_default.
5199         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
5200         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
5201         (memset): Use __memset_default as alias source.
5202         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
5203         * sysdeps/s390/s390-32/memset.S (__memset_g5):
5204         Rename to __memset_default.
5205         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
5206         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
5207         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
5208         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
5209         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
5210         (memcmp, bcmp): Use __memcmp_default as alias source.
5211         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
5212         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
5213         Rename to __memcmp_default.
5214         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
5215         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
5216         (memcpy): Use __memcpy_default as alias source.
5217         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
5218         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
5219         Rename to __memcpy_default.
5220         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
5221         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
5222         (memset): Use __memset_default as alias source.
5223         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
5224         * sysdeps/s390/s390-64/memset.S (__memset_z900):
5225         Rename to __memset_default.
5226         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
5227         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
5229         [BZ #18610]
5230         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
5231         __ieee_instruction_pointer to __unused.
5232         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
5233         __ieee_instruction_pointer.
5234         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
5235         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
5236         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5237         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
5238         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
5239         Mark dxc-field as reserved.
5241 2015-08-25  Roland McGrath  <roland@hack.frob.com>
5243         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
5244         if the weak reference is not null.
5246 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5248         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
5250         [BZ #11214]
5251         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
5253 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5255         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
5256         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
5257         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
5258         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
5259         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
5260         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
5261         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
5262         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
5263         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
5264         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
5265         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
5266         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
5267         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
5268         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
5269         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
5270         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
5271         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
5272         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
5274 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5276         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
5277         register other than r0 for tabort, it has special meaning.
5278         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
5279         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
5280         transaction before starting syscall.
5282 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5284         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
5286 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5288         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
5290         * sysdeps/x86_64/rtld-memcmp.c: Removed.
5291         * sysdeps/x86_64/rtld-memset.S: Likewise.
5292         * sysdeps/x86_64/rtld-strchr.S: Likewise.
5293         * sysdeps/x86_64/rtld-strlen.S: Likewise.
5294         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
5295         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5297         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
5299 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
5301         * debug/strcpy_chk.c: Improve performance.
5302         * debug/stpcpy_chk.c: Likewise.
5303         * sysdeps/x86_64/strcpy_chk.S: Remove.
5304         * sysdeps/x86_64/stpcpy_chk.S: Remove.
5306         [BZ #18240]
5307         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
5309 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5311         [BZ #15128]
5312         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
5313         ifuncmain8.
5314         (modules-names): Add ifuncmod8.
5315         ($(objpfx)ifuncmain8): New rule.
5316         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
5317         <cpuid.h>.
5318         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
5319         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
5320         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
5321         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
5322         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
5323         * sysdeps/x86_64/dl-trampoline.h: Likewise.
5324         * sysdeps/x86_64/ifuncmain8.c: New file.
5325         * sysdeps/x86_64/ifuncmod8.c: Likewise.
5326         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
5327         Removed.
5328         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
5329         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
5330         Change rtld_savespace_sse to __glibc_unused2.
5331         (RTLD_CHECK_FOREIGN_CALL): Removed.
5332         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
5333         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
5334         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
5336 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5338         * sysdeps/aarch64/bzero.S (__bzero): Remove.
5340 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5342         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
5343         Unconditionally set __fpcr to avoid uninialized warning.
5344         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
5346 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5348         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
5349         is corrupt.
5351         * malloc/arena.c (arena_get2): Drop unused argument.
5352         (arena_lock): Adjust.
5353         (arena_get_retry): Likewise.
5355 2015-08-24  Andreas Schwab  <schwab@suse.de>
5357         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
5358         Don't define.
5359         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5360         (__ASSUME_IPC64): Don't undef.
5361         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
5362         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5363         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5364         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
5365         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
5366         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
5367         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
5368         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
5369         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
5370         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
5371         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
5372         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
5373         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
5374         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
5375         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
5376         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
5377         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
5378         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
5379         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
5380         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
5381         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
5383 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
5385         * manual/Makefile (install): Only build manual when perl is available.
5387 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5389         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
5390         '#undef memcpy' by '#undef memchr'.
5392 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5394         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
5395         memchr not point to the internal __GI_memchr implementation.
5397 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5399         * timezone/Makefile (CFLAGS-zdump.c): Remove
5400         -Wno-strict-prototypes.
5401         (CFLAGS-zic.c): Likewise.
5402         (CFLAGS-ialloc.c): Likewise.
5403         (CFLAGS-scheck.c): Likewise.
5405         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
5406         -Wno-error=undef.
5408 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5410         * i386/i686/multiarch/strcasestr-c.c: Removed.
5411         * x86_64/multiarch/strcasestr.c: Likewise.
5412         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5413         Remove strcasestr.
5415 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5417         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
5419         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
5420         variables for high and low parts before possibly modifying them.
5422 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5424         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
5425         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
5426         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
5427         of "multiarch/init-arch.h".
5428         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
5429         * sysdeps/x86/init-arch.h: This.
5431 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5433         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
5434         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
5436 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
5438         [BZ #17787]
5439         * manual/macros.texi: Add twoexp macro.
5440         * manual/filesys.texi: Fix exponents.
5441         * manual/llio.texi: Likewise.
5442         * manual/stdio.texi: Likewise.
5444 2015-08-20  Florian Weimer  <fweimer@redhat.com>
5446         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
5447         incorrect use.
5449 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5451         [BZ #18370]
5452         * math/s_csqrt.c (__csqrt): Force underflow exception for results
5453         whose real or imaginary part has small absolute value.
5454         * math/s_csqrtf.c (__csqrtf): Likewise.
5455         * math/s_csqrtl.c (__csqrtl): Likewise.
5456         * math/auto-libm-test-in: Add more tests of csqrt.
5457         * math/auto-libm-test-out: Regenerated.
5458         * sysdeps/i386/fpu/libm-test-ulps: Update.
5460 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5462         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
5463         __ppc_set_ppr_very_low): New functions.
5464         * manual/platform.texi: Add documentation about
5465         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
5467 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
5469         * string/stpncpy.c (stpncpy): Improve performance using
5470         __strnlen/memcpy/memset.
5472 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5474         [BZ #18796]
5475         * scripts/test-installation.pl: Don't add -lmvec to build options if
5476         libmvec wasn't built.
5478 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
5480         [BZ #14341]
5481         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
5482         case when there is a gap between DT_REL and DT_JMPREL sections.
5483         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
5484         (LDFLAGS-tst-split-dynreloc): New.
5485         (tst-split-dynreloc-ENV): Likewise.
5486         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
5487         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
5489 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5491         [BZ #18822]
5492         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
5493         attribute_hidden.
5494         (__xstat64_conv): Likewise.
5495         (__xstat32_conv): Likewise.
5497 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5499         [BZ #18822]
5500         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
5501         Don't load %ebx when calling __setcontext.  Call __setcontext
5502         with HIDDEN_JUMPTARGET.
5503         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
5504         libc_hidden_def.
5506 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5508         * sysdeps/i386/i686/Makefile
5509         [$(subdir) == string] (sysdep_routines): Moved to ...
5510         * sysdeps/i386/Makefile: Here.
5511         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
5512         * sysdeps/i386/cacheinfo.c: Here.
5513         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
5514         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
5515         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
5516         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
5518 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5520         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
5521         __i586__ is defined.
5522         (HAS_I686): Defined to 1 if __i686__ is defined.
5524 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5526         * elf/Makefile [$(have-z-execstack) = yes]
5527         (CPPFLAGS-tst-execstack.c): New variable.
5529         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
5530         conditional to [defined UTMPX || _HAVE_UT_TYPE].
5531         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
5532         UTMPX || _HAVE_UT_TV].
5533         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
5534         UTMPX || _HAVE_UT_TV - 0].
5536 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
5538         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
5539         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
5540         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
5542 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5544         * sysdeps/powerpc/dl-procinfo.c:
5545         (_dl_powerpc_cap_flags): Added missing strings for some
5546         hwcap features.
5547         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
5549 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
5551         Port the 0x7efe...feff pattern to GCC 6.
5552         See Steve Ellcey's bug report in:
5553         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
5554         * string/memrchr.c (MEMRCHR):
5555         * string/rawmemchr.c (RAWMEMCHR):
5556         * string/strchr.c (strchr):
5557         * string/strchrnul.c (STRCHRNUL):
5558         Rewrite code to avoid issues with signed shift overflow.
5560 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
5562         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
5563         whether cpuid is available only if HAS_CPUID is 0.
5564         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
5565         (HAS_I586): Likewise.
5566         (HAS_I686): Likewise.
5568 2015-08-18  Zack Weinberg  <zackw@panix.com>
5570         * misc/Versions (libc): Add GLIBC_2.23.
5572 2015-08-18  Alan Modra  <amodra@gmail.com>
5574         [BZ #18421]
5575         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
5576         .Lp__global.
5577         (_start): Load %dp via .Lp__global.
5578         [!SHARED]: Use .section .rodata.
5580 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5582         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
5583         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
5585 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5587         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
5588         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
5590 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5592         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
5593         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
5595 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5597         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
5598         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
5600 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5602         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
5603         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
5605 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5607         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
5608         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
5610 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5612         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
5614 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5616         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
5617         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
5618         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5619         (__ASSUME_LWS_CAS): Delete.
5621 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5623         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
5624         * sysdeps/hppa/configure: Regenerated.
5625         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
5626         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
5627         * sysdeps/hppa/nptl/tls.h: Likewise.
5629 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
5631         [BZ #18823]
5632         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
5633         for scaling up small arguments.
5634         * math/s_csqrtf.c (__csqrtf): Likewise.
5635         * math/s_csqrtl.c (__csqrtl): Likewise.
5636         * math/auto-libm-test-in: Add more tests of csqrt.
5637         * math/auto-libm-test-out: Regenerated.
5639 2015-08-17  Andreas Schwab  <schwab@suse.de>
5641         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
5642         version set GLIBC_2.19.
5644 2015-08-16  Zack Weinberg  <zackw@panix.com>
5646         [BZ #18681]
5647         * misc/regexp.h: This interface is no longer supported.
5648         Remove all contents, leaving only an #error directive.
5649         * misc/regexp.c (loc1, loc2, locs, step, advance):
5650         Demote to compatibility symbols.
5652 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
5654         [BZ #18084]
5655         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
5656         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
5657         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5658         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
5659         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
5660         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
5661         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
5662         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
5663         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5665 2015-08-15  Zack Weinberg  <zackw@panix.com>
5667         [BZ #18795]
5668         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
5669         buffer length is known to be too large, not if it's known to be
5670         small enough.
5671         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
5672         overflow at runtime, involving a length parameter, twice: once
5673         with a compile-time constant length parameter, once without.
5675 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
5677         [BZ #18824]
5678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
5679         scaling x * y up instead of down.
5680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5681         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5682         * math/auto-libm-test-in: Add more tests of fma.
5683         * math/auto-libm-test-out: Regenerated.
5685 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5687         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5689 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5691         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
5692         unnecessary movq.
5693         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
5694         Likewise.
5696 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
5698         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5699         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
5700         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
5701         and tgamma.
5702         * math/auto-libm-test-out: Regenerated.
5703         * sysdeps/i386/fpu/libm-test-ulps: Update.
5704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5706         [BZ #16520]
5707         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
5708         (__tanh): Force underflow exception for arguments with small
5709         absolute value.
5710         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
5711         (__tanhf): Force underflow exception for arguments with small
5712         absolute value.
5713         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
5714         (__tanhl): Force underflow exception for arguments with small
5715         absolute value.
5716         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
5717         (__tanhl): Force underflow exception for arguments with small
5718         absolute value.
5719         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
5720         (__tanhl): Force underflow exception for arguments with small
5721         absolute value.
5722         * math/auto-libm-test-in: Add more tests of tanh.
5723         * math/auto-libm-test-out: Regenerated.
5724         * sysdeps/i386/fpu/libm-test-ulps: Update.
5726 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5728         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
5729         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
5731 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5733         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
5734         <cpuid.h>.
5736 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5738         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
5739         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
5741 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5743         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
5744         Remove $(objpfx)init-arch.o.
5745         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
5746         init-arch.
5747         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
5748         (INIT_ARCH_EXT): Defined as empty.
5749         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
5750         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
5751         __init_cpu_features call.  Replace HAS_XXX with
5752         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5753         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
5754         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
5755         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
5756         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
5757         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
5758         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
5759         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
5760         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
5761         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
5762         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
5763         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
5764         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
5765         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
5766         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
5767         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
5768         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
5769         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
5770         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
5771         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
5772         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
5773         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
5774         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
5775         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
5776         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
5777         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
5778         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
5779         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
5780         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
5781         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
5782         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
5783         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
5784         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
5785         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
5786         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
5787         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
5789 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5791         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
5792         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5793         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5794         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5795         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
5796         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
5797         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
5798         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
5799         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
5800         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
5801         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
5802         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
5803         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5804         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5805         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5806         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5807         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5808         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5809         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5810         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5811         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5812         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5813         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5814         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5815         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5816         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5817         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5818         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5819         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5820         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5821         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5822         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5823         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5824         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5825         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5826         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5827         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5828         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5829         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5830         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5831         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5832         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5833         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5835 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5837         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
5838         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5839         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5840         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5841         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5842         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
5843         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5844         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
5845         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5846         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5847         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5848         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
5849         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
5850         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
5851         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
5852         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
5853         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
5854         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
5855         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
5856         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
5857         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5858         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
5859         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
5860         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5861         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5862         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
5863         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
5864         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
5865         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5866         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5867         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5868         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5869         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5870         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5871         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5872         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5873         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5874         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5875         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5876         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5877         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5878         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5879         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5881 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5883         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
5884         (dl_platform_init): Call init_cpu_features.
5885         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
5886         * sysdeps/i386/i686/cacheinfo.c
5887         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
5888         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
5889         * sysdeps/i386/i686/multiarch/Versions: Removed.
5890         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
5891         Removed.
5892         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
5893         * sysdeps/unix/sysv/linux/x86/Makefile
5894         (libpthread-sysdep_routines): Remove init-arch.
5895         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
5896         <sysdeps/x86_64/dl-procinfo.c> instead of
5897         sysdeps/generic/dl-procinfo.c>.
5898         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
5899         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
5900         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
5901         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
5902         [$(subdir) == elf] (tests-static): Add
5903         tst-get-cpu-features-static.
5904         * sysdeps/x86/Versions: New file.
5905         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
5906         * sysdeps/x86/cpu-features.c: Likewise.
5907         * sysdeps/x86/cpu-features.h: Likewise.
5908         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
5909         * sysdeps/x86/libc-start.c: Likewise.
5910         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5911         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
5912         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
5913         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5914         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
5915         Assume USE_MULTIARCH is defined and don't check it.
5916         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
5917         (is_amd): Likewise.
5918         (max_cpuid): Likewise.
5919         (intel_check_word): Likewise.
5920         (__cache_sysconf): Don't call __init_cpu_features.
5921         (__x86_preferred_memory_instruction): Removed.
5922         (init_cacheinfo): Don't call __init_cpu_features. Replace
5923         __cpu_features with GLRO(dl_x86_cpu_features).
5924         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
5925         (dl_platform_init): Call init_cpu_features.
5926         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
5927         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
5928         * sysdeps/x86_64/multiarch/Versions: Removed.
5929         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
5930         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
5931         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
5932         Removed.
5933         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
5935 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5937         [BZ #18820]
5938         * libio/Makefile (test-fmemopen-mem): New test.
5939         * libio/test-fmemopen.c (do_bz18820): New test.
5940         * libio/fmemopen.c (__fmemopen): Fix memory leak.
5941         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
5943 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5945         [BZ #16734]
5946         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
5947         (FREE_BUF): Delete.
5948         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
5949         * libio/genops.c (_IO_setb): Use malloc and free directly.
5950         (_IO_default_doallocate, _IO_default_finish): Likewise.
5951         ( _IO_unbuffer_all): Likewise.
5952         ( libc_freeres_fn): Likewise.
5953         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5954         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5955         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
5956         (_IO_wdefault_doallocate): Likewise.
5958 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5960         [BZ #18086]
5961         * sysdeps/posix/nice.c (nice): Restore old errno.
5962         * posix/tst-nice.c (do_test): Add test for BZ #18086.
5964 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
5966         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
5968 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5970         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
5971         __bcopy and add a weak_alias to bcopy.
5972         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
5973         for static build.
5975         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
5976         cleanup macro usage.
5977         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
5978         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
5979         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5980         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
5981         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5982         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
5983         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
5984         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5985         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5986         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
5987         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5988         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
5989         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5990         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
5991         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5992         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
5993         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
5994         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
5995         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5997         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
5998         libc_hidden_def.
5999         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
6001         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
6002         (sysdep_routines): Add strstr-ppc64.
6003         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
6005 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
6007         [BZ #18778]
6008         * elf/Makefile (tests): Add Add tst-nodelete2.
6009         (modules-names): Add tst-nodelete2mod.
6010         (tst-nodelete2mod.so-no-z-defs): New.
6011         ($(objpfx)tst-nodelete2): Likewise.
6012         ($(objpfx)tst-nodelete2.out): Likewise.
6013         (LDFLAGS-tst-nodelete2): Likewise.
6014         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
6015         out of loop through all loaded libraries.
6016         * elf/tst-nodelete2.c: New file.
6017         * elf/tst-nodelete2mod.c: Likewise.
6018         * elf/tst-znodelete-zlib.cc: Delete.
6020 2015-08-11  Andreas Schwab  <schwab@suse.de>
6022         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
6023         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
6024         (__openat64_nocancel): Likewise.
6026 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
6028         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
6029         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
6030         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
6031         * math/auto-libm-test-out: Regenerated.
6032         * sysdeps/i386/fpu/libm-test-ulps: Update.
6033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6035 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6037         [BZ #18790]
6038         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
6039         threshold for returning +/- 1.
6040         * math/auto-libm-test-in: Add more tests of tanh.
6041         * math/auto-libm-test-out: Regenerated.
6042         * sysdeps/i386/fpu/libm-test-ulps: Update.
6044 2015-08-10  Andreas Schwab  <schwab@suse.de>
6046         [BZ #18781]
6047         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
6048         MORE_OFLAGS to oflag.
6049         * io/test-lfs.c (do_test): Test openat64.
6051 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6053         [BZ #18789]
6054         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
6055         smaller threshold for returning the argument.
6056         * math/auto-libm-test-in: Add more tests of sinh.
6057         * math/auto-libm-test-out: Regenerated.
6058         * sysdeps/i386/fpu/libm-test-ulps: Update.
6060 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6062         [BZ #18674]
6063         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
6064         break.
6066 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6068         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
6069         (generated): Don't add $(addprefix z.,$(tzfiles)).
6071 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6073         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
6074         * scripts/sysd-rules.awk: Likewise.
6076 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6078         * iconvdata/tst-tables.sh: Change echo -n to printf.
6079         * nss/db-Makefile: Likewise.
6080         * posix/tst-getconf.sh: Likewise.
6081         * stdio-common/tst-unbputc.sh: Likewise.
6083 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6085         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
6086         MADV_*_PAGES defines behind this feature check.
6088 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
6090         [BZ #18480]
6091         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
6092         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
6093         Define.
6094         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
6095         LOAD_REGS_5, LOAD_REGS_6): Update.
6096         (INTERNAL_SYSCALL): Update using new LOAD defines.
6097         (INTERNAL_SYSCALL_NCS): Likewise.
6098         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
6100 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6102         [BZ #16734]
6103         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
6105 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6107         [BZ #17905]
6108         * catgets/Makefile (tst-catgets-mem): New test.
6109         * catgets/catgets.c (catopen): Don't use unbounded alloca.
6110         * catgets/open_catalog.c (__open_catalog): Likewise.
6111         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
6113 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
6115         [BZ #18787]
6116         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
6117         clobber registers.
6118         (atomic_compare_and_exchange_val_acq): Use register asms to assign
6119         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
6120         Cast return to __typeof (oldval).
6122 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
6124         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
6125         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
6126         and delete sys/syscall.h include.
6128 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
6130         [BZ #16517]
6131         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
6132         (tan): Force underflow exception for arguments with small absolute
6133         value.
6134         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
6135         (__kernel_tanf): Force underflow exception for arguments with
6136         small absolute value.
6137         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
6138         (__kernel_tanl): Force underflow exception for arguments with
6139         small absolute value.
6140         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
6141         (__kernel_tanl): Force underflow exception for arguments with
6142         small absolute value.
6143         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
6144         (__kernel_tanl): Force underflow exception for arguments with
6145         small absolute value.
6146         * math/auto-libm-test-in: Add more tests of tan.
6147         * math/auto-libm-test-out: Regenerated.
6149 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6151         Fix sysdeps/i386/fpu/s_scalbn.S build
6153         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
6155 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
6157         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6159 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6161         Fix gcrt0.o compilation
6163         When static-start-installed-name is different from
6164         start-installed-name, we must not use the shared objects.
6166         * csu/Makefile
6167         (extra-objs): Add gmon-start.o when building shared library and
6168         $(static-start-installed-name) is different from
6169         $(start-installed-name).
6170         $(objpfx)g$(static-start-installed-name): When building shared
6171         library and $(static-start-installed-name) is different from
6172         $(static-start-installed-name), revert to non-shared rule,
6173         i.e. using $(objpfx)% and gmon-start.o.
6175 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
6177         [BZ #16519]
6178         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
6179         (__ieee754_sinh): Force underflow exception for arguments with
6180         small absolute value.
6181         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
6182         (__ieee754_sinhf): Force underflow exception for arguments with
6183         small absolute value.
6184         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
6185         (__ieee754_sinhl): Force underflow exception for arguments with
6186         small absolute value.
6187         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
6188         (__ieee754_sinhl): Force underflow exception for arguments with
6189         small absolute value.
6190         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
6191         (__ieee754_sinhl): Force underflow exception for arguments with
6192         small absolute value.
6193         * math/auto-libm-test-in: Add more tests of sinh.
6194         * math/auto-libm-test-out: Regenerated.
6195         * sysdeps/i386/fpu/libm-test-ulps: Update.
6197 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6199         * libio/oldfileops.c: Include unistd.h.
6201 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
6203         * stdlib/isomac.c: Include ctype.h.
6205 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
6207         * dirent/tst-seekdir.c (main): Converted to ...
6208         (do_test): ... this.
6209         (TEST_FUNCTION): New macro.
6210         Include test-skeleton.c.
6211         * elf/tst-dlmodcount.c (main): Converted to ...
6212         (do_test): ... this.
6213         (TEST_FUNCTION): New macro.
6214         Include test-skeleton.c.
6215         * elf/tst-order-main.c (main): Converted to ...
6216         (do_test): ... this.
6217         (TEST_FUNCTION): New macro.
6218         Include test-skeleton.c.
6219         * elf/tst-pie2.c (main): Converted to ...
6220         (do_test): ... this.
6221         (TEST_FUNCTION): New macro.
6222         Include test-skeleton.c.
6223         * inet/tst-ether_aton.c (main): Converted to ...
6224         (do_test): ... this.
6225         (TEST_FUNCTION): New macro.
6226         Include test-skeleton.c.
6227         * misc/tst-mntent.c (main): Converted to ...
6228         (do_test): ... this.
6229         (TEST_FUNCTION): New macro.
6230         Include test-skeleton.c.
6231         * misc/tst-tsearch.c (main): Converted to ...
6232         (do_test): ... this.
6233         (TEST_FUNCTION): New macro.
6234         Include test-skeleton.c.
6235         * posix/tst-regexloc.c (main): Converted to ...
6236         (do_test): ... this.
6237         (TEST_FUNCTION): New macro.
6238         Include test-skeleton.c.
6239         * resolv/tst-aton.c (main): Converted to ...
6240         (do_test): ... this.
6241         (TEST_FUNCTION): New macro.
6242         Include test-skeleton.c.
6243         * stdio-common/test-fwrite.c (main): Converted to ...
6244         (do_test): ... this.
6245         (TEST_FUNCTION): New macro.
6246         Include test-skeleton.c.
6247         * stdio-common/tst-ferror.c (main): Converted to ...
6248         (do_test): ... this.
6249         (TEST_FUNCTION): New macro.
6250         Include test-skeleton.c.
6251         * stdio-common/tst-printf.c (main): Converted to ...
6252         (do_test): ... this.
6253         (TEST_FUNCTION): New macro.
6254         Include test-skeleton.c.
6255         * stdio-common/tst-printfsz.c (main): Converted to ...
6256         (do_test): ... this.
6257         (TEST_FUNCTION): New macro.
6258         Include test-skeleton.c.
6259         * stdlib/tst-strtod.c (main): Converted to ...
6260         (do_test): ... this.
6261         (TEST_FUNCTION): New macro.
6262         Include test-skeleton.c.
6263         * string/tst-strlen.c (main): Converted to ...
6264         (do_test): ... this.
6265         (TEST_FUNCTION): New macro.
6266         Include test-skeleton.c.
6267         * string/tst-svc.c (main): Converted to ...
6268         (do_test): ... this.
6269         (TEST_FUNCTION): New macro.
6270         Include test-skeleton.c.
6271         * time/tst-strptime.c (main): Converted to ...
6272         (do_test): ... this.
6273         (TEST_FUNCTION): New macro.
6274         Include test-skeleton.c.
6275         * timezone/tst-timezone.c (main): Converted to ...
6276         (do_test): ... this.
6277         (TEST_FUNCTION): New macro.
6278         Include test-skeleton.c.
6280 2015-08-05  Zack Weinberg  <zackw@panix.com>
6282         * misc/regexp.h: Update comments.
6284 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
6286         [BZ #18635]
6287         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
6288         before return label.
6290 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6292         [BZ #18661]
6293         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
6294         when calling __errno_location.
6295         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
6296         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
6298 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6300         [BZ #18661]
6301         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
6302         (__lll_timedwait_tid): Align stack to 16 bytes when calling
6303         __gettimeofday.
6305 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6307         [BZ #18661]
6308         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6309         (__start_context): Don't use pop to restore %rdi so that stack
6310         is aligned to 16 bytes when calling __setcontext.
6312 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6314         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
6315         only for libc.
6316         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6318 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6320         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
6321         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
6322         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
6324 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6326         * string/memccpy.c (memccpy):
6327         Improve performance by using memchr/memcpy/__mempcpy.
6329 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6331         * string/strncpy.c (strncpy):
6332         Improve performance by using __strnlen/memcpy.
6334 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6336         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6337         Optimize to avoid an unnecessary FPCR read.
6339 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6341         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6342         Optimize to reduce FPCR/FPSR accesses.
6344 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6346         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
6347         dead->data[category] != NULL.
6349 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
6351         [BZ #18647]
6352         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
6353         and |x| close to 1, use absolute value of x when computing log.
6354         * math/auto-libm-test-in: Add more tests of pow.
6355         * math/auto-libm-test-out: Regenerated.
6357 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6359         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
6360         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
6361         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
6363 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
6365         [BZ #18525]
6366         * locales/km_KH: Remove timezone definition.
6367         * locales/lo_LA: Likewise.
6368         * locales/my_MM: Likewise.
6369         * locales/nan_TW@latin: Likewise.
6370         * locales/th_TH: Likewise.
6371         * locales/uk_UA: Likewise.
6373 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
6375         [BZ #18265]
6376         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
6377         (wcsncat): Likewise.
6378         (wcscmp): Likewise.
6379         (wcsncmp): Likewise.
6381 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6383         * test-skeleton.c (usage): New function.
6384         (main): Call usage when opt is '?'.
6386 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6388         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
6389         before first use.
6391 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6393         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
6394         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
6395         in there too.
6397 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
6399         * version.h (RELEASE): Set to "development".
6400         (VERSION): Set to "2.22.90"
6402         * version.h (RELEASE): Set to "stable".
6403         (VERSION): Set to "2.22"
6404         * include/features.h (__GLIBC_MINOR__): Set to 22.
6406 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
6408         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
6409         Restructure macro to avoid "value computed is not used" warning.
6410         (atomic_compare_and_exchange_val_acq): Likewise.
6412 2015-08-04  Andreas Schwab  <schwab@suse.de>
6414         [BZ #18635]
6415         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
6416         ret.
6417         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
6419 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
6421         * po/pl.po: Updated translation.
6422         * po/uk.po: Likewise.
6423         * po/fi.po: Likewise.
6424         * po/ko.po: Likewise.
6425         * po/ru.po: Likewise.
6426         * po/vi.po: Likewise.
6428 2015-07-31  Zack Weinberg  <zackw@panix.com>
6430         [BZ #18681]
6431         * regexp.h: Add unconditional #warning stating that this header
6432         will be removed soon.  Revise banner comment to match.
6433         (compile): Consistently use ERROR instead of RETURN to report
6434         errors (partial fix for bz#18681).
6435         * regexp.c: Don't include regexp.h. Remove some unnecessary
6436         declarations.
6438 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
6440         * po/libc.pot: Regenerated.
6442 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6444         [BZ #18740]
6445         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
6446         float-vlen4-arch-ext-cflags): Removed.
6447         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
6448         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
6450 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6452         [BZ #14113]
6453         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
6454         aligned to __aligned__.
6455         (pthread_cond_t, pthread_rwlock_t): Likewise.
6457 2015-07-30  Torvald Riegel  <triegel@redhat.com>
6459         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
6461 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6463         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
6464         (struct sigaction): Change sa_flags from a long to an int, and add
6465         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
6467 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6469         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
6470         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
6471         sysdeps/generic/sysdep.h include.
6472         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
6473         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
6474         sysdeps/hppa/sysdep.h.
6475         (ENTRY, PSEUDO): Undefine before defining.
6477 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6479         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
6480         from scratch to use INTERNAL_SYSCALL.
6482 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
6484         [BZ #18078]
6485         * scripts/check-localplt.awk: Support alternate relocations.
6486         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
6487         sections.
6488         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
6489         malloc entries with + REL R_386_GLOB_DAT.
6490         * sysdeps/x86_64/localplt.data: New file.
6492 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
6494         [BZ #18731]
6495         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
6496         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6497         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6499 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6501         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
6503 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6505         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
6506         directly in terms of __sync_fetch_and_add and delete (int) cast.
6508 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6510         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
6511         the -D_ASM_IA64_CURRENT_H flag.
6513 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6515         [BZ #18641]
6516         * pwd/pwd.h (putpwent): Delete __nonnull markings.
6518 2015-07-27  Andreas Schwab  <schwab@suse.de>
6520         * conform/conformtest.pl (checknamespace): Filter out string
6521         literals while tokenizing.
6523 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6525         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6526         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
6527         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6529 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6531         * nptl/tst-join7mod.c: Add #include <string.h>.
6533 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6535         * sysdeps/nios2/libm-test-ulps: Update.
6537 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6539         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
6540         Fix order of arguments to the rt_sigprocmask syscall.
6541         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
6542         Likewise.
6544 2015-07-24  Roland McGrath  <roland@hack.frob.com>
6546         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
6548 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6550         [BZ #18457]
6551         * nptl/Makefile (tests): New test case tst-join7.
6552         (modules-names): New test case module tst-join7mod.
6553         * nptl/tst-join7.c: New file.
6554         * nptl/tst-join7mod.c: New file.
6555         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
6556         all translation units in libc.so, libpthread.so and rtld.
6558 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6562 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
6564         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
6565         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6566         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6567         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6568         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6569         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6570         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6571         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6572         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6573         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6574         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6575         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6576         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
6577         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6578         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
6579         implementation.
6581 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6583         [BZ #17711]
6584         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6585         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
6586         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6587         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6588         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
6589         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6591 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6593         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
6594         instead of just saying load lock in the comments.
6596 2015-07-23  Roland McGrath  <roland@hack.frob.com>
6598         * sysdeps/unix/Subdirs: Moved ...
6599         * sysdeps/posix/Subdirs: ... here.
6600         * login/pty.h (struct termios, struct winsize): Add forward decls.
6601         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
6602         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
6603         * sysdeps/arm/nacl/libc.abilist: Updated.
6604         * sysdeps/nacl/libutil.abilist: New file.
6606         * bits/signum.h: Update comments to mention 1003.1-2013 too.
6607         (SIGWINCH): New macro.
6609         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
6610         * sysdeps/arm/nacl/libc.abilist: Add it.
6612 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6614         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
6616 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6618         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6619         Swap __glibc_reserved0 and sa_flags order.
6621 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6623         [BZ #18657]
6624         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
6625         are pending TLS destructor calls.
6626         * include/link.h (struct link_map): Add concurrency note for
6627         L_TLS_DTOR_COUNT.
6628         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6629         Don't touch the link map flag.  Atomically increment
6630         l_tls_dtor_count.
6631         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
6632         Avoid taking the load lock and don't touch the link map flag.
6633         * stdlib/tst-tls-atexit-nodelete.c: New test case.
6634         * stdlib/Makefile (tests): Use it.
6635         * stdlib/tst-tls-atexit.c (do_test): dlopen
6636         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
6637         to allow tst-tls-atexit-nodelete test case to use it.
6639 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6641         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
6642         to bits/types.h.
6643         (msgqnum_t): New typedef.
6644         (msglen_t): Likewise.
6645         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
6646         and msg_qbytes type to msglen_t.
6648 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6650         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
6651         pad0 to __glibc_reserved0.
6652         (struct stat64): Likewise.
6654 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6656         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6657         Change sa_flags from a long to an int and add __glibc_reserved0 before
6658         it for padding.
6660 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6662         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
6663         anonymous by deleting "siginfo" name.
6665 2015-07-21  Roland McGrath  <roland@hack.frob.com>
6667         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
6668         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
6669         rather than __nacl_irt_filename.
6670         * sysdeps/nacl/xstat.c (__xstat): Likewise.
6672         * NEWS: New item for arm-nacl port.
6673         * sysdeps/arm/nacl/libc.abilist: New file.
6674         * sysdeps/nacl/ld.abilist: New file.
6675         * sysdeps/nacl/libBrokenLocale.abilist: New file.
6676         * sysdeps/nacl/libanl.abilist: New file.
6677         * sysdeps/nacl/libcrypt.abilist: New file.
6678         * sysdeps/nacl/libdl.abilist: New file.
6679         * sysdeps/nacl/libm.abilist: New file.
6680         * sysdeps/nacl/libpthread.abilist: New file.
6681         * sysdeps/nacl/libresolv.abilist: New file.
6682         * sysdeps/nacl/librt.abilist: New file.
6684 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
6686         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
6687         __startcontext to initialize the new context.
6688         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
6689         up CFI directive to forbid further backtracing.
6691 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
6693         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
6694         reference.
6695         * charmaps/ANSI_X3.4-1968: Likewise.
6696         * charmaps/BS_4730: Likewise.
6697         * charmaps/BS_VIEWDATA: Likewise.
6698         * charmaps/CP1250: Likewise.
6699         * charmaps/CP1251: Likewise.
6700         * charmaps/CP1252: Likewise.
6701         * charmaps/CP1253: Likewise.
6702         * charmaps/CP1254: Likewise.
6703         * charmaps/CP1255: Likewise.
6704         * charmaps/CP1256: Likewise.
6705         * charmaps/CSN_369103: Likewise.
6706         * charmaps/EBCDIC-DK-NO: Likewise.
6707         * charmaps/GB_1988-80: Likewise.
6708         * charmaps/GREEK-CCITT: Likewise.
6709         * charmaps/GREEK7: Likewise.
6710         * charmaps/INIS-8: Likewise.
6711         * charmaps/ISIRI-3342: Likewise.
6712         * charmaps/ISO_2033-1983: Likewise.
6713         * charmaps/ISO_5427-EXT: Likewise.
6714         * locales/POSIX: Likewise.
6715         * locales/ar_SA: Likewise.
6716         * locales/be_BY: Likewise.
6717         * locales/be_BY@latin: Likewise.
6718         * locales/ca_ES: Likewise.
6719         * locales/cs_CZ: Likewise.
6720         * locales/da_DK: Likewise.
6721         * locales/de_BE: Likewise.
6722         * locales/de_CH: Likewise.
6723         * locales/de_LU: Likewise.
6724         * locales/en_AU: Likewise.
6725         * locales/en_BW: Likewise.
6726         * locales/en_CA: Likewise.
6727         * locales/en_DK: Likewise.
6728         * locales/en_GB: Likewise.
6729         * locales/en_IE: Likewise.
6730         * locales/en_NZ: Likewise.
6731         * locales/en_ZA: Likewise.
6732         * locales/en_ZW: Likewise.
6733         * locales/es_AR: Likewise.
6734         * locales/es_BO: Likewise.
6735         * locales/es_CL: Likewise.
6736         * locales/es_CO: Likewise.
6737         * locales/es_DO: Likewise.
6738         * locales/es_EC: Likewise.
6739         * locales/es_ES: Likewise.
6740         * locales/es_HN: Likewise.
6741         * locales/es_MX: Likewise.
6742         * locales/es_PA: Likewise.
6743         * locales/es_PE: Likewise.
6744         * locales/es_PY: Likewise.
6745         * locales/es_SV: Likewise.
6746         * locales/es_US: Likewise.
6747         * locales/es_UY: Likewise.
6748         * locales/es_VE: Likewise.
6749         * locales/et_EE: Likewise.
6750         * locales/fa_IR: Likewise.
6751         * locales/fo_FO: Likewise.
6752         * locales/fr_CA: Likewise.
6753         * locales/fr_CH: Likewise.
6754         * locales/gv_GB: Likewise.
6755         * locales/he_IL: Likewise.
6756         * locales/hr_HR: Likewise.
6757         * locales/id_ID: Likewise.
6758         * locales/is_IS: Likewise.
6759         * locales/it_CH: Likewise.
6760         * locales/iw_IL: Likewise.
6761         * locales/kl_GL: Likewise.
6762         * locales/ko_KR: Likewise.
6763         * locales/kw_GB: Likewise.
6764         * locales/lg_UG: Likewise.
6765         * locales/lt_LT: Likewise.
6766         * locales/lv_LV: Likewise.
6767         * locales/mi_NZ: Likewise.
6768         * locales/nhn_MX: Likewise.
6769         * locales/nl_BE: Likewise.
6770         * locales/pl_PL: Likewise.
6771         * locales/sk_SK: Likewise.
6772         * locales/sl_SI: Likewise.
6773         * locales/sv_FI: Likewise.
6774         * locales/tl_PH: Likewise.
6775         * locales/tr_TR: Likewise.
6776         * locales/vi_VN: Likewise.
6778 2015-07-21  Khem Raj  <raj.khem@gmail.com>
6780         [BZ #17475]
6781         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
6782         of tu_IN and bh_IN.
6784 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
6786         [BZ #18694]
6787         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
6788         bits/wordsize.h.
6789         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
6791 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6793         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
6794         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
6795         (spawn_thread): New function.
6796         (load): Rename to reg_dtor_and_close.  Move dlopen to...
6797         (do_test): ... here.  Use IS_LOADED to test for its
6798         availability.
6800 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
6802         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6804 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
6806         [BZ #18696]
6807         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
6808         si_addr_bnd.
6809         (si_lower): New.
6810         (si_upper): Likewise.
6812 2015-07-16  David S. Miller  <davem@davemloft.net>
6814         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6816 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6818         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
6819         buffer.
6820         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
6821         fail output information.
6823 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
6826         and strstr-ppc64..
6827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6828         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
6829         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
6830         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
6831         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
6833 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6835         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6836         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6837         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6838         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6840 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6842         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6843         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
6844         rtld_hidden_proto.
6845         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
6847 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6849         * tst-nodelete-opened.c (do_test): Add comment to clarify how
6850         the test can fail.
6852         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
6854         [BZ #18676]
6855         * elf/tst-nodelete-opened.c: New test case.
6856         * elf/tst-nodelete-opened-lib.c: New test case module.
6857         * elf/Makefile (tests, modules-names): Use them.
6858         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
6859         early.
6861 2015-07-15  David S. Miller  <davem@davemloft.net>
6863         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
6864         futex-intenal.h
6865         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
6866         * sysdeps/sparc/sparc64/Makefile: Likewise.
6867         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6868         Remove space from macro define.
6869         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
6871 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
6873         [BZ #17475]
6874         * locale/iso-639.def: Update Bhili and Tulu language codes as
6875         per iso639-3.
6877 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
6879         * elf/tst-leaks1.c (main): Converted to ...
6880         (do_test): ... this.
6881         (TEST_FUNCTION): New macro.
6882         Include test-skeleton.c.
6883         * localedata/tst-langinfo.c (main): Converted to ...
6884         (do_test): ... this.
6885         (TEST_FUNCTION): New macro.
6886         Include test-skeleton.c.
6887         * math/test-fpucw.c (main): Converted to ...
6888         (do_test): ... this.
6889         (TEST_FUNCTION): New macro.
6890         Include test-skeleton.c.
6891         * math/test-tgmath.c (main): Converted to ...
6892         (do_test): ... this.
6893         (TEST_FUNCTION): New macro.
6894         Include test-skeleton.c.
6895         * math/test-tgmath2.c (main): Converted to ...
6896         (do_test): ... this.
6897         (TEST_FUNCTION): New macro.
6898         Include test-skeleton.c.
6899         * setjmp/tst-setjmp.c (main): Converted to ...
6900         (do_test): ... this.
6901         (TEST_FUNCTION): New macro.
6902         Include test-skeleton.c.
6903         * stdio-common/tst-sscanf.c (main): Converted to ...
6904         (do_test): ... this.
6905         (TEST_FUNCTION): New macro.
6906         Include test-skeleton.c.
6907         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
6908         (do_test): ... this.
6909         (TEST_FUNCTION): New macro.
6910         Include test-skeleton.c.
6912         * elf/tst-audit9.c (main): Converted to ...
6913         (do_test): ... this.
6914         (TEST_FUNCTION): New macro.
6915         Include test-skeleton.c.
6917 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
6919         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
6921 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6923         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
6924         New variable.
6926 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6928         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6930 2015-07-14  Roland McGrath  <roland@hack.frob.com>
6932         * sysdeps/generic/dl-fileid.h: New file.
6933         * sysdeps/posix/dl-fileid.h: New file.
6934         * sysdeps/nacl/dl-fileid.h: New file.
6935         * include/link.h: Include <dl-fileid.h>.
6936         (struct link_map): Replace l_dev and l_ino with l_file_id.
6937         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
6938         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
6939         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
6941 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6943         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
6945 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6947         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
6948         Add iff $CXX is set.
6949         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
6950         Likewise.
6951         (tst-nodelete-zmodiff): Likewise.
6952         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
6954 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6956         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
6958 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6960         * sysdeps/aarch64/fpu/math_private.h
6961         (define math_opt_barrier): Add AArch64 version.
6962         (math_force_eval): Likewise.
6964 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6966         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
6968 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6970         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
6971         %ld with %jd and cast to intmax_t.
6972         (do_test_length_zero): Likewise.
6974 2015-07-10  Roland McGrath  <roland@hack.frob.com>
6976         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
6978 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
6980         * sysdeps/tile/libm-test-ulps: Regenerated.
6982         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
6983         Comment out the whole function, not just its body.
6985 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6987         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
6988         locks.
6990         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
6992 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6994         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
6995         (sem_assume_only_signals_cause_futex_EINTR): Remove.
6997 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6999         * sysdeps/nptl/futex-internal.h: New file.
7000         * sysdeps/nacl/futex-internal.h: New file.
7001         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
7002         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
7003         error checking.
7004         (setxid_unmark_thread): Likewise.
7005         (__nptl_setxid): Likewise.
7006         (__wait_lookup_done): Likewise.
7007         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
7008         * nptl/nptl-init.c (sighandler_setxid): Likewise.
7009         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
7010         * nptl/pthread_once.c (clear_once_control): Likewise.
7011         (__pthread_once_slow): Likewise.
7012         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7013         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
7014         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
7015         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7016         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
7017         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
7018         Likewise.
7019         (__pthread_rwlock_rdlock): Likewise.
7020         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7021         Likewise.
7022         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7023         Likewise.
7024         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7025         Likewise.
7026         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
7027         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
7028         Likewise.
7029         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
7030         __ASSUME_PRIVATE_FUTEX check.
7031         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
7032         Check that shared futexes are supported.
7033         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
7034         wrappers with error checking.
7035         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
7036         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
7037         * nptl/pthread_barrierattr_setpshared.c
7038         (pthread_barrierattr_setpshared): Check that shared futexes are
7039         supported.
7040         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
7041         Likewise.
7042         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
7043         Likewise.
7044         * nptl/sem_init.c (futex_private_if_supported): Remove.
7045         (__new_sem_init): Adapt and check that shared futexes are supported.
7046         * nptl/sem_open.c (sem_open): Likewise.
7047         * nptl/sem_post.c (futex_wake): Remove.
7048         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
7049         (do_futex_wait): Use futex wrappers with error checking.
7050         * nptl/sem_wait.c: Include lowlevellock.h.
7051         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
7052         Use futex_supports_pshared.
7053         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
7054         Use futex wrappers with error checking.
7055         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
7056         Likewise.
7057         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
7058         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
7059         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
7060         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
7061         (futex_wake): Likewise.
7062         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
7063         (do_futex_wait): Use futex wrappers with error checking.
7064         (__new_sem_wait_slow): Update EINTR handling.
7065         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
7067 2015-07-09  Martin Sebor  <msebor@redhat.com>
7069         [BZ #18435]
7070         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7071         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
7072         * nptl/Makefile (test-xfail-tst-once5): Define.
7074 2015-07-09  Roland McGrath  <roland@hack.frob.com>
7076         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
7077         * elf/dl-minimal.c: For readability, reorder some definitions and
7078         introduce more page breaks.  Include <stdio.h>.
7079         (__libc_fatal): New function.
7081         * include/unistd.h: Add rtld_hidden_proto for _exit.
7082         * posix/_exit.c: Add rtld_hidden_def.
7083         * sysdeps/mach/hurd/_exit.c: Likewise.
7084         * sysdeps/nacl/_exit.c: Likewise.
7085         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
7086         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
7088 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
7090         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
7091         bndmov encoding with zero displacement.
7093 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7094             H.J. Lu  <hongjiu.lu@intel.com>
7096         [BZ #18134]
7097         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
7098         * sysdeps/i386/configure: Regenerated.
7099         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7100         (_dl_runtime_profile): Save and restore Intel MPX return bound
7101         registers when calling _dl_call_pltexit.  Add
7102         PRESERVE_BND_REGS_PREFIX before return.
7103         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
7104         (LRV_BND1_OFFSET): Likewise.
7105         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
7106         lrv_bnd1.
7107         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
7108         typo in bndmov encoding.
7109         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
7110         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
7111         branch instructions to preserve bounds.
7113 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7116         [GLIBC_2.22]: Add fmemopen.
7118 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7120         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
7121         returns an error, also try to use host port from __mach_host_self for
7122         the __vm_wire call.
7123         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
7125 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7127         [BZ #18400]
7128         [BZ #18648]
7129         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
7130         Fix pr_uid and pr_gid members.
7131         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
7132         definition to elf_greg_t.
7134 2015-07-08  Roland McGrath  <roland@hack.frob.com>
7136         [BZ #18383]
7137         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
7138         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
7139         * sysdeps/arm/configure: Regenerated.
7140         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
7141         (test-xfail-tst-tlsalign-static): Variable removed.
7143         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
7144         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
7145         rather than explicit 'ln -s'.
7147         * resolv/rpc/netdb.h: New file.
7148         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
7150 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7152         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
7153         length buffers.
7154         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7155         test-skeleton.c.
7157         [BZ #6544]
7158         [BZ #11216]
7159         [BZ #12836]
7160         [BZ #13151]
7161         [BZ #13152]
7162         [BZ #14292]
7163         * include/stdio.h (fmemopen): Remove hidden prototype.
7164         (__fmemopen): Add new hidden prototype.
7165         * libio/Makefile: Add oldfmemopen object.
7166         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
7167         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
7168         compliance.
7169         * libio/oldfmemopen.c: New file: old fmemopen implementation for
7170         symbol compatibility.
7171         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
7172         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
7173         fmemopen.
7174         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
7175         on append and read mode.
7176         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
7177         fmemopen.
7178         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
7179         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
7180         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
7181         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
7182         Likewise.
7183         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7184         [GLIBC_2.22]: Likewise.
7185         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
7186         Likewise.
7187         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
7188         Likewise.
7189         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7190         [GLIBC_2.22]: Likewise.
7191         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7192         [GLIBC_2.22]: Likewise.
7193         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7194         [GLIBC_2.22]: Likewise.
7195         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7196         [GLIBC_2.22]: Likewise.
7197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7198         [GLIBC_2.22]: Likewise.
7199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7200         [GLIBC_2.22]: Likewise.
7201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7202         [GLIBC_2.22]: Likewise.
7203         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
7204         Likewise.
7205         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
7206         Likewise.
7207         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
7208         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7209         [GLIBC_2.22]: Likewise.
7210         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7211         [GLIBC_2.22]: Likewise.
7212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7213         [GLIBC_2.22]: Likewise.
7214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7215         [GLIBC_2.22]: Likewise.
7216         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
7217         Likewise.
7218         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
7219         Likewise.
7220         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
7221         Likewise.
7222         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
7223         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
7225 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7227         [BZ #18643]
7228         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
7229         IPV6_PATHMTU, and IPV6_DONTFRAG.
7231 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
7233         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
7234         and _IO_UNBUFFERED.
7235         * libio/oldfileops.c: Likewise.
7236         * libio/wfileops.c: Likewise.
7238 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7240         * nscd/selinux.c: Delete selinux/flask.h include.
7242 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7244         [BZ #18641]
7245         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
7246         (putpwent): Likewise.
7247         (getpwnam): Likewise.
7248         (getpwent_r): Likewise.
7249         (getpwuid_r): Likewise.
7250         (getpwnam_r): Likewise.
7251         (fgetpwent_r): Likewise.
7253 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7255         [BZ #18557]
7256         * inet/rcmd.c (__validuser2_sa): Check user first to
7257         short-circuit host check.
7259 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
7260             Mikhail Ilin  <m.ilin@samsung.com>
7262         [BZ #17833]
7263         * elf/Makefile (tests): Add tst-nodelete.
7264         (modules-names): Add tst-nodelete-uniquemod.
7265         (tst-nodelete-uniquemod.so-no-z-defs): New.
7266         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
7267         (tst-nodelete-zmod.so-no-z-defs): Likewise.
7268         ($(objpfx)tst-nodelete): Likewise.
7269         ($(objpfx)tst-nodelete.out): Likewise.
7270         (LDFLAGS-tst-nodelete): Likewise.
7271         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
7272         * elf/dl-close.c (_dl_close_worker): Add a parameter to
7273         implement forced object deletion.
7274         (_dl_close): Pass false to _dl_close_worker.
7275         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
7276         * elf/tst-nodelete.cc: New file.
7277         * elf/tst-nodeletelib.cc: Likewise.
7278         * elf/tst-znodeletelib.cc: Likewise.
7279         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
7281 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7283         [BZ #18508]
7284         * stdlib/Makefile ($(objpfx)tst-makecontext3):
7285         Depend on $(libdl).
7286         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
7287         is not called infinitely times.
7288         (backtrace_helper): New function.
7289         (trace_arg): New struct.
7290         (st1): Enlarge stack size.
7291         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7292         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
7293         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7294         Likewise.
7296 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7298         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7300 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7302         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
7303         Include sys/types.h instead of bits/types.h.
7304         Remove inclusion of bits/wordsize.h.
7306 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7308         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
7309         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
7310         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
7311         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
7312         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
7313         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
7315 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7317         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
7318         link-defines.sym.
7319         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
7320         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
7321         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
7322         and LR_SIZE.
7323         * sysdeps/i386/link-defines.sym: New file.
7325 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7327         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
7328         (modules-names): Add tst-auditmod3a tst-auditmod3b.
7329         ($(objpfx)tst-audit3): New rule.
7330         ($(objpfx)tst-audit3.out): Likewise.
7331         * sysdeps/i386/tst-audit3.c: New file.
7332         * sysdeps/i386/tst-audit3.h: Likewise.
7333         * sysdeps/i386/tst-auditmod3a.c: Likewise.
7334         * sysdeps/i386/tst-auditmod3b.c: Likewise.
7336 2015-07-07  Torvald Riegel  <triegel@redhat.com>
7338         [BZ #18633]
7339         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
7340         pointer in C code.
7341         (__strcat_c): Likewise.
7342         (__strcat_g): Likewise.
7344 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
7346         [BZ #18592]
7347         * misc/sbrk.c: Set errno to ENOMEM on overflow.
7349 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7351         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
7352         New function.  (__ieee754_sqrtf): New function.
7353         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
7354         New function.
7355         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
7356         New function.
7358 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7360         * sysdeps/ieee754/support.c: Remove unused file.
7362 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7364         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
7365         registers instead of d ones so the layout is kernel abi compatible.
7366         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
7367         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
7368         Likewise.
7370 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7372         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7374 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7376         [BZ #18619]
7377         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
7378         and return argument in case of subnormal argument.
7380 2015-07-01  Martin Sebor  <msebor@redhat.com>
7382         [BZ #18435]
7383         * nptl/Makefile: Add tst-once5.cc.
7384         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7385         Remove macro redefinitions.
7386         * nptl/tst-once5.cc: New test.
7388 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7390         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7392         * sysdeps/arm/libm-test-ulps: Regenerated.
7394         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7395         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7397 2015-06-30  Torvald Riegel  <triegel@redhat.com>
7399         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
7400         lll_lock_wait_private and lll_futex_wake probes.
7402         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7403         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
7404         Likewise.
7405         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
7406         atomic_spin_nop.
7407         * sysdeps/x86_64/bits/atomic.h: Likewise.
7408         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
7409         to atomic_spin_nop and move ...
7410         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
7411         ... here and ...
7412         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
7413         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7414         atomic_spin_nop instead of BUSY_WAIT_NOP.
7415         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
7416         Likewise.
7417         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
7418         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7419         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
7420         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
7421         instead of atomic_delay.
7423 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
7425         [BZ #18613]
7426         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
7427         X_ADJ not X when adjusting exponent.
7428         (__ieee754_gamma_r): Do intermediate computations in
7429         round-to-nearest then adjust overflowing and underflowing results
7430         as needed.
7431         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
7432         of X_ADJ not X when adjusting exponent.
7433         (__ieee754_gammaf_r): Do intermediate computations in
7434         round-to-nearest then adjust overflowing and underflowing results
7435         as needed.
7436         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
7437         log of X_ADJ not X when adjusting exponent.
7438         (__ieee754_gammal_r): Do intermediate computations in
7439         round-to-nearest then adjust overflowing and underflowing results
7440         as needed.  Use 1.0L not 1.0f as numerator of division.
7441         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
7442         log of X_ADJ not X when adjusting exponent.
7443         (__ieee754_gammal_r): Do intermediate computations in
7444         round-to-nearest then adjust overflowing and underflowing results
7445         as needed.  Use 1.0L not 1.0f as numerator of division.
7446         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
7447         of X_ADJ not X when adjusting exponent.
7448         (__ieee754_gammal_r): Do intermediate computations in
7449         round-to-nearest then adjust overflowing and underflowing results
7450         as needed.  Use 1.0L not 1.0f as numerator of division.
7451         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
7452         to auto-libm-test-in.
7453         (tgamma_test): Use ALL_RM_TEST.
7454         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
7455         tests of tgamma with spurious-overflow.
7456         * math/auto-libm-test-out: Regenerated.
7457         * math/gen-libm-have-vector-test.sh: Do not check for START.
7458         * sysdeps/i386/fpu/libm-test-ulps: Update.
7459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7461         [BZ #18612]
7462         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
7463         arguments, just return 0.5 times the argument, with underflow
7464         forced as needed.
7465         * math/auto-libm-test-in: Add more tests of j1.
7466         * math/auto-libm-test-out: Regenerated.
7468         [BZ #16559]
7469         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
7470         (__ieee754_j1): Force underflow exception for small results.
7471         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7472         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
7473         (__ieee754_j1f): Force underflow exception for small results.
7474         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7475         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7476         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7477         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
7478         (__ieee754_j1l): Force underflow exception for small results.
7479         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7480         * math/auto-libm-test-in: Add more tests of j1 and jn.
7481         * math/auto-libm-test-out: Regenerated.
7483         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
7484         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
7485         (PF_MPLS): Likewise.
7486         (AF_IB): Likewise.
7487         (AF_MPLS): Likewise.
7488         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
7489         value and macro.
7490         (MS_RMT_MASK): Include MS_LAZYTIME.
7492 2015-06-26  Mel Gorman  <mgorman@suse.de>
7494         [BZ #18502]
7495         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
7496         already minimal.
7498 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
7500         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
7501         (DT_MIPS_NUM): Update.
7502         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
7503         DT_MIPS_RLD_MAP_REL.
7505 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
7507         [BZ #16559]
7508         [BZ #18602]
7509         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
7510         round-to-nearest internally then recompute results that
7511         underflowed to zero in the original rounding mode.
7512         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7513         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7514         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7515         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
7516         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
7517         * sysdeps/i386/fpu/libm-test-ulps: Update.
7518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7520 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7522         * NEWS: Fixed description of link with vector math library.
7524 2015-06-25  Andreas Schwab  <schwab@suse.de>
7526         [BZ #18549]
7527         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
7528         * libio/test-fmemopen.c (do_test): Add test for it.
7530 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
7532         [BZ #17841]
7533         * Makeconfig (no-pie-ldflag): New.
7534         (+link): Set to $(+link-pie) if default to PIE.
7535         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
7536         * config.make.in (build-pie-default): New.
7537         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
7538         is default.  AC_SUBST.
7539         * configure: Regenerated.
7540         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
7542 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7544         * nptl/descr.h (struct pthread): Change type of field setxid_futex
7545         to 'unsigned int'.
7547         * resolv/gai_misc.h (struct waitlist): Change type of field
7548         counterp to 'volatile unsigned int *'.
7549         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
7550         FUTEXADDR and OLDVAL.
7551         * resolv/getaddrinfo_a.c (getaddrinfo_a):
7552         Give local variable TOTAL type 'volatile unsigned int'.
7553         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7554         * resolv/gai_suspend.c (gai_suspend):
7555         Give local variable CNTR type 'unsigned int'.
7557         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
7558         counterp to 'volatile unsigned int *'.
7559         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
7560         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
7561         (aio_suspend): Give local variable CNTR type 'unsigned int'.
7562         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
7563         Give local variable TOTAL type 'volatile unsigned int'.
7564         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7566 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7568         [BZ #18383]
7569         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
7570         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
7571         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
7572         comment for i386/x86-64.
7573         (test-xfail-tst-tlsalign-extern-static): Removed.
7575 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7577         * math/test-double.h: New file.
7578         * math/test-float.h: Likewise.
7579         * math/test-ldouble.h: Likewise.
7580         * math/test-math-inline.h: Likewise.
7581         * math/test-math-no-inline.h: Likewise.
7582         * math/test-math-scalar.h: Likewise.
7583         * math/test-math-vector.h: Likewise.
7584         * math/test-vec-loop.h: Remove file.  Contents moved into
7585         test-math-vector.h.
7586         * math/libm-test.inc (MATHCONST): Do not document macro.
7587         * math/test-double.c: Include test-double.h, test-math-no-inline.h
7588         and test-math-scalar.h.
7589         (FUNC): Remove macro.
7590         (FUNC_TEST): Likewise.
7591         (FLOAT): Likewise.
7592         (MATHCONST): Likewise.
7593         (PRINTF_EXPR): Likewise.
7594         (PRINTF_XEXPR): Likewise.
7595         (PRINTF_NEXPR): Likewise.
7596         (TEST_DOUBLE): Likewise.
7597         (TEST_MATHVEC): Likewise.
7598         (__NO_MATH_INLINES): Likewise.
7599         * math/test-float.c: Include test-float.h, test-math-no-inline.h
7600         and test-math-scalar.h.
7601         (FUNC): Remove macro.
7602         (FUNC_TEST): Likewise.
7603         (FLOAT): Likewise.
7604         (MATHCONST): Likewise.
7605         (PRINTF_EXPR): Likewise.
7606         (PRINTF_XEXPR): Likewise.
7607         (PRINTF_NEXPR): Likewise.
7608         (TEST_FLOAT): Likewise.
7609         (TEST_MATHVEC): Likewise.
7610         (__NO_MATH_INLINES): Likewise.
7611         * math/test-idouble.c: Include test-double.h, test-math-inline.h
7612         and test-math-scalar.h.
7613         (FUNC): Remove macro.
7614         (FUNC_TEST): Likewise.
7615         (FLOAT): Likewise.
7616         (MATHCONST): Likewise.
7617         (PRINTF_EXPR): Likewise.
7618         (PRINTF_XEXPR): Likewise.
7619         (PRINTF_NEXPR): Likewise.
7620         (TEST_DOUBLE): Likewise.
7621         (TEST_MATHVEC): Likewise.
7622         (TEST_INLINE): Likewise.
7623         (__NO_MATH_INLINES): Likewise.
7624         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
7625         test-math-scalar.h.
7626         (FUNC): Remove macro.
7627         (FUNC_TEST): Likewise.
7628         (FLOAT): Likewise.
7629         (MATHCONST): Likewise.
7630         (PRINTF_EXPR): Likewise.
7631         (PRINTF_XEXPR): Likewise.
7632         (PRINTF_NEXPR): Likewise.
7633         (TEST_FLOAT): Likewise.
7634         (TEST_MATHVEC): Likewise.
7635         (TEST_INLINE): Likewise.
7636         (__NO_MATH_INLINES): Likewise.
7637         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
7638         and test-math-scalar.h.
7639         (FUNC): Remove macro.
7640         (FUNC_TEST): Likewise.
7641         (FLOAT): Likewise.
7642         (MATHCONST): Likewise.
7643         (PRINTF_EXPR): Likewise.
7644         (PRINTF_XEXPR): Likewise.
7645         (PRINTF_NEXPR): Likewise.
7646         (TEST_LDOUBLE): Likewise.
7647         (TEST_MATHVEC): Likewise.
7648         (TEST_INLINE): Likewise.
7649         (__NO_MATH_INLINES): Likewise.
7650         * math/test-ldouble.c: Include test-ldouble.h,
7651         test-math-no-inline.h and test-math-scalar.h.
7652         (FUNC): Remove macro.
7653         (FUNC_TEST): Likewise.
7654         (FLOAT): Likewise.
7655         (MATHCONST): Likewise.
7656         (PRINTF_EXPR): Likewise.
7657         (PRINTF_XEXPR): Likewise.
7658         (PRINTF_NEXPR): Likewise.
7659         (TEST_LDOUBLE): Likewise.
7660         (TEST_MATHVEC): Likewise.
7661         (__NO_MATH_INLINES): Likewise.
7662         * math/test-double-vlen2.h: Include test-double.h,
7663         test-math-no-inline.h and test-math-vector.h.
7664         (FLOAT): Remove macro.
7665         (FUNC): Likewise.
7666         (MATHCONST): Likewise.
7667         (PRINTF_EXPR): Likewise.
7668         (PRINTF_XEXPR): Likewise.
7669         (PRINTF_NEXPR): Likewise.
7670         (TEST_DOUBLE): Likewise.
7671         (TEST_MATHVEC): Likewise.
7672         (__NO_MATH_INLINES): Likewise.
7673         (CNCT): Likewise.
7674         (CONCAT): Likewise.
7675         (WRAPPER_NAME): Likewise.
7676         (WRAPPER_DECL): Likewise.
7677         (WRAPPER_DECL_ff): Likewise.
7678         (WRAPPER_DECL_fFF): Likewise.
7679         (VECTOR_WRAPPER): Likewise.
7680         (VECTOR_WRAPPER_ff): Likewise.
7681         (VECTOR_WRAPPER_fFF): Likewise.
7682         (VEC_LEN): New macro.
7683         * math/test-double-vlen4.h: Include test-double.h,
7684         test-math-no-inline.h and test-math-vector.h.
7685         (FLOAT): Remove macro.
7686         (FUNC): Likewise.
7687         (MATHCONST): Likewise.
7688         (PRINTF_EXPR): Likewise.
7689         (PRINTF_XEXPR): Likewise.
7690         (PRINTF_NEXPR): Likewise.
7691         (TEST_DOUBLE): Likewise.
7692         (TEST_MATHVEC): Likewise.
7693         (__NO_MATH_INLINES): Likewise.
7694         (CNCT): Likewise.
7695         (CONCAT): Likewise.
7696         (WRAPPER_NAME): Likewise.
7697         (WRAPPER_DECL): Likewise.
7698         (WRAPPER_DECL_ff): Likewise.
7699         (WRAPPER_DECL_fFF): Likewise.
7700         (VECTOR_WRAPPER): Likewise.
7701         (VECTOR_WRAPPER_ff): Likewise.
7702         (VECTOR_WRAPPER_fFF): Likewise.
7703         (VEC_LEN): New macro.
7704         * math/test-double-vlen8.h: Include test-double.h,
7705         test-math-no-inline.h and test-math-vector.h.
7706         (FLOAT): Remove macro.
7707         (FUNC): Likewise.
7708         (MATHCONST): Likewise.
7709         (PRINTF_EXPR): Likewise.
7710         (PRINTF_XEXPR): Likewise.
7711         (PRINTF_NEXPR): Likewise.
7712         (TEST_DOUBLE): Likewise.
7713         (TEST_MATHVEC): Likewise.
7714         (__NO_MATH_INLINES): Likewise.
7715         (CNCT): Likewise.
7716         (CONCAT): Likewise.
7717         (WRAPPER_NAME): Likewise.
7718         (WRAPPER_DECL): Likewise.
7719         (WRAPPER_DECL_ff): Likewise.
7720         (WRAPPER_DECL_fFF): Likewise.
7721         (VECTOR_WRAPPER): Likewise.
7722         (VECTOR_WRAPPER_ff): Likewise.
7723         (VECTOR_WRAPPER_fFF): Likewise.
7724         (VEC_LEN): New macro.
7725         * math/test-float-vlen4.h: Include test-float.h,
7726         test-math-no-inline.h and test-math-vector.h.
7727         (FLOAT): Remove macro.
7728         (FUNC): Likewise.
7729         (MATHCONST): Likewise.
7730         (PRINTF_EXPR): Likewise.
7731         (PRINTF_XEXPR): Likewise.
7732         (PRINTF_NEXPR): Likewise.
7733         (TEST_FLOAT): Likewise.
7734         (TEST_MATHVEC): Likewise.
7735         (__NO_MATH_INLINES): Likewise.
7736         (CNCT): Likewise.
7737         (CONCAT): Likewise.
7738         (WRAPPER_NAME): Likewise.
7739         (WRAPPER_DECL): Likewise.
7740         (WRAPPER_DECL_ff): Likewise.
7741         (WRAPPER_DECL_fFF): Likewise.
7742         (VECTOR_WRAPPER): Likewise.
7743         (VECTOR_WRAPPER_ff): Likewise.
7744         (VECTOR_WRAPPER_fFF): Likewise.
7745         (VEC_LEN): New macro.
7746         * math/test-float-vlen8.h: Include test-float.h,
7747         test-math-no-inline.h and test-math-vector.h.
7748         (FLOAT): Remove macro.
7749         (FUNC): Likewise.
7750         (MATHCONST): Likewise.
7751         (PRINTF_EXPR): Likewise.
7752         (PRINTF_XEXPR): Likewise.
7753         (PRINTF_NEXPR): Likewise.
7754         (TEST_FLOAT): Likewise.
7755         (TEST_MATHVEC): Likewise.
7756         (__NO_MATH_INLINES): Likewise.
7757         (CNCT): Likewise.
7758         (CONCAT): Likewise.
7759         (WRAPPER_NAME): Likewise.
7760         (WRAPPER_DECL): Likewise.
7761         (WRAPPER_DECL_ff): Likewise.
7762         (WRAPPER_DECL_fFF): Likewise.
7763         (VECTOR_WRAPPER): Likewise.
7764         (VECTOR_WRAPPER_ff): Likewise.
7765         (VECTOR_WRAPPER_fFF): Likewise.
7766         (VEC_LEN): New macro.
7767         * math/test-float-vlen16.h: Include test-float.h,
7768         test-math-no-inline.h and test-math-vector.h.
7769         (FLOAT): Remove macro.
7770         (FUNC): Likewise.
7771         (MATHCONST): Likewise.
7772         (PRINTF_EXPR): Likewise.
7773         (PRINTF_XEXPR): Likewise.
7774         (PRINTF_NEXPR): Likewise.
7775         (TEST_FLOAT): Likewise.
7776         (TEST_MATHVEC): Likewise.
7777         (__NO_MATH_INLINES): Likewise.
7778         (CNCT): Likewise.
7779         (CONCAT): Likewise.
7780         (WRAPPER_NAME): Likewise.
7781         (WRAPPER_DECL): Likewise.
7782         (WRAPPER_DECL_ff): Likewise.
7783         (WRAPPER_DECL_fFF): Likewise.
7784         (VECTOR_WRAPPER): Likewise.
7785         (VECTOR_WRAPPER_ff): Likewise.
7786         (VECTOR_WRAPPER_fFF): Likewise.
7787         (VEC_LEN): New macro.
7788         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
7789         test-vec-loop.h.
7790         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7791         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7792         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7793         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7794         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7795         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7796         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7798 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7800         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
7801         (__getlogin_r): ... this.
7803 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7805         [BZ #18594]
7806         * math/s_ccosh.c (__ccosh): Compare with least normal value
7807         instead of comparing class with FP_SUBNORMAL.
7808         * math/s_ccoshf.c (__ccoshf): Likewise.
7809         * math/s_ccoshl.c (__ccoshl): Likewise.
7810         * math/s_cexp.c (__cexp): Likewise.
7811         * math/s_cexpf.c (__cexpf): Likewise.
7812         * math/s_cexpl.c (__cexpl): Likewise.
7813         * math/s_csin.c (__csin): Likewise.
7814         * math/s_csinf.c (__csinf): Likewise.
7815         * math/s_csinh.c (__csinh): Likewise.
7816         * math/s_csinhf.c (__csinhf): Likewise.
7817         * math/s_csinhl.c (__csinhl): Likewise.
7818         * math/s_csinl.c (__csinl): Likewise.
7819         * math/s_ctan.c (__ctan): Likewise.
7820         * math/s_ctanf.c (__ctanf): Likewise.
7821         * math/s_ctanh.c (__ctanh): Likewise.
7822         * math/s_ctanhf.c (__ctanhf): Likewise.
7823         * math/s_ctanhl.c (__ctanhl): Likewise.
7824         * math/s_ctanl.c (__ctanl): Likewise.
7825         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
7826         csin, csinh, ctan and ctanh.
7827         * math/auto-libm-test-out: Regenerated.
7828         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
7829         * sysdeps/i386/fpu/libm-test-ulps: Update.
7830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7832 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7834         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
7835         return value is wrong, print the expected value too.
7837 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7839         [BZ #18585]
7840         * elf/readlib.c (is_gdb_python_file): New.
7841         (process_file): Don't issue errors on filenames with -gdb.py
7842         suffix.
7844 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7846         * math/auto-libm-test-in: Add more tests of csin and csinh.
7847         * math/auto-libm-test-out: Regenerated.
7848         * math/libm-test.inc (csin_test_data): Remove tests moved to
7849         auto-libm-test-in.
7850         (csinh_test_data): Likewise.
7852         [BZ #18593]
7853         * math/s_csin.c (__csin): Negate before rather than after possibly
7854         overflowing multiplication.
7855         * math/s_csinf.c (__csinf): Likewise.
7856         * math/s_csinh.c (__csinh): Likewise.
7857         * math/s_csinhf.c (__csinhf): Likewise.
7858         * math/s_csinhl.c (__csinhl): Likewise.
7859         * math/s_csinl.c (__csinl): Likewise.
7860         * math/auto-libm-test-in: Add some tests of csin and csinh.
7861         * math/auto-libm-test-out: Regenerated.
7862         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
7863         (csinh_test_data): Likewise.
7864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7866         [BZ #18586]
7867         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
7868         underflow exception for small results.
7870 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7872         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7873         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
7874         variable and included header.
7875         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
7876         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
7877         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
7878         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
7879         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
7880         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
7881         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
7882         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
7883         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
7884         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
7885         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
7886         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
7887         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
7888         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
7889         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
7890         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
7892 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7894         [BZ #16526]
7895         [BZ #16538]
7896         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
7897         (__sin): Force underflow exception for arguments with small
7898         absolute value.
7899         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
7900         (__kernel_sinf): Force underflow exception for arguments with
7901         small absolute value.
7902         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
7903         (__kernel_sincosl): Force underflow exception for arguments with
7904         small absolute value.
7905         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
7906         (__kernel_sinl): Force underflow exception for arguments with
7907         small absolute value.
7908         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
7909         (__kernel_sincosl): Force underflow exception for arguments with
7910         small absolute value.
7911         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
7912         (__kernel_sinl): Force underflow exception for arguments with
7913         small absolute value.
7914         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
7915         (__kernel_sinl): Force underflow exception for arguments with
7916         small absolute value.
7917         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
7918         (__kernel_sinf): Force underflow exception for arguments with
7919         small absolute value.
7920         * math/auto-libm-test-in: Add more tests of sin and sincos.
7921         * math/auto-libm-test-out: Regenerated.
7923         [BZ #18245]
7924         [BZ #18583]
7925         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
7926         (__kernel_standard_l): Use feholdexcept and fesetenv around
7927         conversion to double instead of special-casing overflow and
7928         underflow.
7929         * math/libm-test.inc (fmod_test_data): Add more tests.
7930         (remainder_test_data): Likewise.
7931         (sqrt_test_data): Likewise.
7933 2015-06-23  Torvald Riegel  <triegel@redhat.com>
7935         [BZ #17403]
7936         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
7937         atomic_read_barrier, atomic_write_barrier): Define.
7938         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
7939         atomic_read_barrier, atomic_write_barrier): Define.
7941 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7943         * math/Makefile [$(PERL) != no]
7944         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
7945         dependency on libm-test.stmp below the inclusion of Rules.
7947 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
7949         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7950         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
7951         and included header.
7952         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
7953         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
7954         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
7955         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
7956         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
7957         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
7958         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
7959         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
7960         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
7961         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
7962         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
7963         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
7964         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
7965         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
7966         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
7967         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
7968         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
7969         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
7970         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
7972 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7974         [BZ #18371]
7975         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
7976         intermediate but not final result might underflow.
7977         * math/s_csqrtf.c (__csqrtf): Likewise.
7978         * math/s_csqrtl.c (__csqrtl): Likewise.
7979         * math/auto-libm-test-in: Add more tests of csqrt.
7980         * math/auto-libm-test-out: Regenerated.
7981         * sysdeps/i386/fpu/libm-test-ulps: Update.
7983         [BZ #18219]
7984         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
7985         threshold on absolute value of exponent for which scaling is used.
7986         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7987         * math/auto-libm-test-in: Add more tests of exp2.
7988         * math/auto-libm-test-out: Regenerated.
7990 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
7992         [BZ #17977]
7993         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
7994         when initializing interface list, based on the bug analysis
7995         and the patch proposed by Eric Newton.
7996         * resolv/tst-res_hconf_reorder.c: New test.
7997         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
7998         tst-res_hconf_reorder.
7999         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
8000         and $(shared-thread-library).
8001         (tst-res_hconf_reorder-ENV): New variable.
8003         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
8004         in comment.
8006 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
8008         [BZ #16353]
8009         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
8010         (__expm1): Force underflow exception for arguments with small
8011         absolute value.
8012         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
8013         (__expm1f): Force underflow exception for arguments with small
8014         absolute value.
8015         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
8016         (__expm1): Force underflow exception for arguments with small
8017         absolute value.
8018         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
8019         (__expm1f): Force underflow exception for arguments with small
8020         absolute value.
8021         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8022         Check for small arguments before calling __expm1.
8023         * math/auto-libm-test-in: Do not mark underflow exceptions as
8024         possibly missing for bug 16353.
8025         * math/auto-libm-test-out: Regenerated.
8027 2015-06-22  Andreas Schwab  <schwab@suse.de>
8029         [BZ #18513]
8030         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
8031         PTR queries.
8033 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
8035         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
8037         * string/strcoll_l.c: Remove unused struct element idxnow.
8039 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
8041         [BZ #18569]
8042         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
8043         underflow and return argument in case of subnormal argument.
8044         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8045         Likewise.
8046         * math/auto-libm-test-in: Add more tests of expm1.
8047         * math/auto-libm-test-out: Regenerated.
8049         [BZ #16361]
8050         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8051         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8052         tiny results.
8053         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8054         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8055         tiny results.
8056         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
8057         mark underflow exceptions as possibly missing for bug 16361.
8058         * math/auto-libm-test-out: Regenerated.
8060 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
8062         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
8063         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
8064         Remove variable.
8065         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8066         (test-xfail-XOPEN2K8/utmpx.h/conform).
8068         * conform/conformtest.pl ($xerrors): New variable.
8069         (note_error): New function.
8070         (compiletest): New argument $xfail.  Use not_error.
8071         (runtest): Likewise.
8072         (top level): Handle xfail- lines.  Update calls to compiletest and
8073         runtest.  Handle xfail- and optional- in headers listed with
8074         allow-header.
8075         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
8076         (O_EXEC): Likewise.
8077         (O_SEARCH): Likewise.
8078         * conform/data/stropts.h-data (ioctl): Likewise.
8079         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
8080         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
8081         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
8082         (msghdr.msg_controllen): Likewise.
8083         (cmsghdr.cmsg_len): Likewise.
8084         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
8085         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
8086         variable.
8087         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8088         (test-xfail-XPG4/stropts.h/conform): Likewise.
8089         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8090         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8091         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8092         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8093         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8094         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8095         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8096         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8097         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8098         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8099         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8100         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8101         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8102         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8103         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8104         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8105         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8106         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8107         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8109 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8111         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
8112         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
8113         definitions for proper unfolding of __MATHDECL_VEC.
8115 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8117         * benchtests/bench-strcoll.c:
8118         Include string.h.
8119         (main): Remove unused variable res.
8121 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8123         * timezone/Makefile (%/UTC %/Universal):
8124         Generate test-result files for UTC and Universal.
8126 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8128         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8130 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
8132         [BZ #16350]
8133         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
8134         for arguments with small absolute value.
8135         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
8136         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
8137         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
8138         (__asinh): Force underflow exception for arguments with small
8139         absolute value.
8140         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
8141         (__asinhf): Force underflow exception for arguments with small
8142         absolute value.
8143         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
8144         (__asinhl): Force underflow exception for arguments with small
8145         absolute value.
8146         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
8147         (__asinhl): Force underflow exception for arguments with small
8148         absolute value.
8149         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
8150         (__asinhl): Force underflow exception for arguments with small
8151         absolute value.
8152         * math/auto-libm-test-in: Do not mark underflow exceptions as
8153         possibly missing for bug 16350.
8154         * math/auto-libm-test-out: Regenerated.
8156         * include/bits/ipc.h: Remove file.
8157         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
8158         variable.
8159         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8160         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8161         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8162         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8163         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8164         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8165         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8166         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8167         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8169         * math/auto-libm-test-in: Remove spurious underflow allowance for
8170         tests of cexp.
8171         * math/auto-libm-test-out: Regenerated.
8173         [BZ #18558]
8174         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
8175         unconditional definition.
8176         (MCAST_BLOCK_SOURCE): Likewise.
8177         (MCAST_UNBLOCK_SOURCE): Likewise.
8178         (MCAST_LEAVE_GROUP): Likewise.
8179         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8180         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8181         (MCAST_MSFILTER): Likewise.
8182         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
8183         Remove variable.
8184         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8185         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8186         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8187         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8188         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8190 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
8192         * NEWS: Mention addition of x86_64 vector sincosf.
8193         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
8194         * math/test-float-vlen4.h: Likewise.
8195         * math/test-float-vlen8.h: Likewise.
8196         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8197         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
8198         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8199         * sysdeps/x86_64/fpu/Versions: New versions added.
8200         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8201         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8202         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8203         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
8204         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8205         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
8206         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8207         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
8208         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8209         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
8210         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
8211         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
8212         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
8213         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
8214         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
8215         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
8216         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
8217         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8218         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8219         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8220         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8221         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8222         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8223         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8225         * NEWS: Mention addition of x86_64 vector sincos.
8226         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
8227         * math/math.h (__MATHDECL_VEC): New macro.
8228         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
8229         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
8230         declaration under condition.
8231         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
8232         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
8233         TEST_VEC_LOOP change.
8234         * math/test-double-vlen4.h: Likewise.
8235         * math/test-double-vlen8.h: Likewise.
8236         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
8237         * math/test-float-vlen4.h: Likewise.
8238         * math/test-float-vlen8.h: Likewise.
8239         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8240         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
8241         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8242         * sysdeps/x86_64/fpu/Versions: New versions added.
8243         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8244         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8245         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8246         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
8247         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
8248         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
8249         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
8250         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
8251         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
8252         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
8253         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
8254         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
8255         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
8256         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
8257         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
8258         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
8259         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
8260         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8261         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8262         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8263         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8264         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8265         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8266         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8268         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8269         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8270         redirections for powf.
8271         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8272         * sysdeps/x86_64/fpu/Versions: New versions added.
8273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8274         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8275         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8276         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
8277         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
8278         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
8279         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
8280         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
8281         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
8282         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
8283         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
8284         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
8285         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
8286         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
8287         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
8288         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
8289         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
8290         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8291         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8292         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8293         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8294         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8295         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8296         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8297         * math/test-float-vlen16.h: Fixed 2 argument macro.
8298         * math/test-float-vlen4.h: Likewise.
8299         * math/test-float-vlen8.h: Likewise.
8300         * NEWS: Mention addition of x86_64 vector powf.
8302 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
8304         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8305         and redefine.
8306         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8307         and redefine.
8308         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
8309         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8310         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8312         [BZ #18553]
8313         * resource/getpriority.c (getpriority): Rename to __getpriority
8314         and define as weak alias of __getpriority.
8315         * resource/setpriority.c (setpriority): Rename to __setpriority
8316         and define as weak alias of __setpriority.
8317         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
8318         __getpriority and define as weak alias of __getpriority.
8319         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
8320         __setpriority and define as weak alias of __setpriority.
8321         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
8322         strong name.
8323         (setpriority): Use __setpriority as strong name.
8324         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
8325         __getpriority and define as weak alias of __getpriority.
8326         * include/sys/resource.h (__getpriority): Declare.  Use
8327         libc_hidden_proto.
8328         (__setpriority): Likewise.
8329         (getpriority): Don't use libc_hidden_proto.
8330         (setpriority): Likewise.
8331         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
8332         getpriority.  Call __setpriority instead of setpriority.
8333         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
8334         Remove variable.
8336         [BZ #18547]
8337         * misc/getttyent.c (getttynam): Rename to __getttynam and define
8338         as weak alias of __getttynam.  Use prototype function definition.
8339         Call __setttyent, __getttyent and __endttyent instead of
8340         setttyent, getttyent and endttyent.
8341         (getttyent): Rename to __getttyent and define as weak alias of
8342         __getttyent.  Call __setttyent instead of setttyent.  Call
8343         __fgets_unlocked instead of fgets_unlocked.
8344         (setttyent): Rename to __setttyent and define as weak alias of
8345         __setttyent.
8346         (endttyent): Rename to __endttyent and define as weak alias of
8347         __endttyent.
8348         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
8349         (__setttyent): Likewise.
8350         (__endttyent): Likewise.
8351         (getttyent): Don't use libc_hidden_proto.
8352         (setttyent): Likewise.
8353         (endttyent): Likewise.
8354         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
8355         __endttyent instead of setttyent, getttyent and endttyent.
8356         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
8357         Remove variable.
8359         [BZ #18546]
8360         * socket/recv.c (__recv): Use libc_hidden_def.
8361         * socket/socket.c (__socket): Likewise.
8362         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8363         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8364         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
8365         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
8366         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
8367         libc_hidden_def.
8368         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
8369         libc_hidden_weak.
8370         * include/sys/socket.h (__socket): Do not use attribute_hidden.
8371         Use libc_hidden_proto.
8372         (__recv): Likewise.
8373         * socket/Versions (libc): Export __recv and __socket at version
8374         GLIBC_PRIVATE.
8375         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
8376         instead of recv.
8377         (init_mq_netlink): Call __socket instead of socket.
8378         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
8379         Remove variable.
8381         [BZ #18545]
8382         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
8383         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
8384         hidden_weak.
8385         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
8386         define as alias of __mq_timedsend.  Use hidden_weak.
8387         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
8388         __mq_timedsend as strong name.
8389         (mq_timedreceive): Use __mq_timedreceive as strong name.
8390         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
8391         (__mq_timedreceive): Likewise.
8392         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
8393         __mq_timedreceive instead of mq_timedreceive.
8394         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
8395         instead of mq_timedsend.
8396         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
8397         Remove variable.
8399         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
8400         hidden_def and hidden_weak instead of libc_hidden_def and
8401         libc_hidden_weak.
8402         (top level): Refer to hidden_def in comment.
8403         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
8404         macro.  Use it instead of libc_hidden_def.
8405         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
8406         specify __GI_* name explicitly.
8407         (mq_timedreceive): Likewise.
8408         (mq_setattr): Likewise.
8410         [BZ #18544]
8411         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
8412         __pthread_barrier_init and define as weak alias of
8413         __pthread_barrier_init.
8414         * sysdeps/sparc/nptl/pthread_barrier_init.c
8415         (pthread_barrier_init): Likewise.
8416         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
8417         __pthread_barrier_wait and define as weak alias of
8418         __pthread_barrier_wait.
8419         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8420         (pthread_barrier_wait): Likewise.
8421         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8422         (pthread_barrier_wait): Likewise.
8423         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
8424         (pthread_barrier_wait): Likewise.
8425         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
8426         (pthread_barrier_wait): Likewise.
8427         * nptl/Versions (libpthread): Export __pthread_barrier_init and
8428         __pthread_barrier_wait at version GLIBC_PRIVATE.
8429         * include/pthread.h (__pthread_barrier_init): Declare.
8430         (__pthread_barrier_wait): Likewise.
8431         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
8432         Call __pthread_barrier_wait instead of pthread_barrier_wait.
8433         (helper_thread): Likewise.
8434         (init_mq_netlink): Call __pthread_barrier_init instead of
8435         pthread_barrier_init.
8437         [BZ #18542]
8438         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
8439         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
8440         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
8441         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
8442         vswscanf.
8443         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
8444         Remove variable.
8446         [BZ #18540]
8447         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
8448         strong alias of _IO_fflush.  Use libc_hidden_def.
8449         * libio/iofflush_u.c (fflush_unlocked): Rename to
8450         __fflush_unlocked and define as weak alias of __fflush_unlocked.
8451         Use libc_hidden_weak.
8452         * include/stdio.h (__fflush_unlocked): Declare.  Use
8453         libc_hidden_proto.
8454         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
8455         fflush_unlocked.
8456         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
8457         Remove variable.
8459         [BZ #18539]
8460         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
8461         define as weak alias of __addseverity.
8462         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
8463         Remove variable.
8464         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8465         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8466         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8468         [BZ #18536]
8469         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
8470         (__tfind): Likewise.
8471         (__tdelete): Likewise.
8472         (__twalk): Likewise.
8473         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
8474         __twalk to GLIBC_PRIVATE.
8475         * include/search.h (__tsearch): Use libc_hidden_proto.
8476         (__tfind): Likewise.
8477         (__tdelete): Likewise.
8478         (__twalk): Likewise.
8479         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
8480         Call __tdelete instead of tdelete.
8481         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
8482         tfind.  Call __tsearch instead of tsearch.
8483         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
8484         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
8485         Remove variable.
8486         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8488         [BZ #18534]
8489         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
8490         (dprintf): Define as a weak alias of __dprintf, not a strong
8491         alias.
8492         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
8493         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
8494         dprintf.
8495         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
8496         Remove variable.
8497         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8498         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8500         [BZ #18533]
8501         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
8502         not a strong alias.
8503         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
8504         Remove variable.
8506         [BZ #18532]
8507         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
8508         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
8509         (in6addr_loopback): Rename to __in6addr_loopback and define as
8510         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
8511         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
8512         libc_hidden_proto.
8513         (__in6addr_any): Likewise.
8514         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
8515         in6addr_any.
8516         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
8517         variable.
8518         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8520 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8522         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
8523         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
8524         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8525         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8526         redirections for pow.
8527         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8528         * sysdeps/x86_64/fpu/Versions: New versions added.
8529         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8530         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8531         build of SSE, AVX2 and AVX512 IFUNC versions.
8532         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
8533         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
8534         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
8535         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
8536         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
8537         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
8538         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
8539         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
8540         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
8541         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
8542         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
8543         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
8544         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
8545         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
8546         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8547         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8548         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8549         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8550         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8551         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8552         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8553         * NEWS: Mention addition of x86_64 vector pow.
8555         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8556         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8557         redirections for expf.
8558         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8559         * sysdeps/x86_64/fpu/Versions: New versions added.
8560         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8561         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8562         build of SSE, AVX2 and AVX512 IFUNC versions.
8563         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
8564         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
8565         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
8566         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
8567         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
8568         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
8569         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
8570         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
8571         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
8572         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
8573         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
8574         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
8575         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
8576         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8577         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8578         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8579         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8580         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8581         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8582         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8583         * NEWS: Mention addition of x86_64 vector expf.
8585         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
8586         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
8587         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8588         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8589         redirections for exp.
8590         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8591         * sysdeps/x86_64/fpu/Versions: New versions added.
8592         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8593         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8594         build of SSE, AVX2 and AVX512 IFUNC versions.
8595         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
8596         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
8597         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
8598         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
8599         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
8600         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
8601         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
8602         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
8603         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
8604         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
8605         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
8606         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
8607         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
8608         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8609         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8610         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8611         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8612         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8613         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8614         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8615         * NEWS: Mention addition of x86_64 vector exp.
8617         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8618         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8619         redirections for logf.
8620         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8621         * sysdeps/x86_64/fpu/Versions: New versions added.
8622         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8623         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8624         build of SSE, AVX2 and AVX512 IFUNC versions.
8625         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
8626         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
8627         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
8628         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
8629         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
8630         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
8631         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
8632         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
8633         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
8634         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
8635         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
8636         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
8637         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
8638         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8639         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8640         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8641         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8642         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8643         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8644         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8645         * NEWS: Mention addition of x86_64 vector logf.
8647         * bits/libm-simd-decl-stubs.h: Added stubs for log.
8648         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
8649         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8650         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8651         redirections for log.
8652         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8653         * sysdeps/x86_64/fpu/Versions: New versions added.
8654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8655         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8656         build of SSE, AVX2 and AVX512 IFUNC versions.
8657         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
8658         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
8659         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
8660         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
8661         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
8662         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
8663         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
8664         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
8665         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
8666         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
8667         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
8668         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
8669         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
8670         test.
8671         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8672         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8673         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8674         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8675         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8676         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8677         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8678         * NEWS: Mention addition of x86_64 vector log.
8680 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8682         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
8683         cfi_adjust_cfa_offset argument.
8684         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
8685         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
8687         [BZ #18034]
8688         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
8689         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
8690         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
8691         ordering using ldar.
8692         (_dl_tlsdesc_dynamic): Likewise.
8693         (_dl_tlsdesc_return_lazy): Likewise.
8694         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
8695         relaxed atomics instead of volatile and synchronize with release store.
8696         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
8697         volatile.
8698         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8700 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
8702         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8703         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
8704         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8705         * sysdeps/x86_64/fpu/Versions: New versions added.
8706         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8707         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8708         build of SSE, AVX2 and AVX512 IFUNC versions.
8709         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
8710         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
8711         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
8712         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
8713         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
8714         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
8715         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
8716         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
8717         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
8718         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
8719         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
8720         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
8721         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
8722         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8723         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8724         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8725         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8726         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8727         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8728         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8729         * NEWS: Mention addition of x86_64 vector sinf.
8731 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
8733         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
8734         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
8735         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
8736         Remove variable.
8737         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8738         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8740 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8742         [BZ #18530]
8743         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
8744         strong alias of _IO_fputs.  Use libc_hidden_def.
8745         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
8746         and define as weak alias of __fputs_unlocked.  Use
8747         libc_hidden_weak.
8748         * include/stdio.h (__fputs_unlocked): Declare.  Use
8749         libc_hidden_proto.
8750         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
8751         fputs_unlocked.
8753         [BZ #18529]
8754         * resolv/netdb.h [__USE_POSIX]: Change condition to
8755         [__USE_XOPEN2K].
8756         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
8757         not expect.
8758         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
8759         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
8760         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
8761         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
8762         [XPG4 || UNIX98] (AI_ALL): Likewise.
8763         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
8764         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
8765         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
8766         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
8767         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
8768         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
8769         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
8770         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
8771         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
8772         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
8773         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
8774         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
8775         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
8776         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
8777         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
8778         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8779         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8780         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
8781         [XPG4 || UNIX98] (gai_strerror): Likewise.
8782         [XPG4 || UNIX98] (getaddrinfo): Likewise.
8783         [XPG4 || UNIX98] (getnameinfo): Likewise.
8785         [BZ #18528]
8786         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
8787         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
8788         __USE_XOPEN2K8].
8789         (getgrent): Likewise.
8790         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
8791         expect.
8792         [XPG3 || POSIX2008] (endgrent): Likewise.
8793         [XPG3] (setgrent): Likewise.
8794         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
8795         variable.
8796         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8798         [BZ #18527]
8799         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
8800         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
8801         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
8802         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
8803         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
8804         * include/unistd.h (__getlogin_r): Declare.  Use
8805         libc_hidden_proto.
8806         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
8807         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
8808         variable.
8809         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8810         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8811         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8813 2015-06-12  Martin Sebor  <msebor@redhat.com>
8815         [BZ #18512]
8816         * Makerules (check-install-supported): New target.
8817         (install): Add check-install-supported as a dependency.
8818         * manual/install.texi (Installing the C Library): Document
8819         that overriding prefix and exec_prefix is not supported.
8820         Mention DESTDIR.
8821         * INSTALL: Regenerate from the above.
8823 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8825         [BZ #18519]
8826         * posix/Versions (libc): Export __libc_pread at version
8827         GLIBC_PRIVATE.
8828         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
8829         instead of pread.
8830         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
8831         variable.
8833         [BZ #18522]
8834         * misc/efgcvt_r.c
8835         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
8836         (cvt_symbol): Use weak_alias instead of strong_alias.
8837         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
8838         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
8839         Remove variable.
8840         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8841         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8843         [BZ #18520]
8844         * inet/herrno.c (h_errno): Rename to __h_errno.
8845         (__libc_h_errno): Define as alias of __h_errno not h_errno.
8846         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
8847         to __h_errno instead of h_errno.
8848         * nptl/herrno.c (h_errno): Rename to __h_errno.
8849         (__h_errno_location): Refer to __h_errno not h_errno.
8850         * resolv/Versions (h_errno): Rename to __h_errno.
8851         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
8852         Remove variable.
8853         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8855 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
8857         * configure.ac: More strict check for AVX512 assembler support.
8858         * configure: Regenerated.
8860         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
8861         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
8862         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8863         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
8864         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8865         * sysdeps/x86_64/fpu/Versions: New versions added.
8866         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8867         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8868         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8869         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
8870         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
8871         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
8872         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
8873         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
8874         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
8875         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
8876         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
8877         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
8878         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
8879         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
8880         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
8881         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
8882         test.
8883         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8884         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8885         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8886         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8887         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8888         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8889         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8890         * NEWS: Mention addition of x86_64 vector sin.
8892 2015-06-11  Florian Weimer  <fweimer@redhat.com>
8894         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
8895         comment.
8897 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8899         [BZ #18479]
8900         * nptl/pt-interp.c: New file.
8901         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
8902         Add pt-interp.
8903         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
8904         $(common-objpfx)runtime-linker.h.
8906 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
8908         * Makeconfig (+interp): Remove unused variable.
8909         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
8910         only.  Depend on $(common-objpfx)runtime-linker.h instead of
8911         $(elf-objpfx)runtime-linker.h.
8912         ($(elf-objpfx)runtime-linker.h): Rename to
8913         $(common-objpfx)runtime-linker.h and move ...
8914         * Makerules [$(build-shared) = yes]: ... here.
8915         * elf/interp.c: Include <runtime-linker.h> instead of
8916         <elf/runtime-linker.h>.
8918 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8920         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
8921         (__gettimeofday_syscall): Remove vsyscall fallback.
8922         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
8923         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
8924         Add syscall fallback function.
8925         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
8926         if vDSO is not present.
8927         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
8928         fallback function.
8929         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
8930         present.
8931         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
8932         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8934 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
8936         [BZ #18497]
8937         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
8938         of wcscmp.
8939         (wcscmp): Define as weak alias of WCSCMP.
8940         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
8941         wcscoll.
8942         (USE_HIDDEN_DEF): Define.
8943         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
8944         __wcscoll.  Don't use libc_hidden_weak.
8945         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
8946         wcscmp.
8947         * sysdeps/i386/i686/multiarch/wcscmp-c.c
8948         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
8949         __GI_wcscmp.
8950         (weak_alias): Undefine and redefine.
8951         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
8952         __wcscmp and define as weak alias of __wcscmp.
8953         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
8954         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
8955         (__wcscoll): Likewise.
8956         (wcscmp): Don't use libc_hidden_proto.
8957         (wcscoll): Likewise.
8958         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
8959         wcscoll.
8960         * posix/regexec.c (check_node_accept_bytes): Likewise.
8961         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
8962         variable.
8963         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8964         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8966         [BZ #18507]
8967         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
8968         __fstatvfs and define as weak alias of __fstatvfs.  Use
8969         libc_hidden_weak.
8970         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
8971         and define as weak alias of __statvfs.  Use libc_hidden_weak.
8972         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
8973         Define as alias of __fstatvfs, not fstatvfs.
8974         (fstatvfs64): Likewise.
8975         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
8976         Define as alias of __statvfs, not statvfs.
8977         (statvfs64): Likewise.
8978         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
8979         Remove variable.
8981 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8984         (HAVE_GETCPU_VSYSCALL): Define.
8985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8986         (HAVE_GETCPU_VSYSCALL): Likewise.
8987         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
8988         * sysdeps/unix/sysv/linux/sched_getcpu.c
8989         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
8990         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
8991         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
8992         prototype.
8993         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8994         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
8995         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
8996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
8997         Define.
8998         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
8999         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9000         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
9001         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9003 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
9005         * sysdeps/x86_64/fpu/Makefile: New file.
9006         * sysdeps/x86_64/fpu/Versions: New file.
9007         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
9008         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
9009         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
9010         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
9011         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
9012         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
9013         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
9014         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
9015         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
9016         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
9017         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
9018         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
9019         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
9020         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9021         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9022         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
9023         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
9024         * sysdeps/x86_64/configure.ac: Options for libmvec build.
9025         * sysdeps/x86_64/configure: Regenerated.
9026         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
9027         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
9028         * manual/install.texi (Configuring and compiling): Document
9029         --disable-mathvec.
9030         * INSTALL: Regenerated.
9031         * NEWS: Mention addition of libmvec and x86_64 vector cos.
9033         * math/Makefile: Added rules for vector tests.
9034         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
9035         declaration under condition.
9036         * math/test-double-vlen2.h: New file.
9037         * math/test-double-vlen4.h: New file.
9038         * math/test-double-vlen8.h: New file.
9039         * math/test-vec-loop.h: Added initialization macro.
9040         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
9041         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
9042         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
9043         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
9044         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
9045         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
9046         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
9047         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
9048         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
9049         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
9050         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
9052         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9053         * sysdeps/x86_64/fpu/Versions: New versions added.
9054         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
9055         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
9056         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
9057         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
9058         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
9059         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
9060         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
9061         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
9062         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
9063         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
9064         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
9065         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
9066         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
9067         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9068         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9069         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9070         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
9071         * NEWS: Mention addition of x86_64 vector cosf.
9073         * math/Makefile: Added CFLAGS for new tests.
9074         * math/test-float-vlen16.h: New file.
9075         * math/test-float-vlen4.h: New file.
9076         * math/test-float-vlen8.h: New file.
9077         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
9078         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
9079         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9080         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
9081         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
9082         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
9083         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
9084         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
9085         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
9086         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
9087         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
9089 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
9091         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
9092         * locale/programs/ld-ctype.c: Likewise.
9094 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9096         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
9097         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
9098         bit_ZMM16_31_state): New macro.
9099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9100         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
9102 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
9104         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
9106 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
9108         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
9110 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
9112         [BZ #18498]
9113         * libio/memstream.c (open_memstream): Rename to __open_memstream
9114         and define as weak alias of __open_memstream.
9115         * include/stdio.h (__open_memstream): Declare.  Use
9116         libc_hidden_proto.
9117         (open_memstream): Don't use libc_hidden_proto.
9118         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
9119         open_memstream.
9120         * posix/getopt.c (_getopt_internal_r): Likewise.
9121         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
9122         variable.
9123         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9124         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9125         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9127         [BZ #18496]
9128         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
9129         instead of wcrtomb.
9131         [BZ #18483]
9132         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
9133         [__USE_XOPEN2K8].  Remove redundant #endif.
9134         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
9135         Remove redundant #if.
9136         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
9137         Remove variable.
9138         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9139         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9141         [BZ #18495]
9142         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
9143         (__iswlower): Likewise.
9144         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
9145         (__iswlower): Likewise.
9146         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
9147         instead of towlower.
9148         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
9149         instead of iswlower.  Call __towupper instead of towupper.
9150         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
9151         instead of iswalnum.
9153 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9155         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
9156         errors to stderr.
9158 2015-06-05  Florian Weimer  <fweimer@redhat.com>
9160         [BZ #15661]
9161         [BZ #17322]
9162         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9163         Check for overflow properly.  Check for O_APPEND.  Ignore large
9164         file system block sizes.  Add comments about problems.
9165         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
9166         * manual/filesys.texi (Storage Allocation): New node.
9168 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9170         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
9171         cancellable syscalls.
9172         (SYS_ify): Add guard to no redefine it.
9173         (INLINE_SYSCALL): Likewise.
9174         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
9175         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
9176         SYSCALL_CANCEL instead.
9177         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
9178         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9179         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9180         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9181         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9182         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
9183         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
9184         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
9185         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9186         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9187         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
9188         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
9189         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
9190         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
9191         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
9192         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9193         Likewise.
9194         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9195         (__libc_pread64): Likewise.
9196         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
9197         (__libc_preadv): Likewise.
9198         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
9199         (__libc_readv64): Likewise.
9200         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9201         (__libc_pwrite): Likewise.
9202         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9203         (__libc_pwrite64): Likewise.
9204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
9205         (__libc_pwritev): Likewise.
9206         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
9207         (__libc_pwritev64): Likewise.
9208         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
9209         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9210         (sync_file_range): Likewise.
9211         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
9212         Likewise.
9213         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
9214         Likewise.
9215         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9216         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9217         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9218         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9219         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9220         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9221         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9222         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
9223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9224         Likewise.
9225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9226         (__libc_read64): Likewise.
9227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
9228         Likewise.
9229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
9230         Likewise.
9231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
9232         Likewise.
9233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
9234         Likewise.
9235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9236         (__libc_pread64): Likewise.
9237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
9238         Likewise.
9239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9240         (__libc_pwrite64): Likewise.
9241         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
9242         (sync_file_range): Likewise.
9243         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
9244         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9245         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9246         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
9247         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
9248         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9249         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9250         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
9251         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
9252         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9253         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9254         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9255         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9256         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9257         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
9258         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9259         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9260         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9261         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9262         Likewise.
9263         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
9264         Likewise.
9265         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
9266         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
9267         Likewise.
9268         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
9269         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
9270         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
9271         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
9272         Likewise.
9273         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
9274         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
9275         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
9276         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
9277         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
9279 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
9281         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
9282         Include dl-vdso.
9283         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
9284         Use VDSO routines for gettimeofday, clock_gettime if
9285         available.
9286         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
9287         Declare VDSO symbols.
9288         * sysdeps/unix/sysv/linux/arm/sysdep.h:
9289         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
9290         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9291         * sysdeps/unix/sysv/linux/arm/Versions: Add
9292         __vdso_clock_gettime.
9294 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9296         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
9297         be an inline implementation regardless of library is built within.
9298         (open_not_cancel_2): Likewise.
9299         (__read_nocancel): Likewise.
9300         (__write_nocancel): Likewise.
9301         (openat_not_cancel): Likewise.
9302         (openat_not_cancel_3): Likewise.
9303         (openat64_not_cancel): Likewise.
9304         (openat64_not_cancel_3): Likewise.
9305         (__close_nocancel): Likewise.
9306         (pause_not_cancel): Likewise.
9307         (nanosleep_not_cancel): Likewise.
9308         (sigsuspend_not_cancel): Likewise.
9310 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9312         [BZ #14958]
9313         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
9314         wake-up.
9315         (__pthread_rwlock_rdlock_slow): Likewise.
9316         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9317         Likewise.
9318         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9319         Likewise.
9320         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
9321         * nptl/tst-rwlock16.c: New file.
9322         * nptl/Makefile (tests): Add new test.
9324 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9326         [BZ #18324]
9327         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
9328         missing wake-up of readers.
9329         * nptl/tst-rwlock15.c: New file.
9330         * nptl/Makefile (tests): Add new test.
9332 2015-06-03  Roland McGrath  <roland@hack.frob.com>
9334         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
9335         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
9336         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
9337         and __nacl_supply_interface_rtld.
9338         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
9339         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
9340         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
9341         Add __nacl_supply_interface_rtld.
9342         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
9344 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9346         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
9347         isfinite.
9348         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9349         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
9351 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9353         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
9354         __signbit* with standard C99 macros.
9355         * math/e_exp10l.c: Likewise.
9356         * math/e_exp2l.c: Likewise.
9357         * math/e_scalb.c: Likewise.
9358         * math/e_scalbf.c: Likewise.
9359         * math/e_scalbl.c: Likewise.
9360         * math/s_ldexp.c: Likewise.
9361         * math/s_ldexpf.c: Likewise.
9362         * math/s_ldexpl.c: Likewise.
9363         * math/w_atan2.c: Likewise.
9364         * math/w_atan2f.c: Likewise.
9365         * math/w_atan2l.c: Likewise.
9366         * math/w_cosh.c: Likewise.
9367         * math/w_coshf.c: Likewise.
9368         * math/w_coshl.c: Likewise.
9369         * math/w_exp10.c: Likewise.
9370         * math/w_exp10f.c: Likewise.
9371         * math/w_exp10l.c: Likewise.
9372         * math/w_exp2.c: Likewise.
9373         * math/w_exp2f.c: Likewise.
9374         * math/w_exp2l.c: Likewise.
9375         * math/w_fmod.c: Likewise.
9376         * math/w_fmodf.c: Likewise.
9377         * math/w_fmodl.c: Likewise.
9378         * math/w_hypot.c: Likewise.
9379         * math/w_hypotf.c: Likewise.
9380         * math/w_hypotl.c: Likewise.
9381         * math/w_jnl.c: Likewise.
9382         * math/w_lgamma.c: Likewise.
9383         * math/w_lgamma_r.c: Likewise.
9384         * math/w_lgammaf.c: Likewise.
9385         * math/w_lgammaf_r.c: Likewise.
9386         * math/w_lgammal.c: Likewise.
9387         * math/w_lgammal_r.c: Likewise.
9388         * math/w_pow.c: Likewise.
9389         * math/w_powf.c: Likewise.
9390         * math/w_powl.c: Likewise.
9391         * math/w_remainder.c: Likewise.
9392         * math/w_remainderf.c: Likewise.
9393         * math/w_remainderl.c: Likewise.
9394         * math/w_scalb.c: Likewise.
9395         * math/w_scalbf.c: Likewise.
9396         * math/w_scalbl.c: Likewise.
9397         * math/w_scalbln.c: Likewise.
9398         * math/w_scalblnf.c: Likewise.
9399         * math/w_scalblnl.c: Likewise.
9400         * math/w_sinh.c: Likewise.
9401         * math/w_sinhf.c: Likewise.
9402         * math/w_sinhl.c: Likewise.
9403         * math/w_tgamma.c: Likewise.
9404         * math/w_tgammaf.c: Likewise.
9405         * math/w_tgammal.c: Likewise.
9406         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9407         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
9408         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9409         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9410         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9411         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9412         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9413         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9414         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9415         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9416         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9417         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9418         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9419         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9420         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9421         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9422         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9423         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9424         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9425         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9426         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9427         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9428         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9429         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9430         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9431         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9432         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9433         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9434         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9435         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9436         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
9437         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
9438         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
9439         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
9440         * stdio-common/printf_fp.c: Likewise.
9441         * stdio-common/printf_fphex.c: Likewise.
9442         * stdio-common/printf_size.c: Likewise.
9444 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
9446         [BZ #18470]
9447         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
9448         strnlen.
9449         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
9450         Remove variable.
9451         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9452         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9453         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9454         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9455         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9456         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9457         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9458         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9459         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9460         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9462         [BZ #18468]
9463         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
9464         weak alias of __wmemchr.  Use libc_hidden_weak.
9465         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
9466         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
9467         instead of wmemchr.
9469 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9471         [BZ #18383]
9472         * elf/tst-tlsalign-extern.c: New file.
9473         * elf/tst-tlsalign-extern-static.c: New file.
9474         * elf/tst-tlsalign-vars.c: New file.
9475         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
9476         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
9477         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
9478         ($(objpfx)tst-tlsalign-extern-static): Likewise.
9479         (test-xfail-tst-tlsalign-extern-static): New variable.
9481 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
9483         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
9484         Use variable name _sc_err instead of err.
9485         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
9486         instead of ret.
9487         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
9488         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
9489         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
9490         (INLINE_SYSCALL): Likewise.
9492         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
9493         * include/string.h (__strnlen): Use libc_hidden_proto.
9494         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
9495         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
9496         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
9497         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
9498         (libc_hidden_def): Undefine and redefine.
9499         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
9500         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
9501         __GI_strnlen.
9502         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
9503         libc_hidden_def.
9504         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
9506         [BZ #18469]
9507         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
9508         weak alias of __towlower.  Use libc_hidden_weak.
9509         (towupper): Rename to __towupper and define as weak alias of
9510         __towupper.  Use libc_hidden_weak.
9511         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
9512         (__towupper): Likewise.
9513         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
9514         __towlower instead of towlower.
9516 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9518         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
9519         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
9521 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9523         * sysdeps/aarch64/libm-test-ulps: Update.
9525 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9527         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
9528         Define.
9529         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9530         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9531         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9532         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9533         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
9534         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
9535         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
9537 2015-06-01  Martin Sebor  <msebor@redhat.com>
9539         [BZ #18116]
9540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9541         (__setcontext): Use extended four-operand version of mtsf whenever
9542         possible.
9543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9544         (__novec_swapcontext): Likewise.
9546 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9548         * benchtests/scripts/compare_bench.py: New file.
9549         * benchtests/scripts/import_bench.py (mean): New function.
9550         (split_list): Likewise.
9551         (do_for_all_timings): Likewise.
9552         (compress_timings): Likewise.
9554         * benchtests/scripts/import_bench.py: New file.
9555         * benchtests/scripts/validate_benchout.py: Import import_bench
9556         instead of jsonschema.
9557         (validate_bench): Remove function.
9558         (main): Use import_bench.
9560 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
9562         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
9563         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
9565 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9569 2015-05-28  Roland McGrath  <roland@hack.frob.com>
9571         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
9572         set THREAD_SELF->tid to a magic value and futex-wake it.
9573         Pass its address to the thread_exit system call.
9574         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
9575         bit is clear.
9576         * sysdeps/nacl/lowlevellock.h: New file.
9577         * sysdeps/nacl/lll_timedwait_tid.c: New file.
9579         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
9580         Add TIMEOUT to current time, don't subtract it.
9582 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
9584         [BZ #2981]
9585         [BZ #18422]
9586         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
9587         ($(objpfx)tst-audit2.out): Also depend on
9588         $(objpfx)tst-auditmod9b.so.
9589         * elf/tst-audit2.c: Include <dlfcn.h>.
9590         (calloc_called): New.
9591         (calloc): Allow to be called more than once.
9592         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
9594 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
9596         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
9597         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
9599 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
9601         * stdlib/monetary.h: Fix comment.
9603 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
9605         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
9606         Avoid using variables in #defines that might cause shadowing.
9607         (INTERNAL_VSYSCALL_CALL): Likewise.
9609 2015-05-26  Roland McGrath  <roland@hack.frob.com>
9611         * sysdeps/nacl/lll_timedlock_wait.c: New file.
9613         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
9614         * nptl/lll_timedlock_wait.c: ... to this new file.
9615         * nptl/Makefile (libpthread-routines): Add it.
9616         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
9617         * nptl/lll_timedwait_tid.c: ... to this new file.
9618         * nptl/Makefile (libpthread-routines): Add it.
9619         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
9620         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
9621         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
9622         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
9623         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
9624         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
9625         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
9626         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
9627         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
9628         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
9630 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9632         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
9633         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9634         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
9635         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
9636         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9637         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9638         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9639         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9640         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9641         * sysdeps/unix/sysv/linux/tile/sysdep.h
9642         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9643         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
9644         using vDSO syscall macro.
9646 2015-05-26  Andriy Rysin  <arysin@gmail.com>
9648         [BZ #17293]
9649         * uk_UA: Fix sorting order for Ukrainian locale
9651 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
9653         * stdlib/monetary.h: Fix comment.
9655 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9657         [BZ #18234]
9658         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
9659         st_mtim and st_ctim members.
9660         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
9661         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
9662         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
9663         (struct stat64): Likewise.
9664         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
9665         (struct stat64): Likewise.
9666         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
9667         (struct stat64): Likewise.
9669 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9671         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
9672         Define and include sysdep-vdso.h.
9673         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
9674         Likewise.
9675         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
9676         Likewise.
9677         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
9678         Define with VDSO_SYMBOL and use PTR_MANGLE.
9679         (__vdso_clock_gettime): Likewise.
9680         (__vdso_clock_getres): Likewise.
9681         (_libc_vdso_platform_setup): Likewise.
9682         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9683         Likewise.
9684         (_libc_vdso_platform_setup): Likewise.
9685         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
9686         Likewise.
9687         (__vdso_clock_gettime): Likewise.
9688         (__vdso_clock_getres): Likewise.
9689         (__vdso_get_tbfreq): Likewise.
9690         (__vdso_getcpu): Likewise.
9691         (__vdso_time): Likewise.
9692         (__vdso_sigtramp_rt64): Likewise.
9693         (__vdso_signtramp32): Likewise.
9694         (__vdso_sigtramp_rt32): Likewise.
9695         (_libc_vdso_platform_setup): Likewise.
9696         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
9697         Likewise.
9698         (__vdso_clock_gettime): Likewise.
9699         (__vdso_clock_getres): Likewise.
9700         (_libc_vdso_platform_setup): Likewise.
9701         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
9702         Likewise.
9703         (__vdso_clock_gettime): Likewise.
9704         (_libc_vdso_platform_setup): Likewise.
9705         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9706         Likewise.
9707         (__vdso_getcpu): Likewise.
9708         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
9709         Use VDSO_SYMBOL macro to define.
9710         (__vdso_clock_gettime): Likewise.
9711         (__vdso_clock_getres): Likewise.
9712         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
9713         Likewise.
9714         (__vdso_clock_gettime): Likewise.
9715         (__vdso_clock_getres): Likewise.
9716         (__vdso_get_tbfreq): Likewise.
9717         (__vdso_getcpu): Likewise.
9718         (__vdso_time): Likewise.
9719         (__vdso_sigtramp_rt64): Likewise.
9720         (__vdso_signtramp32): Likewise.
9721         (__vdso_sigtramp_rt32): Likewise.
9722         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
9723         Likewise.
9724         (__vdso_clock_gettime): Likewise.
9725         (__vdso_clock_getres): Likewise.
9726         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
9727         Likewise.
9728         (__vdso_clock_gettime): Likewise.
9729         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9730         Likewise.
9731         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
9732         macro.
9733         (INTERNAL_VSYSCALL): Likewise.
9734         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
9735         Remove macro.
9736         (INTERNAL_VSYSCALL): Likewise.
9737         (INTERNAL_VSYSCALL_NCS): Likewise.
9738         (INTERNAL_VSYSCALL_CALL): New macro.
9739         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9740         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
9741         Likewise.
9742         (INTERNAL_VSYSCALL): Likewise.
9743         (INTERNAL_VSYSCALL_NCS): Likewise.
9744         (INTERNAL_VSYSCALL_CALL): New macro.
9745         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9747         (INLINE_VSYSCALL): Remove macro.
9748         (INTERNAL_VSYSCALL): Remove macro.
9749         (INTERNAL_VSYSCALL_NCS): Remove macro.
9750         (INTERNAL_VSYSCALL_CALL): New macro.
9751         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
9752         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
9753         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9754         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
9755         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9757         (INLINE_VSYSCALL): Remove macro.
9758         (INTERNAL_VSYSCALL): Likewise.
9759         (INTERNAL_VSYSCALL_NCS): Likewise.
9760         (INTERNAL_VSYSCALL_CALL): New macro.
9761         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
9762         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
9763         PTR_DEMANGLE on vDSO pointer.
9764         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9765         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
9766         macro.
9767         (INTERNAL_SYSCALL): Likewise.
9768         (INTERNAL_VSYSCALL_NCS): Remove macro.
9769         (INTERNAL_VSYSCALL_CALL): New macro.
9770         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
9771         Remove macro.
9772         (INTERNAL_VSYSCALL): Likewise.
9773         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
9774         sysdep-vdso.h instead of libc-vdso.h.
9775         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
9776         definition.
9777         (INLINE_VSYSCALL): Likewise.
9778         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
9779         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
9780         definition.
9781         (INLINE_VSYSCALL): Likewise.
9782         (INTERNAL_VSYSCALL): Likewise.
9783         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9784         * sysdeps/unix/sysv/linux/timespec_get.c
9785         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9786         (timespec_get): Use ANSI prototype.
9787         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
9788         and definition for Linux.
9790 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9792         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
9793         * include/libc-symbols.h: libmvec_hidden_* macro series added.
9795 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9797         [BZ #2981]
9798         [BZ #18410]
9799         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
9800         for missing DT_PLTRELSZ.
9802 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9804         Remove obsolete aliases that broke 'locale -a'
9805         [BZ #18412]
9806         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
9807         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
9808         breaking some applications that use 'locale -a' output.
9809         Change the encoding of this file from Latin-1 to ASCII to avoid
9810         other potential problems with people grepping this file.
9812 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9814         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
9815         -fasynchronous-unwind-tables.
9816         (CFLAGS-sendto.c): Likewise.
9817         (CFLAGS-sendmsg.c): Likewise.
9818         (CFLAGS-connect.c): Likewise.
9819         (CFLAGS-recvmsg.c): Likewise.
9820         (CFLAGS-recvfrom.c): Likewise.
9821         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
9822         (SOCKETCALL): New macro: non-cancellable socketcall.
9823         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
9824         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
9825         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
9826         * sysdeps/unix/sysv/linux/accept.c: New file.
9827         * sysdeps/unix/sysv/linux/bind.c: Likewise.
9828         * sysdeps/unix/sysv/linux/connect.c: Likewise.
9829         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
9830         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
9831         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
9832         * sysdeps/unix/sysv/linux/listen.c: Likewise.
9833         * sysdeps/unix/sysv/linux/recv.c: Likewise.
9834         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
9835         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9836         * sysdeps/unix/sysv/linux/send.c: Likewise.
9837         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9838         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
9839         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
9840         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
9841         * sysdeps/unix/sysv/linux/socket.c: Likewise.
9842         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
9843         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
9844         prototype.
9845         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
9846         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9847         instead of __internal_xxx function.
9848         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
9849         prototype.
9850         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
9851         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9852         instead of __internal_xxx function.
9853         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
9854         prototype.
9855         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
9856         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9857         instead of __internal_xxx function.
9858         * sysdeps/unix/sysv/linux/accept.S: Remove file.
9859         * sysdeps/unix/sysv/linux/bind.S: Likewise.
9860         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9861         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
9862         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
9863         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
9864         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
9865         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
9866         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
9867         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
9868         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
9869         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9870         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
9871         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
9872         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
9873         * sysdeps/unix/sysv/linux/listen.S: Likewise.
9874         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
9875         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
9876         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
9877         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
9878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
9879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
9880         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9881         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9882         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9883         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
9884         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9885         * sysdeps/unix/sysv/linux/send.S: Likewise.
9886         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9887         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9888         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
9889         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
9890         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
9891         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
9892         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9893         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
9894         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
9895         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
9896         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
9897         socketcall is implemented in GLIBC.
9899 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9901         * soft-fp/fmadf4.c: Include <libc-internal.h>.
9902         (__fma): Ignore uninitialized warnings around packing.
9903         * soft-fp/fmasf4.c: Include <libc-internal.h>.
9904         (__fmaf): Ignore uninitialized warnings around packing.
9905         * soft-fp/fmatf4.c: Include <libc-internal.h>.
9906         (__fmal): Ignore uninitialized warnings around packing.
9908         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
9909         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9910         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
9911         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9913         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
9914         switch statement into default case.
9915         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
9917         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
9918         a conditional in forcing "inexact".
9919         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9920         Likewise.
9922 2015-05-22  Roland McGrath  <roland@hack.frob.com>
9924         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9925         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
9926         for each INTERNAL_SYSCALL use.
9928 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9930         [BZ #438]
9931         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
9932         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
9933         variable.
9935         [BZ #18444]
9936         * string/basename.c (basename): Rename to __basename and define as
9937         weak alias of __basename.  Use libc_hidden_weak.
9938         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
9939         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
9940         __basename instead of basename.
9941         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
9942         Remove variable.
9943         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9945 2015-05-18  Florian Weimer  <fweimer@redhat.com>
9947         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
9948         (_IO_JUMPS_FILE_plus): New.
9949         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
9950         _IO_CAST_FIELD_ACCESS.
9951         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
9952         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
9953         * libio/freopen.c (freopen): Likewise.
9954         * libio/freopen64.c (freopen64): Likewise.
9955         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
9956         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
9957         * libio/iofwide.c (_IO_fwide): Likewise.
9958         * libio/memstream.c (open_memstream): Likewise.
9959         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9960         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9961         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9963 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
9965         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
9966         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
9967         NADJ.
9968         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
9969         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
9970         NADJ.
9971         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
9972         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
9973         NADJ.
9975         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
9976         (p == 4) case.
9978         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
9979         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
9980         Remove variable.
9981         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9982         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9983         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9985 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9987         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
9988         Adjust jump table label generation macros.
9990 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9992         * stdio-common/vfprintf.c (vfprintf): Move local variables
9993         args_malloced, specs, specs_malloced, and the code after
9994         do_positional to the printf_positional function.
9995         (printf_positional): New function.
9997 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9999         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
10000         function.
10001         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
10002         STEP4_TABLE, process_arg): Move macro definitions
10003         out of the vfprintf function.  (Cosmetic change only.)
10005 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
10007         * benchtests/Makefile (stdio-common-bench): Define.
10008         (benchset): Add stdio-common-bench.
10009         * sprintf-inputs: New file.
10010         * sprintf-source.c: New file.
10012 2015-05-21  Andreas Schwab  <schwab@suse.de>
10014         [BZ #13028]
10015         [BZ #17053]
10016         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
10017         of struct __res_state.
10018         * resolv/res_send.c (__libc_res_nsend): Likewise.
10019         (get_nsaddr): New function.
10020         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
10021         statp directly.
10023 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
10025         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
10026         -D_POSIX_C_SOURCE=199506L.
10028         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
10030         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
10031         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
10032         Do not mention otherwise.
10033         [POSIX] (_XOPEN_VERSION): Do not expect.
10034         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
10035         [POSIX] (_POSIX2_C_BIND): Likewise.
10036         [POSIX] (_POSIX2_VERSION): Likewise.
10037         [POSIX] (_XOPEN_XPG2): Likewise.
10038         [POSIX] (_XOPEN_XPG3): Likewise.
10039         [POSIX] (_XOPEN_XPG4): Likewise.
10040         [POSIX] (_XOPEN_UNIX): Likewise.
10041         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
10042         [POSIX] (_POSIX_BARRIERS): Likewise.
10043         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
10044         [POSIX] (_POSIX_CPUTIME): Likewise.
10045         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
10046         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
10047         [POSIX] (_POSIX_SHELL): Likewise.
10048         [POSIX] (_POSIX_SPAWN): Likewise.
10049         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
10050         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
10051         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
10052         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
10053         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
10054         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
10055         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
10056         [POSIX] (_XBS5_LP64_OFF64): Likewise.
10057         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
10058         [POSIX] (_POSIX_TIMEOUTS): Likewise.
10059         [POSIX] (_POSIX2_PBS): Likewise.
10060         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
10061         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
10062         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
10063         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
10064         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
10065         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
10066         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
10067         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
10068         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
10069         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
10070         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
10071         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
10072         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
10073         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
10074         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
10075         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
10076         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
10077         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
10078         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
10079         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
10080         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
10081         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
10082         [POSIX] (_SC_2_C_BIND): Likewise.
10083         [POSIX] (_SC_2_C_VERSION): Likewise.
10084         [POSIX] (_SC_2_PBS): Likewise.
10085         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
10086         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
10087         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
10088         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
10089         [POSIX] (_SC_2_PBS_TRACK): Likewise.
10090         [POSIX] (_SC_ATEXIT_MAX): Likewise.
10091         [POSIX] (_SC_BARRIERS): Likewise.
10092         [POSIX] (_SC_BASE): Likewise.
10093         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
10094         [POSIX] (_SC_DEVICE_IO): Likewise.
10095         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
10096         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
10097         [POSIX] (_SC_FD_MGMT): Likewise.
10098         [POSIX] (_SC_FIFO): Likewise.
10099         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
10100         [POSIX] (_SC_FILE_LOCKING): Likewise.
10101         [POSIX] (_SC_FILE_SYSTEM): Likewise.
10102         [POSIX] (_SC_IOV_MAX): Likewise.
10103         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
10104         [POSIX] (_SC_NETWORKING): Likewise.
10105         [POSIX] (_SC_PAGE_SIZE): Likewise.
10106         [POSIX] (_SC_PASS_MAX): Likewise.
10107         [POSIX] (_SC_PIPE): Likewise.
10108         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
10109         [POSIX] (_SC_REGEXP): Likewise.
10110         [POSIX] (_SC_SHELL): Likewise.
10111         [POSIX] (_SC_SIGNALS): Likewise.
10112         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
10113         [POSIX] (_SC_SPIN_LOCKS): Likewise.
10114         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
10115         [POSIX] (_SC_USER_GROUPS): Likewise.
10116         [POSIX] (_SC_USER_GROUPS_R): Likewise.
10117         [POSIX] (_SC_STREAMS): Likewise.
10118         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
10119         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
10120         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
10121         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
10122         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
10123         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
10124         [POSIX] (_PC_FILESIZEBITS): Likewise.
10125         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
10126         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
10127         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
10128         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
10129         [POSIX] (uid_t): Likewise.
10130         [POSIX] (gid_t): Likewise.
10131         [POSIX] (off_t): Likewise.
10132         [POSIX] (pid_t): Likewise.
10133         [POSIX] (cuserid): Allow.
10134         (_SC_2_CHAR_TERM): Require constant.
10135         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
10136         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
10137         variable.
10139 2015-05-20  Roland McGrath  <roland@hack.frob.com>
10141         * sysdeps/nacl/pthread-pids.h: New file.
10142         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
10143         (create_thread): Use __nacl_get_tid to initialize PD->tid.
10145         * nptl/pthread-pids.h: New file.
10146         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
10147         * nptl/nptl-init.c: Include <pthread-pids.h>.
10148         (__pthread_initialize_minimal_internal):
10149         Call __pthread_initialize_pids instead of set_tid_address syscall.
10151         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
10152         * sysdeps/posix/usleep.c: ... here.
10154 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10156         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
10157         call_pselect6 object.
10158         [$(subdir) = io]: Remove call_sync_file_range object.
10159         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
10160         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
10161         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
10162         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
10164 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
10166         * math/s_cproj.c: Add include "math_private.h".
10167         * math/s_cprojf.c: Likewise.
10168         * math/s_cprojl.c: Likewise.
10170 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
10172         [BZ #18244]
10173         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
10174         high mantissa bit when testing whether P is a NaN.
10175         * math/libm-test.inc (remainder_test_data): Add more tests.
10176         (remquo_test_data): Likewise.
10178         [BZ #18049]
10179         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
10180         below -32, return the argument, with underflow if subnormal.
10181         * math/auto-libm-test-in: Add more tests of atanh.
10182         * math/auto-libm-test-out: Regenerated.
10184 2015-05-19  Roland McGrath  <roland@hack.frob.com>
10186         [BZ #18434]
10187         * nptl/tst-sem15.c: New file.
10188         * nptl/Makefile (tests): Add it.
10189         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
10190         s/<</>>/ to fix typo in EOVERFLOW check.
10191         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
10193 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10195         * manual/strings.texi (envz_remove): Fix typo in safety
10196         annotations.
10198 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
10199             Steve Ellcey  <sellcey@imgtec.com>
10201         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
10202         in order to avoid strict alias warnings.
10203         (iruserok_af): Ditto for ra.
10205 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
10207         [BZ #17581]
10208         * malloc/hooks.c
10209         (magicbyte): Convert to a function and avoid returning 0x01.
10210         (mem2mem_check): Avoid using a length byte equal to the magic byte.
10211         (mem2chunk_check): Fix unsigned comparisons to zero.
10212         Hoist defs of sz and magic.
10214 2015-05-19  Richard Henderson  <rth@redhat.com>
10216         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
10218         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10220 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10222         [BZ #16159]
10223         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
10224         * malloc/arena.c (arena_lock): Check if arena is corrupt.
10225         (reused_arena): Find a non-corrupt arena.
10226         (heap_trim): Pass arena to unlink.
10227         * malloc/hooks.c (malloc_check_get_size): Pass arena to
10228         malloc_printerr.
10229         (top_check): Likewise.
10230         (free_check): Likewise.
10231         (realloc_check): Likewise.
10232         * malloc/malloc.c (malloc_printerr): Add arena argument.
10233         (unlink): Likewise.
10234         (munmap_chunk): Adjust.
10235         (ARENA_CORRUPTION_BIT): New macro.
10236         (arena_is_corrupt): Likewise.
10237         (set_arena_corrupt): Likewise.
10238         (sysmalloc): Use mmap if there are no usable arenas.
10239         (_int_malloc): Likewise.
10240         (__libc_malloc): Don't fail if arena_get returns NULL.
10241         (_mid_memalign): Likewise.
10242         (__libc_calloc): Likewise.
10243         (__libc_realloc): Adjust for additional argument to
10244         malloc_printerr.
10245         (_int_free): Likewise.
10246         (malloc_consolidate): Likewise.
10247         (_int_realloc): Likewise.
10248         (_int_memalign): Don't touch corrupt arenas.
10249         * malloc/tst-malloc-backtrace.c: New test case.
10251         * Makefile (summarize-tests): Fix return value on success.
10253         * manual/string.texi (Envz Functions): Add envz_remove.
10255 2015-05-18  Roland McGrath  <roland@hack.frob.com>
10257         * sysdeps/posix/opendir.c: Include <stdbool.h>.
10258         (invalid_name): New function, broken out of ...
10259         (__opendirat): ... here.  Call it.
10260         (need_isdir_precheck): New function, broken out of ...
10261         (__opendirat): ... here.  Call it.
10262         Use __fxstatat64, not __xstatat64.
10263         (opendir_oflags): New function, broken out of ...
10264         (__opendirat): ... here.  Call it.
10265         (opendir_tail): New function, broken out of ...
10266         (__opendirat): ... here.  Call it.
10267         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
10268         opendir_tail, rather than punting to __opendirat.
10269         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
10271 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10273         * .gitignore: Ignore generated *.pyc.
10275 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
10277         * include/stdio.h: Define __need_wint_t.
10278         * test-skeleton.c: Avoid `for' loop initial declaration.
10279         * nptl/tst-initializers1.c: Use test-skeleton.c.
10281 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10283         [BZ #18418]
10284         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
10286 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10288         [BZ #16352]
10289         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
10290         (__ieee754_atanh): Force underflow exception for results with
10291         small absolute value.
10292         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
10293         (__ieee754_atanhf): Force underflow exception for results with
10294         small absolute value.
10295         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
10296         (__ieee754_atanh): Force underflow exception for results with
10297         small absolute value.
10298         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
10299         (__ieee754_atanhf): Force underflow exception for results with
10300         small absolute value.
10301         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
10302         (__ieee754_atanhl): Force underflow exception for results with
10303         small absolute value.
10304         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
10305         (__ieee754_atanhl): Force underflow exception for results with
10306         small absolute value.
10307         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
10308         (__ieee754_atanhl): Force underflow exception for results with
10309         small absolute value.
10310         * math/auto-libm-test-in: Do not allow missing underflow
10311         exceptions from atanh.
10312         * math/auto-libm-test-out: Regenerated.
10314         [BZ #18221]
10315         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
10316         2**-28 as threshold for returning x or +/- 1/x.
10317         * math/auto-libm-test-in: Add more tests of tan.
10318         * math/auto-libm-test-out: Regenerated.
10320         [BZ #18220]
10321         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10322         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
10323         * math/auto-libm-test-in: Add another test of lgamma.
10324         * math/auto-libm-test-out: Regenerated.
10326 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
10328         * stdio-common/printf_fp.c (___printf_fp): Use abs.
10329         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
10330         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
10331         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
10332         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
10333         (ADD2A): Use fabs.  (SUB2A): Use fabs.
10334         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
10335         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
10336         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
10337         (log1): Use fabs.  (my_log2): Use fabs.
10338         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
10339         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
10340         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
10341         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
10342         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
10343         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
10344         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
10345         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
10346         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
10347         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
10348         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
10350 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10352         [BZ #18217]
10353         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
10354         as threshold for returning 1 - x.
10355         * math/auto-libm-test-in: Add more tests of erfc.
10356         * math/auto-libm-test-out: Regenerated.
10358 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
10360         [BZ #18196]
10361         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
10362         threshold for large arguments.
10363         * math/auto-libm-test-in: Add another test of atan.
10364         * math/auto-libm-test-out: Regenerated.
10366         [BZ #16339]
10367         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
10368         (__log1p): Force underflow exception for results with small
10369         absolute value.
10370         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
10371         (__log1pf): Force underflow exception for results with small
10372         absolute value.
10373         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
10374         (__log1p): Force underflow exception for results with small
10375         absolute value.
10376         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
10377         (__log1pf): Force underflow exception for results with small
10378         absolute value.
10379         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
10380         (__log1pl): Force underflow exception for results with small
10381         absolute value.
10382         * math/auto-libm-test-in: Do not allow missing underflow
10383         exceptions from log1p.
10384         * math/auto-libm-test-out: Regenerated.
10386 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
10387             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10389         [BZ #16704]
10390         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
10392 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
10394         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
10395         (libmvec): New variable.
10396         * configure.ac: Added option for mathvec build.
10397         * configure: Regenerated.
10398         * mathvec/Depend: New file.
10399         * mathvec/Makefile: New file.
10400         * shlib-versions: Added libmvec.
10401         * math/Makefile: Added rule for libm.so installation.
10403         * bits/math-vector.h: New file.
10404         * bits/libm-simd-decl-stubs.h: New header.
10405         * math/Makefile (headers): Added new header
10406         libm-simd-decl-stubs.h.
10407         * math/math.h (__MATHCALL_VEC): New macro.
10409         * math/gen-libm-have-vector-test.sh: Script generates series of macros
10410         for conditions in testing functions.
10411         * math/Makefile: Added call of libm-have-vector-test.sh.
10412         * math/libm-test.inc (HAVE_VECTOR): New macros.
10414         * math/libm-test.inc: START refactored.
10415         * math/test-double.c (TEST_MATHVEC): Add define.
10416         * math/test-float.c: Likewise.
10417         * math/test-idouble.c: Likewise.
10418         * math/test-ifloat.c: Likewise.
10419         * math/test-ildoubl.c: Likewise.
10420         * math/test-ldouble.c: Likewise.
10421         * sysdeps/generic/math-tests-arch.h
10422         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
10423         architecture check.
10425         * math/test-double.c (FUNC_TEST): New macro.
10426         * math/test-float.c: Likewise.
10427         * math/test-idouble.c: Likewise.
10428         * math/test-ifloat.c: Likewise.
10429         * math/test-ildoubl.c: Likewise.
10430         * math/test-ldouble.c: Likewise.
10431         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
10433 2015-05-13  Roland McGrath  <roland@hack.frob.com>
10435         * sysdeps/nacl/fdopendir.c: New file.
10437         * dirent/scandir-tail.c: New file.
10438         * dirent/scandir64-tail.c: New file.
10439         * dirent/Makefile (routines): Add them.
10440         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
10441         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
10442         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
10443         [!SCANDIR] (SCANDIR_TAIL): New macro.
10444         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
10445         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
10446         (SCANDIRAT): Macro removed.
10447         (SCANDIR_TAIL): New macro.
10448         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
10449         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
10450         (SCANDIRAT): Just call __opendirat and __scandir_tail.
10451         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
10452         (READDIR): Macro removed.
10453         (SCANDIR_TAIL): New macro.
10454         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
10455         (SCANDIR_TAIL): New macro.
10457         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
10458         * dirent/scandir-cancel.c: ... to this new file.
10459         * dirent/Makefile (routines): Add it.
10460         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
10461         * sysdeps/unix/sysv/linux/i386/scandir64.c
10462         (SKIP_SCANDIR_CANCEL): Macro removed.
10463         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
10465         * dirent/tst-scandir.c: New file.
10466         * dirent/tst-scandir64.c: New file.
10467         * dirent/Makefile (tests): Add them.
10469 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10471         [BZ #18409]
10472         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
10474 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10476         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
10477         list.
10479 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
10481         * benchtests/bench-strcoll.c: New benchmark.
10482         * benchtests/Makefile: Generate locales and run benchmark.
10483         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
10484         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10485         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
10486         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
10487         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
10488         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
10489         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
10490         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
10491         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
10492         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
10493         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
10494         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
10495         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
10496         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
10497         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
10498         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
10499         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
10500         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
10501         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
10502         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
10503         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
10504         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
10505         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
10506         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
10508 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
10510         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
10511         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10513 2015-05-12  Roland McGrath  <roland@hack.frob.com>
10515         * posix/uname-values.h: New file.
10516         * posix/uname.c: Include that instead of <config-name.h>.
10517         * sysdeps/nacl/uname-values.h: New file.
10518         * sysdeps/arm/nacl/uname-values.h: New file.
10520 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
10522         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
10523         splitting into fields.
10525 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
10527         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
10528         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
10529         * locale/localeinfo.h: Add enum collation_encoding_type.
10530         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
10531         * programs/ld-collate.c (collate_output): Add encoding type info.
10532         * string/strcoll_l.c (STRDIFF): New function.
10533         * (STRCOLL): Use STRDIFF to skip over equal prefix.
10534         * wcsmbs/wcscoll_l.c: Define STRDIFF.
10536 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
10538         [BZ #18397]
10539         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
10540         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
10541         <fpu_control.h> instead of <math/fpu_control.c>.
10542         * sysdeps/mips/mips32/fpu/Makefile: New file.
10544 2015-05-11  Andreas Schwab  <schwab@suse.de>
10546         [BZ #18007]
10547         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
10548         nss_endgrent.
10549         (_nss_compat_endgrent): Call nss_endgrent.
10550         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
10551         nss_endpwent.
10552         (_nss_compat_endpwent): Call nss_endpwent.
10553         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
10554         needent, call nss_setspent only if non-zero.
10555         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
10556         (internal_endspent): Don't call nss_endspent.
10557         (_nss_compat_endspent): Call nss_endspent.
10558         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
10559         Remove.  All uses removed.
10560         (internal_setent): Remove parameter stayopen, add parameter
10561         stream.  Use it instead of global variable.
10562         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
10563         (internal_endent, internal_getent): Add parameter stream.  Use it
10564         instead of global variable.
10565         (CONCAT(_nss_files_end,ENTNAME))
10566         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
10567         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
10568         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
10569         uses removed.
10570         (internal_setent, internal_endent): Add parameter stream.  Use it
10571         instead of global variable.
10572         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
10573         stream.
10574         (get_next_alias): Add parameter stream.
10575         (_nss_files_getaliasent_r): Pass global stream.
10576         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
10577         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
10578         (_nss_files_gethostbyname4_r): Pass local stream to
10579         internal_setent, internal_getent and internal_endent.  Remove
10580         locking.
10582 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10584         * tst-strfmon1.c (tests): Update expected currency symbol.
10586 2015-05-08  Roland McGrath  <roland@hack.frob.com>
10588         * sysdeps/nacl/gethostname.c: New file.
10590 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
10592         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
10593         and sinh.
10594         * math/auto-libm-test-out: Regenerated.
10595         * sysdeps/i386/fpu/libm-test-ulps: Update.
10596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10598 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
10600         [BZ #18125]
10601         * stdlib/tst-setcontext3.c: New file.
10602         * stdlib/tst-setcontext3.sh: New file.
10603         * stdlib/Makefile (tests): Add tst-setcontext3.
10604         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
10605         to verify test program created output file.
10606         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
10607         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
10608         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
10609         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
10611 2015-05-06  Roland McGrath  <roland@hack.frob.com>
10613         [BZ #18383]
10614         * elf/tst-tlsalign.c: New file.
10615         * elf/tst-tlsalign-static.c: New file.
10616         * elf/tst-tlsalign-lib.c: New file.
10617         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
10618         (tests-static): Add tst-tlsalign-static.
10619         (modules-names): Add tst-tlsalign-lib.
10620         (test-xfail-tst-tlsalign): New variable.
10621         (test-xfail-tst-tlsalign-static): New variable.
10623         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
10624         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
10626 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
10628         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
10629         csqrt, erfc, sin and sincos.
10630         * math/auto-libm-test-out: Regenerated.
10631         * sysdeps/i386/fpu/libm-test-ulps: Update.
10632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10634 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10636         * sysdeps/aarch64/libm-test-ulps: Update.
10638 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
10640         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
10641         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
10642         * math/auto-libm-test-out: Regenerated.
10643         * sysdeps/i386/fpu/libm-test-ulps: Update.
10644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10646 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10648         [BZ #18265]
10649         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
10650         (wcsncpy): Likewise.
10652 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10654         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10655         Assume __ASSUME_FALLOCATE is always true.
10656         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10657         (__posix_fallocate64_l64): Likweise.
10658         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
10659         (posix_fallocate): Likewise.
10660         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
10661         (__posix_fallocate64_l64): Likewise.
10662         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10663         [!__ASSUME_FALLOCATE]: Add comment.
10665 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10667         * sysdeps/unix/sysv/linux/i386/Makefile
10668         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
10669         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
10670         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
10671         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10672         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10673         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
10674         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
10676 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
10678         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
10679         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
10680         tgamma.
10681         * math/auto-libm-test-out: Regenerated.
10682         * sysdeps/i386/fpu/libm-test-ulps: Update.
10683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10685 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10687         * math/auto-libm-test-in: Add more tests of tgamma.
10688         * math/auto-libm-test-out: Regenerated.
10689         * sysdeps/i386/fpu/libm-test-ulps: Update.
10690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10692         * math/auto-libm-test-in: Add more tests of tanh.
10693         * math/auto-libm-test-out: Regenerated.
10694         * sysdeps/i386/fpu/libm-test-ulps: Update.
10695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10697         * math/auto-libm-test-in: Add more tests of tan.
10698         * math/auto-libm-test-out: Regenerated.
10699         * sysdeps/i386/fpu/libm-test-ulps: Update.
10700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10702         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
10703         * math/auto-libm-test-out: Regenerated.
10704         * sysdeps/i386/fpu/libm-test-ulps: Update.
10705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10707         * math/auto-libm-test-in: Add another test of pow.
10708         * math/auto-libm-test-out: Regenerated.
10709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10711         * math/auto-libm-test-in: Add more tests of lgamma.
10712         * math/auto-libm-test-out: Regenerated.
10713         * sysdeps/i386/fpu/libm-test-ulps: Update.
10714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10716         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
10717         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
10724         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
10725         Elf64_Chdr structs and ELFCOMPRESS constants.
10727 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10729         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
10730         expm1.
10731         * math/auto-libm-test-out: Regenerated.
10732         * sysdeps/i386/fpu/libm-test-ulps: Update.
10733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10735         * math/auto-libm-test-in: Add more tests of erf and erfc.
10736         * math/auto-libm-test-out: Regenerated.
10737         * sysdeps/i386/fpu/libm-test-ulps: Update.
10738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10740 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10742         * config.h.in (HAVE_AARCH64_BE): Add.
10744 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
10746         * math/auto-libm-test-in: Add more tests of csqrt.
10747         * math/auto-libm-test-out: Regenerated.
10748         * sysdeps/i386/fpu/libm-test-ulps: Update.
10749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10751         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10752         * math/auto-libm-test-out: Regenerated.
10753         * sysdeps/i386/fpu/libm-test-ulps: Update.
10754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10756         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
10758 2015-04-29  Roland McGrath  <roland@hack.frob.com>
10760         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
10761         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
10763         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
10764         (euidaccess, eaccess): Define as weak aliases.
10766         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
10767         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
10768         but __suseconds_t is often 'long int' so some sources assume that
10769         type is being used (e.g. they use %ld to print tv_usec).
10771 2015-04-29  Florian Weimer  <fweimer@redhat.com>
10773         [BZ #18007]
10774         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
10775         (CVE-2014-8121)
10776         * nss/tst-nss-getpwent.c: New file.
10777         * nss/Makefile (tests): Add new test.
10779 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
10781         [BZ #18346]
10782         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
10783         exponents less than 48 as cases where high part of mantissa needs
10784         examining to determine whether argument is integral.
10785         * math/libm-test.inc (round_test_data): Add more tests.
10787 2015-04-28  Mark Wielaard  <mjw@redhat.com>
10789         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
10791 2015-04-27  David S. Miller  <davem@davemloft.net>
10793         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
10794         __tls_get_addr.
10795         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10797 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
10799         [BZ#18333]
10800         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
10802 2015-04-27  Florian Weimer  <fweimer@redhat.com>
10804         [BZ#18333]
10805         * time/tzset.c (parse_tzname): Return error on memory allocation
10806         failure.
10807         * test-skeleton.c (struct temp_name_list): Change type of name
10808         member to non-const.
10809         (add_temp_file): Create a copy of the file name.
10810         (delete_temp_files): Deallocate memory.
10811         (create_temp_file): Add comment.
10813 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10815         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
10816         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
10818 2015-04-24  Roland McGrath  <roland@hack.frob.com>
10820         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
10821         * sysdeps/arm/configure: Regenerated.
10823 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10825         [BZ #17715]
10826         * time/tzfile.c (__tzfile_read): Check for large values of
10827         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
10828         * time/tzset.c (__tzstring_len): New function, based on the old
10829         __tzstring function.
10830         (__tzstring): Call __tzstring_len.
10831         (parse_tzname): New helper function extracted from
10832         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
10833         the input string.
10834         (parse_offset): New helper function extracted from
10835         __tzset_parse_tz.  Replace switch with fallthrough with
10836         initialization before sscanf.
10837         (parse_rule): Likewise.
10838         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
10839         new-style function definition.
10840         * timezone/Makefile (tests): Add tst-tzset.
10841         (tst-tzset.out): Dependencies on time zone files.
10842         (tst-tzset-ENV): Set TZDIR.
10843         (testdata/XT%): Copy crafted time zone files.
10844         * timezone/README: Mention crafted time zone files.
10845         * timezone/testdata/XT1, timezone/testdata/XT2,
10846         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
10847         files.
10848         * timezone/tst-tzset.c: New test.
10850 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10852         * Makeconfig (+gccwarn): Remove -Winline.
10854 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10856         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
10858 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10860         * NEWS: Mention sysconf() cache information support for s390.
10861         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
10863 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
10865         * math/k_casinh.c (__kernel_casinh): Use __copysign.
10866         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
10867         (__nearbyint): Likewise.
10868         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
10869         (copysignl): Likewise.
10871 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
10873         [BZ #18287]
10874         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
10875         based on padding.  (CVE-2015-1781)
10877 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10879         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
10880         libc-vdso.h.
10881         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
10882         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
10883         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
10884         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10885         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10886         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
10887         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
10888         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10889         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10890         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
10891         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10892         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10893         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10894         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
10895         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10896         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
10897         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
10898         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
10899         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
10900         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
10901         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
10902         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
10903         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
10905 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
10907         * stdlib/setenv.c (__add_to_environ):
10908         Dump core quickly if setenv (..., NULL, ...) is called.
10909         This time, do it the right way, and pacify GCC with a pragma.
10911 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10913         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
10914         IMAP->l_prev cannot be null, and #if out the code for the contrary
10915         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
10916         believe that NS (&_dl_ns[NSID]) could point outside the array.
10918         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
10919         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
10920         before using NSID as an index.
10922 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
10924         [BZ #17825]
10925         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
10926         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
10927         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10929 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10931         Add preliminary port to Google Native Client on ARM.
10932         * abi-tags (.*-.*-nacl.*): New entry.
10933         * sysdeps/arm/nacl: New directory.
10934         * sysdeps/nacl: New directory.
10936 2015-04-16  David S. Miller  <davem@davemloft.net>
10938         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
10939         lowlevellock-futex.h
10941 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
10943         * sysdeps/tile/configure.ac: New file.
10944         * sysdeps/tile/configure: Regenerated.
10946 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10948         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
10949         conditionals for weak_alias and libc_hidden_weak.
10950         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
10951         libc_hidden_weak and weak_alias.
10952         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
10953         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
10954         and weak_alias for static one.
10956 2015-04-15  David S. Miller  <davem@davemloft.net>
10958         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10960 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10962         [BZ #18206]
10963         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
10964           Use signed comparision instead of substraction to avoid
10965           overflow bug.
10966         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
10967           Take the sign of ret.
10968         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
10969           Do not expect precise return values. Only the sign matters.
10970         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
10971         * wcsmbs/test-wcsncmp.c: New File.
10972         * string/test-strncmp.c: Add wcsncmp support.
10974 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10976         [BZ #6792]
10977         * math/w_log1p.c: New file.
10978         * math/w_log1pf.c: Likewise.
10979         * math/w_log1pl.c: Likewise.
10980         * math/Makefile (libm-calls): Add w_log1p.
10981         * math/s_log1pl.c (log1pl): Remove weak_alias.
10982         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
10983         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
10984         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
10985         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
10986         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
10987         [NO_LONG_DOUBLE] (log1pl): Likewise.
10988         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
10989         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
10990         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
10991         (log1p): Remove long_double_symbol.
10992         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
10993         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
10994         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
10995         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
10996         remove weak_alias for corresponding log1p function.
10997         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
10998         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10999         * sysdeps/ia64/fpu/w_log1p.c: New file.
11000         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
11001         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
11002         * math/libm-test.inc (log1p_test_data): Add errno expectations.
11004 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
11006         [BZ #18247]
11007         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
11008         decimal exponent by 1.
11009         * stdlib/tst-strtod-round-data: Add more tests.
11010         * stdlib/tst-strtod-round.c (tests): Regenerated.
11012 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
11014         * math/auto-libm-test-in: Add more tests of clog and clog10.
11015         * math/auto-libm-test-out: Regenerated.
11016         * sysdeps/i386/fpu/libm-test-ulps: Update.
11017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11019 2015-04-09  Roland McGrath  <roland@hack.frob.com>
11021         * Makeconfig (module-cppflags): Exclude all .v.i files.
11022         (skip-module-cppflags): Variable removed.
11024         * configure.ac (libc_config_ok): Initialize before reading
11025         preconfigure scripts, not after.
11026         * configure: Regenerated.
11028         * test-skeleton.c (TIMEOUT): Move #define to top level.
11029         (main): Grok environment variable TEST_DIRECT.  If set, print
11030         test expectation details into that file and then behave as if
11031         given --direct.
11033 2015-04-09  Florian Weimer  <fweimer@redhat.com>
11035         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
11036         warning on 32-bit.
11038 2015-04-08  David S. Miller  <davem@davemloft.net>
11040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11042 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11044         * math/auto-libm-test-in: Add more tests of atanh.
11045         * math/auto-libm-test-out: Regenerated.
11046         * sysdeps/i386/fpu/libm-test-ulps: Update.
11047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11049         * math/auto-libm-test-in: Add more tests of atan.
11050         * math/auto-libm-test-out: Regenerated.
11051         * sysdeps/i386/fpu/libm-test-ulps: Update.
11052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11054 2015-04-08  Florian Weimer  <fweimer@redhat.com>
11056         * elf/pldd.c (main): Rewrite to use struct
11057         scratch_buffer instead of extend_alloca.
11058         * elf/pldd-xx.c (find_maps): Likewise.
11059         * grp/initgroups.c: Include <scratch_buffer.h> instead of
11060         <alloca.h>.
11061         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
11062         scratch_buffer instead of extend_alloca.
11063         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
11064         grp/compat-initgroups.c.
11065         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
11066         Rewrite to use struct scratch_buffer instead of extend_alloca.
11067         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
11068         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11070 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11072         * math/auto-libm-test-in: Add more tests of cbrt.
11073         * math/auto-libm-test-out: Regenerated.
11074         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11076         * math/auto-libm-test-in: Add more tests of cabs.
11077         * math/auto-libm-test-out: Regenerated.
11078         * sysdeps/i386/fpu/libm-test-ulps: Update.
11079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11081         [BZ #18210]
11082         [BZ #18211]
11083         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
11084         (__ieee754_atan2): Set FE_TONEAREST mode for internal
11085         computations.
11086         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
11087         clog10.
11088         * math/auto-libm-test-out: Regenerated.
11089         * sysdeps/i386/fpu/libm-test-ulps: Update.
11090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11092         [BZ #18197]
11093         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
11094         (atan): Set FE_TONEAREST mode for internal computations.
11095         * math/auto-libm-test-in: Add more tests of atan.
11096         * math/auto-libm-test-out: Regenerated.
11098 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
11100         [BZ #17930]
11101         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
11103 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11105         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
11107 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11109         * include/scratch_buffer.h: New file.
11110         * malloc/scratch_buffer_grow.c: Likewise.
11111         * malloc/scratch_buffer_grow_preserve.c: Likewise.
11112         * malloc/scratch_buffer_set_array_size.c: Likewise.
11113         * malloc/tst-scratch_buffer.c: Likewise.
11114         * malloc/Makefile (routines): Add scratch_buffer_grow.
11115         (tests): Add test case.
11116         * malloc/Versions (GLIBC_PRIVATE): Export
11117         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
11118         __libc_scratch_buffer_set_array_size.
11120 2015-04-06  Richard Henderson  <rth@redhat.com>
11122         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
11123         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11125         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
11126         unsigned int before printing.
11128 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11130         [BZ #17596]
11131         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
11132         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11134 2015-04-02  Florian Weimer  <fweimer@redhat.com>
11136         * include/libc-internal.h (libc_max_align_t): Define.
11138 2015-04-02  Andreas Schwab  <schwab@suse.de>
11140         [BZ #16850]
11141         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
11143 2015-04-02  Mel Gorman  <mgorman@suse.de>
11145         [BZ #17195]
11146         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
11147         as well as the main arena.
11149 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11151         [BZ #18185]
11152         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
11153         sharing L2 cache to 2 for Silvermont/Knights Landing.
11155 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11157         [BZ #17711]
11158         * config.make.in (have-protected-data): New.
11159         * configure.ac: Check linker support for protected data symbol.
11160         * configure: Regenerated.
11161         * elf/Makefile (modules-names): Add tst-protected1moda and
11162         tst-protected1modb if $(have-protected-data) is yes.
11163         (tests): Add tst-protected1a and tst-protected1b if
11164         $(have-protected-data) is yes.
11165         ($(objpfx)tst-protected1a): New.
11166         ($(objpfx)tst-protected1b): Likewise.
11167         (tst-protected1modb.so-no-z-defs): Likewise.
11168         * elf/tst-protected1a.c: New file.
11169         * elf/tst-protected1b.c: Likewise.
11170         * elf/tst-protected1mod.h: Likewise.
11171         * elf/tst-protected1moda.c: Likewise.
11172         * elf/tst-protected1modb.c: Likewise.
11174 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11176         [BZ #17711]
11177         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
11178         indicates it is called from do_lookup_x on relocation against
11179         protected data, skip the data definion in the executable from
11180         copy reloc.
11181         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
11182         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
11183         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
11184         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
11185         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
11186         otherwise to 0.
11187         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11188         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
11189         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
11190         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11191         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
11192         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
11194 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
11196         * sysdeps/nptl/pthread.h: Remove duplicate definition of
11197         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
11199 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
11201         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
11202         THREAD_SETMEM_NC.
11203         * sysdeps/x86_64/nptl/tls.h: Ditto.
11205 2015-03-27  Roland McGrath  <roland@hack.frob.com>
11207         * dlfcn/tststatic.c (main): Converted to ...
11208         (do_test): ... this.
11209         (TEST_FUNCTION): New macro.
11210         Include test-skeleton.c.
11212 2015-03-26  Alan Modra  <amodra@gmail.com>
11214         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
11215         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
11216         zero for undefined weak.
11217         (elf_machine_plt_conflict): Similarly.
11219 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11221         * math/auto-libm-test-in: Add more tests of acosh, asinh and
11222         atanh.
11223         * math/auto-libm-test-out: Regenerated.
11224         * sysdeps/i386/fpu/libm-test-ulps: Update.
11225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11227         * math/auto-libm-test-in: Add another test of asin.
11228         * math/auto-libm-test-out: Regenerated.
11229         * sysdeps/i386/fpu/libm-test-ulps: Update.
11230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11232         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
11233         Remove macro.
11234         (LLL_EBX_REG): Likewise.
11235         (LLL_ENTER_KERNEL): Likewise.
11237         * math/auto-libm-test-in: Add more tests of asin.
11238         * math/auto-libm-test-out: Regenerated.
11239         * sysdeps/i386/fpu/libm-test-ulps: Update.
11240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11242         [BZ #18138]
11243         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
11244         libc_do_syscall_args): New structure.
11245         (INTERNAL_SYSCALL_MAIN_0): New macro.
11246         (INTERNAL_SYSCALL_MAIN_1): Likewise.
11247         (INTERNAL_SYSCALL_MAIN_2): Likewise.
11248         (INTERNAL_SYSCALL_MAIN_3): Likewise.
11249         (INTERNAL_SYSCALL_MAIN_4): Likewise.
11250         (INTERNAL_SYSCALL_MAIN_5): Likewise.
11251         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
11252         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
11253         Replace conditional definitions by conditional definitions of ....
11254         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
11255         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
11256         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
11257         (libpthread-sysdep_routines): Add libc-do-syscall.
11258         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
11259         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
11260         to __NR_futex not 240.
11262 2015-03-25  Alan Modra  <amodra@gmail.com>
11264         * NEWS: Advertise TLS optimization.
11265         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
11266         (DT_PPC_NUM): Increment.
11267         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
11268         (CHECK_STATIC_TLS): Use here.
11269         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
11270         TLS descriptors.
11271         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11272         * sysdeps/powerpc/dl-tls.c: New file.
11273         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
11274         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
11275         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
11276         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
11277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
11278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11281 2015-03-25  Alan Modra  <amodra@gmail.com>
11283         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
11284         for overlapping .opd entries" to "support...".
11285         * sysdeps/powerpc/powerpc64/configure: Regenerate
11287 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11289         * math/auto-libm-test-in: Add more tests of acos.
11290         * math/auto-libm-test-out: Regenerated.
11291         * sysdeps/i386/fpu/libm-test-ulps: Update.
11292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11294         * math/auto-libm-test-in: Add more tests of expm1.
11295         * math/auto-libm-test-out: Regenerated.
11296         * sysdeps/i386/fpu/libm-test-ulps: Update.
11297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11299 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
11301         * math/auto-libm-test-in: Add more tests of cosh and sinh.
11302         * math/auto-libm-test-out: Regenerated.
11303         * sysdeps/i386/fpu/libm-test-ulps: Update.
11304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11306         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11309         * math/auto-libm-test-in: Add more tests of log2.
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 2015-03-23  Roland McGrath  <roland@hack.frob.com>
11316         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
11317         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
11318         _IO_IS_APPENDING bit in READ_WRITE instead.
11320 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11322         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11323         (__determine_cpumask_size): Replace extend_alloca with a
11324         variable-length array.  Do not treat res == 0 as an error.
11326 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11328         [BZ #18100]
11329         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
11330         and integer overflow.
11331         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
11332         (main): Add integer overflow tests.
11333         * manual/pattern.texi (Calling Wordexp): Document additional use
11334         for WRDE_SYNTAX.
11336 2015-03-23  Alan Modra  <amodra@gmail.com>
11338         * config.h.in: Remove HAVE_ASM_PPC_REL16.
11339         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
11340         and false branch of conditional.
11341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11342         Likewise.
11344 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
11346         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
11347         libc-modules.h
11348         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
11349         unused declaration of _hurd_intr_rpc_msg_in_trap.
11350         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
11351         defined instead of whether it is non-zero.
11352         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
11353         input constraint instead of both input and output constraint.  Use ecx
11354         clobber instead of %ecx.
11355         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
11356         mutex_unlock): Use a statement expression instead of an expression list.
11357         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
11358         type to vm_size_t instead of vm_address_t.
11359         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
11360         defined instead of whether it is non-zero.
11361         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
11362         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
11363         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
11364         comparisons with mapaddr.
11365         * nscd/nscd-client.h: Include <time.h>.
11366         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
11367         9th parameter to __vm_region instead of int.
11368         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
11369         * scripts/check-local-headers.sh (exclude): Add device/,
11370         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
11371         cthreads.h.
11373 2015-03-19  Roland McGrath  <roland@hack.frob.com>
11375         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
11376         to account for alignment padding.
11377         * sysdeps/arm/memmove.S: Likewise.
11379 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
11381         * sysdeps/unix/sysv/linux/generic/README: New file.
11383 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
11385         [BZ #18138]
11386         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
11387         (futex_abstimed_wait)
11388         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
11389         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
11390         of lll_futex_timed_wait.
11392 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
11394         [BZ #17542]
11395         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
11397 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
11399         [BZ #17090]
11400         [BZ #17620]
11401         [BZ #17621]
11402         [BZ #17628]
11403         * NEWS: Update.
11404         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
11405         entries with Static TLS too.  Skip entries past the end of the
11406         allocated DTV, from Alan Modra.
11407         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
11408         Static TLS DTV entry set up from...
11409         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
11410         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
11411         * nptl/allocatestack.c (init_one_static_tls): ... and here...
11412         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
11413         for Static TLS.
11414         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
11415         that the slot we find is associated with the given map before
11416         using its generation count.
11417         * nptl_db/db_info.c: Include ldsodefs.h.
11418         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
11419         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
11420         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
11421         (link_map::l_tls_offset): New struct field.
11422         (dtv_t::counter): Likewise.
11423         (rtld_global): New struct.
11424         (_rtld_global): New rtld variable.
11425         (dl_tls_dtv_slotinfo_list): New rtld global field.
11426         (dtv_slotinfo_list): New struct.
11427         (dtv_slotinfo): Likewise.
11428         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
11429         (td_lookup): Rename to...
11430         (td_mod_lookup): ... this.  Use new mod parameter instead of
11431         LIBPTHREAD_SO.
11432         * nptl_db/td_thr_tlsbase.c: Include link.h.
11433         (dtv_slotinfo_list, dtv_slotinfo): New functions.
11434         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
11435         addresses even if the DTV is out of date or missing them.
11436         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
11437         index zero-length arrays.
11438         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
11439         (td_lookup): Make it a macro implemented in terms of...
11440         (td_mod_lookup): ... this declaration.
11441         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
11442         (DB_MAIN_VARIABLE): Likewise.
11444 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11446         [BZ #18134]
11447         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11449 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
11451         * stdlib/setenv.c (__add_to_environ): Revert previous change.
11453 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
11455         [BZ #18128]
11456         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
11457         (atomic_add, atomic_increment_and_test)
11458         (atomic_decrement_and_test): Fix 64-bit arithmetic.
11460 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
11462         * stdlib/setenv.c (__add_to_environ):
11463         Dump core quickly if setenv (..., NULL, ...) is called.
11465 2015-03-13  Roland McGrath  <roland@hack.frob.com>
11467         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
11468         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
11469         all the necessary asm magic in one place.
11470         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
11471         using those.
11473 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
11475         [BZ #14906]
11476         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
11477         traced file mtime. Use consistent log message.
11478         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
11479         (register_traced_file): Call install_watches. Always set mtime.
11480         (invalidate_cache): Iterate over all trace files. Call install_watches.
11481         (inotify_check_files): Don't inline. Handle watching parent
11482         directories and configuration file movement in and out.
11483         (handle_inotify_events): New function.
11484         (main_loop_poll): Call handle_inotify_events.
11485         (main_loop_epoll): Likewise.
11486         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
11487         (struct traced_file): Use array of inotify fds. Add parent directory,
11488         and basename.
11489         (struct database_dyn): Remove unused file_mtime.
11490         (init_traced_file): New inline function.
11491         (define_traced_file): New macro.
11492         * nss/nss_db/db-init.c: Use define_traced_file.
11493         (_nss_db_init): Use init_traced_file.
11494         * nss/nss_files/files-init.c: Use define_traced_file.
11495         (_nss_files_init): Use init_traced_file.
11497 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
11499         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
11500         [_LIBC]: Do not include <stdlib.h>.
11501         [!_LIBC] (abort): Remove declaration.
11502         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
11503         _FP_STATIC_ASSERT instead of conditionally calling abort.
11504         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
11505         (_FP_EXTEND_CNAN): Likewise.
11506         (FP_TRUNC): Likewise.
11507         (__FP_CLZ): Likewise.
11508         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
11510 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
11512         * manual/string.texi (XPG basename): Fix prototype.
11514 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11516         [BZ #18080]
11517         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
11518         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11519         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
11520         (__setcontext): Likewise.
11521         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
11522         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11523         Call rt_sigprocmask syscall one time to set new signal mask
11524         and retrieve the current signal mask instead of two calls.
11525         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
11526         (__swapcontext): Likewise.
11527         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
11528         * stdlib/tst-setcontext2.c: New file.
11530 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11532         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11534 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
11536         [BZ #18093]
11537         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
11538         the wrong size.
11540 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11542         [BZ #18043]
11543         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
11545 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11547         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
11548         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
11549         Remove define.
11550         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
11551         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
11552         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
11553         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
11554         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
11555         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
11556         define.
11557         * nptl_db/td_symbol_list.c (td_lookup): Remove
11558         HAVE_ASM_GLOBAL_DOT_NAME code.
11559         * sysdeps/powerpc/powerpc64/configure.ac: Remove
11560         HAVE_ASM_GLOBAL_DOT_NAME check.
11561         * sysdeps/powerpc/powerpc64/configure: Regenerate.
11562         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
11563         (DOT_LABEL): Remove define.
11564         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
11565         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
11566         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
11567         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
11568         (__TLS_GET_ADDR): Likewise.
11569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
11570         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
11572 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
11574         [BZ #18111]
11575         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
11576         (_FPU_SETCW): Initialize cw from fpsr before storing.
11577         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
11578         (fesetexceptflag): Rewrite using fpu_control.h.
11579         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
11581 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
11583         [BZ #18110]
11584         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
11585         asms.
11586         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11588 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
11590         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
11591         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
11592         abort.
11593         (_FP_FMA): Likewise.
11594         (_FP_DIV): Likewise.
11596 2015-03-10  Roland McGrath  <roland@hack.frob.com>
11598         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
11599         with 0 in that case.
11600         * Makefile (summarize-tests): New canned sequence, factored out of
11601         commands for targets tests and xtests.  Display summary lines that
11602         don't start with PASS: or XFAIL: rather than ones that do start with
11603         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
11604         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
11605         do start with ERROR: or FAIL:.
11606         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
11607         (except for [$(build-shared) = yes]).
11608         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
11609         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
11610         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
11611         * nptl/Makefile: Revert 2015-03-04 changes.
11612         [$(CXX) empty] (tests-unsupported): New variable.
11613         * debug/Makefile: Likewise.
11615         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
11616         gnulib file.  Replace __attribute with __attribute__ throughout.
11618 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
11620         * sysdeps/hppa/fpu/libm-test-ulps: Update.
11622 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11624         [BZ #18104]
11625         * math/auto-libm-test-in: Add another test of pow.
11626         * math/auto-libm-test-out: Regenerated.
11628 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11630         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
11631         $(config-cflags-nofma).
11633 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11635         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
11636         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
11637         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
11638         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
11639         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
11640         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
11641         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
11642         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
11643         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
11644         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
11645         Add comment on closing #endif.
11647 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11649         * posix/wordexp.c (CHAR_IN_SET): New macro.
11650         (parse_param): Use it.
11652 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11654         * sysdeps/powerpc/fpu/libm-test-ulps: update.
11656 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11658         [BZ #18043]
11659         * posix/wordexp.c (parse_param): Fix buffer overflow.
11660         * posix/wordexp-test.c (test_case): Add test case.
11662 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11664         [BZ #18042]
11665         * posix/wordexp.c (parse_backtick): Fix off-by-one.
11666         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
11668 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11670         [BZ #18043]
11671         * posix/wordexp-test.c (test_case): Add test for BZ #18043
11672         (do_bz18043): Delete.
11673         (at_page_end): New.
11674         (testit): Refactor to have words at the edge of unreadable page.
11676 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11678         [BZ #16734]
11679         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
11680         Cleanup read-only streams as well.
11681         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
11683 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11685         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
11686         <bits/libc-lockP.h>
11688 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
11690         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
11691         on [__KERNEL__].
11692         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
11693         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
11694         * soft-fp/op-common.h (_FP_DECL): Likewise.
11696 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11698         * elf/ifuncdep2.c (global): Replace
11699         __attribute__((visibility("protected"))) with
11700         asm (".protected global").
11701         * elf/ifuncmod1.c (global): Likewise.
11702         * elf/ifuncmod5.c (global): Likewise.
11704 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
11706         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
11707         <asm/sfp-machine.h> instead of <sfp-machine.h>.
11709 2015-03-06  Roland McGrath  <roland@hack.frob.com>
11711         * manual/install.texi (Configuring and compiling):
11712         Document test-wrapper-env-only.
11713         * INSTALL: Regenerated.
11715 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11717         [BZ #18043]
11718         * posix/wordexp.c (parse_param): Fix buffer overflow.
11719         * posix/wordexp-test.c (do_bz18043): Add test case.
11721 2015-03-06  Vincent Bernat  <vincent@bernat.im>
11723         * time/tst-strptime2.c (do_test): Ensure failing tests are
11724         reported correctly.
11725         * time/tst-strptime3.c (do_test): Likewise.
11727 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
11729         Fix aio_error thread-safety.
11730         * sysdeps/pthread/aio_error.c: New file
11731         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
11732         synchronization.
11734 2015-03-06  Florian Weimer  <fweimer@redhat.com>
11736         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
11737         (group_number, vfprintf): Use it.
11738         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
11739         (JUMP, REF): Use it.
11740         (WORK_BUFFER_SIZE): New enum constant.
11741         (process_arg, vfprintf): Use it.
11743 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
11745         * manual/errno.texi (Error Messages): Complete example function
11746         by adding missing #define.
11747         (program_invocation_name): Add statement indicating GNU
11748         extension and reference which header file declares the variable.
11749         (program_invocation_short_name): Likewise.
11751 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
11753         * manual/errno.texi (Error Messages): Delete strerror ISO C89
11754         compatibility note.
11756 2015-03-05  Roland McGrath  <roland@hack.frob.com>
11758         * Makeconfig (test-wrapper-env-only): New variable.
11759         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
11760         then use that with $(test-wrapper-env-only) rather than using
11761         $(test-wrapper-env) $(run-program-env) $($*-ENV).
11763 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
11765         [BZ #18082]
11766         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
11767         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
11768         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
11769         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
11770         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
11771         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
11772         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
11773         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
11774         Likewise.
11775         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
11776         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
11777         Likewise.
11778         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
11779         Likewise.
11780         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
11781         Likewise.
11782         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
11783         Likewise.
11784         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
11785         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
11786         Likewise.
11787         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
11788         Likewise.
11789         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
11790         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
11792 2015-03-04  Roland McGrath  <roland@hack.frob.com>
11794         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
11795         (ETH_ALEN): New macro.
11796         (struct ether_addr): Use it for length of ether_addr_octet.
11798         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
11799         (setdb): Don't call __nss_configure_lookup for "rpc".
11800         (do_test): Don't call test_rpc.
11801         (output_rpcent, test_rpc): Functions moved ...
11802         * sunrpc/test-rpcent.c: ... to this new file.
11803         * sunrpc/Makefile (tests): Add it.
11805         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
11806         __xpg_sigpause.
11807         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
11808         * nptl/tst-signal6.c: Likewise.
11809         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
11810         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
11812         * configure.ac (libc_cv_cxx_link_ok): New check.
11813         Reset CXX to empty if it fails to link.
11814         * configure: Regenerated.
11815         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
11816         bug-atexit3-lib only if $(CXX) is nonempty.
11817         * nptl/Makefile (tests): Likewise for tst-cancel24.
11818         (tests, tests-static): Likewise for tst-cancel24-static.
11819         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
11820         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
11821         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
11822         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
11824 2015-03-04  Andreas Schwab  <schwab@suse.de>
11826         [BZ #17631]
11827         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
11828         for non-GCC compilers.
11829         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11830         Likewise.
11832 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11834         [BZ #17776]
11835         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
11836         integer before bitwise and assembly operations.
11837         (feclearexcept): Likewise.
11838         * math/test-fenvinline.c: New file.
11839         * math/Makefile: Add test-fenvinline test.
11841 2015-03-03  Alan Modra  <amodra@gmail.com>
11843         [BZ #16512]
11844         * scripts/localplt.awk: Strip off symbol version.
11845         * NEWS: Mention bug fix.
11847 2015-03-02  Roland McGrath  <roland@hack.frob.com>
11849         * sysdeps/pthread/timer_routines.c
11850         (timer_free_list, thread_free_list, thread_active_list): Make static.
11852 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
11854         [BZ #17779]
11855         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11856         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11857         Undefine.
11858         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11859         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11860         Likewise.
11861         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11862         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11863         Likewise.
11865 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11867         [BZ #18036]
11868         * posix/fnmatch_loop.c (END): Detect invalid pattern.
11869         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
11871 2015-03-02  Andreas Schwab  <schwab@suse.de>
11873         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
11874         variable name.
11876 2015-03-02  Florian Weimer  <fweimer@redhat.com>
11878         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
11879         Return error status.
11881 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
11883         [BZ #15969]
11884         * locale/findlocale.c (_nl_find_locale): Introduce const
11885         version of loc_name and drop unsafe type casts.
11887 2015-02-27  Roland McGrath  <roland@hack.frob.com>
11889         * dlfcn/tststatic2.c (main): Converted to ...
11890         (do_test): ... this.
11891         (TEST_FUNCTION): New macro.
11892         Include test-skeleton.c.
11894 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
11896         [BZ #17711]
11897         * elf/Makefile (tests): Add vismain only if PIE is enabled.
11898         (tests-pie): Add vismain.
11899         (CFLAGS-vismain.c): New.
11900         * elf/vismain.c: Add comments for PIE requirement.
11902 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11904         [BZ #18046]
11905         [BZ #18047]
11906         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
11907         0x1p-56L as threshold for just returning the argument.
11908         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
11909         0x1p-32L as threshold for just returning the argument.
11910         * math/auto-libm-test-in: Add more tests of atanh.
11911         * math/auto-libm-test-out: Regenerated.
11912         * sysdeps/i386/fpu/libm-test-ulps: Update.
11913         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
11915 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11917         * string/bcopy.c (bcopy): Call memmove for performance.
11919 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11921         * string/bzero.c (__bzero): Call memset for performance.
11923 2015-02-27  John David Anglin  <dave.anglin@bell.net>
11925         [BZ #18068]
11926         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
11927         to 00100000.
11929 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11931         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
11933 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11935         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
11936         (__kernel_standard): Use CSTR macro when setting exc.name.
11937         * sysdeps/ieee754/Makefile [$(subdir) = math]
11938         (CFLAGS-k_standard.c): Remove variable.
11940         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
11941         setting p and q from "else if" to "else".
11942         (qzero): Likewise.
11943         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
11944         (qone): Likewise.
11945         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
11946         (qzerof): Likewise.
11947         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
11948         (qonef): Likewise.
11949         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
11950         (qzero): Likewise.
11951         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
11952         (qone): Likewise.
11954         [BZ #18038]
11955         [BZ #18039]
11956         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
11957         return pi/2 for arguments below 0x1p-113L.
11958         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
11959         return pi/2 for arguments below 0x1p-106L.
11960         * math/auto-libm-test-in: Add more tests of acos.
11961         * math/auto-libm-test-out: Regenerated.
11963         [BZ #16351]
11964         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
11965         (MO): New macro.
11966         (__ieee754_asin): Force underflow exception for results with small
11967         absolute value.
11968         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
11969         (MO): New macro.
11970         (__ieee754_asinf): Force underflow exception for results with
11971         small absolute value.
11972         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
11973         (__ieee754_asin): Force underflow exception for results with small
11974         absolute value.
11975         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
11976         (__ieee754_asinf): Force underflow exception for results with
11977         small absolute value.
11978         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
11979         (__ieee754_asinl): Force underflow exception for results with
11980         small absolute value.
11981         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
11982         (__ieee754_asinl): Force underflow exception for results with
11983         small absolute value.
11984         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
11985         (__ieee754_asinl): Force underflow exception for results with
11986         small absolute value.
11987         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11988         Include <math.h>.
11989         * math/auto-libm-test-in: Do not mark underflow exceptions as
11990         possibly missing for bug 16351.
11991         * math/auto-libm-test-out: Regenerated.
11993         [BZ #18030]
11994         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
11995         of power of 2 down when low part has opposite sign.
11996         * math/libm-test.inc (logb_test_data): Add more tests.
11998 2015-02-26  Andreas Schwab  <schwab@suse.de>
12000         [BZ #18032]
12001         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
12002         over collating symbol inside a bracket expression.  Minor cleanup.
12003         * posix/tst-fnmatch3.c (do_test): Add test case.
12005 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
12007         [BZ #18029]
12008         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
12009         Adjust exponent of power of 2 down when low part has opposite
12010         sign.
12011         * math/libm-test.inc (ilogb_test_data): Add more tests.
12013 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
12015         [BZ #15969]
12016         * locale/findlocale.c (_nl_find_locale): Fix constness error in
12017         the previous change.
12019         [BZ #15969]
12020         * locale/findlocale.c (_nl_find_locale): Retry archive search
12021         after alias expansion.
12023 2015-02-25  Roland McGrath  <roland@hack.frob.com>
12025         * iconv/tst-iconv3.c (main): Converted to ...
12026         (do_test): ... this.
12027         (TEST_FUNCTION): New macro.
12028         Include test-skeleton.c.
12030         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
12031         (convert): Make function static.
12032         (test_unalign): Likewise.  Add const to argument pointee types.
12033         (main): Replace with static function do_test.
12034         Print "Succeeded." only if RET is zero.
12035         (TEST_FUNCTION): New macro.
12036         Include test-skeleton.c.
12038         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
12039         returns a null pointer.
12041 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12043         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
12044         to __memcpy_ppc only for static builds.
12046 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
12048         [BZ #18020]
12049         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
12050         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
12051         * math/auto-libm-test-in: Add more tests of asinh.
12052         * math/auto-libm-test-out: Regenerated.
12053         * sysdeps/i386/fpu/libm-test-ulps: Update.
12054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12056 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
12058         [BZ #15850]
12059         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
12060         and ip6_mtuinfo definitions here.
12061         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
12062         in this define too.  Update comment.
12064 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
12066         * elf/sprof.c (load_shobj): Tweak error message to match others.
12068 2015-02-24  Kevin Easton  <kevin@guarana.org>
12070         [BZ #16145] (partial fix)
12071         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
12072         to reduce lock contention.
12074 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
12076         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
12077         (struct timex): Update time comment.
12078         (ADJ_SETOFFSET): Define.
12080 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12082         [BZ #18019]
12083         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12084         2**56 not 2**28 as threshold for log (2x) formula.
12085         * math/auto-libm-test-in: Add more tests of acosh.
12086         * math/auto-libm-test-out: Regenerated.
12087         * sysdeps/i386/fpu/libm-test-ulps: Update.
12088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12090 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12092         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
12093         parenthesis around the buf assignment.
12094         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
12096 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12098         [BZ #16783]
12099         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
12100         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
12101         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
12102         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12103         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12104         * math/libm-test.inc (scalb_test_data): Add more tests.
12106 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12108         [BZ #17916]
12109         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
12110         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
12112 2015-02-24  Eric Rannaud  <e@nanocritical.com>
12114         [BZ #17523]
12115         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
12116         * io/bits/fcntl2.h (open): Use it.
12117         (openat): Likewise.
12118         * io/open.c (__libc_open): Likewise.
12119         * io/open64.c (__libc_open64): Likewise.
12120         * io/open64_2.c (__open64_2): Likewise.
12121         * io/open_2.c (__open_2): Likewise.
12122         * io/openat.c (__openat): Likewise.
12123         * io/openat64.c (__openat64): Likewise.
12124         * io/openat64_2.c (__openat64_2): Likewise.
12125         * io/openat_2.c (__openat_2): Likewise.
12126         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
12127         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12128         * sysdeps/posix/open64.c (__libc_open64): Likewise.
12129         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12130         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12131         (__open_nocancel): Likewise.
12132         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12133         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12134         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
12136 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12138         [BZ #14841]
12139         * resolv/gethnamaddr.c (getanswer): Skip logging if
12140         RES_USE_DNSSEC is set.
12141         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12143 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12145         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
12147 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
12149         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12150         201304L, for Unicode 7.
12152 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
12154         [BZ #17836]
12155         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
12156         shared library.  Add gmon-start.os otherwise.
12157         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
12158         $(objpfx)gmon-start.os if builing shared library.
12159         ($(objpfx)g$(static-start-installed-name)): Likewise.
12161 2015-02-23  Andreas Schwab  <schwab@suse.de>
12163         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
12165 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12167         [BZ #17269]
12168         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
12169         (enlarge_userbuf): Likewise.
12171 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
12173         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
12174         * math/atest-exp.c (TIMEOUT): Adjust to 200.
12175         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
12176         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
12178 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
12180         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
12181         expression inside statement expression.
12183 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12185         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
12186         <sysdeps/nptl/lowlevellock.h> and remove macros and
12187         functions that are now defined there.
12188         (SYS_futex): Remove.
12189         (lll_compare_and_swap): Remove.
12190         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
12192 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
12194         [BZ #17999]
12195         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
12196         instead of scandirat.
12197         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
12198         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
12199         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
12200         __scandirat.
12201         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
12202         (__scandirat): Declare.  Use libc_hidden_proto.
12203         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
12204         Remove variable.
12205         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12207 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12209         [BZ #15319]
12210         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
12211         (MO): New macro.
12212         (__ieee754_atan2): For results with small absolute value, force
12213         underflow exception and remove excess range and precision from
12214         return value.
12215         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
12216         (MO): New macro.
12217         (__ieee754_atan2f): For results with small absolute value, force
12218         underflow exception and remove excess range and precision from
12219         return value.
12220         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
12221         (MO): New macro.
12222         (__atan): For results with small absolute value, force underflow
12223         exception and remove excess range and precision from return value.
12224         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
12225         (MO): New macro.
12226         (__atanf): For results with small absolute value, force underflow
12227         exception and remove excess range and precision from return value.
12228         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
12229         <math.h>.
12230         (__ieee754_atan2): Force underflow exception for results with
12231         small absolute value.
12232         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
12233         <math_private.h>.
12234         (atan): Force underflow exception for results with small absolute
12235         value.
12236         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
12237         (__atanf): Force underflow exception for results with small
12238         absolute value.
12239         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
12240         <math.h>.
12241         (__atanl): Force underflow exception for results with small
12242         absolute value.
12243         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
12244         (__atanl): Force underflow exception for results with small
12245         absolute value.
12246         * sysdeps/x86/fpu/bits/mathinline.h
12247         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
12248         (__ieee754_atan2): Only define inline for long double.
12249         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12250         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
12251         * math/auto-libm-test-in: Do not mark underflow exceptions as
12252         possibly missing for bug 15319.  Add more tests of atan2.
12253         * math/auto-libm-test-out: Regenerated.
12254         * math/libm-test.inc (casin_test_data): Do not mark underflow
12255         exceptions as possibly missing for bug 15319.
12256         (casinh_test_data): Likewise.
12257         * sysdeps/i386/fpu/libm-test-ulps: Update.
12259 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
12261         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
12262         * sysdeps/mips/bits/endian.h: Fix comments.
12264 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12266         [BZ #17996]
12267         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
12268         (hdestroy_r): Likewise.
12269         (hsearch_r): Likewise.
12270         (__hcreate_r): Declare and use libc_hidden_proto.
12271         (__hdestroy_r): Likewise.
12272         (__hsearch_r): Likewise.
12273         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
12274         (hcreate): Call __hcreate_r instead of hcreate_r.
12275         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
12276         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
12277         as weak alias of __hcreate_r.
12278         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
12279         __hdestroy_r.
12280         (hsearch_r): Rename to __hsearch_r and define as weak alias of
12281         __hsearch_r.
12282         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
12283         Remove variable.
12284         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12285         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12286         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12287         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12289 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12291         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
12292         arena_lock into a single arena_get.
12294 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
12296         * dl-reloc.c: Inlucde libc-internal.h.
12297         (_dl_try_allocate_static_tls): Call ALIGN_UP.
12298         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
12299         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
12300         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
12301         (grow_heap): Likewise.
12302         * malloc/malloc.c: Include libc-internal.h.
12303         (do_check_malloc): Call powerof2.
12304         (sysmalloc): Use pagesize. Call ALIGN_UP.
12305         (systrim): Use pagesize.
12306         (mremap_chunk): Use pagesize. Call ALIGN_UP.
12307         (__libc_valloc): Use pagesize.
12308         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
12310 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12312         [BZ #17991]
12313         * include/sys/resource.h (__getrlimit64): Declare.  Use
12314         libc_hidden_proto.
12315         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
12316         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
12317         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
12318         getrlimit64.
12319         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
12320         __getrlimit64.
12321         [!getrlimit64] (getrlimit64): Define as weak alias of
12322         __getrlimit64.  Use libc_hidden_weak.
12323         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
12324         using __getrlimit64 not __new_getrlimit64.
12325         (__GI_getrlimit64): Likewise.
12326         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
12327         Likewise.
12328         (__GI_getrlimit64): Likewise.
12329         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
12330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
12331         (getrlimit): Add __getrlimit64 alias.
12332         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
12333         Likewise.
12334         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
12335         Remove variable.
12336         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12337         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12339 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
12341         * libio/fileops.c: Add missing sys/mman.h
12342         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
12344 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12346         * manual/math.texi (Errors in Math Functions): Clarify goals
12347         regarding inexact and underflow exceptions.
12349 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12351         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
12352         * sysdeps/mips/memset.S: Ditto.
12354 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12356         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
12358 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12360         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
12361         (__v1longjmp): Remove versioned symbol.
12362         (__v1siglongjmp): Remove alias and versioned symbol.
12363         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
12364         (__v2siglongjmp): Likewise.
12366 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12368         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
12370 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
12372         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
12374 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12376         [BZ #17987]
12377         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
12378         zero result does not depend on the sign resulting from
12379         subtraction.
12380         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12381         Likewise.
12382         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12383         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12384         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12385         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12386         * math/libm-test.inc (remquo_test_data): Add more tests.
12388 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
12390         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
12391         Problem reported by J William Piggott.
12393 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12395         [BZ #17978]
12396         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
12397         products 4 * y and 2 * y where those would overflow.
12398         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12399         Likewise.
12400         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12401         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12402         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12403         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12404         * math/libm-test.inc (remquo_test_data): Add more tests.
12406         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
12408         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
12409         [defined _COMPILING_NEWLIB].
12410         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
12411         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
12413         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
12414         [!defined __mips_isa_rev || __mips_isa_rev < 6].
12416 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12418         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
12419         acquired.
12421 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
12423         [BZ #17792]
12424         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
12425         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
12426         HOST_STACK_END_ADDR): Likewise.
12428 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
12430         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
12431         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
12432         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
12434 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12436         * sysdeps/generic/c++-types.data: New file.
12437         * sysdeps/generic/ld.abilist: New file.
12438         * sysdeps/generic/libBrokenLocale.abilist: New file.
12439         * sysdeps/generic/libanl.abilist: New file.
12440         * sysdeps/generic/libc.abilist: New file.
12441         * sysdeps/generic/libcrypt.abilist: New file.
12442         * sysdeps/generic/libdl.abilist: New file.
12443         * sysdeps/generic/libm.abilist: New file.
12444         * sysdeps/generic/libpthread.abilist: New file.
12445         * sysdeps/generic/libresolv.abilist: New file.
12446         * sysdeps/generic/librt.abilist: New file.
12448 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12450         [BZ #17569]
12451         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12452         Compute absolute value of x as modified by fmod, not original
12453         value of x.
12454         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
12455         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
12456         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
12457         RUN_TEST_ffI_f1_mod8.
12458         (remquo_test_data): Add more tests.
12460 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12462         * sysdeps/init_array/pt-crti.S: New file.
12464 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12466         [BZ #17967]
12467         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
12468         __builtin_fmaf instead of relying on contraction of a * b + c.
12470 2015-02-12  J William Piggott  <elseifthen@gmx.com>
12472         [BZ #17969]
12473         * manual/time.texi: correct the zoneinfo path in the TZ Variable
12474         node.
12476 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12478         [BZ #17964]
12479         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
12480         __builtin_fma instead of relying on contraction of a * b + c.
12482 2015-02-12  Roland McGrath  <roland@hack.frob.com>
12484         * Makeconfig (ASFLAGS): Add -Werror=undef.
12485         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
12486         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
12487         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
12489         * Makeconfig (after-link): New variable.
12490         (+link-pie, +link-pie-tests): Use it.
12491         (+link-static, +link-static-tests): Likewise.
12492         (+link, +link-tests): Likewise.
12493         * Makerules (build-module, build-module-asneeded): Likewise.
12494         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
12495         Likewise.
12496         * elf/Makefile ($(objpfx)ld.so): Likewise.
12498 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
12500         [BZ #17965]
12501         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
12502         both struct timeval and struct timespec.
12504 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12506         [BZ #16560]
12507         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12508         and redefine.
12509         (__ieee754_exp2l): Do not multiply small fractional parts by
12510         M_LN2l.
12511         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
12512         small argument.
12513         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12514         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12515         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
12516         * math/auto-libm-test-in: Add more tests of exp2.
12517         * math/auto-libm-test-out: Regenerated.
12519 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12521         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
12522         unaligned path.
12524 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12526         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
12527         little endian.
12529 2015-02-12  Andreas Schwab  <schwab@suse.de>
12531         [BZ #15790]
12532         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12533         Filter out elision flags from value returned in kind.
12534         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
12535         * nptl/tst-pthread-mutexattr.c: New file.
12537 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12539         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
12540         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
12541         into gnu-gnu, and update comment to refer to abi-tags.
12543 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
12545         [BZ #15467]
12546         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
12547         (__sincos): Set errno to EDOM for infinite argument.
12548         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
12549         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
12550         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
12551         (__sincosl): Set errno to EDOM for infinite argument.
12552         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
12553         (__sincosl): Set errno to EDOM for infinite argument.
12554         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
12555         (__sincosl): Set errno to EDOM for infinite argument.
12556         * math/libm-test.inc (sincos_test_data): Test errno setting.
12558 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
12560         * string/strxfrm_l.c: Remove #define STRCMP.
12561         * string/strcoll_l.c: Remove #define STRLEN.
12562         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
12563         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
12565 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
12567         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
12568         * sysdeps/mips/mips32/sfp-machine.h: ... here.
12569         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
12570         * sysdeps/mips/mips64/Makefile: ... here.
12571         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
12572         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
12573         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
12574         * sysdeps/mips/mips64/sfp-machine.h: ... here.
12575         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
12576         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
12577         * sysdeps/mips/mips64/n64/Implies: Likewise.
12579 2015-02-10  Roland McGrath  <roland@hack.frob.com>
12581         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
12582         <sys/time.h>, <string.h>, and <errno.h>.
12583         (dest_offset, dest_address, value, zero): Remove unused variables.
12584         (ldouble): Remove typedef.
12585         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
12586         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
12587         1).  Fix code style.
12588         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
12589         (check): Function removed.
12590         (CHECK): New macro.
12591         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
12592         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
12593         Don't call set_sigaction_FP and remove_sigaction_FP here.
12594         (ldouble_test): Just use 'long double' as macro argument, no need for
12595         the 'ldouble' typedef.
12596         (do_test): Set up SIGFPE handler at start, using plain signal rather
12597         than sigaction.  Fix code style.
12599 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
12601         [BZ #17949]
12602         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
12603         jump label.
12605 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12607         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
12608         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12610         * sysdeps/powerpc/configure.ac: Remove file.
12611         * sysdeps/powerpc/configure: Likewise.
12613         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12614         [sysdep_routines]: Remove wordcopy-power6 object.
12615         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12616         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
12617         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
12618         (__memmove_ppc32): Likewise.
12619         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
12620         file.
12621         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
12622         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
12623         Remove preprocessor.
12625         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12626         [sysdep_routines]: Remove wide chars objects.
12627         [wcsmbs]: New rule for wide char objects.
12629         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12630         Remove wordcopy-power6 obejct.
12631         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
12632         Use local call for wordcopy and memcpy symbols.
12633         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
12634         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
12635         implementation for loader.
12636         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
12638         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12639         Remove wordcopy-power7 object.
12640         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
12641         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
12642         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
12643         (_wordcopy_fwd_dest_aligned): Likewise.
12644         (_wordcopy_bwd_aligned): Likewise.
12645         (_wordcopy_bwd_dest_aligned): Likewise.
12647         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
12648         Rewrite to call __memmove_ppc instead of include default
12649         implementation.
12651         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12652         Remove wide chars objects.
12653         [wcsmbs]: New rule for wide char objects.
12655 2015-02-09  Andreas Schwab  <schwab@suse.de>
12657         [BZ #17912]
12658         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12659         in terms of __O_DIRECTORY.
12661 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12663         * time/getdate.c: Include <stdbool.h>.
12664         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
12665         call PTR_MANGLE.
12666         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
12667         PTR_DEMANGLE.
12669 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
12671         Add ersatz _Static_assert on older C hosts
12672         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
12673         pre-C11 C platform that is not known to support _Static_assert.
12675 2015-02-07  Richard Braun  <rbraun@sceen.net>
12677         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
12678         sigstate.
12679         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
12681 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12683         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
12684         priority against unexistent AIO_PRIO_DELTA_MAX.
12685         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
12686         instead of int.
12687         * misc/fchflags.c (fchflags): Likewise.
12688         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
12689         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
12690         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
12691         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
12692         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
12693         Declare macros.
12694         [__USE_MISC] (chflags, fchflags): Declare functions.
12695         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
12696         EINVAL when nfds is greater than FD_SETSIZE.
12697         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
12698         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
12699         45.
12700         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
12701         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
12702         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
12703         MACH_RCV_TIMED_OUT.
12704         * hurd/hurd/signal.h (_hurd_self_sigstate,
12705         _hurd_critical_section_lock, _hurd_critical_section_unlock):
12706         Explicit casts from void *.
12707         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
12708         * abi-tags: Rename gnu-gnu os into gnu.
12710         [BZ #4719]
12711         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
12712         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
12713         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
12714         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
12715         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
12716         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
12718         [BZ #17944]
12719         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
12720         duplicates ADDR->sun_path with sockaddr LEN limitation.
12721         * sysdeps/mach/hurd/connect.c: Include <string.h>
12722         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
12723         * sysdeps/mach/hurd/sendmsg.c: Likewise.
12724         * sysdeps/mach/hurd/sendto.c: Likewise.
12725         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
12726         implementing it by hand.
12728 2015-02-06  Roland McGrath  <roland@hack.frob.com>
12730         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
12731         Use sfi_breg on ldr.
12732         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
12733         Likewise.
12735         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
12736         it's defined.
12737         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
12738         Test SIGSETXID only if it's defined.
12740         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
12742         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
12743         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
12745         * nptl/tst-align2.c: Moved ...
12746         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
12747         * nptl/Makefile (tests): Remove tst-align2.
12748         * sysdeps/unix/sysv/linux/Makefile
12749         [$(subdir) = nptl] (tests): Add tst-align-clone.
12750         * nptl/tst-getpid1.c: Moved ...
12751         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
12752         * nptl/tst-getpid2.c: Moved ...
12753         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
12754         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
12755         * sysdeps/unix/sysv/linux/Makefile
12756         [$(subdir) = nptl] (tests): ... here.
12757         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
12758         * sysdeps/unix/sysv/linux/Makefile
12759         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
12761         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
12762         Drop trailing \n from perror argument.  Use return rather than exit.
12764         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
12765         on [SA_SIGINFO].
12766         * nptl/tst-cancel21.c (do_test): Likewise.
12767         * debug/tst-backtrace6.c: Include <signal.h> first thing.
12768         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
12769         [!SA_SIGINFO]: Make it a stub test.
12771         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
12772         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
12774         * posix/tst-getlogin.c: Move to ...
12775         * login/tst-getlogin.c: ... here.
12776         * posix/Makefile (tests): Move tst-getlogin to ...
12777         * login/Makefile (tests): ... here.
12779         * libio/tst-atime.c (do_test): Move local variables SV and E
12780         inside [ST_NOATIME] conditional.
12782         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
12784         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
12786         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
12787         (wait_code): New function replaces macro.
12788         Call nanosleep rather than syscall.
12790         * nptl/pt-system.c: Rewritten.  Put everything under
12791         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12792         Use IFUNC to redirect when possible.
12794         * nptl/pt-longjmp.c: Rewritten.  Put everything under
12795         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12796         Use IFUNC to redirect when possible.
12798         * nptl/pt-fork.c: Rewritten.  Put everything under
12799         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12800         Use IFUNC to redirect when possible.
12801         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
12803         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
12804         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
12805         unconditionally nowadays.  This included the only reference to
12806         __vdso_clock_gettime that appears outside libc proper.
12807         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
12808         Remove version set (containing only __vdso_clock_gettime).
12809         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12810         Add attribute_hidden.
12811         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12812         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
12813         libc_hidden_data_def.
12814         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12815         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12817         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
12818         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
12819         setrpcent, and getrpcport to ...
12820         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
12821         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
12822         getrpcbynumber_r, and getrpcent_r to ...
12823         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
12824         * inet/getrpcbyname.c: Moved ...
12825         * sunrpc/getrpcbyname.c: ... here.
12826         * inet/getrpcbyname_r.c: Moved ...
12827         * sunrpc/getrpcbyname_r.c: ... here.
12828         * inet/getrpcbynumber.c: Moved ...
12829         * sunrpc/getrpcbynumber.c: ... here.
12830         * inet/getrpcbynumber_r.c: Moved ...
12831         * sunrpc/getrpcbynumber_r.c: ... here.
12832         * inet/getrpcent.c: Moved ...
12833         * sunrpc/getrpcent.c: ... here.
12834         * inet/getrpcent_r.c: Moved ...
12835         * sunrpc/getrpcent_r.c: ... here.
12836         * inet/Makefile (routines): Move those to ...
12837         * sunrpc/Makefile (routines): ... here.
12838         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
12839         the $(subdirs) list.
12840         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
12841         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
12842         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
12843         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
12845         * elf/Makefile (routines): Include $(all-dl-routines), not just
12846         $(dl-routines).
12847         (rtld-routines): Likewise.  Use = rather than :=.
12848         * sysdeps/aarch64/Makefile [$(subdir) = elf]
12849         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
12850         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
12851         * sysdeps/arm/Makefile: Likewise.
12852         * sysdeps/i386/Makefile: Likewise.
12853         * sysdeps/x86_64/Makefile: Likewise.
12854         * sysdeps/hppa/Makefile [$(subdir) = elf]
12855         (sysdep_routines, sysdep-rtld-routines): Don't add
12856         $(sysdep-dl-routines) to these.
12857         * sysdeps/ia64/Makefile: Likewise.
12858         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
12859         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
12860         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
12861         Don't add dl-static to these; sysdep-dl-routines alone is enough.
12862         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
12863         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
12864         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
12865         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
12866         * sysdeps/powerpc/Makefile [$(subdir) = elf]
12867         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
12868         these; sysdep-dl-routines alone is enough.
12870 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
12872         [BZ #17932]
12873         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
12874         where multiplication results in zero and third argument is finite
12875         and nonzero.
12876         * math/auto-libm-test-in: Add more tests of fma.
12877         * math/auto-libm-test-out: Regenerated.
12879         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
12880         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
12881         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
12882         (_FP_CMP_EQ): Likewise.
12883         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
12885         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
12886         extra argument CHECK_NAN.  Redefine as wrapper around
12887         _FP_EXTEND_CNAN.
12889 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
12891         * version.h (RELEASE): Set to "stable".
12892         (VERSION): Set to "2.21"
12893         * include/features.h (__GLIBC_MINOR__): Set to 21.
12895         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
12897 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12898             Paul Eggert  <eggert@cs.ucla.edu>
12900         [BZ #16618]
12901         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
12902         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
12903         size in bytes. Store needed elements in wpmax. Use needed size
12904         in bytes for extend_alloca.
12906 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
12908         * manual/install.texi: Latest tested versions are GCC 4.9.2,
12909         binutls 2.25, and texinfo 5.2.
12910         * INSTALL: Regenerate.
12911         * sysdeps/nios2/configure: Regenerate.
12912         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
12913         * manual/contrib.texi: Update.
12914         * po/be.po: Update.
12915         * po/bg.po: Update.
12916         * po/ca.po: Update.
12917         * po/cs.po: Update.
12918         * po/da.po: Update.
12919         * po/de.po: Update.
12920         * po/el.po: Update.
12921         * po/eo.po: Update.
12922         * po/es.po: Update.
12923         * po/fi.po: Update.
12924         * po/fr.po: Update.
12925         * po/gl.po: Update.
12926         * po/hr.po: Update.
12927         * po/hu.po: Update.
12928         * po/ia.po: Update.
12929         * po/id.po: Update.
12930         * po/it.po: Update.
12931         * po/ja.po: Update.
12932         * po/ko.po: Update.
12933         * po/lt.po: Update.
12934         * po/nb.po: Update.
12935         * po/nl.po: Update.
12936         * po/pl.po: Update.
12937         * po/pt_BR.po: Update.
12938         * po/ru.po: Update.
12939         * po/rw.po: Update.
12940         * po/sk.po: Update.
12941         * po/sl.po: Update.
12942         * po/sv.po: Update.
12943         * po/tr.po: Update.
12944         * po/uk.po: Update.
12945         * po/vi.po: Update.
12946         * po/zh_CN.po: Update.
12947         * po/zh_TW.po: Update.
12949         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
12950         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
12951         * sysdeps/hppa/dl-irel.h: Remove #warning.
12952         * sysdeps/hppa/entry.h: Provide prototype for
12953         __canonicalize_funcptr_for_compare and cast argument.
12954         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
12955         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
12956         * sysdeps/hppa/sotruss-lib.c: New file.
12957         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
12958         (atomic_compare_and_exchange_val_acq): Use __typeof__.
12959         (atomic_compare_and_exchange_bool_acq): Likewise.
12960         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
12961         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
12963         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
12964         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
12965         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
12967 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
12969         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
12970         called function in non-PIC case.
12972 2015-01-31  David S. Miller  <davem@davemloft.net>
12974         * sysdeps/sparc/sparc32/bits/atomic.h
12975         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
12976         unlock not after it.
12977         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
12978         volatile register usage warnings from the compiler.
12980         * sysdeps/sparc/nptl/sem_init.c: Delete.
12981         * sysdeps/sparc/nptl/sem_post.c: Delete.
12982         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
12983         * sysdeps/sparc/nptl/sem_wait.c: Delete.
12984         * sysdeps/sparc/sparc32/sem_init.c: New file.
12985         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
12986         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
12987         padding explicitly initialized.
12988         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
12989         padding for in-semaphore spinlock.
12990         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
12991         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
12992         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
12993         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
12994         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
12995         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
12996         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
12997         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
12998         version.
12999         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
13000         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
13002 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
13004         [BZ #17801]
13005         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13006         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
13007         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
13008         New.
13009         (index_AVX_Fast_Unaligned_Load): Likewise.
13010         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
13011         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
13012         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
13013         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
13014         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
13015         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
13016         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
13017         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
13018         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
13020 2015-01-29  Andreas Schwab  <schwab@suse.de>
13022         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
13024 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
13026         [BZ #17892]
13027         * nscd/nscd_stat.c (send_stats): Initialize DATA.
13029 2015-01-28  Martin Sebor  <msebor@redhat.com>
13031         * math/README.libm-test: Clarify. Add "How to read the test output."
13033 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
13035         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
13036         Define to 0.
13038 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
13040         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
13041         (__HAVE_64B_ATOMICS): Define to 0.
13043 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13045         [BZ #17885]
13046         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
13047         value to set as new flag.
13049         [BZ #16576]
13050         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
13051         and use _ARCH_PPCSQ instead.
13052         (__ieee754_sqrt): Likewise.
13053         (__ieee754_sqrtf): Likewise.
13054         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
13055         _ARCH_PPCSQ is defined.
13056         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
13057         fsqrt instruction.
13058         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
13059         _ARCH_PPCSQ is defined.
13060         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
13061         fsqrts instruction.
13062         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
13064 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13066         * iconv/loop.c: Suppress array out of bound warning caused by GCC
13067         bug (GCC BZ #64739).
13069 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
13071         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
13072         Mark _retval as used.
13073         (lll_futex_wake_unlock): Likewise.
13074         (lll_futex_timed_wait_requeue_pi): Likewise.
13076         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13077         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
13078         register variables.
13080         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
13081         libm_hidden_def.
13083         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
13084         (__bswap_64): Mark as __always_inline.
13086 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
13088         [BZ #15378]
13089         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
13090         when none of the search directories exist.
13092 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13094         [BZ #17869]
13095         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
13096         power8 in .machine directive.
13098         [BZ #17868]
13099         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
13100         set dependency from opd value.
13102 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13104         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13105         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
13106         architecture.
13108 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13110         [BZ #17870]
13111         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
13112         with uint64_t.
13113         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
13114         (uint64_t) 1.
13115         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
13116         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
13117         Replace 1UL with (uint64_t) 1.
13118         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
13119         int with uint64_t.
13121 2015-01-23  Roland McGrath  <roland@hack.frob.com>
13123         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
13124         (if_freenameindex): Likewise.
13126         * resource/getrlimit64.c: Add missing libc_hidden_def.
13128 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
13130         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
13131         __label__.
13132         (_FP_FMA): Likewise.
13133         (_FP_TO_INT_ROUND): Likewise.
13134         (_FP_FROM_INT): Likewise.
13136 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13138         [BZ #16418]
13139         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
13140         Make code racy and cancel safe.
13142 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
13144         * sysdeps/arm/unwind-resume.h: Fix copyright year.
13145         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
13146         attribution.
13148         * pwd/tst-getpw.c: Rewrite.
13150         [BZ #17702]
13151         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
13152         (modules-names): Add moddummy1 and moddummy2.
13153         ($(objpfx)tst-rec-dlopen): Define.
13154         * dlfcn/moddummy1.c: New file.
13155         * dlfcn/moddummy2.c: New file.
13156         * dlfcn/tst-rec-dlopen.c: New file.
13157         * elf/dl-cache.c (_dl_load_cache_lookup):
13158         Return char*. Copy result with alloca/strcpy/strdup.
13159         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
13160         returns char*. Free cached. If not saving realname
13161         free cached.
13162         * elf/dl-open.c (dl_open_worker): Do not assert that
13163         _r_debug->r_state is RT_CONSISTENT.
13164         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
13165         returns char*.
13167 2015-01-21  Torvald Riegel  <triegel@redhat.com>
13168             Carlos O'Donell  <carlos@redhat.com>
13170         [BZ #12674]
13171         * nptl/sem_waitcommon.c: New file.
13172         * nptl/sem_wait.c: Include sem_waitcommon.c.
13173         (__sem_wait_cleanup, do_futex_wait): Remove.
13174         (__new_sem_wait): Adapt.
13175         (__new_sem_trywait): New function.
13176         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
13177         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
13178         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
13179         (sem_timedwait): Adapt.
13180         * nptl/sem_post.c (__new_sem_post): Adapt.
13181         (futex_wake): New function.
13182         (__old_sem_post): Add release MO fence.
13183         * nptl/sem_open.c (sem_open): Adapt.
13184         * nptl/sem_init.c (__new_sem_init): Adapt.
13185         (futex_private_if_supported): New function.
13186         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
13187         (__old_sem_getvalue): Add using previous code.
13188         * sysdeps/nptl/internaltypes.h: Adapt.
13189         * nptl/tst-sem13.c (do_test): Adapt.
13190         * nptl/tst-sem11.c (main): Adapt.
13191         * nptl/sem_trywait.c: Remove.
13192         * nptl/DESIGN-sem.txt: Remove.
13193         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
13194         (gen-as-const-headers): Remove structsem.sym.
13195         * nptl/structsem.sym: Remove.
13196         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
13197         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
13198         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
13199         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
13200         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
13201         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
13202         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
13203         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
13204         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
13205         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
13206         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
13207         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
13208         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
13209         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
13210         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
13211         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
13212         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
13213         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
13214         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
13215         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
13216         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
13217         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
13219 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
13221         * INSTALL: Regenerated.
13223         * po/libc.pot: Regenerated.
13225 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
13226             Sandra Loosemore  <sandra@codesourcery.com>
13227             Andrew Jenner  <andrew@codesourcery.com>
13228             Joseph Myers  <joseph@codesourcery.com>
13229             Nathan Sidwell  <nathan@codesourcery.com>
13231         * NEWS: Mention new Nios II port.
13232         * sysdeps/nios2/Implies: New file.
13233         * sysdeps/nios2/Makefile: New file.
13234         * sysdeps/nios2/Subdirs: New file.
13235         * sysdeps/nios2/Versions: New file.
13236         * sysdeps/nios2/__longjmp.S: New file.
13237         * sysdeps/nios2/abort-instr.h: New file.
13238         * sysdeps/nios2/backtrace.c: New file.
13239         * sysdeps/nios2/bits/endian.h: New file.
13240         * sysdeps/nios2/bits/fenv.h: New file.
13241         * sysdeps/nios2/bits/link.h: New file.
13242         * sysdeps/nios2/bits/setjmp.h: New file.
13243         * sysdeps/nios2/bsd-_setjmp.S: New file.
13244         * sysdeps/nios2/bsd-setjmp.S: New file.
13245         * sysdeps/nios2/configure: New generated file.
13246         * sysdeps/nios2/configure.ac: New file.
13247         * sysdeps/nios2/crti.S: New file.
13248         * sysdeps/nios2/crtn.S: New file.
13249         * sysdeps/nios2/dl-init.c: New file.
13250         * sysdeps/nios2/dl-machine.h: New file.
13251         * sysdeps/nios2/dl-sysdep.h: New file.
13252         * sysdeps/nios2/dl-tls.h: New file.
13253         * sysdeps/nios2/dl-trampoline.S: New file.
13254         * sysdeps/nios2/gccframe.h: New file.
13255         * sysdeps/nios2/gmp-mparam.h: New file.
13256         * sysdeps/nios2/jmpbuf-offsets.h: New file.
13257         * sysdeps/nios2/jmpbuf-unwind.h: New file.
13258         * sysdeps/nios2/ldsodefs.h: New file.
13259         * sysdeps/nios2/libc-tls.c: New file.
13260         * sysdeps/nios2/libm-test-ulps: New file.
13261         * sysdeps/nios2/machine-gmon.h: New file.
13262         * sysdeps/nios2/math-tests.h: New file.
13263         * sysdeps/nios2/math_private.h: New file.
13264         * sysdeps/nios2/memusage.h: New file.
13265         * sysdeps/nios2/nptl/Makefile: New file.
13266         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
13267         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
13268         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
13269         * sysdeps/nios2/nptl/pthreaddef.h: New file.
13270         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
13271         * sysdeps/nios2/nptl/tls.h: New file.
13272         * sysdeps/nios2/preconfigure: New file.
13273         * sysdeps/nios2/s_fma.c: New file.
13274         * sysdeps/nios2/s_fmaf.c: New file.
13275         * sysdeps/nios2/setjmp.S: New file.
13276         * sysdeps/nios2/sfp-machine.h: New file.
13277         * sysdeps/nios2/sotruss-lib.c: New file.
13278         * sysdeps/nios2/stackguard-macros.h: New file.
13279         * sysdeps/nios2/stackinfo.h: New file.
13280         * sysdeps/nios2/start.S: New file.
13281         * sysdeps/nios2/sysdep.h: New file.
13282         * sysdeps/nios2/tls-macros.h: New file.
13283         * sysdeps/nios2/tst-audit.h: New file.
13284         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
13285         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
13286         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
13287         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
13288         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
13289         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
13290         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
13291         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
13292         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
13293         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
13294         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
13295         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
13296         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
13297         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
13298         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
13299         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
13300         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
13301         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
13302         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
13303         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
13304         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
13305         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
13306         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
13307         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
13308         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
13309         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
13310         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
13311         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
13312         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
13313         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
13314         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
13315         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
13316         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
13317         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
13318         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
13319         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
13320         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
13321         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
13322         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
13323         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
13324         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
13325         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
13326         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
13327         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
13329 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13331         [BZ #17844]
13332         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
13333         (getutent): Use weak_alias in non SHARED case
13334         and default_symbol_version in SHARED case.
13335         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
13336         (getutent_r, pututline): Likewise.
13337         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
13338         (getutid): Likewise.
13339         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
13340         (getutid_r): Likewise.
13341         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
13342         (getutline): Likewise.
13343         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
13344         (getutline_r): Likewise.
13345         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
13346         (updwtmp): Likewise.
13348 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13350         [BZ #17848]
13351         * sysdeps/s390/s390-32/memcmp.S
13352         (memcmp_g5): Rename to __memcmp_g5.
13353         * sysdeps/s390/s390-32/memcpy.S
13354         (memcpy_g5): Rename to __memcpy_g5.
13355         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13356         (memcpy_mvcle) Rename to __memcpy_mvcle.
13357         * sysdeps/s390/s390-32/memset.S
13358         (memset_g5): Rename to __memset_g5.
13359         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13360         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13361         and use prefixed functions.
13362         * sysdeps/s390/s390-32/multiarch/memcmp.S
13363         (memcmp_z196): Rename to __memcmp_z196.
13364         (memcmp_z10): Rename to __memcmp_z10.
13365         (memcmp): Set alias to __memcmp_g5.
13366         (bcmp): Set alias to __memcmp_g5.
13367         * sysdeps/s390/s390-32/multiarch/memcpy.S
13368         (memcpy_z196): Rename to __memcpy_z196.
13369         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13370         (memcpy_z10): Rename to __memcpy_z10.
13371         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13372         (memcpy): Set alias to __memcpy_g5.
13373         * sysdeps/s390/s390-32/multiarch/memset.S
13374         (memset_z196): Rename to __memset_z196.
13375         Jump to __memset_mvcle instead of memset_mvcle.
13376         (memset_z10): Rename to __memset_z10.
13377         Jump to __memset_mvcle instead of memset_mvcle.
13378         (memset_mvcle) Rename to __memset_mvcle.
13379         (memset): Set alias to __memset_g5.
13380         * sysdeps/s390/s390-64/memcmp.S
13381         (memcmp_z900): Rename to __memcmp_z900.
13382         * sysdeps/s390/s390-64/memcpy.S
13383         (memcpy_z900): Rename to __memcpy_z900.
13384         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13385         (memcpy_mvcle) Rename to __memcpy_mvcle.
13386         * sysdeps/s390/s390-64/memset.S
13387         (memset_z900): Rename to __memset_z900.
13388         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
13389         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13390         and use prefixed functions.
13391         * sysdeps/s390/s390-64/multiarch/memcmp.S
13392         (memcmp_z196): Rename to __memcmp_z196.
13393         (memcmp_z10): Rename to __memcmp_z10.
13394         (memcmp): Set alias to __memcmp_z900.
13395         (bcmp): Set alias to __memcmp_z900.
13396         * sysdeps/s390/s390-64/multiarch/memcpy.S
13397         (memcpy_z196): Rename to __memcpy_z196.
13398         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13399         (memcpy_z10): Rename to __memcpy_z10.
13400         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13401         (memcpy): Set alias to __memcpy_z900.
13402         * sysdeps/s390/s390-64/multiarch/memset.S
13403         (memset_z196): Rename to __memset_z196.
13404         Jump to __memset_mvcle instead of memset_mvcle.
13405         (memset_z10): Rename to __memset_z10.
13406         Jump to __memset_mvcle instead of memset_mvcle.
13407         (memset_mvcle) Rename to __memset_mvcle.
13408         (memset): Set alias to __memset_z900.
13410 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
13412         [BZ #17748]
13413         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
13414         __fesetenv instead of fesetenv.
13416 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13418         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
13419         macro.
13421 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13423         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
13424         regression on LE.
13426         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
13427         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
13428         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13429         strncmp-power8 object.
13430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13431         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
13432         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
13433         * NEWS: Update.
13435 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13436             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13438         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
13439         trailing byte check.
13441 2015-01-13  David S. Miller  <davem@davemloft.net>
13443         * include/signal.h (__sigreturn): Guard with __USE_MISC.
13445 2015-01-13  Roland McGrath  <roland@hack.frob.com>
13447         * login/logout.c (logout): Use memset rather than bzero.
13448         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
13449         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
13450         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
13451         (_gethtbyaddr): Likewise.
13452         * locale/programs/simple-hash.c (bcopy): Macro removed.
13454 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13456         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13457         Add strcmp-power8 object.
13458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13459         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
13460         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
13461         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
13462         __strcmp_power8 implementation.
13463         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
13464         * NEWS: Update.
13466         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13467         Add strncpy-power8 and stpncpy-power8 objects.
13468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13469         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
13470         implementations.
13471         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
13472         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
13473         __stpncpy_power8 implementation.
13474         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
13475         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
13476         __strncpy_power8 implementation.
13477         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
13478         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
13479         * NEWS: Update.
13481         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
13482         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
13483         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
13485         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13486         strncat-power8 object.
13487         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
13488         __strcat_power8 implementation.
13489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13490         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
13491         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
13492         optimized strcat for power8.
13494         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13495         strcpy-power8 and stpcpy-power8 objects.
13496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13497         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
13498         implementations.
13499         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
13500         multiarch stpcpy implementation for POWER8.
13501         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
13502         multiarch strcpy implementation for POWER8.
13503         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
13504         __strcpy_power8 function.
13505         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
13506         stpcpy for POWER8.
13507         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
13508         strcpy for POWER8.
13509         * NEWS: Update.
13511 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
13513         [BZ #16009]
13514         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
13515         weights and rules. Use do_xfrm_cached if data fits in cache,
13516         do_xfrm otherwise.  Moved former main loop to...
13517         * (do_xfrm_cached): New function.
13518         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
13519         find_idx, find_position and stack_push.
13520         * (find_idx): New function.
13521         * (find_position): Likewise.
13522         * localedata/sort-test.sh: Added test run for do_xfrm.
13523         * localedata/xfrm-test.c (main): Added command line option
13524         -nocache to run the test with strings that are too large for
13525         the STRXFRM cache.
13527 2015-01-13  Torvald Riegel  <triegel@redhat.com>
13529         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
13530         variable to lll_futex_wake call, not the value itself.
13532 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
13534         [BZ #17803]
13535         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
13536         twom64.  Adjust value to 0x1p-64L.
13537         (__scalblnl): Only return standard underflowing result for K <=
13538         -64 not K <= -63; adjust exponent for underflowing result by 64
13539         not 63.
13540         * math/libm-test.inc (scalbn_test_data): Add more tests.
13541         (scalbln_test_data): Likewise.
13543         [BZ #17834]
13544         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
13545         0x1p63L.
13546         (__scalblnl): Get new exponent of adjusted subnormal value from ES
13547         not HX.
13548         * math/libm-test.inc (scalbn_test_data): Add more tests.
13549         (scalbln_test_data): Likewise.
13551 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13552             Stefani Seibold  <stefani@seibold.net>
13554         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
13555         (sysdep_routines): Add dl-vdso here, ...
13556         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
13557         (sysdep_routines): ... not here.
13558         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
13559         fallback when vDSO is not presented.
13560         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13561         Define with libc_hidden_proto/libc_hidden_data_def definitions.
13562         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
13563         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
13564         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
13565         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
13566         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
13567         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
13568         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
13569         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
13570         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
13571         fallback configurable symbol when vDSO is not available.
13572         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
13573         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
13574         be able to redefine fallback symbol when vDSO is not available.
13575         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
13576         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
13578 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13580         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
13581         (TLS_INIT_TP): Add tm_capable initialization.
13582         (TLS_DEFINE_INIT_TP): Likewise.
13583         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
13584         TCB.
13585         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
13586         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
13587         calculation.
13588         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
13589         transactoion is lock elision is built and TCB tm_capable is set.
13590         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
13591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13592         (INTERNAL_SYSCALL_NCS): Likewise.
13593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13594         (INTERNAL_SYSCALL_NCS): Likewise.
13595         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
13597         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
13598         for powerpc.
13599         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13600         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
13601         and remove it for 32 bits case.
13602         [pthread_rwlock_t] (__rwelision): New field for lock elision.
13603         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
13604         initialization.
13605         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
13606         Disable lock elision with rdlocks if elision is not available.
13608         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
13609         (sysdep_routines): Add lock elision objects.
13610         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13611         [pthread_mutex_t] (__spins): Rework to add lock elision field.
13612         [pthread_mutex_t] (__elision): Add field.
13613         [__PTHREAD_SPINS]: Adjust to init lock elision field.
13614         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
13615         elision definitions for powerpc.
13616         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
13617         implementation of lock elision for powerpc.
13618         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
13619         implementation of timed lock elision for powerpc.
13620         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
13621         implementation of trylock with lock elision for powerpc.
13622         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
13623         implementaion of unlock for lock elision for powerpc.
13624         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
13625         automatic enable lock elision for mutexes.
13626         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
13627         transaction execution definitions for powerpc.
13628         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
13629         definitions.
13630         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
13631         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
13632         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
13633         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
13634         * NEWS: Update.
13636 2015-01-09  Roland McGrath  <roland@hack.frob.com>
13638         * sysdeps/posix/shm-directory.c: Use <> rather than ""
13639         for #include of <shm-directory.h>.
13641 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
13643         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
13644         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
13646 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
13648         [BZ #17791]
13649         * NEWS: Mention bug fix.
13650         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
13651         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
13652         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
13654 2015-01-09  Torvald Riegel <triegel@redhat.com>
13656         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
13658 2015-01-09  Torvald Riegel <triegel@redhat.com>
13660         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
13662 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13664         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
13665         pointer and cast to uintptr_t.
13667 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13669         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
13670         removed.
13671         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
13673 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13675         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
13676         of 0.
13678 2015-01-08  Roland McGrath  <roland@hack.frob.com>
13680         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
13681         <nptl/pthreadP.h> instead.
13682         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
13684         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
13685         already defined.
13686         [__SIGRTMIN] (init): Function removed.
13687         [__SIGRTMIN] (initialized): Variable removed.
13688         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
13689         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
13690         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
13691         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
13692         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
13693         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
13694         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
13695         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
13696         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
13697         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
13698         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
13699         * sysdeps/nptl/allocrtsig.c: New file.
13700         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
13701         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
13702         * sysdeps/generic/testrtsig.h: File removed.
13704         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
13705         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
13707         * nptl/nptl-init.c (pthread_functions): Conditionalize
13708         .ptr__nptl_setxid initialization on [SIGSETXID].
13710         * sysdeps/nptl/sys/procfs.h: New file.
13711         * nptl_db/Makefile (headers): Add it.
13712         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
13714         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
13715         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
13716         * nptl/pthread_attr_setaffinity.c: Include it.
13717         * nptl/pthread_setattr_default_np.c: Likewise.
13718         * nptl/check-cpuset.h: New file.
13720 2015-01-08  Richard Henderson  <rth@redhat.com>
13722         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
13723         (CFLAGS-tst-execstack-prog.c): Likewise.
13724         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
13726 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
13727             Sandra Loosemore  <sandra@codesourcery.com>
13728             Andrew Jenner  <andrew@codesourcery.com>
13729             Joseph Myers  <joseph@codesourcery.com>
13730             Nathan Sidwell  <nathan@codesourcery.com>
13732         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
13733         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
13734         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
13735         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
13736         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
13737         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
13738         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
13739         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
13740         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
13741         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
13742         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
13743         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
13744         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
13745         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
13746         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
13747         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
13748         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
13750 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13752         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
13753         timespec struct member in syscall macro.
13754         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13755         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
13756         first timeval struct member in syscall macro.
13757         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
13759 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
13761         [BZ #17748]
13762         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
13763         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
13764         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
13765         __feupdateenv and define as weak alias of __feupdateenv.  Use
13766         libm_hidden_weak.
13767         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
13768         libm_hidden_def.
13769         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
13770         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
13771         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13772         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
13773         libm_hidden_def.
13774         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
13775         __feupdateenv and define as weak alias of __feupdateenv.  Use
13776         libm_hidden_weak.
13777         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
13778         libm_hidden_def.
13779         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
13780         __feupdateenv and define as weak alias of __feupdateenv.  Use
13781         libm_hidden_weak.
13782         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
13783         libm_hidden_def.
13784         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13785         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13786         (__feupdateenv): Likewise.
13787         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
13788         __feupdateenv and define as weak alias of __feupdateenv.  Use
13789         libm_hidden_weak.
13790         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13791         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
13792         libm_hidden_def.
13793         * sysdeps/tile/math_private.h (__feupdateenv): New inline
13794         function.
13795         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
13796         libm_hidden_def.
13797         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
13798         __feupdateenv instead of feupdateenv.
13799         (default_libc_feupdateenv_test): Likewise.
13800         (libc_feresetround_ctx): Likewise.
13802 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13804         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
13805         prototype.
13807 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
13809         * posix/regcomp.c (parse_bracket_exp): Initialize type to
13810         COLL_SYM in a couple of places to avoid uninitialized variable
13811         wanings on tilegx gcc 4.8.2.
13813 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13815         * sysdeps/aarch64/strcpy.S: New file.
13816         * sysdeps/aarch64/stpcpy.S: New file.
13817         * NEWS: Updated.
13819 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13821         * sysdeps/aarch64/strrchr.S: New file.
13822         * NEWS: Updated.
13824 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
13826         [BZ #17658]
13827         * stdlib/setenv.c: Fix memory leak when setting large,
13828         duplicate string.
13830 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
13832         [BZ #17273]
13833         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
13834         and tabs from buffer before parsing fstab entry.
13835         * misc/tst-mntent.c (main): Add test for mount entry with
13836         trailing spaces and tabs.
13838 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
13840         [BZ #17748]
13841         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
13842         * math/fesetround.c (fesetround): Rename to __fesetround and
13843         define as weak alias of __fesetround.  Use libm_hidden_weak.
13844         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
13845         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
13846         * sysdeps/arm/fesetround.c (fesetround): Likewise.
13847         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
13848         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
13849         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
13850         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
13851         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
13852         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
13853         __fesetround_inline.
13854         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
13855         __fesetround_inline instead of __fesetround.
13856         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
13857         __fesetround and define as weak alias of __fesetround.  Use
13858         libm_hidden_weak.  Call __fesetround_inline instead of
13859         __fesetround.
13860         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
13861         __fesetround and define as weak alias of __fesetround.  Use
13862         libm_hidden_weak.
13863         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
13864         Likewise.
13865         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
13866         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13867         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
13868         * sysdeps/tile/math_private.h (__fesetround): New inline function.
13869         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
13870         __fesetround and define as weak alias of __fesetround.  Use
13871         libm_hidden_weak.
13872         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
13873         __fesetround instead of fesetround.
13874         (default_libc_feholdexcept_setround): Likewise.
13875         (libc_feholdsetround_ctx): Likewise.
13876         (libc_feholdsetround_noex_ctx): Likewise.
13878         [BZ #17748]
13879         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
13880         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
13881         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13882         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13883         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13884         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
13885         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13886         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13887         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13888         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13889         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13890         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13891         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13892         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13893         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
13894         libm_hidden_def.
13895         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
13896         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
13897         Likewise.
13898         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13899         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13900         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13901         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13902         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
13903         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13904         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13905         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
13906         __fesetenv instead of fesetenv.
13907         (libc_feresetround_noex_ctx): Likewise.
13908         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13909         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13910         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
13911         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13912         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13913         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13914         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13915         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13916         (__feupdateenv): Likewise.
13917         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13918         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13919         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13920         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
13922 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13924         [BZ #17806]
13925         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
13926         addresses have been freed.
13928 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13930         * resolv/res_init.c (__res_vinit): Improve comments about nserv
13931         and nservall.
13933 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
13935         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
13936         Clean up check_pf allocation pattern. addresses
13938 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13940         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
13941         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
13942         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
13943         * nptl/pthread_exit.c (__pthread_exit): Likewise.
13944         * nptl/pthread_join.c (pthread_join): Likewise.
13945         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
13946         * sysdeps/posix/waitid.c (__waitid): Likewise.
13947         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13948         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13949         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13950         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13951         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13952         Likewise.
13953         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13954         (__libc_pread64): Likewise.
13955         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13956         (__libc_pwrite): Likewise.
13957         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13958         (__libc_pwrite64): Likewsie.
13959         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13960         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13961         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13962         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13963         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13964         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13965         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13967         Likewise.
13968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13969         (__libc_pread64): Likewise.
13970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
13971         Likewise.
13972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13973         (__libc_pwrite64): Likewise.
13974         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13975         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13976         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
13977         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13978         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13979         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13980         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
13981         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13982         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13983         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13984         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
13985         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13986         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13987         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
13988         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13989         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13990         Likewise.
13992 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
13994         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
13995         (CFLAGS-test-double.c): Likewise.
13996         (CFLAGS-test-ldouble.c): Likewise.
13997         (CPPFLAGS-test-ifloat.c): Likewise.
13998         (CPPFLAGS-test-idouble.c): Likewise.
13999         (CPPFLAGS-test-ildoubl.c): Likewise.
14000         (CFLAGS-test-test-fenv.c): Remove variable.
14001         (CFLAGS-test-misc.c): Likewise.
14003 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
14005         [BZ #17797]
14006         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
14007         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
14008         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
14009         CLOCKS_PER_SEC == 1000000.
14010         * time/clocktest.c (main): Replace %ld with %jd and cast to
14011         intmax_t.
14013 2015-01-05  Roland McGrath  <roland@hack.frob.com>
14015         * sysdeps/generic/unwind-resume.h: New file.
14016         * sysdeps/gnu/unwind-resume.c: Include it.
14017         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
14018         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
14019         argument list.
14020         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
14021         global rather than static.
14022         (_Unwind_Resume): Update user.
14023         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
14024         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
14025         rather than static.  Add __attribute__ ((cold)).
14026         (_Unwind_Resume, __gcc_personality_v0): Update callers.
14027         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14028         * sysdeps/arm/arm-unwind-resume.S: New file.
14029         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
14030         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
14031         * sysdeps/arm/Makefile [$(subdir) = csu]
14032         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
14033         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14034         Add rt-arm-unwind-resume.
14035         [$(subdir) = nptl]
14036         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14037         Add pt-arm-unwind-resume.
14038         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
14039         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
14041 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14043         [BZ #17748]
14044         * include/fenv.h (__feholdexcept): Declare.  Use
14045         libm_hidden_proto.
14046         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
14047         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
14048         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14049         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
14050         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
14051         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
14052         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
14053         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14054         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
14055         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
14056         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14057         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
14058         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
14059         (feholdexcept): Likewise.
14060         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14061         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14062         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14063         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14064         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
14065         __feholdexcept instead of feholdexcept.
14066         (default_libc_feholdexcept_setround): Likewise.
14068 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14070         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
14071         to avoid using stl/str to align destination.
14073 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14075         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
14077 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14079         [BZ #17796]
14080         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
14081         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
14082         Define as weak alias not strong alias.
14084 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14086         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
14087         bltzal with addiupc.
14088         (RTLD_START): Ditto.
14090 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
14092         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
14093         for __vdso_* functions in declarations.
14094         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
14095         definitions.
14096         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
14097         INTERNAL_VSYSCALL): Use struct return types to check for error.
14099         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
14100         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
14101         function with cast from llround().
14102         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
14103         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14104         Define.
14106 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14108         [BZ #17793]
14109         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
14110         Define as weak alias not strong alias.
14112         [BZ #17635]
14113         * ctype/ctype-c99.c: New file.  isblank implementation moved from
14114         ...
14115         * ctype/ctype-extn.c: ... here.
14116         (__isblank_l): Move to ...
14117         * ctype/ctype-c99_l.c: ... here.  New file.
14118         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
14119         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
14120         Remove variable.
14121         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14122         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14123         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14124         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14125         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14127         [BZ #17777]
14128         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
14129         (posix_fadvise64): Define as weak alias not strong alias.
14130         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14131         (posix_fallocate64): Likewise.
14132         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
14133         Remove variable.
14134         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14135         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14136         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14137         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14138         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14140 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
14142         [BZ #16191]
14143         * NEWS: Mention bug fix.
14144         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
14145         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
14146         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
14147         (HOST_STACK_END_ADDR): Likewise.
14149 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14151         [BZ #17748]
14152         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
14153         * math/fegetround.c (fegetround): Rename to __fegetround and
14154         define as weak alias of __fegetround.  Use libm_hidden_weak.
14155         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
14156         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
14157         * sysdeps/arm/fegetround.c (fegetround): Likewise.
14158         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
14159         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14160         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
14161         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
14162         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
14163         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14164         Undefine after rather than before function definition; use
14165         parentheses around function name in definition.
14166         (__fegetround): Also undefine macro after function definition.
14167         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
14168         __fegetround and define as weak alias of __fegetround.  Use
14169         libm_hidden_weak.  Do not undefine as macro.
14170         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14171         Likewise.
14172         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
14173         __fegetround and define as weak alias of __fegetround.  Use
14174         libm_hidden_weak.
14175         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14176         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14177         * sysdeps/tile/math_private.h (__fegetround): New inline function.
14178         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
14179         __fegetround and define as weak alias of __fegetround.  Use
14180         libm_hidden_weak.
14181         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
14182         __fegetround instead of fegetround.
14184         [BZ #17782]
14185         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
14186         Condition macro definition on [__USE_MISC].
14188         [BZ #17781]
14189         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
14190         (struct sigaction): Change type of sa_flags field to int.
14192         [BZ #17780]
14193         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
14194         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
14195         __glibc_reserved0.
14197         * nptl/version.c (banner): Use single year in copyright notice.
14199         * NEWS: Update copyright dates.
14200         * catgets/gencat.c (print_version): Likewise.
14201         * csu/version.c (banner): Likewise.
14202         * debug/catchsegv.sh: Likewise.
14203         * debug/pcprofiledump.c (print_version): Likewise.
14204         * debug/xtrace.sh (do_version): Likewise.
14205         * elf/ldconfig.c (print_version): Likewise.
14206         * elf/ldd.bash.in: Likewise.
14207         * elf/pldd.c (print_version): Likewise.
14208         * elf/sotruss.sh: Likewise.
14209         * elf/sprof.c (print_version): Likewise.
14210         * iconv/iconv_prog.c (print_version): Likewise.
14211         * iconv/iconvconfig.c (print_version): Likewise.
14212         * locale/programs/locale.c (print_version): Likewise.
14213         * locale/programs/localedef.c (print_version): Likewise.
14214         * login/programs/pt_chown.c (print_version): Likewise.
14215         * malloc/memusage.sh (do_version): Likewise.
14216         * malloc/memusagestat.c (print_version): Likewise.
14217         * malloc/mtrace.pl: Likewise.
14218         * manual/libc.texinfo: Likewise.
14219         * nptl/version.c (banner): Likewise.
14220         * nscd/nscd.c (print_version): Likewise.
14221         * nss/getent.c (print_version): Likewise.
14222         * nss/makedb.c (print_version): Likewise.
14223         * posix/getconf.c (main): Likewise.
14224         * scripts/test-installation.pl: Likewise.
14225         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14227 2015-01-02  Will Newton  <will.newton@linaro.org>
14229         * sysdeps/arm/armv7/configure: Removed.
14230         * sysdeps/arm/armv7/configure.ac: Likewise.
14232 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14234         * All files with FSF copyright notices: Update copyright dates
14235         using scripts/update-copyrights.
14236         * intl/plural.c: Regenerated.
14237         * locale/programs/charmap-kw.h: Likewise.
14238         * locale/programs/locfile-kw.h: Likewise.
14240 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14242         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
14244 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14246         [BZ #17748]
14247         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
14248         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
14249         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14250         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14251         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14252         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
14253         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14254         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
14255         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14256         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14257         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14258         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14259         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14260         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14261         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
14262         libm_hidden_def.
14263         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
14264         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
14265         Likewise.
14266         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14267         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14268         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14269         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14270         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
14271         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14272         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14273         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
14274         __fegetenv instead of fegetenv.
14275         (libc_feholdsetround_noex_ctx): Likewise.
14277 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
14279         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
14280         (Elf_MIPS_ABIFlags_v0): New structure.
14281         (EF_MIPS_FP64): Define.
14282         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
14283         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
14284         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
14285         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
14286         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
14287         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
14288         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
14289         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
14290         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
14291         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
14292         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
14293         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
14294         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
14295         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
14296         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
14297         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
14298         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
14299         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
14300         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
14301         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
14302         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
14303         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
14304         field.
14305         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
14306         EF_MIPS_FP64.
14307         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
14308         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
14309         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
14310         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
14311         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
14312         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
14313         * sysdeps/mips/tst-abi-interlink.c: Likewise.
14314         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
14315         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
14316         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
14317         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
14318         record the current FP ABI extension.
14319         (mips-mode-switch): Define to show if kernel headers support mode
14320         switching.
14321         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14322         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
14323         supported SYSV ABI version to 3.
14324         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
14325         feature.
14327 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14328             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14330         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
14331         path.
14332         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
14334 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14336         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
14337         __fegetround and redefine to call __fegetround.  Remove condition
14338         on [!__NO_MATH_INLINES].
14339         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
14340         function.
14341         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
14342         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14343         Remove macro.
14344         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
14345         instead of <fenv_libc.h>.
14346         (__llrintl): Call fegetround instead of __fegetround.
14347         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
14348         instead of <fenv_libc.h>.
14349         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14350         (__lrintl): Call fegetround instead of __fegetround.
14351         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
14352         instead of <fenv_libc.h>.
14353         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14354         (__rintl): Call fegetround instead of __fegetround.
14356 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14358         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
14359         arrays.
14361 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14363         [BZ #17775]
14364         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
14365         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
14366         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
14368 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14370         * sysdeps/i386/tls-macros.h: Include <features.h>.
14371         (TLS_LE): Use non-PIC version for GCC >= 5.0.
14372         (TLS_IE): Likewise.
14373         (TLS_LD): Likewise.
14374         (TLS_GD): Likewise.
14375         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
14376         define for GCC >= 5.0.
14378 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
14380         * math/test-fenv.c (test_single_exception, set_single_exc,
14381         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
14382         feexcp_mask_test, feenable_test, fe_single_test): Add
14383         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
14384         case where they are not used.
14385         * math/libm-test.inc: Likewise.
14386         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
14387         unused in the absence of FP rounding/exception support.
14388         * stdio-common/tst-printf-round.c: Likewise.
14389         * stdlib/tst-strtod-round.c: Likewise.
14390         * stdlib/tst-strtod-underflow.c: Likewise.
14392 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
14394         [BZ #17723]
14395         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
14396         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
14397         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14398         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14399         libm_hidden_weak.
14400         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
14401         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14402         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
14403         libm_hidden_def.
14404         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14405         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14406         libm_hidden_weak.
14407         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
14408         Likewise.
14409         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
14410         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14411         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14412         libm_hidden_weak.
14413         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14414         libm_hidden_def.
14415         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14416         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
14417         (__feraiseexcept): Likewise.
14418         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14419         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14420         libm_hidden_weak.
14421         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14422         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14423         libm_hidden_def.
14424         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
14425         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
14426         Use libm_hidden_def.
14427         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
14428         libm_hidden_def.
14429         (feraiseexcept): Define as weak not strong alias.  Use
14430         libm_hidden_weak.
14431         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
14432         New inline function.  Factored out of ...
14433         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
14434         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
14435         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
14436         feraiseexcept.
14437         * math/w_acos.c (__acos): Likewise.
14438         * math/w_asin.c (__asin): Likewise.
14439         * math/w_ilogb.c (__ilogb): Likewise.
14440         * math/w_j0.c (y0): Likewise.
14441         * math/w_j1.c (y1): Likewise.
14442         * math/w_jn.c (yn): Likewise.
14443         * math/w_log.c (__log): Likewise.
14444         * math/w_log10.c (__log10): Likewise.
14445         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
14446         * sysdeps/aarch64/fpu/math_private.h
14447         (libc_feupdateenv_test_aarch64): Likewise.
14448         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
14449         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
14450         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
14451         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
14452         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
14453         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
14454         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
14455         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14456         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14457         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14459 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14461         [BZ #17732]
14462         * io/test-utime.c (main): Replace %ld with %jd and cast to
14463         intmax_t.
14464         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
14465         * nptl/tst-mutex5.c: Include <stdint.h>.
14466         (do_test): Replace %ld with %jd and cast to intmax_t.
14467         * posix/tst-regex.c (run_test): Likewise.
14468         (run_test_backwards): Likewise.
14469         * rt/tst-clock.c: Include <stdint.h>.
14470         (clock_test): Replace %ld with %jd and cast to intmax_t.
14471         * rt/tst-cpuclock1.c: Include <stdint.h>.
14472         (do_test): Replace %lu with %ju and cast to uintmax_t.
14473         * rt/tst-cpuclock2.c: Include <stdint.h>.
14474         (do_test): Replace %lu with %ju and cast to uintmax_t.
14475         * rt/tst-mqueue1.c: Include <stdint.h>.
14476         (check_attrs): Replace %ld with %jd and cast to intmax_t.
14477         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
14478         intmax_t.
14479         * rt/tst-mqueue4.c (do_test): Likewise.
14480         * rt/tst-timer4.c: Include <stdint.h>.
14481         (check_ts): Replace %ld with %jd and cast to intmax_t.
14482         (do_test): Likewise.
14483         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
14484         and cast to intmax_t.
14485         * sysdeps/pthread/tst-timer.c (main): Likewise.
14486         * time/clocktest.c (main): Likewise.
14487         * time/tst-posixtz.c (do_test): Likewise.
14488         * timezone/tst-timezone.c (main): Likewise.
14490 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14491             H.J. Lu  <hongjiu.lu@intel.com>
14493         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
14494         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
14495         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
14496         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
14497         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
14498         version if bit_Fast_Unaligned_Load is set.
14499         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14500         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14501         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14502         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14503         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14504         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14505         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14506         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
14507         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
14508         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
14509         to 4.
14510         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
14511         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
14512         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
14513         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
14515 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
14517         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
14518         instead of #if to avoid a Wundef warning.
14519         * stdlib/tst-limits.c (do_test): Likewise.
14521         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
14522         parallel other exception macros.
14523         (fegetenv): Convert from macro to extern inline so that it applies
14524         retroactively to inline functions already seen by the compiler.
14525         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
14527         * posix/Makefile (before-compile): Use $(objpfx) for
14528         posix-conf-vars-def.h.
14530 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14532         * posix/getconf.c (main): Use size_t for type of I.
14533         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
14534         NSPEC.
14536         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
14537         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
14538         * posix/posix-envs.def: Likewise.
14539         * sysdeps/posix/sysconf.c: Likewise.
14540         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
14541         (specs): Remove array.
14542         * scripts/gen-posix-conf-vars.awk: Support generation of specs
14543         array.
14545         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
14546         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
14547         (__sysconf): Use CONF_IS_* macros.
14549         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
14550         ($(objpfx)posix-conf-vars-def.h): New target.
14551         * posix/posix-conf-vars.list: New file.
14552         * posix/posix-conf-vars.h: New file.
14553         * posix/confstr.c: Include posix-conf-vars.h.
14554         (confstr): Use CONF_IS_* macros.
14555         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
14556         CONF_IS_* macros.
14557         * scripts/gen-posix-conf-vars.awk: New file.
14559 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
14561         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
14562         fegetround): Add no-op macros to avoid linknamespace issues.
14564         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
14565         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
14567         * sysdeps/unix/sysv/linux/tile/sysdep.h
14568         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
14569         assembly-specific section to avoid a redefinition warning.
14571         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
14572         long before casting to pointer to avoid a cast warning.
14574 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
14576         * sysdeps/tile/tilegx/Implies: New file.
14578 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
14580         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
14582 2014-12-23  Florian Weimer  <fweimer@redhat.com>
14584         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
14586 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14588         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
14589         not define.
14590         * sysdeps/unix/sysv/linux/utimes.c: Do not include
14591         <kernel-features.h>.
14592         (__utimes) [__NR_utimes]: Make code unconditional.
14593         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
14594         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14595         (__ASSUME_UTIMES): Do not undefine.
14596         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14597         (__ASSUME_UTIMES): Likewise.
14598         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14599         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
14600         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
14601         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
14603 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14605         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
14607 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
14609         [BZ #17747]
14610         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
14611         alias to weak alias for j0l, y0l.
14612         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
14613         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
14615         [BZ #17746]
14616         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
14617         conversion.
14619 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14621         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
14622         to zero if not already defined.
14624 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14626         [BZ #17724]
14627         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
14628         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
14629         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
14630         (char *) casts added.
14631         * sysdeps/ieee754/k_standardf.c: New file.
14632         * sysdeps/ieee754/k_standardl.c: Likewise.
14633         * math/Makefile (libm-support): Remove k_standard.
14634         (libm-calls): Add k_standard.
14636 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14638         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14639         Optimize to avoid an unnecessary FPCR read.
14641 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14643         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14644         Optimize to reduce FPCR/FPSR accesses.
14646 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14648         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
14649         Call libc_fetestexcept_aarch64.
14651 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14653         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
14654         Call libc_fesetround_aarch64.
14656 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14658         [BZ #17733]
14659         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
14660         (__bind): Do not define as weak alias.
14661         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
14662         define.
14663         (__getsockname): Do not define as weak alias.
14665 2014-12-22  Will Newton  <will.newton@linaro.org>
14667         * manual/install.texi: Document that we require bison 2.7
14668         or above.
14669         * INSTALL: Regenerate.
14670         * configure.ac: Use AC_CHECK_PROG_VER instead of
14671         AC_PATH_PROG when checking for bison and check for
14672         version 2.7 or above.
14673         * configure: Regenerate.
14675 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
14677         [BZ #17745]
14678         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
14679         * sysdeps/tile/ffsll.c (ffsll): To here.
14681         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
14683 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14685         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
14686         if not defined.
14687         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
14688         definition.
14689         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14690         hidden ___tls_get_addr.
14691         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14692         hidden __tls_get_addr.
14693         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
14694         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
14695         Likewise.
14697 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
14699         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
14700         _dl_init call.
14702 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14704         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
14705         from "call _dl_init@PLT".
14706         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
14708 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
14710         * manual/search.texi: (Array Sort Function): Clarify stable sorting
14711         guarantees.
14713 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
14715         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
14717 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14719         [BZ #17744]
14720         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
14721         strnlen.
14723 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14725         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
14726         of multu on MIPSr6.
14727         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
14728         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
14729         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
14730         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
14731         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
14733 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14735         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
14736         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
14737         (PTR_SUBU): Use subu for mips32r6/mips64r6.
14738         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
14739         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
14740         mips32r6/mips64r6.
14741         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
14743 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
14745         * string/strncat.c (STRNCAT): Simplify implementation.
14747 2014-12-19  David S. Miller  <davem@davemloft.net>
14749         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
14750         access the quad as both a long double and as a series of 4 words.
14752         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
14753         link_map->l_info array access.
14755 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14757         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
14759         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
14760         * math/atest-exp2.c (TIMEOUT): Likewise.
14761         * math/atest-sincos.c (TIMEOUT): Likewise.
14763 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14765         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
14766         -Wno-error with -fno-builtin-lround.
14768 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14770         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
14771         Contains futex constants and functions moved over from ...
14772         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
14773         <lowlevellock-futex.h>.
14774         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14775         (lll_timedwait_tid): Add comments and parentheses around macro
14776         arguments.
14778 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14780         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
14781         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
14782         (__lll_private_flag): Remove.
14783         (lll_futex_wait): Likewise.
14784         (lll_futex_timed_wait): Likewise.
14785         (lll_futex_wake): Likewise.
14786         (lll_futex_requeue): Likewise.
14787         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14788         (__lll_timedwait_tid): Spell out argument names.
14789         (lll_timedwait_tid): Add comments and parentheses around macro
14790         arguments.
14791         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
14792         LLL_SHARED and LLL_PRIVATE usable from assembly code.
14794 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14796         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
14797         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
14798         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14799         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
14800         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
14801         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
14802         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
14803         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
14804         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
14805         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
14806         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
14807         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
14808         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
14809         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
14810         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
14811         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
14812         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
14813         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
14814         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
14816 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14818         * sysdeps/x86_64/x32/Makefile: New file.
14820 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14822         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
14823         1L with (mp_limb_t) 1.
14825 2014-12-17  Roland McGrath  <roland@hack.frob.com>
14827         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
14828         * nptl/libc_pthread_init.c: ... here.
14829         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
14830         * nptl/register-atfork.c: ... here.
14832         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
14833         Use pthread_sigmask rather than INTERNAL_SYSCALL.
14834         Use assert_perror to check its return value.
14835         (__gai_create_helper_thread): Likewise.
14837         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
14839         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
14841 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
14843         [BZ #17725]
14844         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
14845         __profil_counter.
14846         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
14847         Likewise.
14848         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
14849         Likewise.
14850         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
14851         Likewise.
14852         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
14853         (profil_counter): Likewise.
14854         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
14855         (profil_counter): Likewise.
14856         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
14857         Likewise.
14858         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
14859         Likewise.
14860         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
14861         (profil_counter): Likewise.
14862         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
14863         Likewise.
14864         [!__profil_counter] (profil_counter): Define as weak alias of
14865         __profil_counter.
14866         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
14867         (profil_counter): Rename to __profil_counter.
14868         [!__profil_counter] (profil_counter): Define as weak alias of
14869         __profil_counter.
14870         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
14871         (profil_counter): Rename to __profil_counter.
14872         [!__profil_counter] (profil_counter): Define as weak alias of
14873         __profil_counter.
14874         * sysdeps/posix/profil.c: Update comment referring to
14875         profil_counter.
14876         (__profil): Use __profil_counter instead of profil_counter.
14877         * sysdeps/posix/sprofil.c (profil_counter): Rename to
14878         __profil_counter.  Use __profil_counter_ushort and
14879         __profil_counter_uint in definitions.
14880         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
14881         instead of profil_counter_uint and profil_counter_ushort.
14883         [BZ #17722]
14884         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
14885         define as weak alias of __inet_makeaddr.
14886         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
14887         as weak alias of __inet_addr.
14888         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
14889         as weak alias of __inet_pton.  Use libc_hidden_weak.
14890         * include/arpa/inet.h (__inet_pton): Declare.  Use
14891         libc_hidden_proto.
14892         (inet_makeaddr): Don't use libc_hidden_proto.
14893         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
14894         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
14895         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
14896         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
14897         Remove variable.
14898         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14899         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14901 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
14903         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
14905 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14907         * stdio-common/bug-vfprintf-nargs.c (do_test):
14908         Cast value to intptr_t to avoid format warning
14909         for usage with PRIdPTR printing macro.
14911 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14913         * libio/tst-widetext.c (do_test):
14914         Use format type %td instead of %Zd for ptrdiff_t
14915         in order to avoid format warning.
14917 2014-12-17  Andreas Schwab  <schwab@suse.de>
14919         * nscd/mem.c (gc): Add size_t cast to match printf format.
14921 2014-12-16  Roland McGrath  <roland@hack.frob.com>
14923         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
14924         (init): Apply PTR_MANGLE to pointers before storing them.
14925         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
14926         before using them.
14928 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
14930         [BZ #17719]
14931         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
14932         define as weak alias of __memrchr.
14933         (__memrchr): Do not define as strong alias of memrchr.
14934         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
14935         Remove variable.
14936         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14937         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14938         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14940         [BZ #17717]
14941         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
14942         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
14943         (if_indextoname): Rename to __if_indextoname and define as weak
14944         alias of __if_indextoname.  Use libc_hidden_weak.
14945         (if_freenameindex): Rename to __if_freenameindex and define as
14946         weak alias of __if_freenameindex.
14947         (if_nameindex): Rename to __if_nameindex and define as weak alias
14948         of __if_nameindex.
14949         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
14950         __if_nametoindex and define as weak alias of __if_nametoindex.
14951         Use libc_hidden_weak.
14952         (if_freenameindex): Rename to __if_freenameindex and define as
14953         weak alias of __if_freenameindex.
14954         (if_nameindex): Rename to __if_nameindex and define as weak alias
14955         of __if_nameindex.
14956         (if_indextoname): Rename to __if_indextoname and define as weak
14957         alias of __if_indextoname.  Use libc_hidden_weak.
14958         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
14959         __if_nametoindex and define as weak alias of __if_nametoindex.
14960         Use libc_hidden_weak.
14961         (if_freenameindex): Rename to __if_freenameindex and define as
14962         weak alias of __if_freenameindex.  Use libc_hidden_weak.
14963         (if_nameindex_netlink): Use __if_freenameindex instead of
14964         if_freenameindex.
14965         (if_nameindex): Rename to __if_nameindex and define as weak alias
14966         of __if_nameindex.  Use libc_hidden_weak.
14967         (if_indextoname): Rename to __if_indextoname and define as weak
14968         alias of __if_indextoname.  Use libc_hidden_weak.
14969         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
14970         libc_hidden_proto.
14971         [!_ISOMAC] (__if_freenameindex): Likewise.
14972         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
14973         if_nametoindex.
14974         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
14975         variable.
14976         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14977         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14978         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14979         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14980         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14981         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14982         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14984         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
14985         Remove variable.
14986         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14987         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14989 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14991         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
14992         subscript above bounds'
14994         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
14995         bounds.
14997 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
14999         * libio/tst-fopenloc.c: Use test-skeleton.c.
15001         * stdlib/tst-bsearch.c: Use test-skeleton.c.
15002         (entry): Rename to ITEM.
15003         (do_test, comp): Adjust.
15005         * stdio-common/tst-fseek.c: Use test-skeleton.c.
15007 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15009         * string/tester.c: Include <libc-internal.h>.
15010         (test_memset): Ignore -Wmemset-transposed-args.
15012 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15014         * misc/tst-mntent2.c (do_test): Fix warning.
15016 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15018         * elf/tst-unique4lib.cc(a): Mark as used.
15020 2014-12-16  Florian Weimer  <fweimer@redhat.com>
15022         [BZ #17630]
15023         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
15024         names.
15026 2014-12-16  Allan McRae  <allan@archlinux.org>
15028         * stdio-common/Makefile (tests): Re-add bug26.
15030 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
15032         [BZ #17657]
15033         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
15034         static array.
15036 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
15038         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
15039         (__lll_lock_wait): Likewise.
15040         (__lll_timedlock_wait): Likewise.
15041         (__lll_timedwait_tid): Likewise.
15042         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
15043         (__lll_robust_timedlock_wait): Likewise.
15044         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
15045         (lll_cond_trylock): Likewise.
15046         (__lll_lock): Likewise.
15047         (__lll_robust_lock): Likewise.
15048         (__lll_cond_lock): Likewise.
15049         (lll_robust_cond_lock): Likewise.
15050         (__lll_timedlock): Likewise.
15051         (__lll_robust_timedlock): Likewise.
15052         (__lll_unlock): Likewise.
15053         (__lll_robust_unlock): Likewise.
15054         (lll_wait_tid): Likewise.
15055         (lll_timedwait_tid): Likewise.
15057 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15059         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
15061 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15063         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
15065 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15067         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
15068         * stdio-common/tst-sprintf.c: Likewise.
15070 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15072         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
15074 2014-12-15  Jeff Law  <law@redhat.com>
15076         [BZ #16617]
15077         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
15078         on the heap.  (CVE-2012-3406)
15079         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
15080         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
15081         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
15083 2014-12-15  Will Newton  <will.newton@linaro.org>
15085         * manual/install.texi: Bump required version of texinfo
15086         to 4.7 from 4.5.
15087         * INSTALL: Regenerated.
15088         * configure.ac: Check for makeinfo version 4.7 and above.
15089         * configure: Regenerated.
15091 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15093         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
15094         PREFIX, string constant to insert between directory and name.
15095         * sysdeps/posix/shm_open.c: Update caller.
15096         * sysdeps/posix/shm_unlink.c: Likewise.
15097         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
15098         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
15099         (SEM_SHM_PREFIX): New macro.
15100         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
15101         [$(have-thread-library) = no].
15102         * nptl/Makefile (libpthread-routines): Add shm-directory.
15103         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
15104         * sysdeps/nptl/shm-directory.h: New file.
15105         * sysdeps/posix/shm-directory.c
15106         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
15107         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15108         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
15109         INTERNAL_SYSCALL.
15110         (__where_is_shmfs): Function removed.
15111         (mountpoint, defaultmount, defaultdir, __namedsem_once):
15112         Variables removed.
15113         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
15114         Use SHM_GET_NAME.
15115         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
15117         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
15118         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
15119         unconditional for use inside libpthread.
15120         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
15122 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15124         * nptl/pthread_getaffinity.c: New file.
15125         * nptl/pthread_setaffinity.c: New file.
15126         * nptl/pthread_getname.c: New file.
15127         * nptl/pthread_setname.c: New file.
15129         * nptl/pthread_create.c (START_THREAD_DEFN)
15130         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
15132 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15133             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15135         * resolv/res_send.c (send_vc): Disable warning resplen may
15136         be used uninitialized.
15138 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15140         * nptl/tst-mutex6.c
15141         (ATTR_NULL): New define checks ATTR against NULL.
15142         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
15143         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
15145 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
15147         [BZ #17581]
15148         * malloc/hooks.c
15149         (mem2mem_check): Revert my previous change.
15150         (malloc_check_get_size): Revert my previous change.
15151         (mem2chunk_check): Revert my previous change.
15153 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15155         * sysdeps/posix/shm-directory.c: New file.
15156         * sysdeps/posix/shm-directory.h: New file.
15157         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
15158         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
15159         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
15160         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
15161         Transmute EPERM to EACCES.
15162         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
15163         from ...
15164         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
15165         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
15167 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15169         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
15170         pointer and cast to uintptr_t.
15171         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
15172         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
15173         Add cast to avoid warning.
15174         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
15176 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15178         * nptl/semaphore.h: Move to ...
15179         * sysdeps/pthread/semaphore.h: ... here.
15180         * Makefile (installed-headers): Change nptl/semaphore.h to
15181         sysdeps/pthread/semaphore.h.
15183 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15185         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
15186         generated error format strings.
15188         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
15189         -Wformat-extra-args warnings for scanf formats.
15190         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
15191         test of zero-length format (duh).
15192         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
15193         corner-case scanf format test.
15194         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
15195         generated fprintf format string.
15196         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
15197         corner-case sprintf format tests.
15198         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
15199         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
15200         -Wformat-extra-args warnings throughout.
15201         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
15202         (CFLAGS-scanf4.c): Likewise.
15203         (CFLAGS-scanf7.c): Likewise.
15204         (CFLAGS-tst-sprintf.c): Likewise.
15205         (CFLAGS-tst-printf.c): Likewise.
15206         (CFLAGS-tst-printfsz.c): Likewise.
15208 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15210         * include/cpio.h: New file.
15211         * include/fmtmsg.h: Likewise.
15213         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
15214         corresponding format argument to size_t.
15215         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
15216         arguments.
15217         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
15218         corresponding format argument to size_t.
15219         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
15220         arguments.
15221         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
15222         corresponding format argument to size_t.
15223         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
15224         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
15225         (CFLAGS-tst-mbswcs2.c): Likewise.
15226         (CFLAGS-tst-mbswcs3.c): Likewise.
15227         (CFLAGS-tst-mbswcs4.c): Likewise.
15228         (CFLAGS-tst-mbswcs5.c): Likewise.
15229         (CFLAGS-tst-trans.c): Likewise
15231 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15233         * posix/regexbug1.c (main): Use "%s" format with regerror results,
15234         rather than assuming they won't contain any '%'s.
15236 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
15238         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
15239         inhibit_loop_to_libcall to avoid recursive calls.
15240         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
15241         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
15243 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15245         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
15246         prototype.
15248 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15250         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
15251         integer value instead of boolean.
15253 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15255         * malloc/malloc.c: Fix powerof2 check.
15257 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15259         * locale/programs/locfile.h (maybe_swap_uint32):
15260         Remove inline and add unused attribute.
15262 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15264         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
15265         Truncating assembler expression to a .long expression.
15267 2014-12-11  Andreas Schwab  <schwab@suse.de>
15269         * elf/rtld.c (struct map_args): Constify str member.
15270         (do_preload): Constify fname argument.
15272 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15274         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
15275         constants definition.
15277 2014-12-11  Andreas Schwab  <schwab@suse.de>
15279         [BZ #16657]
15280         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
15281         FORCE_ELISION instead of DO_ELISION.
15282         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
15283         Remove.
15284         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
15285         Likewise.
15287         * iconvdata/gconv-modules: Remove duplicate entry.
15289 2014-12-11  Will Newton  <will.newton@linaro.org>
15291         Merge gettext 0.19.3 into intl/.
15293         This involves a number of cosmetic changes to comments
15294         and ANSI function definitions and prototypes throughout
15295         all the files. The gettext copyright header is used but
15296         with the date ranges taken from the glibc copy.
15298         * NEWS: Add gettext merge to 2.21.
15299         * intl/bindtextdom.c: Switch to gettext copyright.
15300         Use ANSI definitions and prototypes.
15301         Use gl_* locking primitives rather than __libc_* ones.
15302         Use __builtin_expect rather than __glibc_likely/unlikely.
15303         * intl/dcgettext.c: Switch to gettext copyright.
15304         Use ANSI definitions and prototypes.
15305         * intl/dcigettext.c: Switch to gettext copyright.
15306         Use ANSI definitions and prototypes.
15307         (INTDIV0_RAISES_SIGFPE): New define.
15308         Use gl_* locking primitives rather than __libc_* ones.
15309         Include eval-plural.h instead of plural-eval.c.
15310         Use __builtin_expect rather than __glibc_likely/unlikely.
15311         * intl/dcngettext.c: Switch to gettext copyright.
15312         Use ANSI definitions and prototypes.
15313         * intl/dgettext.c: Likewise.
15314         * intl/dngettext.c: Likewise.
15315         * intl/plural-eval.c: Renamed to...
15316         * intl/eval-plural.h: ...this.
15317         * intl/explodename.c: Switch to gettext copyright.
15318         Use ANSI definitions and prototypes.
15319         (_nl_explode_name): Use strchr instead of __rawmemchr.
15320         * intl/finddomain.c: Switch to gettext copyright.
15321         Use ANSI definitions and prototypes.
15322         Use gl_* locking primitives rather than __libc_* ones.
15323         (_nl_find_domain): Use malloc rather than alloca for
15324         allocation of temporary locale name.
15325         * intl/gettext.c: Switch to gettext copyright.
15326         Use ANSI definitions and prototypes.
15327         * intl/gettextP.h: Switch to gettext copyright.
15328         Use ANSI definitions and prototypes.
15329         Use gl_* locking primitives rather than __libc_* ones.
15330         * intl/gmo.h: Switch to gettext copyright.
15331         (struct sysdep_string): Move struct segment_pair outside of
15332         struct definition.
15333         * intl/hash-string.c: Use ANSI definitions and prototypes.
15334         * intl/hash-string.h: Switch to gettext copyright.
15335         Use ANSI definitions and prototypes.
15336         * intl/l10nflist.c: Switch to gettext copyright.
15337         Use ANSI definitions and prototypes.
15338         (_nl_normalize_codeset): Avoid integer overflow.
15339         * intl/loadinfo.h: Switch to gettext copyright.
15340         Use ANSI definitions and prototypes.
15341         (LIBINTL_DLL_EXPORTED): New define.
15342         (PATH_SEPARATOR): New define.
15343         * intl/loadmsgcat.c: Switch to gettext copyright.
15344         * intl/localealias.c: Switch to gettext copyright.
15345         Use ANSI definitions and prototypes.
15346         (_nl_expand_alias): Use PATH_SEPARATOR.
15347         * intl/ngettext.c: Switch to gettext copyright.
15348         Use ANSI definitions and prototypes.
15349         * intl/plural-exp.c: Likewise.
15350         * intl/plural-exp.h: Switch to gettext copyright.
15351         Use ANSI definitions and prototypes.
15352         (struct expression): Move definition of enum operator outside
15353         of struct definition.
15354         * intl/plural.c: Regenerate.
15355         * intl/plural.y: Switch to gettext copyright.
15356         Use ANSI definitions and prototypes.
15357         Port to bison 3.0.
15358         * intl/textdomain.c: Switch to gettext copyright.
15359         Use ANSI definitions and prototypes.
15360         Use gl_* locking primitives rather than __libc_* ones.
15362 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
15364         * debug/warning-nop.c: Add used atrribute.
15366 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15368         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
15370         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
15371         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
15372         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
15374 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15375             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15377         [BZ #17634]
15378         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
15379         Undefine after defining function.  Define as weak alias of
15380         __wcschr.  Use libc_hidden_weak.
15381         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
15382         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
15383         (libc_hidden_def): Also define __GI___wcschr alias.
15384         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
15385         __wcschr and define as weak alias of __wcschr.
15386         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
15387         __wcschr.
15388         [!WCSCHR] (DEFAULT_WCSCHR): Define.
15389         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
15390         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
15391         libc_hidden_weak.  Do not use libc_hidden_def.
15392         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
15393         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
15394         __GI___wcschr alias.
15395         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
15396         [IS_IN (libc)] (wcschr): Define as macro expanding to
15397         __redirect_wcschr.
15398         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
15399         [IS_IN (libc)] (__wcschr_power6): Likewise.
15400         [IS_IN (libc)] (__wcschr_power7): Likewise.
15401         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
15402         instead of wcschr.
15403         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
15404         __libc_wcschr.
15405         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
15406         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
15407         __wcschr and define as weak alias of __wcschr.  Use
15408         libc_hidden_builtin_def.
15409         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
15410         as weak alias of __wcschr.  Use libc_hidden_weak.
15411         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
15412         wcschr.
15413         * time/era.c (_nl_init_era_entries): Likewise.
15414         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
15415         variable.
15416         (test-xfail-XPG3/time.h/linknamespace): Likewise.
15417         (test-xfail-XPG4/time.h/linknamespace): Likewise.
15419 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15421         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
15422         format for long int variable.
15424 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
15426         [BZ #10672]
15427         * manual/search.texi: (Array Sort Function): Remove claim how to make
15428         qsort stable.
15430 2014-12-10  Andreas Schwab  <schwab@suse.de>
15432         [BZ #12847]
15433         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
15434         user-controlled locks.
15436 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
15438         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
15439         register.
15441 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15443         * configure.ac (--disable-werror): New configure option.
15444         (enable_werror): New AC_SUBST.
15445         * configure: Regenerated.
15446         * config.make.in (enable-werror): New variable.
15447         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
15448         -Wno-error=undef.
15449         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
15450         * manual/install.texi (Configuring and compiling): Document
15451         --disable-werror.
15452         * INSTALL: Regenerated.
15453         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
15454         (CFLAGS-tst-chk2.c): Likewise.
15455         (CFLAGS-tst-chk3.c): Likewise.
15456         (CFLAGS-tst-chk4.cc): Likewise.
15457         (CFLAGS-tst-chk5.cc): Likewise.
15458         (CFLAGS-tst-chk6.cc): Likewise.
15459         (CFLAGS-tst-lfschk1.c): Likewise.
15460         (CFLAGS-tst-lfschk2.c): Likewise.
15461         (CFLAGS-tst-lfschk3.c): Likewise.
15462         (CFLAGS-tst-lfschk4.cc): Likewise.
15463         (CFLAGS-tst-lfschk5.cc): Likewise.
15464         (CFLAGS-tst-lfschk6.cc): Likewise.
15466         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
15467         (main): Disable -Wdeprecated-declarations around calls to
15468         register_printf_function.
15470         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
15471         (do_test): Disable -Wdiv-by-zero around some calls to
15472         fwrite_unlocked and fread_unlocked.
15474         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
15475         (DIAG_POP_NEEDS_COMMENT): Likewise.
15476         (_DIAG_STR1): Likewise.
15477         (_DIAG_STR): Likewise.
15478         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
15479         * stdio-common/bug21.c: Include <libc-internal.h>.
15480         (do_test): Disable -Wformat around call to sscanf.
15481         * stdio-common/scanf14.c: Include <libc-internal.h>.
15482         (main): Disable -Wformat around some calls to scanf functions.
15484 2014-12-09  Torvald Riegel  <triegel@redhat.com>
15486         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
15488 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15490         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
15491         stack variable alignment.
15493 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
15495         [BZ #17682]
15496         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
15497         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
15498         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
15499         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
15500         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
15501         __getrlimit instead of getrlimit.
15502         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
15503         __gettimeofday instead of gettimeofday.
15504         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15505         Likewise.
15506         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15507         Likewise.
15508         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15509         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
15510         Remove variable.
15511         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
15512         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
15514 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15516         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
15517         for wide-character tests.
15519 2014-12-04  Roland McGrath  <roland@hack.frob.com>
15521         * io/openat64.c: #include <libc-internal.h>
15522         (__openat64): Prototypify.  Use ignore_value on MODE.
15523         * io/openat.c: Likewise.
15524         * misc/reboot.c: #include <libc-internal.h>
15525         (reboot): Prototypify.  Use ignore_value on HOWTO.
15526         * misc/ptrace.c: #include <libc-internal.h>
15527         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
15529 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
15531         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
15532         XPG4, UNIX98 and XOPEN2K.
15533         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
15534         Remove variable.
15535         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
15537 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15539         * libio/fileops.c: Use ISO C style for function definitions.
15540         * libio/iofopen.c: Likewise.
15541         * libio/wfileops.c: Likewise.
15543         [BZ #17653]
15544         * libio/fileops.c (_IO_new_file_underflow): Unset cached
15545         offset on EOF.
15546         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15547         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
15548         (fgets_func): Function pointer to fgets and fgetws.
15549         (do_ftell_test): Add test to verify ftell value after read
15550         EOF.
15551         (do_test): Set fgets_func.
15553         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
15554         O_TRUNC flag for w and w+ modes.
15555         (do_rewind_test): Likewise.
15556         (do_ftell_test): Likewise.
15557         (do_write_test): Likewise.
15559         [BZ #17647]
15560         * libio/fileops.c (do_ftell): Seek only when there are
15561         unflushed writes.
15562         * libio/wfileops.c (do_ftell_wide): Likewise.
15563         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
15564         test case.
15565         (do_one_test): Call it.
15567 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
15569         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
15570         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
15571         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
15572         Remove variable.
15573         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
15574         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
15575         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
15577 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15579         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
15580         Remove variable.
15581         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
15583         [BZ #17668]
15584         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
15585         as weak alias of __getifaddrs.  Use libc_hidden_weak.
15586         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15587         __freeifaddrs.  Use libc_hidden_weak.
15588         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
15589         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
15590         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15591         __freeifaddrs.  Use libc_hidden_weak.
15592         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
15593         __getifaddrs and define as weak alias of __getifaddrs.  Use
15594         libc_hidden_weak.
15595         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15596         __freeifaddrs.  Use libc_hidden_weak.
15597         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
15598         Remove variable.
15599         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
15600         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
15602 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15604         [BZ #17601]
15605         * sysdeps/mips/start.S (__start): Use indirect jump to call
15606         __libc_start_main.
15608 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15610         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
15612         * nptl/tst-mutex1.c: Include <stdbool.h>.
15613         [!ATTR] (ATTR_NULL): New macro.
15614         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
15615         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
15616         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
15618         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
15619         to char *.
15621         [BZ #17665]
15622         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
15623         Change conditional to [__USE_MISC].
15625         [BZ #17664]
15626         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
15627         fgets_unlocked.
15628         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
15629         __fgets_unlocked.
15630         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
15631         fgets_unlocked.
15632         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
15633         Remove variable.
15634         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
15635         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
15636         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
15637         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
15638         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
15639         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
15640         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
15641         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
15642         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
15644         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
15646 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15648         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15649         Remove strpbrk objects.
15650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15651         (__libc_ifunc_impl_list): Remove strpbrk implementation.
15652         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
15653         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
15654         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
15655         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
15657         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15658         Remove strcspn objects.
15659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15660         (__libc_ifunc_impl_list): Remove strcspn implementation.
15661         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
15662         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
15663         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
15664         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
15666         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15667         Remove strspn objetcs.
15668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15669         (__libc_ifunc_impl_list): Remove strspn implementation.
15670         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
15671         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15672         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
15673         * sysdeps/powerpc/powerpc64/strspn.S: New file.
15675 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
15677         [BZ #17581]
15678         * malloc/hooks.c
15679         (mem2mem_check): Add a terminator to the chain of checking blocks.
15680         (malloc_check_get_size): Use it here.
15681         (mem2chunk_check): Ditto.
15683 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15685         * sysdeps/powerpc/powerpc64/strtok.S: New file.
15686         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
15688 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
15690         * bits/ioctl-types.h: Indent preprocessor directives correctly.
15692         * nptl/nptl-init.c: Include libc-internal.h.
15693         (__pthread_initialize_minimal_internal): Use ROUND_UP.
15695         * elf/ldconfig.c (search_dir): Expand comment.
15697 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
15699         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
15700         variable.
15701         (linknamespace-symlist-stdlibs-tests): Likewise.
15702         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
15703         instead of $(objpfx)symlist-stdlibs.
15704         (linknamespace-libs-isoc): New variable.
15705         (linknamespace-libs): Use $(linknamespace-libs-isoc).
15706         (linknamespace-libs-ISO): New variable.
15707         (linknamespace-libs-ISO99): Likewise.
15708         (linknamespace-libs-ISO11): Likewise.
15709         (linknamespace-libs-XPG3): Likewise.
15710         (linknamespace-libs-XPG4): Likewise.
15711         (linknamespace-libs-POSIX): Likewise.
15712         (linknamespace-libs-UNIX98): Likewise.
15713         (linknamespace-libs-XOPEN2K): Likewise.
15714         (linknamespace-libs-POSIX2008): Likewise.
15715         (linknamespace-libs-XOPEN2K8): Likewise.
15716         ($(objpfx)symlist-stdlibs): Replace by
15717         $(linknamespace-symlist-stdlibs-tests).  Use
15718         $(linknamespace-libs-$*) as set of libraries.
15719         ($(linknamespace-header-tests)): Update dependencies.  Use
15720         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
15721         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
15722         * conform/linknamespace.pl: Remove comment about considering
15723         definitions of symbols from irrelevant libraries.
15725 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
15727         [BZ #13862]
15728         * elf/dl-tls.c: Include <atomic.h>.
15729         (oom): Remove #ifdef SHARED/#endif.
15730         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
15731         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
15732         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
15733         big enough.
15734         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
15735         * nptl/Makefile (tests): Add tst-stack4.
15736         (modules-names): Add tst-stack4mod.
15737         ($(objpfx)tst-stack4): New.
15738         (tst-stack4mod.sos): Likewise.
15739         ($(objpfx)tst-stack4.out): Likewise.
15740         ($(tst-stack4mod.sos)): Likewise.
15741         (clean): Likewise.
15742         * nptl/tst-stack4.c: New file.
15743         * nptl/tst-stack4mod.c: Likewise.
15745 2014-11-27  J. Brown  <jb999@gmx.de>
15747         * sysdeps/x86/bits/string.h: Add recent CPUs.
15749 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15751         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
15752         sigblock.
15754         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
15755         feof.
15757         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
15758         variable.
15760 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15762         * nscd/connections.c: Include libc-internal.h because of macro
15763         usage ignore_value.
15765 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15767         * string/bits/string3.h (__warn_memset_zero_len): Don't
15768         declare for gcc newer than 5.0.
15769         (memset): Don't test for zero-length __LEN for gcc newer than
15770         5.0.
15772 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15774         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
15775         size_t for %zu format.
15777         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
15778         difference, not %ju.
15780 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15782         * include/libc-internal.h (ignore_value): New macro.
15783         * nscd/connections.c (restart): Wrap calls to setuid and setgid
15784         with ignore_value.
15786         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
15787         definition.
15789         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
15790         pthread_cleanup_push to void *.
15792         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
15793         Undefine.
15795         [BZ #16619]
15796         [BZ #16740]
15797         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
15798         instead of 1L << 52.
15800         * libio/bug-rewind.c (do_test): Check fwscanf return values.
15801         * libio/bug-rewind2.c (do_test): Likewise.
15803         * debug/test-stpcpy_chk-ifunc.c: Remove file.
15804         * debug/test-strcpy_chk-ifunc.c: Likewise.
15805         * wcsmbs/test-wcschr-ifunc.c: Likewise.
15806         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15807         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15808         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15809         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15810         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15811         * Rules [$(multi-arch) = no] (tests): Do not filter out
15812         $(tests-ifunc).
15813         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
15814         * debug/Makefile (tests-ifunc): Remove variable.
15815         (tests): Do not add $(tests-ifunc).
15816         * wcsmbs/Makefile (tests-ifunc): Remove variable.
15817         (tests): Do not add $(tests-ifunc).
15818         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
15819         [TEST_IFUNC]: Remove conditionals.
15820         * string/test-string.h (TEST_IFUNC): Remove macro.
15821         [TEST_IFUNC]: Remove conditionals.
15823         * string/test-strchr.c [!WIDE] (L): New macro.
15824         [WIDE] (L): Likewise.
15825         (check1): Use CHAR instead of char.  Use L on string and character
15826         constants.
15828 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
15830         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
15831         tests.
15832         * sysdeps/powerpc/bits/atomic.h
15833         (__arch_atomic_exchange_and_add_32_acq): Add definition.
15834         (__arch_atomic_exchange_and_add_32_rel): Likewise.
15835         (atomic_exchange_and_add_acq): Likewise.
15836         (atomic_exchange_and_add_rel): Likewise.
15837         * sysdeps/powerpc/powerpc32/bits/atomic.h
15838         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15839         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15840         * sysdeps/powerpc/powerpc64/bits/atomic.h
15841         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15842         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15844 2014-11-26  Torvald Riegel  <triegel@redhat.com>
15846         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
15847         Change synchronization of __sched_fifo_min_prio and
15848         __sched_fifo_max_prio.
15849         * nptl/pthread_mutexattr_getprioceiling.c
15850         (pthread_mutexattr_getprioceiling): Likewise.
15851         * nptl/pthread_mutexattr_setprioceiling.c
15852         (pthread_mutexattr_setprioceiling): Likewise.
15853         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
15854         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
15855         Likewise.
15857 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15859         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
15860         void.
15862 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15864         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
15865         third argument const.
15867 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
15869         fnmatch: work around GCC compiler warning bug with uninit var
15870         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
15871         This works around a bug with x86-64 GCC 4.9.2 and earlier
15872         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
15873         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
15874         used uninitialized in this function [-Wmaybe-uninitialized]".
15876 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15878         * posix/bug-regex31.c (main): Return RES not 0.
15880 2014-11-25  Anton Blanchard <anton@samba.org>
15882         * sysdeps/powerpc/bits/atomic.h
15883         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
15885 2014-11-24  Sterling Augustine  <saugustine@google.com>
15887         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
15889 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
15891         [BZ #17608]
15892         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
15894 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
15896         [BZ #17633]
15897         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
15898         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
15899         variable.
15900         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
15901         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
15903 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15905         * string/strncpy.c (strncpy): Improve performance by using memset.
15907 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15909         * string/strcpy.c (strcpy):
15910         Improve performance by using strlen and memcpy.
15912 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
15914         * string/strcoll_l.c (get_next_seq): __always_inline.
15915         * string/strcoll_l.c (do_compare): __always_inline.
15917 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15919         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
15920         defined.
15921         * include/mqueue.h: Likewise.
15922         * include/stdlib.h: Likewise.
15924         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
15925         (get_null_defines): Adjust.
15926         * sunrpc/Makefile: Adjust comment.
15927         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
15928         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
15929         (CFLAGS-interp.c): Likewise.
15930         (CFLAGS-ldconfig.c): Likewise.
15931         (CPPFLAGS-.os): Likewise.
15932         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15933         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
15934         * extra-modules.mk (extra-modules.mk): Likewise.
15935         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
15936         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
15937         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
15938         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
15939         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
15940         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
15941         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
15942         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
15943         * iconvdata/Makefile (CPPFLAGS): Likewise.
15944         (cpp-srcs-left): Add libof for all iconvdata routines.
15945         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
15946         * include/assert.h: Likewise.
15947         * include/ctype.h: Likewise.
15948         * include/errno.h: Likewise.
15949         * include/libc-symbols.h: Likewise.
15950         * include/math.h: Likewise.
15951         * include/netdb.h: Likewise.
15952         * include/resolv.h: Likewise.
15953         * include/stdio.h: Likewise.
15954         * include/stdlib.h: Likewise.
15955         * include/string.h: Likewise.
15956         * include/sys/stat.h: Likewise.
15957         * include/wctype.h: Likewise.
15958         * intl/l10nflist.c: Likewise.
15959         * libidn/idn-stub.c: Likewise.
15960         * libio/libioP.h: Likewise.
15961         * nptl/libc_multiple_threads.c: Likewise.
15962         * nptl/pthreadP.h: Likewise.
15963         * posix/regex_internal.h: Likewise.
15964         * resolv/res_hconf.c: Likewise.
15965         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
15966         * sysdeps/arm/memmove.S: Likewise.
15967         * sysdeps/arm/sysdep.h: Likewise.
15968         * sysdeps/generic/_itoa.h: Likewise.
15969         * sysdeps/generic/symbol-hacks.h: Likewise.
15970         * sysdeps/gnu/errlist.awk: Likewise.
15971         * sysdeps/gnu/errlist.c: Likewise.
15972         * sysdeps/i386/i586/memcpy.S: Likewise.
15973         * sysdeps/i386/i586/memset.S: Likewise.
15974         * sysdeps/i386/i686/memcpy.S: Likewise.
15975         * sysdeps/i386/i686/memmove.S: Likewise.
15976         * sysdeps/i386/i686/mempcpy.S: Likewise.
15977         * sysdeps/i386/i686/memset.S: Likewise.
15978         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15979         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15980         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
15981         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
15982         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15983         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15984         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
15985         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15986         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15987         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15988         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15989         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15990         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15991         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15992         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15993         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15994         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
15995         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
15996         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
15997         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15998         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15999         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16000         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16001         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16002         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16003         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16004         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
16005         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16006         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
16007         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16008         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16009         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16010         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16011         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16012         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16013         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16014         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16015         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16016         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16017         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16018         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16019         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16020         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16021         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16022         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16023         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16024         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
16025         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
16026         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16027         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16028         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16029         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
16030         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
16031         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16032         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16033         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
16034         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16035         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
16036         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
16037         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16038         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16039         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16040         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
16041         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16042         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16043         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
16044         * sysdeps/posix/closedir.c: Likewise.
16045         * sysdeps/posix/opendir.c: Likewise.
16046         * sysdeps/posix/readdir.c: Likewise.
16047         * sysdeps/posix/rewinddir.c: Likewise.
16048         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
16049         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
16050         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16051         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16052         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16053         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
16054         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
16055         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
16056         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16057         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
16058         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16059         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16060         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16061         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
16062         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
16063         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
16064         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16065         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16066         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
16067         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
16068         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16069         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
16070         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
16071         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16072         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
16073         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
16074         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
16075         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16076         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
16078         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
16079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
16080         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
16081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
16082         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
16083         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
16084         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16085         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16086         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
16087         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
16088         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
16089         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
16090         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16091         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
16092         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
16093         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
16094         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
16095         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16096         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
16097         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
16098         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
16099         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16100         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16101         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16102         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16103         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
16104         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
16105         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16106         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16107         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
16108         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
16109         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16110         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16111         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16112         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
16113         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
16114         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
16115         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
16116         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
16117         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
16118         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
16119         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16120         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
16121         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16122         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16123         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
16124         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
16125         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16126         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
16127         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
16128         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16129         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16130         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
16131         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
16132         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16133         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
16134         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
16135         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16136         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16137         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16138         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
16139         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
16140         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
16141         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16142         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16143         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
16144         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16145         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16146         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
16147         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
16148         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16149         * sysdeps/unix/alpha/sysdep.S: Likewise.
16150         * sysdeps/unix/alpha/sysdep.h: Likewise.
16151         * sysdeps/unix/make-syscalls.sh: Likewise.
16152         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16153         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16154         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16155         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
16156         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16157         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16158         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
16159         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16160         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16161         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
16162         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16163         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16164         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16165         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16166         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16167         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16168         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16169         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16170         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16171         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16172         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16173         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16174         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16175         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16176         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16177         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16178         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16181         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
16182         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16183         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16184         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16185         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16186         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16187         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16188         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16189         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16190         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16191         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16192         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16193         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16194         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16195         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16196         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16197         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16198         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16199         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16200         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16201         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16202         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16203         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16204         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16205         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16206         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16207         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16208         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16209         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16210         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
16211         * sysdeps/x86_64/memcpy.S: Likewise.
16212         * sysdeps/x86_64/memmove.c: Likewise.
16213         * sysdeps/x86_64/memset.S: Likewise.
16214         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
16215         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16216         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16217         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
16218         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16219         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16220         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16221         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16222         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16223         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16224         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16225         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16226         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
16227         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16228         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16229         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
16230         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16231         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16232         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16233         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16234         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
16235         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16236         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16237         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16238         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16239         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16240         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16241         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
16242         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16243         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16244         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
16245         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16246         * sysdeps/x86_64/strcmp.S: Likewise.
16248         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
16250         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
16251         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
16252         * elf/rtld-Rules: Likewise.
16253         * elf/setup-vdso.h: Likewise.
16254         * include/assert.h: Likewise.
16255         * include/bits/stdlib-float.h: Likewise.
16256         * include/errno.h: Likewise.
16257         * include/sys/stat.h: Likewise.
16258         * include/unistd.h: Likewise.
16259         * sysdeps/aarch64/setjmp.S: Likewise.
16260         * sysdeps/alpha/setjmp.S: Likewise.
16261         * sysdeps/arm/__longjmp.S: Likewise.
16262         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
16263         * sysdeps/arm/setjmp.S: Likewise.
16264         * sysdeps/arm/sysdep.h: Likewise.
16265         * sysdeps/generic/_itoa.h: Likewise.
16266         * sysdeps/generic/dl-sysdep.h: Likewise.
16267         * sysdeps/generic/ldsodefs.h: Likewise.
16268         * sysdeps/i386/dl-tls.h: Likewise.
16269         * sysdeps/i386/setjmp.S: Likewise.
16270         * sysdeps/m68k/setjmp.c: Likewise.
16271         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
16272         * sysdeps/mach/hurd/opendir.c: Likewise.
16273         * sysdeps/posix/getcwd.c: Likewise.
16274         * sysdeps/posix/opendir.c: Likewise.
16275         * sysdeps/posix/profil.c: Likewise.
16276         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16277         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16278         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16279         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16280         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16281         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
16282         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16283         * sysdeps/s390/dl-tls.h: Likewise.
16284         * sysdeps/s390/s390-32/setjmp.S: Likewise.
16285         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16286         * sysdeps/sh/sh3/setjmp.S: Likewise.
16287         * sysdeps/sh/sh4/setjmp.S: Likewise.
16288         * sysdeps/unix/alpha/sysdep.h: Likewise.
16289         * sysdeps/unix/arm/sysdep.S: Likewise.
16290         * sysdeps/unix/i386/sysdep.S: Likewise.
16291         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16292         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16293         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16294         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16295         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16296         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16297         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16298         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16299         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16300         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16301         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16302         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16303         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16306         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16307         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16308         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16309         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16310         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16311         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16312         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16314         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16315         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16316         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16317         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16318         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16319         * sysdeps/x86_64/setjmp.S: Likewise.
16321         * include/math.h: Use IS_IN instead of IS_IN_libm.
16322         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
16323         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16324         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16325         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16326         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16327         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16328         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16329         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16330         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16331         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16332         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
16333         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
16334         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
16335         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
16336         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
16337         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
16338         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
16339         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
16340         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
16341         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
16342         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
16343         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
16344         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
16345         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
16346         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
16347         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16348         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
16349         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
16350         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
16351         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
16352         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
16353         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16354         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
16356         Likewise.
16357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16358         Likewise.
16359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
16360         Likewise.
16361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
16362         Likewise.
16363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
16364         Likewise.
16365         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16366         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
16367         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16368         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16369         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16370         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
16372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
16376         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
16377         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
16378         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16379         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16380         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16381         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16382         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16383         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16384         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16385         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
16386         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
16387         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
16388         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
16389         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
16390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16391         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
16393         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
16394         * nptl/pthreadP.h: Likewise.
16395         * nptl_db/structs.def: Likewise.
16396         * sysdeps/arm/sysdep.h: Likewise.
16397         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16398         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16399         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
16400         * sysdeps/unix/alpha/sysdep.h: Likewise.
16401         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16402         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16403         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16404         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16405         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16406         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16407         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16408         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16409         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16410         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16411         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16412         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16413         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16414         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16417         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16418         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16419         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16420         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16421         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16422         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16423         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16424         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16425         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16426         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16428         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
16429         * nptl/pthreadP.h: Likewise.
16430         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16431         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16432         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16433         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16434         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16435         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16436         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16437         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16438         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16439         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16440         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16441         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16443         Likewise.
16444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16445         Likewise.
16446         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16447         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16448         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16449         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16450         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16451         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16452         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16453         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16455         * dlfcn/dladdr.c: Use IS_IN.
16456         * dlfcn/dladdr1.c: Likewise.
16457         * dlfcn/dlclose.c: Likewise.
16458         * dlfcn/dlerror.c: Likewise.
16459         * dlfcn/dlinfo.c: Likewise.
16460         * dlfcn/dlmopen.c: Likewise.
16461         * dlfcn/dlopen.c: Likewise.
16462         * dlfcn/dlsym.c: Likewise.
16463         * dlfcn/dlvsym.c: Likewise.
16465         * include/ifaddrs.h: Use IS_IN.
16466         * inet/check_pf.c: Likewise.
16467         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16468         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
16470         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
16471         IS_IN_ldconfig.
16472         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
16473         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
16475         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
16476         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
16477         IS_IN (libc).
16479         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
16481         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
16482         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16483         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
16484         * include/libc-symbols.h (IS_IN_LIB): New macro.
16485         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
16486         * include/netdb.h: Likewise.
16487         * include/stap-probe.h: Remove all uses of IN_LIB.
16489         * Makeconfig (module-cppflags-real): Define MODULE_NAME
16490         instead of IN_MODULE.
16491         * include/libc-symbols.h (IN_MODULE): Define using
16492         MODULE_NAME.
16493         (PASTE_NAME, PASTE_NAME1): New macros.
16494         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
16495         of IN_LIB.
16496         (STAP_PROBE_ASM): Likewise.
16498 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16500         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
16501         __mach_init in dlopened libc.
16503 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
16505         * sysdeps/arm/preconfigure.ac: Delete EABI check.
16506         * sysdeps/arm/preconfigure: Regenerate.
16508 2014-11-21  Roland McGrath  <roland@hack.frob.com>
16510         * nptl/pthread_create.c (__pthread_create_2_1): Set
16511         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
16512         when copying values from IATTR into PD.
16514 2014-11-21  Will Newton  <will.newton@linaro.org>
16515             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
16517         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
16518         Refactor inline-asm.  Also add comment.
16520         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
16521         ElfW macro instead of hardcoded Elf64 types.
16522         (la_aarch64_gnu_pltenter): Likewise.
16523         * sysdeps/aarch64/dl-machine.h
16524         (elf_machine_runtime_setup): Use ElfW(Addr).
16526         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
16527         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
16528         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
16529         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
16530         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
16531         (R_AARCH64_TLS_DTPMOD64): Rename to ..
16532         (R_AARCH64_TLS_DTPMOD): This.
16533         (R_AARCH64_TLS_DTPREL64): Rename to ...
16534         (R_AARCH64_TLS_DTPREL): This.
16535         (R_AARCH64_TLS_TPREL64): Rename to ...
16536         (R_AARCH64_TLS_TPREL): This.
16537         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
16538         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
16539         R_AARCH64_TLS_TPREL64.
16540         (elf_machine_rela): Likewise.
16542 2014-11-21  Torvald Riegel  <triegel@redhat.com>
16544         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
16545         by setting it to 0.  64b atomics are not supported currently.
16547 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16549         [BZ #16469]
16550         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
16551         search domain names.
16553 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16555         [BZ #16469]
16556         * NEWS: Update.
16557         * resolv/res_query.c (__libc_res_nquerydomain): Retain
16558         trailing dot.
16559         * posix/tst-getaddrinfo5.c: New.
16560         * posix/Makefile (tests): Add it.
16562 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16564         [BZ #14498]
16565         * NEWS: Fixed.
16566         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
16567         after parsing line but before break_if_match.
16568         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
16569         if there is a protocol mismatch.
16571 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
16573         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
16574         because the potential race is on the user-supplied stream.
16576 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16578         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
16579         string literal if not passed a buffer.
16580         * manual/job.texi (ctermid): Update reasoning, note deviation
16581         from posix, suggest mtasurace when not passed a buffer, for
16582         future non-preliminary safety notes.
16584 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16586         * manual/users.texi (cuserid): Fix MT-Safety note for the case
16587         of not passing it a buffer.
16588         Reported by Peng Haitao.
16590 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16592         * manual/Makefile ($(objpfx)stamp-summary): Require
16593         check-safety.sh to pass.
16594         * manual/check-safety.sh: Wish for verification that every
16595         @deftypefn and @deftypefun is followed by a @safety remark.
16597 2014-11-20  Roland McGrath  <roland@hack.frob.com>
16599         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
16601         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
16602         PTHREAD_CANCEL_ASYNCHRONOUS.
16603         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
16604         send SIGCANCEL.
16606         * nptl/default-sched.h: New file.
16607         * sysdeps/unix/sysv/linux/default-sched.h: New file.
16608         * nptl/pthread_create.c: Include it.
16609         (__pthread_create_2_1): Use collect_default_sched instead of making
16610         Linux syscalls here directly.
16612 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16614         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
16615         __pthread_once): Use C11 atomics.
16617 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16619         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
16621 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16623         * include/atomic.h (__atomic_link_error, __atomic_check_size,
16624         atomic_thread_fence_acquire, atomic_thread_fence_release,
16625         atomic_thread_fence_seq_cst, atomic_load_relaxed,
16626         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
16627         atomic_compare_exchange_weak_relaxed,
16628         atomic_compare_exchange_weak_acquire,
16629         atomic_compare_exchange_weak_release,
16630         atomic_exchange_acquire, atomic_exchange_release,
16631         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
16632         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
16633         atomic_fetch_and_acquire,
16634         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
16636 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16638         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
16639         USE_ATOMIC_COMPILER_BUILTINS): Define.
16640         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
16641         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16642         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
16643         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16644         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
16645         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16646         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
16647         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16648         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
16649         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16650         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
16651         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16652         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
16653         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16654         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
16655         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16656         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16657         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16658         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16659         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16660         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
16661         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16662         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16663         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16664         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
16665         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16666         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16667         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16668         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
16669         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16670         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
16671         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16672         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
16673         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16674         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16675         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16676         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
16677         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16678         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
16679         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16681 2014-11-19  Roland McGrath  <roland@hack.frob.com>
16683         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
16684         the sched_priority value here.  It was already checked when the user
16685         called pthread_attr_setschedparam.
16687         * nptl/tst-bad-schedattr.c: New file.
16688         * nptl/Makefile (tests): Add it.
16690 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
16691             Florian Weimer  <fweimer@redhat.com>
16692             Joseph Myers  <joseph@codesourcery.com>
16693             Adam Conrad  <adconrad@0c3.net>
16694             Andreas Schwab  <schwab@suse.de>
16695             Brooks  <bmoses@google.com>
16697         [BZ #17625]
16698         * wordexp-test.c (__dso_handle): Add prototype.
16699         (__register_atfork): Likewise.
16700         (__app_register_atfork): New function.
16701         (registered_forks): New global.
16702         (register_fork): New function.
16703         (test_case): Add 3 new tests for WRDE_CMDSUB.
16704         (main): Call __app_register_atfork.
16705         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
16706         fork count is non-zero fail the test.
16707         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
16708         is set.
16709         (parse_dollars): Remove check for WRDE_NOCMD.
16710         (parse_dquote): Likewise.
16712 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16714         * Makeconfig (built-modules): List non-library modules to be
16715         built.
16716         (module-cppflags): Include libc-modules.h for
16717         everything except shlib-versions.v.i.
16718         (CPPFLAGS): Use it.
16719         (before-compile): Add libc-modules.h.
16720         ($(common-objpfx)libc-modules.h,
16721         $(common-objpfx)libc-modules.stmp): New targets.
16722         (common-generated): Add libc-modules.h and libc-modules.stmp.
16723         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
16724         * include/libc-symbols.h: Don't include libc-modules.h.
16725         * include/libc-modules.h: Remove file.
16726         * scripts/gen-libc-modules.awk: New script to generate
16727         libc-modules.h.
16728         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
16729         Depend on libc-modules.stmp.
16731         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
16733         * Makeconfig (in-module): Get value of libof set for the
16734         translation unit.
16735         (CPPFLAGS): Use $(in-module).
16736         * Makerules: Don't suffix routine names for nonlib.
16737         * include/libc-modules.h: New file.
16738         * include/libc-symbols.h: Include libc-modules.h
16739         (IS_IN): New macro to replace IS_IN_* macros.
16740         * elf/Makefile: Set libof-* for each routine.
16741         * elf/rtld-Rules: Likewise.
16742         * extra-modules.mk: Likewise.
16743         * iconv/Makefile: Likewise.
16744         * iconvdata/Makefile: Likewise.
16745         * locale/Makefile: Likewise.
16746         * malloc/Makefile: Likewise.
16747         * nss/Makefile: Likewise.
16748         * sysdeps/gnu/Makefile: Likewise.
16749         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
16750         * sysdeps/unix/sysv/linux/Makefile: Likewise.
16751         * sysdeps/s390/s390-64/Makefile: Likewise.
16752         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
16753         CPPFLAGS for nscd instead of nonlib.
16755 2014-11-18  Roland McGrath  <roland@hack.frob.com>
16757         * nptl/createthread.c: New file.
16759         * nptl/createthread.c: Moved ...
16760         * sysdeps/unix/sysv/linux/createthread.c: ... here.
16762         * nptl/createthread.c: Add proper top-line comment.
16763         (do_clone): Folded into ...
16764         (create_thread): ... here.  Take new arguments STOPPED_START and
16765         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
16766         increment __nptl_threads, do event-reporting logic, do
16767         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
16768         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
16769         resource cleanup if sched_setaffinity or sched_setscheduler fails,
16770         just send SIGCANCEL.
16771         * nptl/pthread_create.c: Forward-declare create_thread before
16772         including createthread.c.
16773         (start_thread): Use new macro START_THREAD_DEFN to replace defining
16774         declaration, and new macro START_THREAD_SELF to replace argument.
16775         Remove return statement.
16776         (report_thread_creation): New function.
16777         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
16778         synchronization logic, and __nptl_nthreads increment here, around
16779         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
16780         PD->parent_cancelhandling here, before create_thread.  When
16781         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
16782         __deallocate_stack, and ENOMEM translation here.
16784 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
16786         [BZ #17616]
16787         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
16788         (mptwo): Rename to __mptwo.
16789         (__inv): Use __mptwo instead of mptwo.
16790         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
16791         (mptwo): Rename to __mptwo.
16792         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
16793         of mpone and __mptwo instead of mptwo.
16794         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
16795         instead of mpone.
16796         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16797         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
16798         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
16799         of mpone and __mptwo instead of mptwo.
16800         (__mpranred): Use __mpone instead of mpone.
16801         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
16802         variable.
16803         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16804         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16805         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16806         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16807         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16808         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16809         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16810         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16811         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16812         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16813         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16814         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16815         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16816         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16817         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16818         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16819         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16820         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16821         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16823 2014-11-18  Tom de Vries  <tom@codesoucery.com>
16825         * manual/signal.texi (Primitives Interrupted by Signals): In section,
16826         replace BSD Handler xref with BSD Signal Handling.
16828 2014-11-17  Richard Henderson  <rth@redhat.com>
16830         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
16831         (_FP_PACK_RAW_2): Remove.
16832         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
16833         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
16834         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
16835         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
16836         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
16837         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
16838         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
16839         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
16840         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
16841         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
16842         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
16843         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
16844         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
16845         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
16846         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
16847         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
16849 2014-11-14  Roland McGrath  <roland@hack.frob.com>
16851         * signal/signal.h [__USE_MISC]
16852         (struct sigvec): Remove type.
16853         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
16854         (sigvec): Remove declaration.
16855         * sysdeps/posix/sigvec.c: Moved ...
16856         * signal/sigvec.c: ... here, replacing old file.
16857         (struct sigvec): New type, copied from old signal.h definition.
16858         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
16859         (__sigvec): Convert definition to prototype.
16860         (sigvec): Replace weak_alias with compat_symbol.
16861         * signal/Versions (libc: GLIBC_2.21): New version set.
16862         * include/signal.h: Remove __sigvec declaration.
16863         * sysdeps/unix/bsd/sigvec.c: Remove file.
16864         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
16865         * manual/signal.texi (BSD Handler): Remove subsection.
16866         Move siginterrupt up to ...
16867         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
16868         (Blocking in BSD): Fold subsection into its parent.
16869         * NEWS: Mention sigvec removal.
16871 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16873         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
16874         (DLA_FMS): Make definition conditional only on [__FMA4__].
16875         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
16876         definition.
16878         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
16879         Make definition conditional only on [PROF].
16880         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
16881         definition.
16882         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
16883         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
16885         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
16886         !__GNUC__].
16887         * include/signal.h (__sigpause): Move declaration above call to
16888         libc_hidden_proto.
16889         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
16890         variable.
16891         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16892         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16894 2014-11-14  David S. Miller  <davem@davemloft.net>
16896         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
16897         Define before including <string/memcpy.c> and <string/mempcpy.c>.
16899 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16901         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
16902         * configure: Regenerated.
16903         * manual/install.texi (Tools for Compilation): Document a
16904         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
16905         compiler verified to work.
16906         * INSTALL: Regenerated.
16908         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
16909         redeclare with asm name.
16910         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
16911         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
16912         including <string.h>.
16913         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16914         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
16915         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16916         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
16917         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16918         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16919         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16921 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
16923         * stdlib/strtol.c (__strtol): Use prototype definition.
16925         [BZ #17594]
16926         * stdlib/strtol.c (SYM__): New macro.
16927         (SYM__1): Likewise.
16928         (__strtol): Likewise.
16929         (strtol): Rename to __strtol and define as weak alias of
16930         __strtol.  Use libc_hidden_weak.
16932 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16934         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
16935         Use numbered labels in inline assembly.
16937 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16939         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
16940         Add setjmp LIBC_PROBE.
16941         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
16942         Likewise.
16943         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
16944         Add longjmp, longjmp_target LIBC_PROBE.
16945         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
16946         Likewise.
16948 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16950         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16951         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
16952         to get rid of unused variable warning.
16954 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16956         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
16957         Check for unwind_backtrace ==  NULL only in SHARED case.
16958         (__backchain_backtrace): Compile only in SHARED case.
16959         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
16960         Likewise.
16961         (__backchain_backtrace): Declare as static.
16963 2014-11-12  Roland McGrath  <roland@hack.frob.com>
16965         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
16966         (__libc_multiple_threads_ptr): Variable moved ...
16967         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
16969 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
16971         * conform/GlibcConform.pm: New file.
16972         * conform/conformtest.pl: Use GlibcConform module.
16973         * conform/linknamespace.pl: New file.
16974         * conform/list-header-symbols.pl: Likewise.
16975         * conform/Makefile (linknamespace-symlists-base): New variable.
16976         (linknamespace-symlists-tests): Likewise.
16977         (linknamespace-header-base): Likewise.
16978         (linknamespace-header-tests): Likewise.
16979         (tests-special): Add new tests.
16980         ($(linknamespace-symlists-tests)): New rule.
16981         (linknamespace-libs): New variable.
16982         ($(objpfx)symlist-stdlibs): New rule.
16983         ($(linknamespace-header-tests)): Likewise.
16984         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
16985         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
16986         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
16987         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
16988         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
16989         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
16990         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
16991         (test-xfail-ISO/math.h/linknamespace): Likewise.
16992         (test-xfail-ISO/signal.h/linknamespace): Likewise.
16993         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
16994         (test-xfail-ISO/time.h/linknamespace): Likewise.
16995         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16996         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
16997         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16998         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16999         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17000         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
17001         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
17002         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17003         (test-xfail-ISO11/math.h/linknamespace): Likewise.
17004         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
17005         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17006         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
17007         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17008         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
17009         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
17010         (test-xfail-XPG3/math.h/linknamespace): Likewise.
17011         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
17012         (test-xfail-XPG3/search.h/linknamespace): Likewise.
17013         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
17014         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17015         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
17016         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17017         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17018         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
17019         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17020         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17021         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
17022         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
17023         (test-xfail-XPG4/math.h/linknamespace): Likewise.
17024         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
17025         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17026         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17027         (test-xfail-XPG4/search.h/linknamespace): Likewise.
17028         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17029         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
17030         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
17031         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
17032         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
17033         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17034         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
17035         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17036         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
17037         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17038         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17039         (test-xfail-POSIX/math.h/linknamespace): Likewise.
17040         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
17041         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
17042         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17043         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17044         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
17045         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17046         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17047         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
17048         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17049         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17050         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17051         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17052         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17053         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17054         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17055         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17056         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
17057         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
17058         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17059         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17060         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17061         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
17062         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17063         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17064         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
17065         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17066         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17067         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17068         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17069         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17070         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17071         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
17072         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
17073         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17074         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
17075         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
17076         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
17077         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17078         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17079         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17080         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
17081         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17082         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
17083         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17084         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
17085         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
17086         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
17087         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17088         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17089         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17090         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17091         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
17092         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
17093         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17094         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17095         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17096         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17097         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17098         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
17099         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17100         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17101         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17102         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17103         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
17104         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
17105         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17106         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
17107         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17108         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17109         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
17110         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17111         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17112         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17113         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17114         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17115         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17116         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17117         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17118         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17119         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
17120         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17121         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
17122         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17123         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
17124         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17125         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17126         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17127         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
17128         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17129         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
17130         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17131         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17132         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17133         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17134         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17135         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17136         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
17137         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17138         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17139         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17140         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17141         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
17142         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
17143         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17144         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17146         [BZ #17589]
17147         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
17148         of fgets_unlocked.
17150         [BZ #17585]
17151         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
17152         (memmem): Rename to __memmem and define as weak alias of
17153         __memmem.  Use libc_hidden_weak.
17154         (__memmem): Use libc_hidden_def.
17155         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
17156         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
17157         memmem.
17159         [BZ #17582]
17160         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
17161         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
17162         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
17163         and define as weak alias of __fgets_unlocked.  Use
17164         libc_hidden_weak.
17165         (__fgets_unlocked): Use libc_hidden_def.
17166         * include/stdio.h (__fgets_unlocked): Declare.  Use
17167         libc_hidden_proto.
17168         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
17169         __fgets_unlocked instead of fgets_unlocked.
17170         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
17171         (GET_NPROCS_CONF_PARSER): Likewise.
17172         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
17173         (GET_NPROCS_CONF_PARSER): Likewise.
17175         [BZ #17574]
17176         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
17177         weak alias of __wmemset.  Use libc_hidden_weak.
17178         (__wmemset): Use libc_hidden_def.
17179         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
17180         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
17181         of wmemset.
17183         [BZ #17573]
17184         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
17185         with asm name __mempcpy.
17186         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
17188         [BZ #17572]
17189         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
17190         and define as weak alias of __rawmemchr.
17191         (__rawmemchr): Do not define as strong alias of rawmemchr.
17193         [BZ #17571]
17194         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
17195         alias of __qsort_r.
17196         (qsort): Call __qsort_r instead of qsort_r.
17197         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
17198         (__qsort_r): Declare.  Call libc_hidden_proto.
17199         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
17200         instead of qsort_r.
17201         * nscd/gai.c (__qsort_r): Define to qsort_r.
17202         * posix/tst-rfc3484.c (__qsort_r): Likewise.
17203         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
17204         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
17206         [BZ #17570]
17207         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
17208         define as weak alias of __malloc_info.
17210         [BZ #17584]
17211         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
17212         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17213         (__rewinddir): Use libc_hidden_def.
17214         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
17215         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17216         (__rewinddir): Use libc_hidden_def.
17217         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
17218         weak alias of __rewinddir.  Don't use libc_hidden_def.
17219         (__rewinddir): Use libc_hidden_def.
17220         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
17221         (__rewinddir): Use libc_hidden_proto.
17222         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
17223         rewinddir.
17224         (__getcwd): Use __rewinddir instead of rewinddir.
17226         [BZ #17583]
17227         * libio/fileno.c (fileno): Rename to __fileno and define as weak
17228         alias of __fileno.  Use libc_hidden_weak.
17229         (__fileno): Use libc_hidden_def.
17230         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
17231         * libio/ftello.c (ftello): Rename to __ftello and define as weak
17232         alias of __ftello.
17233         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
17234         __ftello.
17235         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
17236         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
17237         libc_hidden_def.
17238         (fread_unlocked): Don't use libc_hidden_ver.
17239         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
17240         and define as weak alias of __fread_unlocked.  Don't use
17241         libc_hidden_def.
17242         (__fread_unlocked): Use libc_hidden_def.
17243         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
17244         (ftello): Don't use libc_hidden_proto.
17245         (__ftello): Declare.  Use libc_hidden_proto.
17246         (fread_unlocked): Don't use libc_hidden_proto.
17247         (__fread_unlocked): Declare.  Use libc_hidden_proto.
17248         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
17249         and __ftello instead of fileno, fread_unlocked and ftello.
17251 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17253         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
17254         GOT12.
17255         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17256         Likewise.
17257         (_dl_start_user): Likewise.
17258         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
17260 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
17261             Siddhesh Poyarekar  <siddhesh@redhat.com>
17263         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
17264         Move argv and envp down instead of moving argc up.
17265         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
17267 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
17269         [BZ #17506]
17270         * test-skeleton.c (main): Return successful if one of
17271         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
17272         * string/tst-strcoll-overflow.c: Define expected status.
17274 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
17276         [BZ #17475]
17277         * locale/iso-639.def: Define Bhili and Tulu language codes.
17279 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
17281         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
17283 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
17285         [BZ #17555]
17286         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
17288 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17290         * configure.ac: Updated check of minimal required version to
17291         2.22.
17292         * manual/install.texi (Tools for Compilation): Updated version
17293         number.
17294         * configure: Regenerated.
17295         * INSTALL: Likewise.
17297 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
17299         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
17300         __tls_get_addr.
17302 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
17304         * include/sys/wait.h (__libc_waitpid): Remove declaration.
17305         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
17306         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17307         libc_hidden_weak.
17308         (waitpid): Define as alias of __waitpid.
17309         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
17310         __waitpid.
17311         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17312         libc_hidden_weak.
17313         (waitpid): Define as alias of __waitpid.
17314         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
17315         __libc_waitpid alias.
17316         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
17317         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
17318         Likewise.
17319         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
17320         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
17321         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
17322         alias.
17323         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
17324         __waitpid.
17325         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17326         libc_hidden_weak.
17327         (waitpid): Define as alias of __waitpid.
17329 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
17331         * manual/llio.texi: Add comment that write safety has been
17332         fixed in Linux.
17334         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
17335         (localplt-build-dso): Add elf/ld.so.
17336         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
17337         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
17338         and free for ld.so.
17339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
17340         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
17341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
17342         Likewise.
17343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17344         Likewise.
17345         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
17346         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
17347         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
17348         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
17349         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17350         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
17351         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
17352         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
17353         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17354         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
17355         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17357 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
17359         [BZ #14132]
17360         * include/libc-symbols.h (INTUSE): Remove macro.
17361         (INTDEF): Likewise.
17362         (INTVARDEF): Likewise.
17363         (_INTVARDEF): Likewise.
17364         (INTDEF2): Likewise.
17365         (INTVARDEF2): Likewise.
17366         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
17367         rtld_hidden_def instead of INTVARDEF.
17368         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
17369         (_dl_starting_up_internal): Remove declaration.
17370         (_dl_starting_up): Use rtld_hidden_proto.
17371         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
17372         declaration.
17373         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
17374         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
17375         _dl_starting_up.
17376         * elf/dl-writev.h (_dl_writev): Likewise.
17377         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
17378         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
17379         _dl_starting_up_internal.
17381 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17383         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17384         test-skeleton.c.
17386 2014-11-05  Will Newton  <will.newton@linaro.org>
17388         * benchtests/Makefile: (bench-malloc): Add malloc thread
17389         scalability benchmark.
17390         * benchtests/bench-malloc-threads.c: New file.
17392 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
17394         * sysdeps/aarch64/strchrnul.S: New file.
17396 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17398         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
17399         definition.
17400         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17401         Likwise.
17402         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17403         Likewise.
17404         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17405         Likewise.
17406         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17407         Likewise.
17408         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17409         Likewise.
17411 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
17413         * catgets/test-gencat.c: Use test-skeleton.c.
17414         * catgets/tst-catgets.c: Likewise.
17415         * csu/tst-empty.c: Likewise.
17416         * elf/tst-audit2.c: Likewise.
17417         * elf/tst-global1.c: Likewise.
17418         * elf/tst-pathopt.c: Likewise.
17419         * elf/tst-piemod1.c: Likewise.
17420         * elf/tst-tls10.c: Likewise.
17421         * elf/tst-tls11.c: Likewise.
17422         * elf/tst-tls12.c: Likewise.
17423         * gnulib/tst-gcc.c: Likewise.
17424         * iconvdata/tst-e2big.c: Likewise.
17425         * iconvdata/tst-loading.c: Likewise.
17426         * iconv/tst-iconv1.c: Likewise.
17427         * iconv/tst-iconv2.c: Likewise.
17428         * inet/test-inet6_opt.c: Likewise.
17429         * inet/tst-gethnm.c: Likewise.
17430         * inet/tst-network.c: Likewise.
17431         * inet/tst-ntoa.c: Likewise.
17432         * intl/tst-codeset.c: Likewise.
17433         * intl/tst-gettext2.c: Likewise.
17434         * intl/tst-gettext3.c: Likewise.
17435         * intl/tst-ngettext.c: Likewise.
17436         * intl/tst-translit.c: Likewise.
17437         * io/test-stat.c: Likewise.
17438         * libio/test-fmemopen.c: Likewise.
17439         * libio/tst-freopen.c: Likewise.
17440         * libio/tst-sscanf.c: Likewise.
17441         * libio/tst-ungetwc1.c: Likewise.
17442         * libio/tst-ungetwc2.c: Likewise.
17443         * libio/tst-widetext.c: Likewise.
17444         * localedata/tst-ctype.c: Likewise.
17445         * localedata/tst-digits.c: Likewise.
17446         * localedata/tst-leaks.c: Likewise.
17447         * localedata/tst-mbswcs1.c: Likewise.
17448         * localedata/tst-mbswcs2.c: Likewise.
17449         * localedata/tst-mbswcs3.c: Likewise.
17450         * localedata/tst-mbswcs4.c: Likewise.
17451         * localedata/tst-mbswcs5.c: Likewise.
17452         * localedata/tst-setlocale.c: Likewise.
17453         * localedata/tst-trans.c: Likewise.
17454         * localedata/tst-wctype.c: Likewise.
17455         * localedata/tst-xlocale1.c: Likewise.
17456         * login/tst-grantpt.c: Likewise.
17457         * malloc/tst-calloc.c: Likewise.
17458         * malloc/tst-malloc.c: Likewise.
17459         * malloc/tst-mallocstate.c: Likewise.
17460         * malloc/tst-mcheck.c: Likewise.
17461         * malloc/tst-mtrace.c: Likewise.
17462         * malloc/tst-obstack.c: Likewise.
17463         * math/atest-exp2.c: Likewise.
17464         * math/atest-exp.c: Likewise.
17465         * math/atest-sincos.c: Likewise.
17466         * math/test-matherr.c: Likewise.
17467         * math/test-misc.c: Likewise.
17468         * math/test-powl.c: Likewise.
17469         * math/tst-definitions.c: Likewise.
17470         * misc/tst-dirname.c: Likewise.
17471         * misc/tst-efgcvt.c: Likewise.
17472         * misc/tst-fdset.c: Likewise.
17473         * misc/tst-hsearch.c: Likewise.
17474         * misc/tst-mntent2.c: Likewise.
17475         * nptl/tst-sem7.c: Likewise.
17476         * nptl/tst-sem8.c: Likewise.
17477         * nptl/tst-sem9.c: Likewise.
17478         * nss/test-netdb.c: Likewise.
17479         * posix/tst-fnmatch.c: Likewise.
17480         * posix/tst-getlogin.c: Likewise.
17481         * posix/tst-gnuglob.c: Likewise.
17482         * posix/tst-mmap.c: Likewise.
17483         * pwd/tst-getpw.c: Likewise.
17484         * resolv/tst-inet_ntop.c: Likewise.
17485         * rt/tst-timer.c: Likewise.
17486         * stdio-common/test-fseek.c: Likewise.
17487         * stdio-common/test-popen.c: Likewise.
17488         * stdio-common/test-vfprintf.c: Likewise.
17489         * stdio-common/tst-cookie.c: Likewise.
17490         * stdio-common/tst-fileno.c: Likewise.
17491         * stdio-common/tst-gets.c: Likewise.
17492         * stdio-common/tst-obprintf.c: Likewise.
17493         * stdio-common/tst-perror.c: Likewise.
17494         * stdio-common/tst-sprintf2.c: Likewise.
17495         * stdio-common/tst-sprintf3.c: Likewise.
17496         * stdio-common/tst-sprintf.c: Likewise.
17497         * stdio-common/tst-swprintf.c: Likewise.
17498         * stdio-common/tst-tmpnam.c: Likewise.
17499         * stdio-common/tst-unbputc.c: Likewise.
17500         * stdio-common/tst-wc-printf.c: Likewise.
17501         * stdlib/tst-environ.c: Likewise.
17502         * stdlib/tst-fmtmsg.c: Likewise.
17503         * stdlib/tst-limits.c: Likewise.
17504         * stdlib/tst-rand48-2.c: Likewise.
17505         * stdlib/tst-rand48.c: Likewise.
17506         * stdlib/tst-random2.c: Likewise.
17507         * stdlib/tst-random.c: Likewise.
17508         * stdlib/tst-strtol.c: Likewise.
17509         * stdlib/tst-strtoll.c: Likewise.
17510         * stdlib/tst-tls-atexit.c: Likewise.
17511         * stdlib/tst-xpg-basename.c: Likewise.
17512         * string/test-ffs.c: Likewise.
17513         * string/tst-bswap.c: Likewise.
17514         * string/tst-inlcall.c: Likewise.
17515         * string/tst-strtok.c: Likewise.
17516         * string/tst-strxfrm.c: Likewise.
17517         * sysdeps/x86_64/tst-audit10.c: Likewise.
17518         * sysdeps/x86_64/tst-audit3.c: Likewise.
17519         * sysdeps/x86_64/tst-audit4.c: Likewise.
17520         * sysdeps/x86_64/tst-audit5.c: Likewise.
17521         * time/tst-ftime_l.c: Likewise.
17522         * time/tst-getdate.c: Likewise.
17523         * time/tst-mktime3.c: Likewise.
17524         * time/tst-mktime.c: Likewise.
17525         * time/tst-posixtz.c: Likewise.
17526         * time/tst-strptime2.c: Likewise.
17527         * time/tst-strptime3.c: Likewise.
17528         * wcsmbs/tst-btowc.c: Likewise.
17529         * wcsmbs/tst-mbrtowc.c: Likewise.
17530         * wcsmbs/tst-mbsrtowcs.c: Likewise.
17531         * wcsmbs/tst-wchar-h.c: Likewise.
17532         * wcsmbs/tst-wcpncpy.c: Likewise.
17533         * wcsmbs/tst-wcrtomb.c: Likewise.
17534         * wcsmbs/tst-wcsnlen.c: Likewise.
17535         * wcsmbs/tst-wcstof.c: Likewise.
17537 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
17539         [BZ #14132]
17540         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
17541         INTDEF.
17542         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
17543         declaration.
17544         (_dl_mcount): Use rtld_hidden_proto.
17545         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
17546         _dl_mcount.
17547         * elf/rtld.c (_rtld_global_ro): Likewise.
17549         [BZ #14132]
17550         * elf/dl-init.c (_dl_init): Don't use INTDEF.
17551         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
17552         of _dl_init_internal.
17553         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
17554         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
17555         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
17556         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
17557         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
17558         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
17559         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
17560         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
17561         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
17562         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
17563         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
17564         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
17565         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17566         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17567         * sysdeps/tile/dl-start.S (_start): Likewise.
17568         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
17569         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
17571         [BZ #14132]
17572         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
17573         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
17574         (rtld_progname): Make macro definition unconditional.
17575         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
17576         INTDEF.
17577         (dlmopen_doit): Do not use INTUSE with _dl_argv.
17578         (dl_main): Likewise.
17579         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17580         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
17581         instead of _dl_argv_internal.
17582         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17583         __GI__dl_argv instead of INTUSE(_dl_argv).
17584         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
17585         __GI__dl_argv instead of _dl_argv_internal.
17587         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
17588         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
17589         macro.
17590         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
17591         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
17592         New macro.
17593         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
17594         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
17595         macro.
17596         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
17597         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
17599 2014-11-04  Andreas Schwab  <schwab@suse.de>
17601         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
17603 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17605         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
17606         mtvsrd instruction in binary form.
17608 2014-11-03  Andreas Schwab  <schwab@suse.de>
17610         [BZ #17522]
17611         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
17612         for less than MB_LEN_MAX use a local buffer of that size.
17613         * libio/tst-fputws.c: New file.
17614         * libio/Makefile (tests): Add tst-fputws.
17616 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
17618         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
17619         the size of the fpu_fr.fpu_dregs[] array.
17621 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
17623         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
17624         (__nanosleep): Do not define as alias.
17625         (nanosleep): Define as alias of __nanosleep.
17626         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
17627         __libc_nanosleep name.
17629 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17631         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
17632         install.texi in comment.
17634 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17636         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
17637         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
17638         ... add here and use lwsync or sync ...
17639         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
17640         ... and add here using lwsync.
17642 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17644         * elf/dl-machine-reject-phdr.h: New file.
17645         * elf/dl-load.c: #include that.
17646         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
17647         if that returned true.
17649 2014-10-31  Roland McGrath  <roland@hack.frob.com>
17651         [BZ #17496]
17652         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
17653         gen-as-const-headers chunk.  Add a big scare comment after the last
17654         safe place to touch before-compile.
17656 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17658         * manual/install.texi (Tools for Compilation): Update autoconf
17659         version requirements.
17660         * INSTALL: Regenerated.
17662         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
17663         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
17664         (__libc_pselect): Likewise.
17666         [BZ #14138]
17667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
17668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17672 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17674         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
17675         correct barrier instruction.
17676         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
17677         Likewise.
17678         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
17679         Likewise.
17681 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17683         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
17684         after defining inlines.  Instead, just use parens to defeat macro
17685         expansion of __isctype in its declaration.
17687 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17689         * include/sys/uio.h (__libc_readv): Remove declaration.
17690         (__libc_writev): Likewise.
17691         * misc/readv.c (__libc_readv): Rename to __readv.
17692         (__readv): Do not define as alias.
17693         (readv): Define as alias of __readv.
17694         * misc/writev.c (__libc_writev): Rename to __writev.
17695         (__writev): Do not define as alias.
17696         (writev): Define as alias of __writev.
17697         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
17698         (__readv): Do not define as alias.
17699         (readv): Define unconditionally as alias of __readv.
17700         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
17701         (__writev): Do not define as alias.
17702         (writev): Define unconditionally as alias of __writev.
17703         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
17704         name.
17705         (writev): Do not define __libc_writev name.
17707 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17709         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
17710         (convert_charseq): New function, broken out of ...
17711         (use_from_charmap): ... here.  Call it.
17712         (use_to_charmap): Use convert_charseq and free instead of duplicating
17713         its code with a variable-length stack struct.
17715 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17717         * include/fcntl.h (__libc_creat): Remove declaration.
17718         * io/creat.c (__libc_creat): Rename to creat.
17719         (creat): Do not define as alias.
17720         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
17721         of creat instead of __libc_creat.
17722         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
17723         to creat.
17724         (creat): Do not define as alias.
17725         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
17726         __libc_creat.
17727         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
17728         __libc_creat name.
17729         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
17730         Likewise.
17732 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
17734         * manual/llio.texi: Add comments discussing why write() may be
17735         considered MT-unsafe on Linux.
17737 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
17739         * dl-load.c (local_strdup): Remove.
17740         (expand_dynamic_string_token): Use __strdup.
17741         (decompose_rpath): Likewise.
17742         (_dl_map_object): Likewise.
17744 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
17746         [BZ #14132]
17747         * sysdeps/generic/unwind-dw2-fde.c
17748         (__register_frame_info_bases_internal): Do not declare.
17749         (__register_frame_info_table_bases_internal): Likewise.
17750         (__deregister_frame_info_bases_internal): Likewise.
17751         (__register_frame_info_bases): Declare and use hidden_proto before
17752         definition.  Use hidden_def instead of INTDEF.
17753         (__register_frame_info_table_bases): Likewise.
17754         (__deregister_frame_info_bases): Likewise.
17755         (__register_frame_info): Do not use INTUSE.
17756         (__register_frame): Likewise.
17757         (__register_frame_info_table): Likewise.
17758         (__register_frame_table): Likewise.
17759         (__deregister_frame_info): Likewise.
17760         (__deregister_frame): Likewise.
17762 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
17764         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17765         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
17766         not undefine.
17767         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
17768         Likewise.
17769         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
17770         Likewise.
17772 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
17774         [BZ #14138]
17775         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
17776         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
17777         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
17778         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
17779         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
17780         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
17781         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
17782         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
17783         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
17784         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
17785         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
17786         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
17787         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
17788         syscall.
17789         (setfsuid): Likewise.
17790         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
17791         (setfsuid): Likewise.
17792         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
17793         (setfsuid): Likewise.
17794         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
17795         Likewise.
17796         (setfsuid): Likewise.
17797         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
17798         (setfsuid): Likewise.
17799         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
17800         Likewise.
17801         (setfsuid): Likewise.
17803 2014-10-27  Andreas Schwab  <schwab@suse.de>
17805         [BZ #17501]
17806         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
17807         check for Slow_SSE4_2 feature bit.
17808         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
17809         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17810         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
17811         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
17813 2014-10-24  Roland McGrath  <roland@hack.frob.com>
17815         * configure.ac: Validate compiler version with a empirical test of
17816         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
17817         $CC -v output.
17818         * configure: Regenerated.
17820         * inet/htons.c (htons): Prototypify.
17821         * inet/htonl.c (htonl): Likewise.
17823 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17825         * string/strncat.c (strncat): Improve performance by using strlen.
17827 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17829         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
17831 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17833         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
17834         Call libc_fetestexcept_aarch64.
17836 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17838         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
17839         Call libc_feholdexcept_aarch64.
17841 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17843         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
17844         Call get_rounding_mode.
17846 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17848         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17849         Simplify logic.
17851 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17853         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
17854         Simplify logic.
17856 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
17858         [BZ #14138]
17859         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
17860         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
17861         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
17862         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
17863         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
17864         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
17865         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
17866         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
17867         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
17868         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
17869         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17870         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
17871         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
17872         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
17873         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
17874         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
17875         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
17876         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
17877         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
17878         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
17879         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
17880         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
17881         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
17882         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
17883         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
17884         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
17885         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
17886         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
17887         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
17888         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
17889         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
17890         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
17891         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
17892         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
17893         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
17894         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
17895         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
17896         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
17897         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
17898         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
17899         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
17900         syscall.
17901         (geteuid): Likewise.
17902         (getgid): Likewise.
17903         (getuid): Likewise.
17904         (getresgid): Likewise.
17905         (getresuid): Likewise.
17906         (getgroups): Likewise.
17907         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
17908         (geteuid): Likewise.
17909         (getgid): Likewise.
17910         (getuid): Likewise.
17911         (getresgid): Likewise.
17912         (getresuid): Likewise.
17913         (getgroups): Likewise.
17914         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
17915         (geteuid): Likewise.
17916         (getgid): Likewise.
17917         (getuid): Likewise.
17918         (getresgid): Likewise.
17919         (getresuid): Likewise.
17920         (getgroups): Likewise.
17921         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
17922         Likewise.
17923         (geteuid): Likewise.
17924         (getgid): Likewise.
17925         (getuid): Likewise.
17926         (getresgid): Likewise.
17927         (getresuid): Likewise.
17928         (getgroups): Likewise.
17929         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
17930         (geteuid): Likewise.
17931         (getgid): Likewise.
17932         (getuid): Likewise.
17933         (getresgid): Likewise.
17934         (getresuid): Likewise.
17935         (getgroups): Likewise.
17936         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
17937         Likewise.
17938         (geteuid): Likewise.
17939         (getgid): Likewise.
17940         (getuid): Likewise.
17941         (getgroups): Likewise.
17943         [BZ #14138]
17944         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
17945         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
17946         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
17947         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17948         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
17949         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
17950         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
17951         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
17952         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
17953         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
17954         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
17955         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
17956         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
17957         __chown.
17958         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
17959         (lchown): Likewise.
17960         (fchown): Likewise.
17961         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
17962         Likewise.
17963         (lchown): Likewise.
17964         (fchown): Likewise.
17965         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
17966         (lchown): Likewise.
17967         (fchown): Likewise.
17968         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
17969         Likewise.
17970         (lchown): Likewise.
17971         (fchown): Likewise.
17973 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17975         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
17976         Simplify logic.
17978 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17980         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17981         Cleanup logic.
17983 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17985         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17986         Remove unused include.
17988 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17990         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
17991         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
17992         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
17993         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
17995 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
17996             Helge Deller <deller@gmx.de>
17998         [BZ #17508]
17999         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
18000         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
18001         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
18003 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
18005         [BZ #14132]
18006         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
18007         Remove macro definition.
18008         (__ashrdi3_v_glibc20): Likewise.
18009         (__lshrdi3_v_glibc20): Likewise.
18010         (__cmpdi2_v_glibc20): Likewise.
18011         (__ucmpdi2_v_glibc20): Likewise.
18012         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
18013         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18014         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18015         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18016         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18017         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
18019 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18021         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
18022         old GNU extension [0] syntax.
18023         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
18024         alloca rather than an array member with variable length.
18025         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
18026         * nscd/nscd.c (invalidate_db): New function, broken out of ...
18027         (parse_opt): ... here.  Likewise use alloca there.
18028         Validate the -i argument before checking for rootness.
18029         (send_shutdown): New function, broken out of ...
18030         (parse_opt): ... here.
18032 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18034         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
18035         macro to get at the _rt_local_ro field.
18036         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
18037         ([PIC] case) or _dl_hwcap ([!PIC] case).
18038         * sysdeps/arm/setjmp.S: Likewise.
18040         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
18041         * sysdeps/arm/configure.ac: New check to define it.
18042         * sysdeps/arm/configure: Regenerated.
18043         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
18044         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
18045         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
18046         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
18047         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
18048         Use move/movt pair instead of a load.
18049         (LDST_GLOBAL): Macro removed.
18050         (LDR_GLOBAL): New macro replaces it.
18051         (LDR_HIDDEN): New macro.
18052         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
18053         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
18055         * setjmp/tst-setjmp-static.c: New file.
18056         * setjmp/Makefile (tests): Add it.
18057         (tests-static): New variable.
18059 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
18061         [BZ #17485]
18062         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
18064 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
18066         [BZ #14132]
18067         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
18069 2014-10-21  Roland McGrath  <roland@hack.frob.com>
18071         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
18073 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18075         * io/fts.c (dirent_not_directory): New function.
18076         (fts_build): Call it.
18078 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18080         * nptl/version.c (__nptl_main): Use normal __write rather than
18081         INTERNAL_SYSCALL.
18082         (banner): Update copyright years.
18084         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
18085         gettimeofday.
18086         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18087         * nptl/pthread_cond_timedwait.c: Likewise.
18088         * nptl/pthread_mutex_timedlock.c: Likewise.
18089         * nptl/sem_timedwait.c: Likewise.
18091         * sysdeps/nptl/bits/libc-lock.h
18092         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18093         (__libc_lock_init_recursive): Return void, not 0.
18094         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
18095         (__libc_rwlock_init): Likewise.
18096         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
18098 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18100         [BZ #15215]
18101         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
18102         (__pthread_once_slow): ... here.
18103         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
18104         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
18106 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18108         [BZ #15215]
18109         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
18110         __PTHREAD_ONCE_FORK_GEN_INCR): New.
18111         * sysdeps/nptl/fork.c (__libc_fork): Use them.
18112         * nptl/pthread_once.c (__pthread_once): Likewise.
18113         Update comments.
18115 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
18117         [BZ #14138]
18118         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
18119         name.
18120         (writev): Use __libc_writev as strong name.
18121         * sysdeps/unix/sysv/linux/readv.c: Remove file.
18122         * sysdeps/unix/sysv/linux/writev.c: Likewise.
18124 2014-10-17  Roland McGrath  <roland@hack.frob.com>
18126         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
18128         * sysdeps/i386/nptl/tls.h
18129         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
18130         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
18131         New macros.
18132         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
18133         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
18134         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
18135         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
18136         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
18137         Call CHECK_THREAD_SYSINFO instead of doing an assert.
18139         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18140         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
18141         on [__NR_futex].
18142         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
18143         broken out of ...
18144         (__pthread_mutex_init): ... here.  Call it.
18145         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
18146         Conditionalize PI cases on [__NR_futex].
18147         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
18148         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
18149         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18151         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
18152         conditional on [SIGSETXID].
18153         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
18154         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
18155         is defined.  Likewise for SIGSETXID.
18156         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
18157         Conditionalize definitions on [SIGSETXID].
18158         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
18159         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
18160         unblocking on [SIGCANCEL].
18162         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
18163         [__NR_set_robust_list].
18165 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18167         * string/strcoll_l.c (get_next_seq): Fix up formatting.
18168         (do_compare): Likewise.
18170 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
18172         [BZ #15884]
18173         * string/strcoll_l.c: Don't include stdio.h.
18174         (coll_seq): Remove members idxarr and rulearr.
18175         (get_next_seq_cached): Remove function.
18176         (get_next_seq): Likewise.
18177         (get_next_seq_nocache): Rename to get_next_seq.
18178         (do_compare): Remove function.
18179         (do_compare_nocache): Rename to do_compare.
18180         (STRCOLL): Remove weight and rules cache.
18182 2014-10-16  Roland McGrath  <roland@hack.frob.com>
18184         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
18185         * sysdeps/arm/sfp-machine.h: ... to here.
18186         * sysdeps/arm/Implies: Remove arm/soft-fp.
18188 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
18190         * conform/data/sys/utsname.h-data (*_t): Allow.
18191         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
18192         [POSIX] (WEXITED): Do not expect constant.
18193         [POSIX] (WSTOPPED): Likewise.
18194         [POSIX] (WNOHANG): Likewise.
18195         [POSIX] (WNOWAIT): Likewise.
18196         [POSIX] (siginfo_t): Do not expect type or elements.
18197         [POSIX] (pid_t): Do not expect type.
18198         [POSIX] (signal.h): Do not allow header.
18199         [POSIX] (sys/resource.h): Likewise.
18200         [POSIX] (si_*): Do not allow pattern.
18201         [POSIX] (W*): Likewise.
18202         [POSIX] (P_*): Likewise.
18203         [POSIX] (BUS_*): Likewise.
18204         [POSIX] (CLD_*): Likewise.
18205         [POSIX] (FPE_*): Likewise.
18206         [POSIX] (ILL_*): Likewise.
18207         [POSIX] (POLL_*): Likewise.
18208         [POSIX] (SEGV_*): Likewise.
18209         [POSIX] (SI_*): Likewise.
18210         [POSIX] (TRAP_*): Likewise.
18211         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
18212         variable.
18214 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18216         [BZ #12926]
18217         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
18218         infinite loop when __recvmsg returns 0.
18220 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
18222         * CANCEL-FCT-WAIVE: Remove file.
18223         * CANCEL-FILE-WAIVE: Likewise.
18225         [BZ #14132]
18226         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
18227         instead of INTVARDEF.
18228         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18229         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
18230         rtld_hidden_data_def instead of INTVARDEF.
18231         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18232         * elf/dl-deps.c (expand_dst): Likewise.
18233         * elf/dl-load.c (_dl_dst_count): Likewise.
18234         (_dl_dst_substitute): Likewise.
18235         (decompose_rpath): Likewise.
18236         (_dl_init_paths): Likewise.
18237         (open_path): Likewise.
18238         (_dl_map_object): Likewise.
18239         * elf/rtld.c (dl_main): Likewise.
18240         (process_dl_audit): Likewise.
18241         (process_envvars): Likewise.
18242         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
18243         Remove declaration.
18244         (__libc_enable_secure): Use rtld_hidden_proto.
18246 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18248         * elf/dl-load.c
18249         (add_path): New function broken out of _dl_rtld_di_serinfo.
18250         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
18252 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18254         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
18255         parentheses around macro arguments.
18256         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
18257         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
18258         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
18259         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
18260         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
18261         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18262         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18263         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
18264         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
18265         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
18266         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
18267         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
18268         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
18269         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
18270         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
18271         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
18272         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
18273         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
18274         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
18275         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
18276         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
18277         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
18278         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
18279         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18280         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18281         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
18282         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
18283         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
18284         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
18285         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
18286         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
18287         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
18288         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
18289         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
18290         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
18291         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
18292         Likewise.
18293         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
18294         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18295         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18296         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
18297         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
18298         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
18299         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
18300         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
18301         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
18302         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
18303         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
18304         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
18305         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
18306         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
18307         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
18308         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18309         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18310         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
18311         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
18312         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
18313         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
18314         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
18315         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
18316         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
18317         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
18318         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
18319         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
18320         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
18321         (_FP_FRAC_SRS_1): Likewise.
18322         (_FP_FRAC_CLZ_1): Likewise.
18323         (_FP_MUL_MEAT_1_imm): Likewise.
18324         (_FP_MUL_MEAT_1_wide): Likewise.
18325         (_FP_MUL_MEAT_1_hard): Likewise.
18326         (_FP_SQRT_MEAT_1): Likewise.
18327         (_FP_FRAC_ASSEMBLE_1): Likewise.
18328         (_FP_FRAC_DISASSEMBLE_1): Likewise.
18329         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
18330         (__FP_CLZ_2): Likewise.
18331         (_FP_MUL_MEAT_2_wide): Likewise.
18332         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18333         (_FP_MUL_MEAT_2_gmp): Likewise.
18334         (_FP_MUL_MEAT_2_120_240_double): Likewise.
18335         (_FP_SQRT_MEAT_2): Likewise.
18336         (_FP_FRAC_ASSEMBLE_2): Likewise.
18337         (_FP_FRAC_DISASSEMBLE_2): Likewise.
18338         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
18339         (_FP_FRAC_CLZ_4): Likewise.
18340         (_FP_MUL_MEAT_4_wide): Likewise.
18341         (_FP_MUL_MEAT_4_gmp): Likewise.
18342         (_FP_SQRT_MEAT_4): Likewise.
18343         (_FP_FRAC_ASSEMBLE_4): Likewise.
18344         (_FP_FRAC_DISASSEMBLE_4): Likewise.
18345         * soft-fp/op-common.h (_FP_CMP): Likewise.
18346         (_FP_CMP_EQ): Likewise.
18347         (_FP_CMP_UNORD): Likewise.
18348         (_FP_TO_INT): Likewise.
18349         (_FP_FROM_INT): Likewise.
18350         [!__FP_CLZ] (__FP_CLZ): Likewise.
18351         (_FP_DIV_HELP_imm): Likewise.
18352         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
18353         Likewise.
18354         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
18355         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
18356         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
18357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
18358         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
18359         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18360         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
18362         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
18363         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
18364         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
18365         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
18366         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
18367         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
18368         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
18369         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
18370         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
18371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
18372         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
18373         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
18374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
18375         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
18376         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
18377         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18378         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18379         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
18380         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
18381         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
18382         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
18383         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
18384         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
18385         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
18386         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
18387         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
18388         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
18389         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
18390         (FP_UNPACK_RAW_SP): Likewise.
18391         (FP_PACK_RAW_S): Likewise.
18392         (FP_PACK_RAW_SP): Likewise.
18393         (FP_UNPACK_S): Likewise.
18394         (FP_UNPACK_SP): Likewise.
18395         (FP_UNPACK_SEMIRAW_S): Likewise.
18396         (FP_UNPACK_SEMIRAW_SP): Likewise.
18397         (FP_PACK_S): Likewise.
18398         (FP_PACK_SP): Likewise.
18399         (FP_PACK_SEMIRAW_S): Likewise.
18400         (FP_PACK_SEMIRAW_SP): Likewise.
18401         (_FP_SQRT_MEAT_S): Likewise.
18402         (FP_CMP_S): Likewise.
18403         (FP_CMP_EQ_S): Likewise.
18404         (FP_CMP_UNORD_S): Likewise.
18405         (FP_TO_INT_S): Likewise.
18406         (FP_FROM_INT_S): Likewise.
18408         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
18410         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
18411         (FP_EX_INVALID_IMZ): Likewise.
18412         (FP_EX_INVALID_IMZ_FMA): Likewise.
18413         (FP_EX_INVALID_ISI): Likewise.
18414         (FP_EX_INVALID_ZDZ): Likewise.
18415         (FP_EX_INVALID_IDI): Likewise.
18416         (FP_EX_INVALID_SQRT): Likewise.
18417         (FP_EX_INVALID_CVI): Likewise.
18418         (FP_EX_INVALID_VC): Likewise.
18419         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
18420         "invalid" exceptions.
18421         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
18422         (_FP_ADD_INTERNAL): Likewise.
18423         (_FP_MUL): Likewise.
18424         (_FP_FMA): Likewise.
18425         (_FP_DIV): Likewise.
18426         (_FP_CMP_CHECK_NAN): Likewise.
18427         (_FP_SQRT): Likewise.
18428         (_FP_TO_INT): Likewise.
18429         (FP_EXTEND): Likewise.
18431 2014-10-09  Allan McRae  <allan@archlinux.org>
18433         * po/fr.po: Update French translation from translation project.
18435 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18437         [BZ #14132]
18438         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
18439         of INTDEF.
18440         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
18441         (__cxa_atexit): Use libc_hidden_proto.
18442         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
18444         [BZ #14132]
18445         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
18446         declaration.
18447         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
18448         [!_ISOMAC] (__iswspace_l_internal): Likewise.
18449         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
18450         [!_ISOMAC] (__iswctype_internal): Likewise.
18451         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
18452         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
18453         alias.
18454         (fcntl): Remove __fcntl_internal alias.
18455         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
18456         __connect_internal alias.
18457         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
18458         Likewise.
18460         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
18461         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
18462         FP_DENORM_ZERO.
18463         (_FP_CHECK_FLUSH_ZERO): New macro.
18464         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
18465         (_FP_CMP): Likewise.
18466         (_FP_CMP_EQ): Likewise.
18467         (_FP_TO_INT): Do not set inexact for subnormal arguments if
18468         FP_DENORM_ZERO.
18469         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
18470         (FP_TRUNC): Likewise.
18472         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
18473         treated as invalid conversion, not as normal exponent.
18475         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
18476         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
18477         (_FP_CMP_EQ): Likewise.
18478         (_FP_CMP_UNORD): Likewise.
18479         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
18480         (FP_CMP_EQ_D): Likewise.
18481         (FP_CMP_UNORD_D): Likewise.
18482         * soft-fp/extended.h (FP_CMP_E): Likewise.
18483         (FP_CMP_EQ_E): Likewise.
18484         (FP_CMP_UNORD_E): Likewise.
18485         * soft-fp/quad.h (FP_CMP_Q): Likewise.
18486         (FP_CMP_EQ_Q): Likewise.
18487         (FP_CMP_UNORD_Q): Likewise.
18488         * soft-fp/single.h (FP_CMP_S): Likewise.
18489         (FP_CMP_EQ_S): Likewise.
18490         (FP_CMP_UNORD_S): Likewise.
18491         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
18492         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
18493         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
18494         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
18495         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
18496         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
18497         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
18498         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
18499         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
18500         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
18501         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
18502         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
18503         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
18504         to FP_CMP_Q.
18505         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
18506         FP_CMP_Q.
18507         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
18508         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
18509         FP_CMP_EQ_Q.
18510         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
18511         FP_CMP_Q.
18512         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
18513         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
18514         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
18515         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
18516         FP_CMP_EQ_Q.
18517         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
18518         FP_CMP_Q.
18519         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
18520         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
18521         FP_CMP_EQ_Q.
18522         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
18523         FP_CMP_Q.
18524         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
18525         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
18526         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
18527         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
18528         FP_CMP_EQ_Q.
18530         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
18531         a subnormal result, set the underflow exception if trapping on
18532         underflow is enabled.
18533         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
18534         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
18535         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
18536         redefine to 0.
18537         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
18538         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18539         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18540         * soft-fp/extendxftf2.c (__extendxftf2): Use
18541         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
18543         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
18544         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
18545         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18546         FP_HANDLE_EXCEPTIONS.
18547         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
18548         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18549         FP_HANDLE_EXCEPTIONS.
18550         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
18551         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18552         FP_HANDLE_EXCEPTIONS.
18553         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
18554         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18555         FP_HANDLE_EXCEPTIONS.
18557 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
18559         [BZ #14132]
18560         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
18561         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
18562         use INTUSE.
18563         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
18564         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
18565         Remove alias.
18566         (__adjtimex): Define using libc_hidden_ver.
18567         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
18568         Remove declaration.
18569         (ntp_gettime): Call __adjtimex directly.
18570         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
18571         Remove declaration.
18572         (ntp_gettimex): Call __adjtimex directly.
18573         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
18574         __adjtimex_internal alias.
18576 2014-10-08  Roland McGrath  <roland@hack.frob.com>
18578         [BZ #17460]
18579         * nscd/nscd.c (more_help): Rewrite list of tables collection
18580         using xstrdup and asprintf.
18582         * nscd/nscd_conf.c: Remove local xstrdup declaration.
18584 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18585             Roland McGrath  <roland@hack.frob.com>
18587         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
18588         (do_lookup_unique): ... local function 'enter' here; update callers.
18590 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
18592         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
18593         compat_symbol calls on [SHARED].
18594         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
18595         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
18596         Remove.
18597         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18598         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
18599         (oldsetrlimit): Remove.
18600         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18602         (lchown): New syscall entry.
18603         (oldsetrlimit): Remove.
18604         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18605         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
18606         (oldsetrlimit): Remove.
18607         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18609         [BZ #14138]
18610         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
18611         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
18612         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
18613         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
18614         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18615         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
18616         (fchown): Likewise.
18617         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
18618         (fchown): Likewise.
18619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
18620         Likewise.
18622 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18624         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
18625         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
18626         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
18627         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
18628         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
18629         Likewise.
18630         (__old_sem_post): Likewise.
18632 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
18634         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
18635         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
18636         HAVE_CLOCK_GETTIME_VSYSCALL macros.
18637         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
18638         Use INLINE_VSYSCALL macro.
18639         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
18640         __vdso_clock_gettime.
18641         * sysdeps/unix/sysv/linux/tile/init-first.c
18642         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
18643         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
18644         __vdso_clock_gettime.
18646         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
18647         to set up frame more cleanly.
18649         * sysdeps/tile/memcmp.c: New file.
18651         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
18653         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
18654         * sysdeps/tile/tilegx/strcasestr.c: New file.
18655         * sysdeps/tile/tilegx/strnlen.c: New file.
18656         * sysdeps/tile/tilegx/strstr.c: New file.
18658         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
18660 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
18662         * nptl/tst-setuid3.c: Write errors to stdout.
18664 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18666         * elf/dl-deps.c
18667         (preload): New functions broken out of _dl_map_object_deps.
18668         (_dl_map_object_deps):  Remove a nested function. Update call sites.
18670 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
18672         [BZ #14138]
18673         * sysdeps/unix/sysv/linux/execve.c: Remove file.
18674         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
18676 2014-10-01  Steve Ellcey  <sellcey@mips.com>
18678         * sysdeps/mips/strcmp.S: New.
18680 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
18682         [BZ #14138]
18683         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
18684         (linkat): Likewise.
18685         (mkdirat): Likewise.
18686         (readlinkat): Likewise.
18687         (renameat): Likewise.
18688         (symlinkat): Likewise.
18689         (unlinkat): Likewise.
18690         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
18691         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
18692         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
18693         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
18694         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
18695         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
18696         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
18698 2014-09-30  Will Newton  <will.newton@linaro.org>
18700         * math/math.h: Define long double math functions if
18701         _LIBC_TEST is defined.
18702         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
18704         * localedata/Makefile: Move assignment to tests-special
18705         into an ifdef testing run-built-tests.
18706         * timezone/Makefile: Likewise.
18708 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
18710         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
18711         with $(BASH) not $(SHELL).
18713 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
18714             Matthew LeGendre  <legendre1@llnl.gov>
18716         [BZ #17411]
18717         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
18718         l_reloc_result.
18720 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18722         * stdio-common/printf_fp.c
18723         (hack_digit): New function, broken out of ...
18724         (__printf_fp): ... local function here.  Update call sites.
18725         hack_digit now takes an additional parameter that is a pointer
18726         to a struct of the referenced locals.  Those locals moved inside
18727         the struct and references updated.
18729 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
18731         * aclocal.m4: Require autoconf 2.69.
18732         * configure: Regenerated.
18733         * sysdeps/aarch64/configure: Likewise.
18734         * sysdeps/alpha/configure: Likewise.
18735         * sysdeps/arm/armv7/configure: Likewise.
18736         * sysdeps/arm/configure: Likewise.
18737         * sysdeps/ia64/configure: Likewise.
18738         * sysdeps/mach/configure: Likewise.
18739         * sysdeps/mips/configure: Likewise.
18740         * sysdeps/s390/configure: Likewise.
18741         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
18742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
18744         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
18745         file.
18746         * sysdeps/ia64/configure.ac: Likewise.
18748 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
18750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
18751         specify symbol version for ld.so.  Do not include entry for
18752         libpthread.
18753         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18754         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18755         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18757         [BZ #14171]
18758         * Makeconfig [$(build-shared) = yes]
18759         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
18760         makefiles.
18761         [$(build-shared) = yes && $(soversions.mk-done) = t]
18762         ($(common-objpfx)gnu/lib-names.h): Remove rule.
18763         [$(build-shared) = yes && $(soversions.mk-done) = t]
18764         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
18765         to Makerules.
18766         [$(build-shared) = yes && $(soversions.mk-done) = t]
18767         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
18768         here.
18769         [$(build-shared) = yes && $(soversions.mk-done) = t]
18770         (common-generated): Don't append gnu/lib-names.h and
18771         gnu/lib-names.stmp here.
18772         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
18773         (lib-names-h-abi): New variable.
18774         [$(build-shared) = yes && $(soversions.mk-done) = t]
18775         (lib-names-stmp-abi): Likewise.
18776         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18777         abi-variants] (before-compile): Append
18778         $(common-objpfx)$(lib-names-h-abi).
18779         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18780         abi-variants] (common-generated): Append gnu/lib-names.h.
18781         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18782         abi-variants] (install-others-nosubdir): Depend on
18783         $(inst_includedir)/$(lib-names-h-abi).
18784         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18785         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
18786         [$(build-shared) = yes && $(soversions.mk-done) = t]
18787         ($(common-objpfx)$(lib-names-h-abi)): New rule.
18788         [$(build-shared) = yes && $(soversions.mk-done) = t]
18789         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
18790         [$(build-shared) = yes && $(soversions.mk-done) = t]
18791         (common-generated): Append $(lib-names-h-abi) and
18792         $(lib-names-stmp-abi).
18793         * scripts/lib-names.awk: Do not handle multi being set.
18794         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
18795         Remove variable.
18796         (abi-lp64_be-ld-soname): Likewise.
18797         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
18798         Likewise.
18799         (abi-hard-ld-soname): Likewise.
18800         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
18801         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
18802         Remove variable.
18803         (abi-o32_hard-ld-soname): Likewise.
18804         (abi-o32_soft_2008-ld-soname): Likewise.
18805         (abi-o32_hard_2008-ld-soname): Likewise.
18806         (abi-n32_soft-ld-soname): Likewise.
18807         (abi-n32_hard-ld-soname): Likewise.
18808         (abi-n32_soft_2008-ld-soname): Likewise.
18809         (abi-n32_hard_2008-ld-soname): Likewise.
18810         (abi-n64_soft-ld-soname): Likewise.
18811         (abi-n64_hard-ld-soname): Likewise.
18812         (abi-n64_soft_2008-ld-soname): Likewise.
18813         (abi-n64_hard_2008-ld-soname): Likewise.
18814         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
18815         Likewise.
18816         (abi-64-v2-ld-soname): Likewise.
18817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
18818         ld.so entries.
18819         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
18820         variable.
18821         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
18822         entry.
18823         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
18824         variable.
18825         (abi-64-ld-soname): Likewise.
18826         (abi-x32-ld-soname): Likewise.
18827         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
18828         entry.
18829         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18831 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
18833         [BZ #14138]
18834         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
18835         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
18836         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
18837         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
18838         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
18839         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
18840         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
18841         syscall entry for GLIBC_2.2 symbol version.
18842         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
18843         Likewise.
18844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18845         (setrlimit): Likewise.
18846         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
18847         Likewise.
18849 2014-09-23  Will Newton  <will.newton@linaro.org>
18851         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
18852         _LINUX_ARM_SYSDEP_H include guard too.
18853         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
18854         define.
18856 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18858         * sysdeps/unix/sysv/linux/eventfd.c:
18859         Make first argument unsigned.
18860         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
18861         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
18863 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
18865         * socket/recvmmsg.c (recvmmsg): Drop const argument.
18866         * socket/sys/socket.h: Likewise
18867         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
18869 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18871         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
18873 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
18875         * time/tst-ftime.c: New test.
18876         * time/Makefile (tests): Add tst-ftime.
18878 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
18880         * soft-fp/extended.h: Fix comment formatting.
18881         * soft-fp/op-1.h: Likewise.
18882         * soft-fp/op-2.h: Likewise.
18883         * soft-fp/op-4.h: Likewise.
18884         * soft-fp/op-8.h: Likewise.
18885         * soft-fp/op-common.h: Likewise.
18886         * soft-fp/soft-fp.h: Likewise.
18888         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
18890 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
18892         [BZ #6652]
18893         * Makeconfig (soversions-default-setname): Remove variable.
18894         ($(common-objpfx)soversions.i): Don't pass default_setname to
18895         soversions.awk.
18896         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
18897         oldest_abi to abi-versions.awk.
18898         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
18899         * config.make.in (oldest-abi): Remove variable.
18900         * configure.ac (--enable-oldest-abi): Remove configure option.
18901         * configure: Regenerated.
18902         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
18903         text.
18904         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
18905         * scripts/soversions.awk: Do not handle default_setname variable.
18906         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
18907         variable.
18908         * sysdeps/mach/hurd/configure: Regenerated.
18909         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
18910         variable.
18911         * sysdeps/unix/sysv/linux/configure: Regenerated.
18913 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18915         * elf/Makefile (CFLAGS-interp.c): Remove.
18916         ($(elf-objpfx)runtime-linker.h): Generate header with linker
18917         path string.
18918         * elf/interp.c: Include generated runtime-linker.h
18920         * Makerules (lib%.so): Don't include $(+interp) in
18921         prerequisites.
18922         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
18923         * dlfcn/eval.c: Remove file.
18925         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
18926         macros.
18928         [BZ #17266]
18929         * misc/sys/cdefs.h: Define __extern_always_inline for clang
18930         4.2 and newer.
18932         [BZ #17370]
18933         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
18935 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18936             Jakub Jelinek  <jakub@redhat.com>
18938         [BZ #17266]
18939         * libio/stdio.h: Check definition of __fortify_function
18940         instead of __extern_always_inline to include bits/stdio2.h.
18941         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
18942         check if __extern_always_inline is defined.
18943         [__USE_MISC || __USE_XOPEN]: Likewise.
18944         [__USE_ISOC99] Likewise.
18945         * misc/sys/cdefs.h (__fortify_function): Define only if
18946         __extern_always_inline is defined.
18947         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
18948         __extern_always_inline and __extern_inline only for g++-4.3
18949         and newer or a compatible gcc.
18951 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
18953         [BZ #17371]
18954         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18955         last change to handle zero prefix length.
18957 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18959         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
18960         _SC_REGEX_VERSION.
18962         * posix/getconf.c (vars): Add _POSIX_IPV6 and
18963         _POSIX_RAW_SOCKETS.
18965 2014-09-13  Allan McRae  <allan@archlinux.org>
18967         * po/ru.po: Update Russian translation from translation project.
18969 2014-09-12  Roland McGrath  <roland@hack.frob.com>
18971         * locale/programs/locale.c (show_locale_vars): Inline local function
18972         into its sole call site.  Clean up some style nits.
18973         (print_item): New function, broken out of ...
18974         (show_info): ... local function here.  Clean up style nits.
18976         * locale/programs/ld-ctype.c (set_one_default): New function, broken
18977         out of ...
18978         (set_class_defaults): ... local function set_default here.
18979         Define set_default as a macro locally to pass constant parameters.
18980         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
18981         rather than a shared local.
18983         * stdlib/rpmatch.c (try): New function, broken out of ...
18984         (rpmatch): ... local function here.  Also, prototypify definition.
18986 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
18988         * scripts/soversions.awk: Do not handle configuration names.
18989         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
18990         vendor and os variables to soversions.awk.
18991         * configure.ac: Do not modify gnu-* host_os.
18992         * configure: Regenerated
18993         * shlib-versions: Remove first column with configuration names.
18994         * nptl/shlib-versions: Likewise.
18995         * nptl_db/shlib-versions: Likewise.
18996         * sysdeps/hppa/shlib-versions: Likewise.
18997         * sysdeps/m68k/shlib-versions: Likewise.
18998         * sysdeps/mach/hurd/shlib-versions: Likewise.
18999         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
19000         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
19001         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
19002         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
19003         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
19004         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
19005         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
19006         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
19007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19008         Likewise.
19009         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19010         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19011         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19012         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19013         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19014         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
19015         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
19016         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19019         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
19020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19021         Regenerated.
19022         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
19023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19024         Condition symbol version definitions on [HAVE_ELFV2_ABI].
19026         * shlib-versions: Remove OS-specific entries.  Moved to files in
19027         sysdeps.
19028         * sysdeps/mach/hurd/shlib-versions: New file.
19029         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19031         * nptl/shlib-versions: Remove architecture-specific entries.
19032         Moved to files in sysdeps.
19033         * shlib-versions: Likewise.
19034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
19035         file.
19036         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19037         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19038         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19039         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19041         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
19042         (UDP_NO_CHECK6_RX): Likewise.
19044 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19046         * sysdeps/posix/sysconf.c (__sysconf): Spell
19047         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
19049 2014-08-12  Florian Weimer  <fweimer@redhat.com>
19051         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
19052         loading.
19053         * iconv/Versions (__gconv_transliterate): Export for use from
19054         gconv modules.
19055         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
19056         (struct __gconv_trans_data, __gconv_trans_fct,
19057         __gconv_trans_context_fct, __gconv_trans_query_fct,
19058         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
19059         definitions.
19060         (struct __gconv_step_data): Remove __trans member.
19061         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
19062         longer hidden.  Remove unused trans_data argument.
19063         * iconv/gconv_int.h (struct trans_struct): Remove definition.
19064         (__gconv_translit_find): Remove declaration.
19065         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
19066         prototype.
19067         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
19068         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
19069         trans_data argument.  Add hidden definition.
19070         (__gconv_translit_find): Remove.
19071         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
19072         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
19073         * iconv/skeleton.c: Remove transliteration initialization.
19074         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
19075         __gconv_step_data initialization.
19076         * libio/iofwide.c (__libio_translit_): Remove.
19077         (_IO_fwide): Adjust struct __gconv_step_data initialization.
19078         * wcsmbs/btowc.c (__btowc): Likewise.
19079         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19080         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19081         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19082         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19083         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
19084         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19085         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19086         * wcsmbs/wctob.c (wctob): Likewise.
19088 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19090         [BZ #16194]
19091         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
19092         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
19093         register usage.
19094         * sysdeps/x86/Makefile: Adjust.
19096 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19097             Roland McGrath  <roland@hack.frob.com>
19099         * locale/weight.h: Add include guard.
19100         (findidx): Make static rather than auto; take new parameters
19101         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
19102         * locale/weightwc.h: Likewise.
19103         * posix/fnmatch_loop.c
19104         (FCT): Change type of EXTRA from int32_t to wint_t.
19105         Don't include either header inside the function.
19106         Call FINDIDX rather than findidx, and pass new arguments.
19107         #undef FINDIDX at the end of the file.
19108         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
19109         FINDIDX before including fnmatch_loop.c for the non-wide version.
19110         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
19111         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
19112         for the wide version.
19113         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
19114         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
19115         Pass new arguments to findidx.
19116         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
19117         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
19118         Don't #include it inside the function.  Pass new arguments to findidx.
19119         * posix/regex_internal.h
19120         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
19121         (re_string_elem_size_at): Don't #include it inside the function.
19122         Pass new arguments to findidx.
19123         * string/strcoll_l.c: #include WEIGHT_H at top level.
19124         (get_next_seq): Don't #include it inside the function.
19125         Pass new arguments to findidx.
19126         (get_next_seq_nocache): Likewise.
19127         * string/strxfrm_l.c: #include WEIGHT_H at top level.
19128         (STRXFRM): Don't #include it inside the function.
19129         Pass new arguments to findidx.
19131 2014-09-11  Florian Weimer  <fweimer@redhat.com>
19133         [BZ #17344]
19134         * malloc/malloc.c (unlink): Turn asserts into a call to
19135         malloc_printerr.
19137 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
19139         [BZ #17370]
19140         * libio/wfileops (do_ftell_wide): Free OUT.
19142 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
19144         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
19146 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19148         [BZ #17363]
19149         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
19150         group if the current group is empty.
19152 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19154         * benchtests/bench-memset.c (test_main): Add more test from size
19155         from 32 to 512 bytes.
19156         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19157         Add POWER8 memset object.
19158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19159         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
19160         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
19161         implementation.
19162         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
19163         Likewise.
19164         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
19165         multiarch POWER8 memset optimization.
19166         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
19167         POWER8 memset optimization.
19169         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19170         Remove bzero multiarch objects.
19171         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
19172         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
19173         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
19174         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
19175         Remove define.
19176         [__bzero]: Redefine to specific name.
19177         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
19178         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
19179         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
19180         define.
19181         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19182         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19184 2014-09-10  Florian Weimer  <fweimer@redhat.com>
19186         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
19187         warnings into errors.
19189         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
19190         __cxa_thread_atexit_impl prototype.
19192 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19194         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
19195         Fix capitalization of error message.
19197 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19199         * sysdeps/mips/preconfigure: Modify ABI tests.
19201 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
19203         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
19205 2014-09-07  Roland McGrath  <roland@hack.frob.com>
19206             Carlos O'Donell  <carlos@systemhalted.org>
19208         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
19209         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
19210         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
19211         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
19212         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
19213         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
19214         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
19215         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
19216         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
19217         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
19218         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
19219         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
19220         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
19221         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
19222         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
19223         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
19224         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
19225         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
19226         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
19227         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
19228         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
19229         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
19230         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
19231         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
19232         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
19233         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
19234         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
19235         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
19236         Deconditionalize the code that was previously under [RESET_PID].
19237         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
19238         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
19239         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
19240         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
19241         include sysdep.h.
19243 2014-09-08  Allan McRae  <allan@archlinux.org>
19245         * version.h (RELEASE): Set to "development".
19246         (VERSION): Set to "2.20.90"
19248 2014-09-07  Allan McRae  <allan@archlinux.org
19250         * version.h (RELEASE): Set to "stable".
19251         (VERSION): Set to "2.20"
19252         * include/features.h (__GLIBC_MINOR__): Set to 20.
19254         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
19255         Liebler.
19257         * po/ko.po: Update Korean translation from translation project.
19259 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
19261         [BZ #17354]
19262         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
19263         macro for handling signed relocations.
19265 2014-09-03  Florian Weimer  <fweimer@redhat.com>
19267         [BZ #17325]
19268         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
19269         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
19270         assert.
19271         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
19272         * iconvdata/ibm935.c (BODY): Likewise.
19273         * iconvdata/ibm937.c (BODY): Likewise.
19274         * iconvdata/ibm939.c (BODY): Likewise.
19275         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
19276         assert.
19277         * iconvdata/Makefile (iconv-test.out): Pass module list to test
19278         script.
19279         * iconvdata/run-iconv-test.sh: New test loop for checking for
19280         decoder crashers.
19282 2014-09-02  Khem Raj  <raj.khem@gmail.com>
19284         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
19285         libm_hidden_ver.
19287 2014-09-01  Allan McRae  <allan@archlinux.org>
19289         * po/eo.po: Update Esperanto translation from translation project.
19291         * po/ca.po: Update Catalan translation from translation project.
19293 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19295         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
19296         __proc_dostop call.
19298 2014-08-27  Mark Wielaard  <mjw@redhat.com>
19300         [BZ #17319]
19301         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
19302         to call set_thread_area instead of hand written asm.
19303         (__NR_set_thread_area): Removed define.
19304         (TLS_FLAG_WRITABLE): Likewise.
19305         (__ASSUME_SET_THREAD_AREA): Remove check.
19306         (TLS_EBX_ARG): Remove define.
19307         (TLS_LOAD_EBX): Likewise.
19309 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19311         Simplify atomicity of socket creation in bind.
19313         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
19314         looking up the name after linking the file.
19316 2014-08-27  Allan McRae  <allan@archlinux.org>
19318         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19320 2014-08-26  Florian Weimer  <fweimer@redhat.com>
19322         [BZ #17187]
19323         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
19324         trans_compare, open_translit, __gconv_translit_find):
19325         Remove module loading code.
19327 2014-08-26  Allan McRae  <allan@archlinux.org>
19329         * po/vi.po: Update Vietnamese translation from translation project.
19331         * po/uk.po: Update Ukrainian translation from translation project.
19333         * po/fr.po: Update French translation from translation project.
19335         * po/ru.po: Update Russian translation from translation project.
19337         * po/pl.po: Update Polish translation from translation project.
19339         * po/cs.po: Update Czech translation from translation project.
19341         * po/de.po: Update German translation from translation project.
19343         * po/bg.po: Update Bulgarian translation from translation project.
19345         * po/sv.po: Update Sweedish translation from translation project.
19347         * po/nl.po: Update Dutch translation from translation project.
19349         * po/es.po: Update Spanish translation from translation project.
19351 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19353         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
19355         * catgets/Makefile (CPPFLAGS-gencat): Remove.
19356         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
19357         (CPPFLAGS-iconvconfig): Likewise.
19358         * timezone/Makefile (CPPFLAGS-zic): Likewise.
19360         * include/libc-symbols.h: Remove unnecessary check for
19361         NOT_IN_libc.
19362         * nptl/pthreadP.h: Likewise.
19363         * sysdeps/aarch64/setjmp.S: Likewise.
19364         * sysdeps/alpha/setjmp.S: Likewise.
19365         * sysdeps/arm/sysdep.h: Likewise.
19366         * sysdeps/i386/setjmp.S: Likewise.
19367         * sysdeps/m68k/setjmp.c: Likewise.
19368         * sysdeps/posix/getcwd.c: Likewise.
19369         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19370         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19371         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19372         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19373         * sysdeps/sh/sh3/setjmp.S: Likewise.
19374         * sysdeps/sh/sh4/setjmp.S: Likewise.
19375         * sysdeps/unix/alpha/sysdep.h: Likewise.
19376         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19377         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19378         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19379         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19382         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19383         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19384         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19385         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19386         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19387         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19388         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19389         * sysdeps/x86_64/setjmp.S: Likewise.
19391 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
19393         [BZ #17263]
19394         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
19395         <stdint.h>.
19396         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
19397         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
19399 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19401         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
19403         [BZ #17262]
19404         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
19405         and __x86_64__ when disabling x87 inline functions.
19407 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
19409         [BZ #17259]
19410         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
19411         asm statement with __cpuid_count.
19413 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
19415         * configure.ac: Change __ehdr_start code to dereference the struct.
19416         Run readelf on the output to look for relocations.
19417         * configure: Regenerated.
19419 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
19421         [BZ #17261]
19422         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
19423         value to 0.
19424         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
19426 2014-08-12  Roland McGrath  <roland@hack.frob.com>
19428         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
19430 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
19432         [BZ #16892]
19433         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
19434         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
19436 2014-08-12  Sean Anderson  <seanga2@gmail.com>
19438         * malloc/malloc.c: Fix typo in comment.
19440 2014-08-09  Allan McRae  <allan@archlinux.org>
19442         * Regenerate libc.po.
19444 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
19446         * intl/tst-gettext2.sh: Check every lang file for creation.
19448 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19450         * sysdeps/aarch64/fpu/math_private.h
19451         (libc_feholdsetround_noex_aarch64_ctx): New function.
19453 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19455         * sysdeps/arm/armv6/strcpy.S (strcpy):
19456         Fix performance issue in misaligned cases.
19458 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19460         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
19461         Move definition from termios.h.
19462         (struct termio): Likewise.
19463         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19464         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19465         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19466         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19467         Likewise.
19468         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
19469         Move definition to ioctl-types.h
19470         (struct termio): Likewise.
19471         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19472         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19473         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19474         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19475         Likewise.
19477 2014-08-05  Richard Henderson  <rth@redhat.com>
19479         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
19480         exceptions.
19481         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
19482         Add fraiseexcpt.
19483         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
19484         Use __feraiseexcept.
19485         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
19486         Protect libm symbols with IS_IN_libm.
19488         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
19490 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
19492         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
19494 2014-08-04  Will Newton  <will.newton@linaro.org>
19496         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
19497         file.
19499 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
19501         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
19502         variants for each function.
19504 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19506         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
19507         appended ...
19508         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
19509         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
19510         appended ...
19511         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
19512         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
19513         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
19514         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
19515         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
19516         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
19517         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
19518         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
19519         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
19520         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
19521         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
19522         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
19523         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
19524         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
19525         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
19526         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
19527         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
19528         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
19529         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
19530         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
19531         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
19532         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
19533         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
19534         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
19535         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
19536         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
19537         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
19538         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
19539         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
19540         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
19541         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
19542         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
19543         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
19544         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
19545         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
19546         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
19547         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
19548         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
19549         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
19550         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
19551         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
19552         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
19553         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
19554         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
19555         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
19556         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
19557         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
19558         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
19559         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
19560         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
19561         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
19562         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
19563         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
19564         Update #include.
19565         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
19566         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
19568 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19570         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
19571         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
19572         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
19573         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
19574         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
19575         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
19577 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19579         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
19580         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
19581         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19582         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
19584 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19586         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
19587         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
19588         (__libc_vfork): Define function under this name.
19589         (__vfork): Define as an alias.
19590         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
19591         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
19593 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19595         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
19596         that was previously under [RESET_PID].
19597         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
19599 2014-08-04  Andreas Schwab  <schwab@suse.de>
19601         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
19603 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
19605         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
19606         (main): Likewise.
19608 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19610         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
19612 2014-08-01  Richard Henderon  <rth@redhat.com>
19614         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
19615         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
19616         typo in exact zero test.
19617         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19618         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19619         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19621 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19623         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
19624         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
19625         * sysdeps/arm/sysdep.h: ... here.
19626         [!__ASSEMBLER__]: Include <stdint.h>.
19628 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19630         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
19631         (HAVE_WCTYPE_H): Likewise.
19632         (HAVE_ISWCTYPE): Likewise.
19633         (ENABLE_NLS): Likewise.
19634         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
19635         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
19637         * posix/regex_internal.c: Check if DEBUG is defined and is
19638         set.
19640         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
19641         (HAVE_MBSRTOWCS): Likewise.
19642         * posix/fnmatch.c: Include string.h unconditionally.
19644 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19646         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
19647         reversal.
19649 2014-07-31  Roland McGrath  <roland@hack.frob.com>
19651         * sysdeps/generic/safe-fatal.h: New file.
19652         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
19653         * nptl/forward.c: Include it.
19654         (__pthread_unwind): Use __safe_fatal as default action, rather
19655         than a bogus use of INTERNAL_SYSCALL that could never work.
19657         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
19658         * configure.ac (libc_cv_builtin_trap): New test.
19659         * configure: Regenerated.
19660         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
19661         (ABORT_INSTRUCTION): Define using __builtin_trap.
19663         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
19664         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
19665         * sysdeps/nptl/nptl-signals.h: New file.
19666         * nptl/pthreadP.h: Include <nptl-signals.h>.
19668 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19670         * sysdeps/s390/s390-64/utf16-utf32-z9.c
19671         (ONE_DIRECTION): Define.
19672         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19673         (ONE_DIRECTION): Define.
19674         * sysdeps/s390/s390-64/utf8-utf32-z9.c
19675         (ONE_DIRECTION): Define.
19677 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19679         * sysdeps/s390/Makefile: Delete file.
19680         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
19681         * sysdeps/s390/__longjmp.c: Delete file.
19682         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
19683         Remove fields __flags and __reserved.
19684         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
19685         and add versioning.
19686         * sysdeps/s390/rtld-__longjmp.c: Delete file.
19687         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
19688         * sysdeps/s390/rtld-setjmp.S: Likewise.
19689         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
19690         * sysdeps/s390/s390-32/__longjmp.c: ... here.
19691         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
19692         * sysdeps/s390/s390-32/setjmp.S: ... here.
19693         Add versioning.
19694         (__sigsetjmp): Remove setting __flags field.
19695         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
19696         * sysdeps/s390/s390-64/__longjmp.c: ... here.
19697         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
19698         * sysdeps/s390/s390-64/setjmp.S: ... here.
19699         Add versioning.
19700         (__sigsetjmp): Remove setting __flags field.
19701         * sysdeps/s390/setjmp.S: Delete file.
19702         * sysdeps/s390/sigjmp.c: Likewise.
19703         * sysdeps/s390/v1-longjmp.c: Likewise.
19704         * sysdeps/s390/v1-setjmp.h: Likewise.
19705         * sysdeps/s390/v1-sigjmp.c: Likewise.
19706         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
19707         Remove v1-longjmp_chk.
19708         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
19709         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
19710         Include debug/longjmp_chk.c and add versioning.
19711         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
19712         Include nptl/pt-longjmp.c and add versioning.
19713         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
19714         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
19715         Include __longjmp.c.
19716         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19717         Move to ...
19718         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
19719         (__getcontext): Remove setting __flags field.
19720         Add versioning.
19721         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19722         Don't restore upper high grps.
19723         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
19724         Likewise.
19725         (__swapcontext): Remove setting uc_flags field.
19726         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
19727         Delete file.
19728         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19729         Include __longjmp.c.
19730         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19731         Move to ...
19732         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
19733         (__getcontext): Remove setting __flags field.
19734         Add versioning.
19735         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
19736         (__swapcontext): Remove setting uc_flags field.
19737         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
19738         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
19739         Remove fields uc_high_gprs and __reserved.
19740         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
19741         New file with reverted content.
19742         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
19743         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
19744         Regenerated.
19745         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
19746         Regenerated.
19748 2014-07-31  Andreas Schwab  <schwab@suse.de>
19750         * config.h.in (HAVE_IFUNC): Define to 0.
19751         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
19752         definedness.
19754 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
19756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19757         memmove-avx-unaligned, memcpy-avx-unaligned and
19758         mempcpy-avx-unaligned.
19759         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19760         Add tests for AVX memcpy functions.
19761         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
19762         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
19763         memcpy_chk.
19764         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
19765         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
19766         memmove_chk.
19767         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
19768         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
19769         mempcpy_chk.
19770         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
19771         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
19772         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
19774 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19776         [BZ #17213]
19777         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
19778         powerpc64le.
19780 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
19782         [BZ #16839]
19783         * manual/llio.texi: Add section about open file description locks.
19784         * manual/examples/ofdlocks.c: Example of open file description
19785         lock usage.
19786         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
19787         F_OFD_SETLK, and F_OFD_SETLKW.
19789 2014-07-23  Allan McRae  <allan@archlinux.org>
19791         * po/es.po: Update Spanish translation from translation project.
19793 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
19795         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
19797 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
19799         [BZ #17078]
19800         * sysdeps/arm/dl-machine.h (elf_machine_rela)
19801         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
19802         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
19804 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
19806         [BZ #17088]
19807         * math/fesetenv.c (__fesetenv)
19808         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
19809         * math/feupdateenv.c (__feupdateenv)
19810         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
19812         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
19813         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19814         (__ASSUME_SOCKETCALL): Do not define.
19816         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
19817         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
19818         (__ASSUME_SOCKETCALL): Do not define.
19819         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
19820         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19821         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19822         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19823         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19824         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
19825         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19826         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19828         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
19829         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
19830         (__ASSUME_SOCKETCALL): Do not define.
19831         (__ASSUME_IPC64): Define unconditionally.
19832         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19833         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19834         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19835         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19836         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
19837         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19838         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
19839         Likewise.
19841         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
19842         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
19843         (__ASSUME_SOCKETCALL): Do not define.
19844         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
19845         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19846         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19847         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19848         (__ASSUME_REQUEUE_PI): Define unconditionally.
19849         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
19850         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19851         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19852         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
19853         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19854         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19856         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
19857         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
19858         (__ASSUME_SOCKETCALL): Do not define.
19859         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
19860         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19861         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19862         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
19863         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19864         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19866         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
19867         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
19868         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19869         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
19870         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19871         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
19872         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19873         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
19874         (__ASSUME_GETCPU_SYSCALL): Likewise.
19876         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
19877         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
19878         cases for individual architectures.
19879         * sysdeps/gnu/configure: Regenerated.
19880         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
19881         LIBC_SLIBDIR_RTLDDIR.
19882         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
19883         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
19884         LIBC_SLIBDIR_RTLDDIR.
19885         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
19886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
19887         LIBC_SLIBDIR_RTLDDIR.
19888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19889         Regenerated.
19890         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
19891         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
19892         file.
19893         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
19894         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
19895         file.
19896         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
19897         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
19898         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
19899         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
19901         * sysdeps/aarch64/shlib-versions: Move to ...
19902         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
19903         * sysdeps/alpha/shlib-versions: Move to ...
19904         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
19905         * sysdeps/arm/shlib-versions: Move to ...
19906         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
19907         * sysdeps/hppa/shlib-versions: Move all contents except for
19908         libgcc_s entry to ...
19909         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
19910         entry from ...
19911         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
19912         * sysdeps/ia64/shlib-versions: Move to ...
19913         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
19914         entry from ...
19915         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
19916         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
19917         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
19918         * sysdeps/microblaze/shlib-versions: Move to ...
19919         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
19920         * sysdeps/mips/shlib-versions: Move to ...
19921         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
19922         entry from ...
19923         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
19924         * sysdeps/tile/shlib-versions: Move to ...
19925         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
19926         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
19927         from ...
19928         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
19929         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
19930         entry from ...
19931         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
19933 2014-07-17  Will Newton  <will.newton@linaro.org>
19935         * sysdeps/arm/bits/atomic.h
19936         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
19937         (__arch_compare_and_exchange_bool_16_int): Likewise.
19938         (__arch_compare_and_exchange_bool_64_int): Likewise.
19940         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
19941         into an #else block.
19943 2014-07-16  Roland McGrath  <roland@hack.frob.com>
19945         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
19946         just Linux configurations.  Test empirically that the compiler sets
19947         __ARM_EABI__, rather than using the tuple to decide.
19948         * sysdeps/arm/preconfigure: Regenerated.
19949         * sysdeps/unix/sysv/linux/arm/configure: File removed.
19950         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
19951         contents appended ...
19952         * sysdeps/arm/configure.ac: ... here.
19953         * sysdeps/arm/configure: Regenerated.
19955 2014-07-15  Roland McGrath  <roland@hack.frob.com>
19957         * nptl/pthread_kill.c: New file.
19958         * nptl/pthread_sigmask.c: New file.
19959         * nptl/pthread_sigqueue.c: New file.
19961         * sysdeps/nptl/lowlevellock.h: New file.
19962         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
19963         * sysdeps/nptl/lowlevellock-futex.h: New file.
19965         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
19966         Remove dead declarations.
19968 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
19970         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
19971         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
19972         config-cflags-avx2.
19973         * sysdeps/x86_64/configure.ac: Likewise.
19974         * sysdeps/i386/configure: Regenerated.
19975         * sysdeps/x86_64/configure: Likewise.
19976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19977         memset-avx2 only if config-cflags-avx2 is yes.
19978         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19979         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
19980         defined.
19981         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
19982         only if HAVE_AVX2_SUPPORT is defined.
19983         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19985 2014-07-14  Alan Modra  <amodra@gmail.com>
19987         [BZ #17153]
19988         * elf/elf.h (DT_PPC64_NUM): Correct value.
19989         * NEWS: Add to fixed bug list.
19991 2014-07-13  Jim Meyering  <meyering@fb.com>
19993         [BZ 17150]
19994         regex: don't deref NULL upon heap allocation failure
19995         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
19996         failure in one more place.
19997         To trigger the segfault, configure grep -with-included-regex,
19998         build it, and run these commands:
19999         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
20001 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
20003         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20005 2014-07-11  Richard Henderson  <rth@redhat.com>
20007         * sysdeps/aarch64/libm-test-ulps: Update.
20009 2014-07-10  Florian Weimer  <fweimer@redhat.com>
20011         [BZ #17135]
20012         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
20013         * nptl/allocatestack.c (__nptl_setxid_error): New function.
20014         (__nptl_setxid): Initialize error member.  Call
20015         __nptl_setxid_error.
20016         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
20017         * nptl/descr.h (struct xid_command): Add error member.
20018         * nptl/tst-setuid3.c: New file.
20019         * nptl/Makefile (tests): Add it.
20021 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20023         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
20024         New define.
20025         (__lll_trylock): Use __lll_base_trylock.
20026         (__lll_cond_trylock): Likewise.
20028 2014-07-10  Roland McGrath  <roland@hack.frob.com>
20030         * nptl/pthread_create.c (start_thread): Use atomic_or and
20031         lll_futex_wake directly rather than lll_robust_dead.
20032         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20033         (lll_robust_dead): Macro removed.
20034         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
20035         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20036         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20037         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20038         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20039         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20040         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20041         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20042         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20043         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20044         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20045         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20046         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20047         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20048         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20050         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20051         Use atomic_compare_and_exchange_val_acq directly rather than
20052         lll_robust_trylock.
20053         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20054         (__lll_robust_trylock, lll_robust_trylock): Removed.
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 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20072         * manual/locale.texi (Locale Names): New section documenting
20073         locale name syntax.  Adjust menu and node chaining accordingly.
20074         (Choosing Locale): Reference Locale Names, Locale Categories.
20075         Mention setting LC_ALL=C.  Reflect that name syntax is now
20076         documented.
20077         (Locale Categories): New section title.  Reference Locale Names.
20078         LC_ALL is an environment variable, but not a category.
20079         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
20080         description, now in Locale Name.  Reference that section.  Locale
20081         name syntax is now documented.
20083 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20085         [BZ #17137]
20086         * locale/findlocale.c (name_present, valid_locale_name): New
20087         functions.
20088         (_nl_find_locale): Use the loc_name variable to store name
20089         candidates.  Call name_present and valid_locale_name to check and
20090         validate locale names.  Return an error if the locale is invalid.
20092 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20094         * locale/setlocale.c (setlocale): Use strdup for allocating
20095         composite name copy.
20097 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20099         Sync up with gnulib.
20100         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
20101         [!_LIBC && ENABLE_NLS]: Include gettext.h.
20102         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
20103         and _GL_ARG_NONNULL.
20104         [USE_UNLOCKED_IO]: Include unlocked-io.h.
20105         [!_LIBC]: Include code for Windows and Cygwin.
20106         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
20107         Include prototype for int strerror_r.
20108         [!_LIBC] (is_open): New function.
20109         (flush_stdout): New function.
20110         (print_errno_message): Use it.
20111         (error): Likewise.
20112         (error_at_line): Likewise.
20113         (error_tail) Add function attribute macros.  Use
20114         __builtin_expect.
20116         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
20118         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
20120         * io/ftw.c: Include sys/param.h unconditionally.
20122         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
20124         [BZ #17125]
20125         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
20126         libc_freeres_ptr.
20127         (freecache): New function to free CACHE on exit.
20129         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
20130         initialization.
20132 2014-07-09  David S. Miller  <davem@davemloft.net>
20134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20136         * sysdeps/sparc/nptl/internaltypes.h: Delete.
20137         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
20138         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
20139         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
20140         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
20141         * sysdeps/sparc/nptl/sem_init.c: Likewise.
20142         * sysdeps/sparc/nptl/sem_post.c: Likewise.
20143         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
20144         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
20145         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
20146         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
20147         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
20148         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
20150 2014-07-09  Andreas Schwab  <schwab@suse.de>
20152         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
20153         output.
20154         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
20155         (do_test): Likewise.
20157         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20159 2014-07-09  Will Newton  <will.newton@linaro.org>
20161         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
20162         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
20163         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
20164         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
20165         * sysdeps/hppa/start.S (_start): Likewise.
20167 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20169         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
20171         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
20172         defined.
20174 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20176         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
20177         after checking that it is non-NULL.
20179         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
20181 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20183         * sysdeps/powerpc/memmove.c: Remove file.
20184         * sysdeps/powerpc/powerpc32/power4/memcopy.h
20185         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
20186         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20187         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
20188         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
20189         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
20190         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
20191         string memmove instead of removed powerpc one.
20193         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20194         [weak_alias]: Fix compiler warning due trailing data.
20195         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
20196         [weak_alias]: Likewise.
20197         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
20198         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
20200         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20201         (__libc_ifunc_impl_list): Add memmove functions.
20203 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20205         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
20206         Remove code.
20207         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
20208         Likewise
20209         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
20210         Likewise
20211         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
20212         Likewise
20213         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
20214         Likewise
20215         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
20216         Likewise
20217         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
20218         Likewise
20219         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
20220         Likewise
20221         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
20222         Likewise
20223         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
20224         Likewise
20225         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
20226         Likewise
20227         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
20228         Likewise
20229         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
20230         Likewise
20231         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
20232         Likewise
20233         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
20234         Likewise
20235         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
20236         Likewise
20237         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
20238         Likewise
20240 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20242         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
20243         to avoid alignment traps in non-cacheable memory.
20244         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20246         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
20247         multiarch objects.
20248         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
20249         file: multiarch power7 memmove.
20250         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
20251         multiarch default memmove.
20252         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
20253         multiarch memove for powerpc32/power4.
20255         * string/bcopy.c: Use full path to include memmove.c.
20256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
20257         multiarch objects.
20258         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
20259         bcopy for powerpc64.
20260         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
20261         bcopy for powerpc64.
20262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
20263         and memmove implementations.
20264         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
20265         optimized multiarch memmove for POWER7/powerpc64.
20266         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
20267         default multiarch memmove for powerpc64.
20268         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
20269         multiarch for powerpc64.
20270         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
20271         for POWER7/powerpc64.
20272         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
20273         memmove for POWER7/powerpc64.
20275         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
20276         glibc default one.
20278         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
20279         __ELF_NATIVE_CLASS equal to 64.
20281 2014-07-07  Roland McGrath  <roland@hack.frob.com>
20283         * sysdeps/nptl/lowlevellock.h: File removed.
20285         * NEWS: NPTL is no longer an add-on!
20286         * nptl/internaltypes.h: Moved ...
20287         * sysdeps/nptl/internaltypes.h: ... here.
20288         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
20289         * sysdeps/nptl/fork.c: Likewise.
20290         * sysdeps/nptl/gai_misc.h: Likewise.
20291         * sysdeps/nptl/librt-cancellation.c: Likewise.
20292         * sysdeps/nptl/jmp-unwind.c: Likewise.
20293         * sysdeps/nptl/setxid.h: Likewise.
20294         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
20295         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
20296         * sysdeps/unix/sysv/linux/arm/Implies: New file.
20297         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
20298         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
20299         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
20300         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
20301         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
20302         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
20303         * sysdeps/unix/sysv/linux/mips/Implies: New file.
20304         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
20305         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
20306         * sysdeps/unix/sysv/linux/sh/Implies: New file.
20307         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
20308         * sysdeps/unix/sysv/linux/tile/Implies: New file.
20309         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
20310         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
20311         * nptl/Makeconfig: Moved ...
20312         * sysdeps/nptl/Makeconfig: ... here.
20313         * nptl/configure: File removed.
20314         * nptl/ANNOUNCE: File removed.
20315         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
20316         * sysdeps/unix/sysv/linux/configure: Regenerated.
20318         * nptl/Makefile (routines): Add libc_pthread_init,
20319         libc_multiple_threads, register-atfork and unregister-atfork.
20320         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
20321         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
20322         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
20323         pthread-pi-defines.sym, structsem.sym.
20324         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
20325         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
20326         [$(subdir) = nptl] (tests): Add tst-setgetname.
20327         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
20328         * sysdeps/unix/sysv/linux/sigaction.c: Just include
20329         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
20330         [!LIBC_SIGACTION]: Remove aliases.
20331         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
20332         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
20333         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
20334         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
20335         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
20336         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
20337         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20338         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20339         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
20340         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
20341         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
20342         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
20343         __libc_allocate_rtsig_private.
20344         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
20345         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
20346         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
20347         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
20348         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
20349         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
20350         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
20351         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
20352         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
20353         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
20354         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
20355         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
20356         * nptl/internaltypes.h: ... here.
20357         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
20358         * sysdeps/nptl/jmp-unwind.c: ... here.
20359         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
20360         * nptl/libc-lowlevellock.c: ... here.
20361         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
20362         * nptl/libc_multiple_threads.c: ... here.
20363         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
20364         * nptl/libc_pthread_init.c: ... here.
20365         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
20366         * nptl/lowlevelbarrier.sym: ... here.
20367         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
20368         * nptl/lowlevelcond.sym: ... here.
20369         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
20370         * nptl/lowlevellock.c: ... here.
20371         * nptl/lowlevellock.h: Moved ...
20372         * sysdeps/nptl/lowlevellock.h: ... here.
20373         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
20374         * nptl/lowlevelrobustlock.c: ... here.
20375         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
20376         * nptl/lowlevelrobustlock.sym: ... here.
20377         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
20378         * nptl/lowlevelrwlock.sym: ... here.
20379         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
20380         * nptl/pt-fork.c: ... here.
20381         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
20382         * nptl/pthread-pi-defines.sym: ... here.
20383         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
20384         * nptl/pthread_attr_getaffinity.c: ... here.
20385         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
20386         * nptl/pthread_attr_setaffinity.c: ... here.
20387         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
20388         * nptl/pthread_mutex_cond_lock.c: ... here.
20389         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20390         Update #include.
20391         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
20392         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
20393         * nptl/pthread_once.c: ... here, replacing old file.
20394         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
20395         * nptl/pthread_yield.c: ... here.
20396         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
20397         * nptl/register-atfork.c: ... here.
20398         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
20399         * nptl/sem_post.c: ... here.
20400         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
20401         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
20402         * nptl/sem_timedwait.c: ... here.
20403         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
20404         * nptl/sem_trywait.c: ... here.
20405         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
20406         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
20407         * nptl/sem_wait.c: ... here.
20408         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
20409         * nptl/structsem.sym: ... here.
20410         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
20411         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
20412         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
20413         * nptl/unregister-atfork.c: ... here.
20414         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
20415         * nptl/unwindbuf.sym: ... here.
20416         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
20417         * sysdeps/nptl/fork.c: ... here.
20418         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
20419         * sysdeps/nptl/fork.h: ... here.
20420         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
20421         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
20422         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
20423         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
20424         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
20425         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
20426         * sysdeps/unix/sysv/linux/getpid.c: ... here.
20427         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
20428         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
20429         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
20430         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
20431         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
20432         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
20433         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
20434         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
20435         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
20436         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
20437         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
20438         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
20439         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
20440         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
20441         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
20442         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
20443         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
20444         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
20445         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
20446         * sysdeps/unix/sysv/linux/raise.c: ... here.
20447         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
20448         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
20449         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
20450         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
20451         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
20452         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
20453         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
20454         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
20455         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
20456         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
20457         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
20458         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
20459         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
20460         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
20461         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
20463 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20465         * sysdeps/generic/memcopy.h: Add comment for
20466         MEMCPY_OK_FOR_FWD_MEMMOVE.
20468 2014-07-04  Will Newton  <will.newton@linaro.org>
20470         * string/memchr.c: Merge from gnulib.
20471         [_LIBC]: Remove conditionals.
20472         (__ptr_t): Remove define.
20473         (LONG_MAX_32_BITS): Likewise.
20474         (LONG_MAX): Likewise.
20475         (MEMCHR): Use ANSI prototype and optimize algorithm.
20477         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
20479 2014-07-03  Roland McGrath  <roland@hack.frob.com>
20481         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
20482         (lll_futex_timed_wait_bitset): Fix syscall argument count.
20484         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
20485         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
20486         in a bare environment with no <stdlib.h> installed.
20487         * sysdeps/nptl/configure: Regenerated.
20489         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
20491         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
20492         AC_EGREP_CPP for kernel header checks, so they only succeed if
20493         including <linux/version.h> actually works right.
20494         * sysdeps/unix/sysv/linux/configure: Regenerated.
20496         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
20497         value so it's not diagnosed as unused.
20499         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
20500         thing) with "ifeq ($(subdir),rt)".
20502 2014-07-03  Richard Henderson  <rth@redhat.com>
20504         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
20505         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
20506         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
20508         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
20509         (math_force_eval): New.
20511         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
20512         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
20514         * sysdeps/alpha/fpu/s_round.c: Remove file.
20515         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
20517         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
20518         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
20519         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
20520         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
20521         (_dl_start, print_statistics): Likewise.
20522         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
20523         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
20525         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20526         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20527         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20528         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20529         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20530         (HP_SMALL_TIMING_AVAIL): Define.
20531         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20532         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20533         (HP_SMALL_TIMING_AVAIL): Define.
20534         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20535         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20537         * sysdeps/aarch64/hp-timing.h: New file.
20539         * sysdeps/generic/hp-timing.h: Remove dead comment.
20540         * sysdeps/generic/hp-timing-common.h: New file.
20541         * sysdeps/alpha/hp-timing.h: Include it.
20542         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
20543         * sysdeps/i386/i686/hp-timing.h: Likewise.
20544         * sysdeps/ia64/hp-timing.h: Likewise.
20545         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20546         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20547         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20548         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20549         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
20550         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
20551         (hp_timing_t): New.
20553         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
20554         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
20555         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
20556         * elf/rtld.c (_dl_start_final): Likewise.
20557         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
20558         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20559         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20560         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20561         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20562         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20563         (HP_TIMING_DIFF_INIT): Remove.
20564         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20565         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20566         (HP_TIMING_DIFF_INIT): Remove.
20567         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20568         * sysdeps/i386/i686/hp-timing.c: Remove file.
20569         * sysdeps/x86_64/hp-timing.c: Remove file.
20570         * sysdeps/ia64/hp-timing.c: Remove file.
20571         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
20572         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
20573         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
20574         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
20576         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
20577         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
20578         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
20579         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20580         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20581         (HP_TIMING_ACCUM): Remove.
20582         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20583         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
20584         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20586         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
20587         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
20588         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
20589         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
20590         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
20591         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20592         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
20593         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20595         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
20597 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
20599         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
20601 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20603         Sync up with gettext.
20604         * intl/loadmsgcat.c: Define O_BINARY if not defined.
20605         [_MSC_VER]: Include malloc.h
20606         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
20607         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
20608         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
20609         TEMP_FAILURE_RETRY.  Cast return of alloca.
20610         [!_LIBC] Call gl_rwlock_init.
20611         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
20613 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20615         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
20616         before checking its value.
20618 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20620         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
20622         * debug/memcpy_chk.c: Don't include pagecopy.h.
20623         * debug/mempcpy_chk.c: Likewise.
20624         * string/memcpy.c: Likewise.
20625         * string/memmove.c: Likewise.
20626         * sysdeps/powerpc/memmove.c: Likewise.
20627         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
20628         definition of PAGE_COPY_FWD_MAYBE here...
20629         * sysdeps/generic/pagecopy.h: ... from here.
20630         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
20632 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20633             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20635         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
20636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
20637         optimizations.
20638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20639         (__libc_ifunc_impl_list): Likewise.
20640         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
20641         multiarch strcat for PPC64.
20642         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
20643         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
20645 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20647         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
20649 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20651         * intl/loadmsgcat.c: Remove declaration of
20652         get_sysdep_segment_value.
20653         (get_sysdep_segment_value): Use ISO C style.
20654         (_nl_load_domain): Use ISO C style.  Get rid of redundant
20655         semicolon.  Fix typo and formatting in comment.
20656         (_nl_unload_domain): Use ISO C style.
20658         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
20660 2014-07-02  Will Newton  <will.newton@linaro.org>
20662         * malloc/obstack.c: Merge from gnulib master.
20663         [HAVE_CONFIG_H]: Remove conditional code.
20664         [!_LIBC]: Include config.h.
20665         [!ELIDE_CODE]: Don't include inttypes.h, include
20666         stdint.h unconditionally.
20667         (print_and_abort): Mark as _Noreturn.
20668         (_obstack_allocated_p): Mark as __attribute_pure__.
20669         (obstack_free): Rename to __obstack_free.
20670         [!__attribute__]: Remove conditional code.
20671         * malloc/obstack.h: Merge from gnulib master.
20672         [__cplusplus]: Move conditional down.
20673         [!__attribute_pure__]: Define __attribute_pure__ here
20674         if it is not already defined.
20675         (_obstack_memory_used): Mark as __attribute_pure__.
20676         [!__obstack_free]: Define as obstack_free.
20677         [__GNUC__]: Remove check for ancient NeXT gcc.
20679 2014-07-02  Will Newton  <will.newton@linaro.org>
20680             Paul Eggert  <eggert@cs.ucla.edu>
20682         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
20684 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20686         * resolv/gethnamaddr.c: Add comment warning that the file is
20687         not maintained.
20689 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
20691         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
20692         entries.
20694         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
20695         entry for aio_cancel and aio_cancel64.
20696         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
20697         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
20698         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
20699         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
20700         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
20701         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
20702         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
20703         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
20704         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
20705         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
20706         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
20707         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
20708         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
20710 2014-07-01  Roland McGrath  <roland@hack.frob.com>
20712         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
20713         * nptl/pthread_mutex_lock.c: Likewise.
20714         * nptl/pthread_mutex_timedlock.c: Likewise.
20715         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
20717 2014-07-01  Richard henderson  <rth@redhat.com>
20719         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
20720         (__isnan, __isnanl): Remove.
20721         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
20723         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20725 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20727         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20729 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20731         * resolv/nss_dns/dns-host.c (getanswer_r)
20732         [MULTI_PTRS_ARE_ALIASES]: Remove code.
20734 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
20736         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20737         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
20738         undefine.
20739         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
20740         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
20742 2014-07-01  Roland McGrath <roland@hack.frob.com>
20744         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
20745         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
20747         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
20748         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
20750         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
20751         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
20752         ... here.
20753         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
20754         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
20756         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
20757         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
20758         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
20759         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
20761         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
20762         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
20763         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
20764         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
20765         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
20766         Moved ...
20767         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
20768         ... here.
20769         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
20770         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
20771         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
20772         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
20773         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
20774         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
20775         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
20776         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
20777         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
20778         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
20779         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
20780         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
20781         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
20782         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
20783         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
20784         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
20785         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
20786         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
20787         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
20788         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
20789         ... here.
20790         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
20791         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
20792         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
20793         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
20794         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
20795         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
20796         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
20797         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
20799 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
20801         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
20802         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
20803         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
20804         Add sysdep.
20806 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20810 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20812         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20813         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20815         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20817         * sysdeps/arm/libm-test-ulps: Regenerated.
20819 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20820             Roland McGrath <roland@hack.frob.com>
20822         * test-skeleton.c (signal_handler): Kill the whole process group
20823         before killing the child individually.
20824         (main): Report any failure on `setpgid'.
20826 2014-06-30  Roland McGrath  <roland@hack.frob.com>
20828         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
20829         from _TLS_H to _ARM_NPTL_TLS_H.
20830         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
20831         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
20833 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20835         [BZ #16539]
20836         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
20837         (__expm1l): Return argument unchanged when small but not
20838         subnormal.
20840         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
20841         include macro name.
20842         (_FP_UNPACK_RAW_1_P): Likewise.
20843         (_FP_PACK_RAW_1): Likewise.
20844         (_FP_PACK_RAW_1_P): Likewise.
20845         (_FP_MUL_MEAT_1_wide): Likewise.
20846         (_FP_MUL_MEAT_DW_1_hard): Likewise.
20847         (_FP_MUL_MEAT_1_hard): Likewise.
20848         (_FP_DIV_MEAT_1_imm): Likewise.
20849         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
20850         (_FP_DIV_MEAT_1_udiv): Likewise.
20851         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
20852         (_FP_UNPACK_RAW_2): Likewise.
20853         (_FP_UNPACK_RAW_2_P): Likewise.
20854         (_FP_PACK_RAW_2): Likewise.
20855         (_FP_PACK_RAW_2_P): Likewise.
20856         (_FP_MUL_MEAT_DW_2_wide): Likewise.
20857         (_FP_MUL_MEAT_2_wide): Likewise.
20858         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
20859         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20860         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
20861         (_FP_MUL_MEAT_2_gmp): Likewise.
20862         (_FP_DIV_MEAT_2_udiv): Likewise.
20863         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
20864         (_FP_FRAC_SRL_4): Likewise.
20865         (_FP_FRAC_SRST_4): Likewise.
20866         (_FP_FRAC_SRS_4): Likewise.
20867         (_FP_UNPACK_RAW_4): Likewise.
20868         (_FP_UNPACK_RAW_4_P): Likewise.
20869         (_FP_PACK_RAW_4): Likewise.
20870         (_FP_PACK_RAW_4_P): Likewise.
20871         (_FP_MUL_MEAT_DW_4_wide): Likewise.
20872         (_FP_MUL_MEAT_4_wide): Likewise.
20873         (_FP_MUL_MEAT_4_gmp): Likewise.
20874         (umul_ppppmnnn): Likewise.
20875         (_FP_DIV_MEAT_4_udiv): Likewise.
20876         (__FP_FRAC_ADD_4): Likewise.
20877         (__FP_FRAC_SUB_3): Likewise.
20878         (__FP_FRAC_SUB_4): Likewise.
20879         (__FP_FRAC_DEC_3): Likewise.
20880         (__FP_FRAC_DEC_4): Likewise.
20881         (__FP_FRAC_ADDI_4): Likewise.
20882         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
20883         (_FP_FRAC_SRL_8): Likewise.
20884         (_FP_FRAC_SRS_8): Likewise.
20886         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
20887         include macro name.
20888         (FP_UNPACK_RAW_EP): Likewise.
20889         (FP_PACK_RAW_E): Likewise.
20890         (FP_PACK_RAW_EP): Likewise.
20891         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
20892         (_FP_ISSIGNAN): Likewise.
20893         (_FP_ADD_INTERNAL): Likewise.
20894         (_FP_FMA): Likewise.
20895         (_FP_CMP): Likewise.
20896         (_FP_SQRT): Likewise.
20897         (_FP_TO_INT): Likewise.
20898         (_FP_FROM_INT): Likewise.
20899         (FP_EXTEND): Likewise.
20900         (_FP_DIV_MEAT_N_loop): Likewise.
20902 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20904         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
20905         throughout.
20907 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
20909         [BZ #17097]
20910         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
20911         result with correct sign in case of exponents that produce
20912         overflow except for X very close to 1.
20914 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
20916         mktime: merge #if/#ifdef usage from glibc
20917         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
20918         as that works with both Glibc's and Gnulib's style.
20919         See thread starting at Siddhesh Poyarekar's bug report at:
20920         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
20922 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20924         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
20925         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
20926         * sysdeps/tile/tilegx/memmove.c: Remove file.
20928 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20930         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
20931         abi-name definition.
20932         * scripts/soversions.awk: Do not handle or generate ABI lines.
20933         * shlib-versions: Remove ABI entries.
20934         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
20935         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
20937 2014-06-27  Roland McGrath  <roland@hack.frob.com>
20939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
20940         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
20941         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
20942         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
20943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
20944         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
20945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
20946         Moved ...
20947         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
20948         ... here.
20949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
20950         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
20951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
20952         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
20953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
20954         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
20955         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
20956         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
20957         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
20958         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
20959         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
20960         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
20961         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
20962         Moved ...
20963         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
20964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
20965         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
20966         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
20967         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
20968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
20969         Moved ...
20970         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
20971         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
20972         Moved ...
20973         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
20974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
20975         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
20976         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
20977         Moved ...
20978         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
20979         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
20980         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
20981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
20982         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
20983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
20984         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
20985         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
20986         Moved ...
20987         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
20988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
20989         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
20990         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
20991         Moved ...
20992         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
20993         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
20994         Moved ...
20995         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
20996         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
20997         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
20998         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
20999         Moved ...
21000         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
21001         ... here.
21002         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
21003         Identical file removed.
21004         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
21005         Moved ...
21006         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
21007         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
21008         Identical file removed.
21009         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
21010         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
21011         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
21012         Moved ...
21013         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
21014         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
21015         Identical file removed.
21016         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
21017         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
21018         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
21019         Identical file removed.
21020         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
21021         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
21022         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
21023         Identical file removed.
21024         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
21025         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
21026         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
21027         Identical file removed.
21028         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
21029         Moved ...
21030         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
21031         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
21032         Identical file removed.
21033         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
21034         Moved ...
21035         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
21036         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
21037         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
21038         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
21039         Identical file removed.
21040         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
21041         Moved ...
21042         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
21043         ... here.
21044         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
21045         Identical file removed.
21046         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
21047         Moved ...
21048         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
21049         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
21050         Identical file removed.
21051         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
21052         Moved ...
21053         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
21054         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
21055         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
21056         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
21057         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
21058         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
21059         Moved ...
21060         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
21061         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
21062         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
21064         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
21065         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
21066         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
21067         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
21068         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
21070 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
21072         [BZ #17092]
21073         * nscd/nscd.c (monitor_child): Return exit status of child
21074         instead of return value from wait syscall.
21076 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
21078         * configure.ac (libc_commonpagesize): Remove variable.
21079         (libc_relro_required): Likewise.
21080         (libc_cv_z_relro): Remove configure test.
21081         * configure: Regenerated.
21082         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
21083         variable.
21084         (libc_relro_required): Likewise.
21085         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
21086         (libc_relro_required): Likewise.
21087         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
21088         (libc_relro_required): Likewise.
21089         * sysdeps/arm/preconfigure: Regenerated.
21090         * sysdeps/ia64/preconfigure: Remove file.
21091         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
21092         variable.
21093         (libc_relro_required): Likewise.
21095         [BZ #16561]
21096         [BZ #16562]
21097         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
21098         (__ieee754_yn): Set FE_TONEAREST mode internally and then
21099         recompute overflowing results in original rounding mode.
21100         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
21101         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
21102         recompute overflowing results in original rounding mode.
21103         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
21104         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21105         recompute overflowing results in original rounding mode.
21106         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
21107         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21108         recompute overflowing results in original rounding mode.
21109         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
21110         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21111         recompute overflowing results in original rounding mode.
21112         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
21113         (libc_feholdsetround_ctx): New macro.
21114         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
21115         * sysdeps/i386/fpu/libm-test-ulps: Update.
21116         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
21118 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21120         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
21121         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
21122         corresponding .cpsetup call.
21124 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21126         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
21127         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
21128         * sysdeps/arm/Makefile [$(subdir) = csu]
21129         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
21130         (static-only-routines): Add aeabi_read_tp here.
21131         (shared-only-routines): Add libc-aeabi_read_tp here.
21132         (CFLAGS-libc-start.c): Add -fexceptions here.
21133         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
21134         (sysdep_routines, static-only-routines, shared-only-routines):
21135         Don't add to these here.
21136         (CFLAGS-libc-start.c): Likewise.
21138         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
21139         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21140         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
21141         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21142         * sysdeps/arm/Makefile [$(subdir) = rt]
21143         (librt-sysdep_routines, librt-shared-only-routines):
21144         Append rt-aeabi_unwind_cpp_pr1 here.
21145         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
21146         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
21147         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
21148         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21149         Append nptl-aeabi_unwind_cpp_pr1 here.
21150         (tests): Filter out tst-cleanupx4 here.
21151         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
21152         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
21153         Don't do those here.
21155 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21157         * scripts/list-sources.sh: Do not handle ports specially.
21159 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21161         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
21162         * sysdeps/arm/feupdateenv.c: Likewise.
21164         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
21166 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21168         * manual/texinfo.tex: Update to version 2014-05-05.10 with
21169         trailing whitespace removed.
21170         * scripts/config.guess: Update to version 2014-03-23.
21171         * scripts/config.sub: Update to version 2014-05-01
21172         * scripts/install-sh: Update to version 2013-12-25.23.
21173         * scripts/move-if-change: Update from gnulib.
21175 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21177         * debug/memmove_chk.c: Remove pagecopy.h include.
21179 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
21181         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
21182         identical to gnulib mktime.
21184 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21186         * configure.ac: Do not test for machine being rs6000.  Do not test
21187         for powerpc*-*soft.
21188         * configure: Regenerated.
21190         [BZ #11505]
21191         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
21192         test.
21193         * configure: Regenerated.
21194         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
21195         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
21196         Remove configure test.
21197         * sysdeps/arm/configure: Regenerated.
21198         * sysdeps/nptl/configure.ac: Do not check
21199         libc_cv_asm_cfi_directives.
21200         * sysdeps/nptl/configure: Regenerated.
21201         * sysdeps/x86_64/nptl/configure.ac: Remove file.
21202         * sysdeps/x86_64/nptl/configure: Remove generated file.
21203         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
21204         unconditional.
21205         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
21207 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21209         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
21210         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
21211         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
21212         it is defined.
21214         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
21215         instead of whether it is defined.
21216         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
21217         * sysdeps/hppa/dl-machine.h: Likewise.
21218         * sysdeps/ia64/dl-machine.h: Likewise.
21219         * sysdeps/m68k/dl-machine.h: Likewise.
21220         * sysdeps/microblaze/dl-machine.h: Likewise.
21221         * sysdeps/mips/dl-machine.: Likewise.
21222         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21223         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21224         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21225         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21226         * sysdeps/sh/dl-machine.h: Likewise.
21227         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21228         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21229         * sysdeps/tile/dl-machine.h: Likewise.
21230         * sysdeps/x86_64/dl-machine.h: Likewise.
21232         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
21233         code.
21234         (verify_persistent_db): Likewise.
21236 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
21239         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
21240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
21241         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
21242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21243         Moved ...
21244         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
21245         ... here.
21246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
21247         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
21248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
21249         Identical file removed.
21250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
21251         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
21252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
21253         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
21254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
21255         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
21256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
21257         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
21258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
21259         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
21260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21261         Moved ...
21262         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
21263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
21264         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
21265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
21266         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
21267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21268         Moved ...
21269         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
21270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
21271         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
21272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
21273         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
21274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21275         Identical file removed.
21276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
21277         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
21278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
21279         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
21280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21281         Moved ...
21282         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
21283         ... here.
21284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
21285         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
21286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
21287         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
21288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
21289         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
21290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
21291         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
21292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
21293         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
21294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21295         Moved ...
21296         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
21297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
21298         Moved ...
21299         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
21300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
21301         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
21302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21303         Moved ...
21304         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
21305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
21306         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
21308         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
21309         folded into ...
21310         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
21311         * sysdeps/unix/sysv/linux/s390/Versions
21312         (libpthread: GLIBC_2.19): New version set.
21313         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
21314         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
21315         (librt: GLIBC_2.3.3): New version set.
21316         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
21317         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
21318         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
21319         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
21320         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
21321         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
21322         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
21323         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
21324         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
21325         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
21326         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
21327         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
21328         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
21329         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
21330         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
21331         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
21332         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
21333         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
21334         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
21335         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
21336         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
21337         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
21338         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
21339         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
21340         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
21341         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
21342         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
21343         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
21344         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
21345         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
21346         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
21347         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
21348         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
21349         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
21350         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
21351         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
21352         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
21353         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
21354         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
21355         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
21356         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
21357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
21358         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
21359         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
21360         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
21362         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
21363         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
21364         (__libc_vfork): Define the function under this name.
21365         [!NOT_IN_libc] (__vfork): Make this an alias.
21366         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21367         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
21368         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
21369         (__libc_vfork): Define the function under this name.
21370         [!NOT_IN_libc] (__vfork): Make this an alias.
21371         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21372         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
21373         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
21374         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
21375         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
21376         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21378         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
21379         code that was previously under [RESET_PID].
21380         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
21381         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
21382         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
21384         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
21385         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
21386         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
21387         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
21388         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
21389         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
21390         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
21391         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
21392         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
21393         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
21394         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
21395         Moved ...
21396         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
21397         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
21398         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
21399         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
21400         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
21401         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
21402         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
21403         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
21404         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
21405         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
21406         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
21407         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
21408         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
21409         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
21410         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
21411         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
21412         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
21413         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
21414         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
21415         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
21416         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
21417         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
21418         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
21419         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
21420         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
21421         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
21422         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
21423         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
21424         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
21426 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21428         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
21429         that was previously under [RESET_PID].
21430         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
21432 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21434         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
21435         not undefine and redefine.
21436         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
21437         [O_CLOEXEC]: Make code unconditional.
21438         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
21439         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
21440         <kernel-features.h>.
21441         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
21442         conditional variable definition.
21443         (shm_open) [O_CLOEXEC]: Make code unconditional.
21444         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
21445         code.
21447         * configure.ac (USE_REGPARMS): Don't define here.
21448         * configure: Regenerated.
21449         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
21450         * sysdeps/i386/configure: Regenerated.
21452         * nptl/createthread.c: Don't include kernel-features.h.
21453         * nptl/pthread_cancel.c: Likewise.
21454         * nptl/pthread_condattr_setclock.c: Likewise.
21455         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
21456         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
21457         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
21458         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
21459         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
21460         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
21461         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21462         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
21463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21464         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
21465         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
21466         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
21467         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
21468         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
21469         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
21470         * nscd/gai.c: Likewise.
21471         * nss/nss_db/db-open.c: Likewise.
21472         * sysdeps/generic/ldsodefs.h: Likewise.
21473         * sysdeps/sh/nptl/tls.h: Likewise.
21474         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21475         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
21476         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
21477         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
21478         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
21479         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21480         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
21481         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21482         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21483         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21484         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21485         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21486         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
21487         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
21488         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
21489         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
21490         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
21491         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
21492         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
21493         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
21494         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21495         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21496         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
21497         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
21498         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21499         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21500         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
21501         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
21502         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21503         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
21504         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
21505         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
21506         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
21507         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21508         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21509         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21510         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21511         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
21512         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
21513         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21514         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21515         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
21516         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
21517         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21518         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
21519         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
21520         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
21521         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
21522         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
21523         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21524         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21525         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21526         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21527         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21528         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
21529         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21530         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21531         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
21532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
21534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
21535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
21536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
21537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
21543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
21544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
21545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
21546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
21552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
21553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
21554         * sysdeps/unix/sysv/linux/pread.c: Likewise.
21555         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
21556         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
21557         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
21558         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
21559         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
21560         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
21561         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
21562         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
21563         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21564         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
21565         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21566         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
21567         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
21568         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
21569         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
21570         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21571         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
21572         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
21573         * sysdeps/unix/sysv/linux/system.c: Likewise.
21574         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
21575         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21576         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21577         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21578         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21579         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21580         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21582         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
21583         * configure: Regenerated.
21584         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
21586         * configure.ac (base_machine): Do not set specially for particular
21587         machines here.
21588         * configure: Regenerated.
21589         * sysdeps/powerpc/preconfigure: Move machine and base_machine
21590         settings from configure.ac.
21591         * sysdeps/i386/preconfigure: New file.
21592         * sysdeps/s390/preconfigure: Likewise.
21593         * sysdeps/sh/preconfigure: Likewise.
21594         * sysdeps/sparc/preconfigure: Likewise.
21596 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21598         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
21599         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
21600         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
21601         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
21602         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
21603         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
21604         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
21605         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
21606         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
21607         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
21608         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
21609         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
21610         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
21611         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
21612         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
21613         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
21614         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
21615         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
21616         * sysdeps/sparc/sparc64/Makefile: ... appended here.
21618         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
21619         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
21620         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
21621         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
21622         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
21623         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
21624         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
21625         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
21626         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
21627         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
21628         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
21629         * sysdeps/sparc/sparc32/sem_post.c: ... here.
21630         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
21631         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
21632         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
21633         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
21634         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
21635         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
21636         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
21637         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
21638         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
21639         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
21640         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
21641         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
21642         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
21643         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
21644         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
21645         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
21646         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
21647         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
21648         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
21649         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
21650         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
21651         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
21652         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
21653         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
21654         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
21655         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
21657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
21658         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
21659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
21660         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
21661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21662         Moved ...
21663         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
21664         ... here.
21665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
21666         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
21667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
21668         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
21669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
21670         Moved ...
21671         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
21672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
21673         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
21674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
21675         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
21676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
21677         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
21678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21679         Moved ...
21680         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
21681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21682         Moved ...
21683         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
21684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
21685         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
21686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21687         Moved ...
21688         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
21689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
21690         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
21691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
21692         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
21693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
21694         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
21695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
21696         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
21697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21698         Moved ...
21699         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
21700         ... here.
21701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
21702         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
21703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
21704         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
21705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
21706         Moved ...
21707         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
21708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
21709         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
21710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
21711         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
21712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
21713         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
21714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21715         Moved ...
21716         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
21717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21718         Moved ...
21719         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
21720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
21721         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
21722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21723         Moved ...
21724         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
21725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
21726         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
21727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
21728         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
21730 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21732         * timezone/checktab.awk: Update from tzcode 2014e.
21733         * timezone/private.h: Likewise.
21734         * timezone/tzfile.h: Likewise.
21735         * timezone/zdump.c: Likewise.
21736         * timezone/zic.c: Likewise.
21738         * sysdeps/unix/sysv/linux/kernel-features.h
21739         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
21740         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
21741         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
21742         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21743         Remove conditional code.
21745 2014-06-25  Will Newton  <will.newton@linaro.org>
21747         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
21748         (_dl_arm_cap_flags): Add HWCAP2 values.
21749         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
21750         (_DL_HWCAP_COUNT): Increase to 37.
21751         (_DL_HWCAP_LAST): New define.
21752         (_DL_HWCAP2_LAST): New define.
21753         (_dl_procinfo): Add support for printing
21754         AT_HWCAP2 entries.
21755         (_dl_string_hwcap): Use _dl_hwcap_string.
21757 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21761 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21763         * README: Do not mention ports directory.
21765         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
21766         Remove macro.
21767         * sysdeps/unix/sysv/linux/futimes.c: Do not include
21768         <kernel-features.h>.
21769         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
21770         conditional variable definition.
21771         (__futimes): Update comment.
21772         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
21773         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
21775         [BZ #16560]
21776         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
21777         arguments close to 0.
21778         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
21779         Likewise.
21780         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
21781         Likewise.
21782         * math/auto-libm-test-in: Add more tests of exp10.
21783         * math/auto-libm-test-out: Regenerated.
21784         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21786         * sysdeps/unix/sysv/linux/kernel-features.h
21787         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
21788         * sysdeps/unix/sysv/linux/readv.c: Do not include
21789         <kernel-features.h>.
21790         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21791         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21792         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21793         unconditional.
21794         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21795         conditional code.
21796         * sysdeps/unix/sysv/linux/writev.c: Do not include
21797         <kernel-features.h>.
21798         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21799         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21800         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21801         unconditional.
21802         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21803         conditional code.
21805 2014-06-25  Will Newton  <will.newton@linaro.org>
21807         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
21808         comment changes throughout the file.  Remove checks
21809         for HAVE_*_H definitions that are not required.
21810         (__gen_tempname): Call abort if an unknown kind value is
21811         passed.
21813 2014-06-25  Andreas Schwab  <schwab@suse.de>
21815         [BZ #17086]
21816         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
21817         scalbln, scalblnf, scalblnl in libc.
21819 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21821         [BZ #17086]
21822         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
21823         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
21824         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
21826 2014-06-24  Roland McGrath  <roland@hack.frob.com>
21828         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
21829         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
21830         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
21831         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
21832         Update #include.
21833         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
21834         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
21835         Update #include.
21836         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
21837         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
21838         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
21839         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
21840         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
21841         * sysdeps/x86/bits/pthreadtypes.h: ... here.
21842         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
21843         * sysdeps/x86/bits/semaphore.h: ... here.
21844         * sysdeps/x86/nptl/elide.h: Moved ...
21845         * sysdeps/x86/elide.h: ... here.
21846         * sysdeps/x86_64/nptl/Implies: File removed.
21847         * sysdeps/i386/nptl/Implies: File removed.
21849 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
21851         [BZ #16539]
21852         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
21853         return the argument for normal arguments with exponent below -64.
21854         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21855         Likewise.
21856         * math/auto-libm-test-in: Add another test of expm1.
21857         * math/auto-libm-test-out: Regenerated.
21859         [BZ #16287]
21860         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
21861         calling __erfcl for arguments at least 16.
21862         * math/auto-libm-test-in: Add more tests of erf.
21863         * math/auto-libm-test-out: Regenerated.
21865         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
21866         individual architectures.
21867         * sysdeps/unix/sysv/linux/configure: Regenerated.
21868         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
21869         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
21870         * sysdeps/unix/sysv/linux/powerpc/configure.ac
21871         (ldd_rewrite_script): Define variable.
21872         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
21874         file.
21875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
21876         generated file.
21877         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
21878         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
21879         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
21880         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
21881         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
21882         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
21883         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
21884         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
21886 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21888         [BZ #17084]
21889         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
21890         Rename member __data.d to __data.__elision_data.
21892 2014-06-24  Wilco  <wdijkstr@arm.com>
21894         * NEWS: Add 16918 to fixed bug list.
21896 2014-06-24  Wilco  <wdijkstr@arm.com>
21898         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
21900 2014-06-24  Wilco  <wdijkstr@arm.com>
21902         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
21903         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
21904         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
21905         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
21906         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
21907         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
21908         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
21909         Use _FPU_MASK_RM.
21911 2014-06-24  Wilco  <wdijkstr@arm.com>
21913         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
21915 2014-06-24  Wilco  <wdijkstr@arm.com>
21917         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
21918         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
21919         * sysdeps/arm/fesetround.c (fesetround): Remove space.
21920         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
21922 2014-06-24  Wilco  <wdijkstr@arm.com>
21924         [BZ #16918]
21925         * sysdeps/arm/feupdateenv.c (feupdateenv):
21926         Rewrite to reduce FPSCR accesses and fix return value.
21928 2014-06-24  Wilco  <wdijkstr@arm.com>
21930         * sysdeps/arm/fclrexcpt.c (feclearexcept):
21931         Optimize to avoid unnecessary FPSCR writes.
21932         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
21933         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
21934         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
21935         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
21937 2014-06-24  Wilco  <wdijkstr@arm.com>
21939         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
21940         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
21941         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
21942         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
21943         Call libc_fetestexcept_vfp.
21944         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
21945         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
21946         __SOFTFP__ ifdef so that they can be built for softfp.
21948 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21950         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
21951         argument type signed char.
21953         * Makerules (check-abi): Dump diff of symlist if the test
21954         fails.
21956 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21958         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
21959         using abort.
21961         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21962         Remove unused variable ST.
21964 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
21966         [BZ #16354]
21967         [BZ #17061]
21968         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
21969         small arguments before calling __expm1.
21970         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
21971         small arguments before calling __expm1f.
21972         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
21973         small arguments before calling __expm1l.
21974         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21975         Likewise.
21976         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
21977         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
21978         spurious underflow for some cosh tests.
21979         * math/auto-libm-test-out: Regenerated.
21980         * sysdeps/i386/fpu/libm-test-ulps: Update.
21982         [BZ #17050]
21983         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
21984         (__ieee754_y1): Set errno if return value overflows.
21985         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
21986         (__ieee754_y1f): Set errno if return value overflows.
21987         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
21988         (__ieee754_y1l): Set errno if return value overflows.
21989         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
21990         (__ieee754_y1l): Set errno if return value overflows.
21991         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
21992         * math/auto-libm-test-out: Regenerated.
21994         * math/gen-auto-libm-tests.c: Document use of
21995         ignore-zero-inf-sign.
21996         (input_flag_type): Add value flag_ignore_zero_inf_sign.
21997         (input_flags): Add ignore-zero-inf-sign.
21998         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
21999         * math/gen-libm-test.pl (generate_testfile): Handle
22000         ignore-zero-inf-sign.
22001         * math/auto-libm-test-in: Mark some cpow tests with
22002         ignore-zero-inf-sign and some with xfail-rounding.
22003         * math/auto-libm-test-out: Regenerated.
22004         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
22005         * sysdeps/i386/fpu/libm-test-ulps: Update.
22006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22008         [BZ #16315]
22009         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
22010         overflowing or underflowing operations take place with sign of
22011         result.
22012         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22013         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22014         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
22015         (__ieee754_pow): Recompute overflowing and underflowing results in
22016         original rounding mode.
22017         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
22018         (__powl_helper): Allow negative argument X and scale negated value
22019         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
22020         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
22021         overflowing or underflowing operations take place with sign of
22022         result.
22023         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
22024         Include <math.h>.
22025         * math/auto-libm-test-in: Add more tests of pow.
22026         * math/auto-libm-test-out: Regenerated.
22027         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
22028         (pow_tonearest_test_data): Remove.
22029         (pow_test_tonearest): Likewise.
22030         (pow_towardzero_test_data): Likewise.
22031         (pow_test_towardzero): Likewise.
22032         (pow_downward_test_data): Likewise.
22033         (pow_test_downward): Likewise.
22034         (pow_upward_test_data): Likewise.
22035         (pow_test_upward): Likewise.
22036         (main): Don't call removed functions.
22037         * sysdeps/i386/fpu/libm-test-ulps: Update.
22038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22040 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
22043         Moved ...
22044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
22045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22046         Moved ...
22047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
22048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22049         Moved ...
22050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
22051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22052         Moved ...
22053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
22054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22055         File removed.
22056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22057         File removed.
22058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
22059         File removed.
22060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
22061         File removed.
22062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
22063         File removed.
22064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
22065         File removed.
22066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
22067         File removed.
22068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22069         File removed.
22070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
22071         File removed.
22072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22073         File removed.
22074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
22075         File removed.
22076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
22077         File removed.
22078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
22079         Moved ...
22080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
22081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
22082         Moved ...
22083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
22084         ... here.
22085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
22086         Moved ...
22087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
22088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
22089         Moved ...
22090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
22091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
22092         Moved ...
22093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
22094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
22095         Moved ...
22096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
22097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
22098         Moved ...
22099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
22100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
22101         Moved ...
22102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
22103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
22104         Moved ...
22105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
22106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
22107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
22108         ... here.
22109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
22110         Moved ...
22111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
22112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22113         Moved ...
22114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22115         ... here.
22116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
22117         Moved ...
22118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22119         ... here.
22120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22121         Moved ...
22122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22123         ... here.
22124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22125         Moved ...
22126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
22127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22128         Moved ...
22129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
22130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
22131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
22132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22133         Moved ...
22134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
22135         ... here.
22136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22137         Moved ...
22138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
22139         ... here.
22140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22141         Moved ...
22142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
22143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22144         Moved ...
22145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
22146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22147         Moved ...
22148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
22149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22150         Moved ...
22151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
22152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22153         Moved ...
22154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
22155         ... here.
22156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22157         Moved ...
22158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
22159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22160         Moved ...
22161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
22162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22163         Moved ...
22164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
22165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22166         Moved ...
22167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
22168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
22169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
22170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22171         Moved ...
22172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
22173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22174         Moved ...
22175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
22176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22177         Moved ...
22178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
22179         ... here.
22180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22181         Moved ...
22182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
22183         ... here.
22184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22185         Moved ...
22186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
22187         ... here.
22188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22189         Moved ...
22190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
22191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22192         Moved ...
22193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
22194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22195         Moved ...
22196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
22197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22198         Moved ...
22199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
22200         ... here.
22201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22202         Moved ...
22203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
22204         ... here.
22205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22206         Moved ...
22207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
22208         ... here.
22209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22210         Moved ...
22211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
22212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22213         Moved ...
22214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
22216 2014-06-23  Will Newton  <will.newton@linaro.org>
22217             Wilco  <wdijkstr@arm.com>
22219         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
22220         implementation.  Include get-rounding-mode.h.
22221         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
22222         [!libc_feholdsetround_noex_ctx]: Define
22223         libc_feholdsetround_noex_ctx.
22224         [!libc_feholdsetround_noexf_ctx]: Define
22225         libc_feholdsetround_noexf_ctx.
22226         [!libc_feholdsetround_noexl_ctx]: Define
22227         libc_feholdsetround_noexl_ctx.
22228         (libc_feholdsetround_ctx): New function.
22229         (libc_feresetround_ctx): New function.
22230         (libc_feholdsetround_noex_ctx): New function.
22231         (libc_feresetround_noex_ctx): New function.
22233 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22235         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
22236         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
22237         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
22238         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
22239         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
22240         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
22242         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
22243         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
22244         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
22245         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
22246         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
22247         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
22248         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
22249         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
22250         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
22251         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
22252         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
22253         Moved ...
22254         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
22255         ... here.
22256         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
22257         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
22258         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
22259         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
22260         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
22261         Moved ...
22262         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
22263         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
22264         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
22265         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
22266         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
22267         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
22268         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
22269         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
22270         Moved ...
22271         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
22272         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
22273         Moved ...
22274         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
22275         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
22276         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
22277         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
22278         Moved ...
22279         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
22280         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
22281         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
22282         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
22283         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
22284         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
22285         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
22286         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
22287         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
22288         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
22289         Moved ...
22290         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
22291         ... here.
22292         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
22293         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
22294         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
22295         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
22296         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
22297         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
22298         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
22299         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
22300         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
22301         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
22302         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
22303         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
22304         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
22305         Moved ...
22306         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
22307         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
22308         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
22309         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
22310         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
22311         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
22312         Moved ...
22313         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
22314         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
22315         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
22316         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
22317         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
22319         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
22320         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
22321         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
22322         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
22323         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
22324         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
22325         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
22326         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
22327         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
22328         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
22329         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
22330         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
22331         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
22332         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
22333         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
22334         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
22335         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
22336         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
22337         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
22338         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
22339         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
22340         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
22341         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
22342         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
22343         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
22344         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
22345         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
22346         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
22348 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
22350         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
22351         (FALLOC_FL_COLLAPSE_RANGE): New macro.
22352         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
22353         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
22354         (IPV6_PMTUDISC_INTERFACE): Likewise.
22355         (IPV6_PMTUDISC_OMIT): Likewise.
22357 2014-06-23  Andreas Schwab  <schwab@suse.de>
22359         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
22360         Remove unused errout label.
22362 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22364         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
22365         macro: hardware supports Vector Crypto instructions.
22367 2014-06-23  Will Newton  <will.newton@linaro.org>
22369         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
22370         rather than __builtin_expect.
22372         * elf/dl-lookup.c (undefined_msg): Remove variable.
22373         (_dl_lookup_symbol_x): Replace undefined_msg with string
22374         literal.
22376         * elf/dl-lookup.c (do_lookup_unique): New function.
22377         (do_lookup_x): Move STB_GNU_UNIQUE handling code
22378         to a separate function.
22380 2014-06-23  Andreas Schwab  <schwab@suse.de>
22382         [BZ #17079]
22383         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
22384         before reading the next line.
22386 2014-06-23  Will Newton  <will.newton@linaro.org>
22388         * test-skeleton.c (signal_handler): Use printf and %m
22389         rather than perror.  Use printf rather than fprintf to
22390         stderr.  Use puts rather than fputs to stderr.
22391         (main): Likewise.
22393 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
22395         * nscd/nscd.c (thread_info_t): Remove typedef.
22396         (thread_info): Remove variable.
22398 2014-06-21  Allan McRae  <allan@archlinux.org>
22400         * NEWS: Mention CVE-2014-4043.
22402 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22404         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
22405         * nptl/smp.h: ... here.
22407         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
22409         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
22410         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
22411         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
22412         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
22414         * nptl/allocatestack.c: Include <stack-aliasing.h>.
22415         * nptl/stack-aliasing.h: New file.
22416         * sysdeps/i386/i686/stack-aliasing.h: New file.
22417         * sysdeps/i386/i686/nptl/Makefile: File removed.
22418         * sysdeps/x86_64/stack-aliasing.h: New file.
22419         * sysdeps/x86_64/nptl/Makefile
22420         (CFLAGS-pthread_create.c): Variable removed.
22422         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
22423         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
22424         old file.
22425         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
22426         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
22427         old file.
22429 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
22431         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22432         (__ASSUME_SIGFRAME_V2): Remove macro.
22433         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
22434         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
22435         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
22436         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
22437         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
22438         Declare as function.  Remove conditional macro definitions.
22439         (__default_rt_sa_restorer): Likewise.
22440         (__default_sa_restorer_v1): Remove declaration.
22441         (__default_sa_restorer_v2): Likewise.
22442         (__default_rt_sa_restorer_v1): Likewise.
22443         (__default_rt_sa_restorer_v2): Likewise.
22444         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
22445         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
22446         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
22448 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22450         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
22451         (libpthread-routines): Add sysdep.
22452         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
22453         * sysdeps/unix/sysv/linux/sparc/Versions
22454         (libpthread: GLIBC_2.3.3): New version set.
22455         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
22456         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
22457         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
22458         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
22459         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
22460         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
22461         Moved ...
22462         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
22463         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
22464         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
22465         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
22466         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
22467         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
22468         * sysdeps/sparc/nptl/sem_init.c: ... here.
22469         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
22470         * sysdeps/sparc/nptl/sem_post.c: ... here.
22471         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
22472         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
22473         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
22474         * sysdeps/sparc/nptl/sem_wait.c: ... here.
22475         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
22476         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
22477         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
22478         (libpthread-routines): Add cpu_relax.
22479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
22480         File removed.
22481         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
22482         (librt: GLIBC_2.3.3): New version set.
22483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
22484         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
22485         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
22486         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
22487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
22488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
22489         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
22490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
22491         Moved ...
22492         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
22493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
22494         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
22495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
22496         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
22497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
22498         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
22499         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
22500         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
22501         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
22502         Moved ...
22503         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
22504         Update #include.
22505         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
22506         Moved ...
22507         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
22508         Update #include.
22509         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
22510         Moved ...
22511         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
22512         Update #include.
22513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
22514         Moved ...
22515         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
22516         Update #include.
22517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
22518         Moved ...
22519         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
22520         Update #include.
22521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
22522         Moved ...
22523         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
22524         Update #include.
22525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
22526         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
22527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
22528         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
22529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
22530         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
22531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
22532         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
22533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
22534         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
22535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22536         Moved ...
22537         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
22538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
22539         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
22540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
22541         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
22543 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22545         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
22546         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
22547         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22548         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
22549         * nscd/nscd.c: Likewise.
22550         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
22551         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
22552         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
22553         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
22555         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
22556         <kernel-features.h>.
22557         (init_mq_netlink): Remove conditional have_sock_cloexec
22558         definitions.  Remove code conditional on have_sock_cloexec < 0.
22559         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
22560         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
22561         * sysdeps/unix/sysv/linux/opensock.c: Do not include
22562         <kernel-features.h>.
22563         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
22564         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
22566 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22568         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22569         Add tests for memset_chk and memset.
22571         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
22572         with AVX2_Usable.
22574 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22576         [BZ #16046]
22577         * elf/tst-dl-iter-static.c: New file.
22578         * elf/Makefile (tests-static): Add tst-dl-iter-static.
22580         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
22581         error.
22583 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22585         * sysdeps/unix/sysv/linux/kernel-features.h
22586         (__ASSUME_F_GETOWN_EX): Remove macro.
22587         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
22588         <kernel-features.h>.
22589         (miss_F_GETOWN_EX): Remove variable or macro.
22590         (do_fcntl): Do not check miss_F_GETOWN_EX.
22591         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
22593         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
22594         Remove macro.
22595         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
22596         [!__ASSUME_AT_RANDOM]: Remove conditional code.
22597         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
22599         * sysdeps/unix/sysv/linux/kernel-features.h
22600         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
22601         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
22602         [ADJ_OFFSET_SS_READ]: Make code unconditional.
22603         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
22605 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22607         [BZ #17075]
22608         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
22609         Fix calculation of the symbol's value.
22610         * sysdeps/arm/tst-armtlsdescloc.c: New file.
22611         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
22612         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
22613         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
22614         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
22615         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
22616         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
22617         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
22618         (modules-names): Add `tst-armtlsdescmod',
22619         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
22620         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
22621         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22622         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
22623         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
22624         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22625         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
22626         ($(objpfx)tst-armtlsdescloc): New dependency.
22627         ($(objpfx)tst-armtlsdescextnow): Likewise.
22628         ($(objpfx)tst-armtlsdescextlazy): Likewise.
22629         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
22630         TLS scheme support.
22631         * sysdeps/arm/configure: Regenerate.
22633 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22635         * include/fcntl.h (__atfct_seterrno): Remove prototype.
22636         (__atfct_seterrno_2): Likewise.
22637         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
22638         <kernel-features.h>.
22639         (__ASSUME_ATFCTS): Do not undefine and redefine.
22640         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
22641         (__have_atfcts): Remove conditional definition.
22642         (__fxstatat([__NR_fstatat64]: Make code unconditional.
22643         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
22644         unreachable if [__ASSUME_ATFCTS].
22645         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
22646         not undefine and redefine.
22647         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
22648         <kernel-features.h>.
22649         (faccessat) [__NR_faccessat]: Make code unconditional.
22650         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
22651         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
22652         <kernel-features.h>.
22653         (fchmodat) [__NR_fchmodat]: Make code unconditional.
22654         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22655         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
22656         <kernel-features.h>.
22657         (fchownat) [__NR_fchownat]: Make code unconditional.
22658         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
22659         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
22660         <kernel-features.h>.
22661         (futimesat) [__NR_futimesat]: Make code unconditional.
22662         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
22663         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22664         <kernel-features.h>.
22665         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22666         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22667         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22668         <kernel-features.h>.
22669         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
22670         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22671         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
22672         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22673         <kernel-features.h>.
22674         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
22675         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22676         * sysdeps/unix/sysv/linux/linkat.c: Do not include
22677         <kernel-features.h>.
22678         (linkat) [__NR_linkat]: Make code unconditional.
22679         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22680         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
22681         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
22682         <kernel-features.h>.
22683         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
22684         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22685         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
22686         <kernel-features.h>.
22687         (mkdirat) [__NR_mkdirat]: Make code unconditional.
22688         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
22689         * sysdeps/unix/sysv/linux/openat.c: Do not include
22690         <kernel-features.h>.
22691         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
22692         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
22693         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
22694         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
22695         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
22696         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
22697         <kernel-features.h>.
22698         (readlinkat) [__NR_readlinkat]: Make code unconditional.
22699         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
22700         result of INLINE_SYSCALL directly, not via int variable.
22701         * sysdeps/unix/sysv/linux/renameat.c: Do not include
22702         <kernel-features.h>.
22703         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
22704         (renameat) [__NR_renameat]: Make code unconditional.
22705         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
22706         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
22707         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
22708         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
22709         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
22710         (__ASSUME_ATFCTS): Do not undefine and redefine.
22711         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
22712         <kernel-features.h>.
22713         (symlinkat) [__NR_symlinkat]: Make code unconditional.
22714         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22715         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
22716         <kernel-features.h>.
22717         (unlinkat) [__NR_unlinkat]: Make code unconditional.
22718         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22719         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
22720         (__ASSUME_ATFCTS): Do not undefine and redefine.
22721         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22722         <kernel-features.h>.
22723         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22724         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22725         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22726         <kernel-features.h>.
22727         (__xmknodat) [__NR_mknodat]: Make code unconditional.
22728         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22730 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22732         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
22734 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
22736         [BZ #17069]
22737         * posix/regcomp.c (parse_reg_exp): Deallocate partially
22738         constructed tree before returning error.
22739         * posix/bug-regexp36.c: Expand test case.
22741 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22743         [BZ #6803]
22744         * math/libm-test.inc (scalbln_test_date):
22745         Add errno expectations.
22746         * math/w_scalblnf.c: New File.
22747         Add wrapper which checks for setting errno to ERANGE.
22748         Add weak_alias for corresponding scalbln function.
22749         * math/w_scalbln.c: Likewise.
22750         * math/w_scalblnl.c: Likewise.
22751         * math/Makefile (libm-calls): Add w_scalbln.
22752         * sysdeps/ieee754/flt-32/s_scalblnf.c:
22753         Remove weak_alias for corresponding scalbln function.
22754         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22755         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22756         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22757         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22758         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22759         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22760         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
22761         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22762         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
22763         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
22764         Remove long_double_symbol for scalblnl function in libm, libc.
22765         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
22766         Add wrapper which checks for setting errno to ERANGE.
22767         Add long_double_symbol for scalblnl function in libm, libc.
22768         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
22769         Remove long_double_symbol for scalblnl in libm.
22770         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
22771         Add wrapper which checks for setting errno to ERANGE.
22772         Add long_double_symbol for scalblnl function in libm.
22773         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
22774         Do not use wrapper because of own implementation.
22776 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
22778         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
22779         3 bytes for __pad1 for x32.
22780         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
22782 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
22783             H.J. Lu  <hongjiu.lu@intel.com>
22785         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
22786         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
22787         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22788         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22789         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22791 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
22793         [BZ #17069]
22794         * posix/regcomp.c (parse_expression): Deallocate partially
22795         constructed tree before returning error.
22796         * posix/Makefile.c (tests): Add bug-regex36.
22797         (generated): Add bug-regex36.mtrace.
22798         (tests-special): Add $(objpfx)bug-regex36-mem.out
22799         (bug-regex36-ENV): New variable.
22800         ($(objpfx)bug-regex36-mem.out): New rule.
22801         * posix/bug-regex36.c: New file.
22803 2014-06-19  Will Newton  <will.newton@linaro.org>
22805         * malloc/malloc.c (systrim): If extra is zero then return
22806         early.
22808 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22810         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
22812 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
22814         * sysdeps/aarch64/strchr.S: New file.
22816 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22818         [BZ #17022]
22819         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
22820         from arguments -2 or below.
22821         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22822         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
22824 2014-06-18  Andreas Schwab  <schwab@suse.de>
22826         [BZ #17062]
22827         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
22828         of a bracket expr not to run off the end of the string.
22829         * posix/Makefile (tests): Add tst-fnmatch3.
22830         * posix/tst-fnmatch3.c: New file.
22832 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22834         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
22835         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22836         [$(cross-compiling) = no]: Likewise.
22837         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22838         [$(cross-compiling) = no]: Likewise.
22840 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22842         [BZ #17031]
22843         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
22844         double, adjusted for any remainder from the high double.
22845         * math/libm-test.inc (nearbyint): Add tests.
22846         (rint): Likewise.
22848 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22850         * nptl/sysdeps/powerpc/Makefile: Moved ...
22851         * sysdeps/powerpc/nptl/Makefile: ... here.
22852         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
22853         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
22854         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
22855         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
22856         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
22857         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
22858         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
22859         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
22860         * nptl/sysdeps/powerpc/tls.h: Moved ...
22861         * sysdeps/powerpc/nptl/tls.h: ... here.
22863 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
22865         [BZ #16681]
22866         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
22867         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
22868         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
22869         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
22870         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
22871         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
22872         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
22873         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
22874         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
22876 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
22878         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22880 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
22882         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
22883         defined operator.
22885         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
22886         $TIMEOUTFACTOR.
22888 2014-06-16  Florian Weimer  <fweimer@redhat.com>
22890         [BZ #17058]
22891         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
22892         non-executed part of the test.
22894 2014-06-16  Andreas Schwab  <schwab@suse.de>
22896         * string/bits/string2.h (strdup, strndup): Update feature guard.
22898 2014-06-14  David S. Miller  <davem@davemloft.net>
22900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22902 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
22904         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
22905         that was previously under [RESET_PID].
22906         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
22908         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
22909         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
22910         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
22911         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22912         (__libc_vfork): New strong alias.
22913         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
22915 2014-06-14 Andi Kleen  <ak@linux.intel.com>
22917         * sysdeps/generic/elide.h: New file.
22919 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22921         * Makefile (installed-headers): Adjust path of pthread.h header.
22923 2014-06-13  Roland McGrath  <roland@hack.frob.com>
22925         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
22926         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
22927         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
22928         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
22930         * nptl/sysdeps/s390/Makefile: Moved ...
22931         * sysdeps/s390/nptl/Makefile: ... here.
22932         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
22933         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
22934         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
22935         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
22936         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
22937         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
22938         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
22939         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
22940         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
22941         * sysdeps/s390/nptl/pthreaddef.h: ... here.
22942         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
22943         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
22944         * nptl/sysdeps/s390/tls.h: Moved ...
22945         * sysdeps/s390/nptl/tls.h: ... here.
22947         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
22948         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
22950 2014-06-13  David S. Miller  <davem@davemloft.net>
22952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
22953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
22954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
22955         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
22956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
22957         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
22958         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
22959         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
22960         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
22961         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
22962         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
22963         Remove RESET_PID cpp guards.
22964         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
22965         Remove RESET_PID cpp guards.
22966         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
22968 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
22970         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
22971         __sp to uintptr_t.
22973 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22975         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
22976         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
22977         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
22978         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
22979         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
22980         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
22981         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
22982         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
22983         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
22984         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
22985         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
22986         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
22987         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
22988         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
22989         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
22990         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
22991         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
22992         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
22993         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
22994         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
22996         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
22997         (pthread_rwlock_rdlock): Add elision.
22998         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
22999         (pthread_rwlock_wrlock): Add elision.
23000         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
23001         (pthread_rwlock_trywrlock): Add elision.
23002         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
23003         (pthread_rwlock_tryrdlock): Add elision.
23004         * nptl/pthread_rwlock_unlock.c: Include elide.h.
23005         (pthread_rwlock_tryrdlock): Add elision unlock.
23006         * nptl/sysdeps/pthread/pthread.h:
23007         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
23008         (PTHREAD_RWLOCK_INITIALIZER,
23009         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
23010         Handle new elision field.
23011         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
23012         * sysdeps/arm/nptl/bits/pthreadtypes.h
23013         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23014         * sysdeps/sh/nptl/bits/pthreadtypes.h
23015         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23016         * sysdeps/tile/nptl/bits/pthreadtypes.h
23017         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23018         * sysdeps/a/nptl/bits/pthreadtypes.h
23019         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23020         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23021         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23022         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23023         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23024         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
23025         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23026         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23027         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23028         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23029         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23030         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23031         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23032         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23033         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23034         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
23035         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23036         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
23037         (elision_init): Set try_xbegin to zero when no RTM.
23038         * sysdeps/x86/nptl/bits/pthreadtypes.h
23039         (pthread_rwlock_t): Change __pad1 to __rwelision.
23040         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23042 2014-06-13  Andi Kleen  <ak@linux.intel.com>
23044         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
23045         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
23046         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
23047         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
23049 2014-06-13  Meador Inge  <meadori@codesourcery.com>
23051         [BZ #16996]
23052         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
23053         that the cached result has been set before returning it.
23055 2014-06-12  Roland McGrath  <roland@hack.frob.com>
23057         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
23058         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
23059         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
23060         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
23061         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
23062         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
23064         * nptl/sysdeps/sparc/Makefile: Moved ...
23065         * sysdeps/sparc/nptl/Makefile: ... here.
23066         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
23067         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
23068         * nptl/sysdeps/sparc/tls.h: Moved ...
23069         * sysdeps/sparc/nptl/tls.h: ... here.
23070         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
23071         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
23072         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
23073         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
23074         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
23075         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
23076         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
23077         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
23078         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
23079         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
23080         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
23081         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
23082         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
23083         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
23084         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
23085         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
23086         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
23087         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
23088         Update #include.
23089         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
23090         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
23091         Update #include.
23092         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
23093         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
23094         Update #include.
23095         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
23096         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
23097         Update #include.
23099         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23101         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
23102         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
23104         * sysdeps/pthread/posix-timer.h: Include <list.h>.
23105         (struct list_links): Type removed.
23106         (struct thread_node, struct timer_node): Replace struct list_links
23107         with struct list_head.
23108         (list_unlink_ip): Likewise.
23109         * sysdeps/pthread/timer_routines.c
23110         (timer_free_list, thread_free_list, thread_active_list): Likewise.
23111         (list_append, list_insbefore): Likewise.
23112         (list_init): Function removed.
23113         (thread_init, init_module): Use INIT_LIST_HEAD instead.
23114         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
23115         * sysdeps/pthread/Makefile: ... here, new file.
23117         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
23118         * sysdeps/nptl/Implies: ... here.
23119         * sysdeps/unix/sysv/linux/Implies: Add nptl.
23120         * nptl/sysdeps/pthread/list.h: Moved ...
23121         * include/list.h: ... here.
23122         * nptl/sysdeps/pthread/createthread.c: Moved ...
23123         * nptl/createthread.c: ... here.
23124         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
23125         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
23126         * nptl/pt-longjmp.c: ... here.
23127         * nptl/sysdeps/pthread/Makefile: Moved ...
23128         * sysdeps/nptl/Makefile: ... here.
23129         * nptl/sysdeps/pthread/Subdirs: Moved ...
23130         * sysdeps/nptl/Subdirs: ... here.
23131         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
23132         * sysdeps/nptl/aio_misc.h: ... here.
23133         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
23134         * sysdeps/nptl/bits/libc-lock.h: ... here.
23135         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
23136         * sysdeps/nptl/bits/libc-lockP.h: ... here.
23137         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
23138         * sysdeps/nptl/bits/stdio-lock.h: ... here.
23139         * nptl/sysdeps/pthread/configure: Moved ...
23140         * sysdeps/nptl/configure: ... here.
23141         * nptl/sysdeps/pthread/configure.ac: Moved ...
23142         * sysdeps/nptl/configure.ac: ... here.
23143         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
23144         * sysdeps/nptl/gai_misc.h: ... here.
23145         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
23146         * sysdeps/nptl/librt-cancellation.c: ... here.
23147         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
23148         * sysdeps/nptl/malloc-machine.h: ... here.
23149         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
23150         * sysdeps/nptl/pthread-functions.h: ... here.
23151         * nptl/sysdeps/pthread/pthread.h: Moved ...
23152         * sysdeps/nptl/pthread.h: ... here.
23153         * nptl/sysdeps/pthread/setxid.h: Moved ...
23154         * sysdeps/nptl/setxid.h: ... here.
23155         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
23156         * sysdeps/nptl/sigfillset.c: ... here.
23157         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
23158         * sysdeps/nptl/tcb-offsets.h: ... here.
23159         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
23160         * sysdeps/nptl/tst-mqueue8x.c: ... here.
23161         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
23162         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
23163         * nptl/sysdeps/pthread/allocalim.h: Moved ...
23164         * sysdeps/pthread/allocalim.h: ... here.
23165         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
23166         * sysdeps/pthread/bits/sigthread.h: ... here.
23167         * nptl/sysdeps/pthread/flockfile.c: Moved ...
23168         * sysdeps/pthread/flockfile.c: ... here.
23169         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
23170         * sysdeps/pthread/ftrylockfile.c: ... here.
23171         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
23172         * sysdeps/pthread/funlockfile.c: ... here.
23173         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
23174         * sysdeps/pthread/posix-timer.h: ... here.
23175         * nptl/sysdeps/pthread/timer_create.c: Moved ...
23176         * sysdeps/pthread/timer_create.c: ... here.
23177         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
23178         * sysdeps/pthread/timer_delete.c: ... here.
23179         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
23180         * sysdeps/pthread/timer_getoverr.c: ... here.
23181         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
23182         * sysdeps/pthread/timer_gettime.c: ... here.
23183         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
23184         * sysdeps/pthread/timer_routines.c: ... here.
23185         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
23186         * sysdeps/pthread/timer_settime.c: ... here.
23187         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
23188         * sysdeps/pthread/tst-timer.c: ... here.
23189         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
23190         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
23192         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
23193         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
23195         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
23196         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
23197         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
23198         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
23199         Update #include target.
23200         * nptl/sysdeps/i386/i686/Makefile: Moved ...
23201         * sysdeps/i386/i686/nptl/Makefile: ... here.
23202         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
23203         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
23204         Update #include target.
23205         * nptl/sysdeps/i386/i686/tls.h: Moved ...
23206         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
23207         * nptl/sysdeps/i386/Makefile: Moved ...
23208         * sysdeps/i386/nptl/Makefile: ... here.
23209         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
23210         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
23211         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
23212         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
23213         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
23214         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
23215         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
23216         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
23217         * sysdeps/i386/nptl/pthreaddef.h: ... here.
23218         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
23219         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
23220         * nptl/sysdeps/i386/tls.h: Moved ...
23221         * sysdeps/i386/nptl/tls.h: ... here.
23223         * sysdeps/sh/Makefile [$(subdir) = csu]
23224         (gen-as-const-headers): Add tcb-offsets.sym.
23225         * nptl/sysdeps/sh/Makefile: File removed.
23226         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
23227         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
23228         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
23229         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
23230         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
23231         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
23232         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
23233         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
23234         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
23235         * sysdeps/sh/nptl/pthreaddef.h: ... here.
23236         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
23237         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
23238         * nptl/sysdeps/sh/tls.h: Moved ...
23239         * sysdeps/sh/nptl/tls.h: ... here.
23240         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
23241         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
23242         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
23243         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
23244         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
23245         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
23246         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
23247         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
23248         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
23249         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
23250         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
23251         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
23252         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
23253         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
23254         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
23255         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
23256         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
23257         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
23258         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
23259         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
23260         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
23261         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
23262         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
23263         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
23264         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
23265         Moved ...
23266         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
23267         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
23268         Moved ...
23269         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
23270         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
23271         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
23272         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
23273         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
23274         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
23275         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
23276         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
23277         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
23278         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
23279         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
23280         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
23281         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
23282         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
23283         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
23284         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
23285         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
23286         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
23287         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
23289 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23291         * posix/spawn_faction_addopen.c: Include string.h.
23293 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23295         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
23296         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
23297         * nptl/sysdeps/x86_64/Makefile: Moved ...
23298         * sysdeps/x86_64/nptl/Makefile: ... here.
23299         * nptl/sysdeps/x86_64/configure: Moved ...
23300         * sysdeps/x86_64/nptl/configure: ... here.
23301         * nptl/sysdeps/x86_64/configure.ac: Moved ...
23302         * sysdeps/x86_64/nptl/configure.ac: ... here.
23303         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
23304         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
23305         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
23306         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
23307         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
23308         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
23309         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
23310         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
23311         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
23312         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
23313         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
23314         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
23315         * nptl/sysdeps/x86_64/tls.h: Moved ...
23316         * sysdeps/x86_64/nptl/tls.h: ... here.
23317         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
23318         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
23319         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
23320         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
23322         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
23324 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23328 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
23330         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
23331         type.
23332         [POSIX] (off_t): Likewise.
23333         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
23334         [POSIX] (S_ISBLK): Require macro.
23335         [POSIX] (S_ISCHR): Likewise.
23336         [POSIX] (S_ISDIR): Likewise.
23337         [POSIX] (S_ISFIFO): Likewise.
23338         [POSIX] (S_ISREG): Likewise.
23339         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
23340         optional-macro.
23341         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
23342         type.
23343         [POSIX] (time_t): Likewise.
23344         [POSIX] (timer_t): Likewise.
23346 2014-06-11  Florian Weimer  <fweimer@redhat.com>
23348         [BZ #17048]
23349         * posix/spawn_int.h (struct __spawn_action): Make the path string
23350         non-const to support deallocation.
23351         * posix/spawn_faction_addopen.c
23352         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
23353         * posix/spawn_faction_destroy.c
23354         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
23355         path in all spawn_do_open actions.
23356         * posix/tst-spawn.c (do_test): Exercise the copy operation in
23357         posix_spawn_file_actions_addopen.
23359 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
23361         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
23362         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
23363         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
23364         conditional code always true.
23365         (__libc_vfork): New alias.
23367 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23369         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23370         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
23372         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
23374         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23375         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
23377         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23378         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
23380         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23381         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
23383 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23385         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
23386         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
23387         multiarch strcmp for PPC64.
23388         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
23389         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
23390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
23391         multiarch optimizations.
23392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23393         (__libc_ifunc_impl_list): Likewise.
23395 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23397         * benchtests/scripts/validate_benchout.py: New script.
23398         * benchtests/Makefile (bench-func): Call it.
23399         * benchtests/scripts/benchout.schema.json: New file.
23401 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
23403         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
23404         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
23405         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
23406         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
23407         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
23408         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23409         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
23410         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
23411         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
23412         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
23413         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
23414         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
23415         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
23416         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
23417         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
23418         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
23419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
23420         Moved ...
23421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
23422         ... here.
23423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
23424         Moved ...
23425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
23426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
23427         Moved ...
23428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
23429         ... here.
23430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
23431         Moved ...
23432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
23433         ... here.
23434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
23435         Moved ...
23436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
23437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
23438         Moved ...
23439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
23440         ... here.
23441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
23442         Moved ...
23443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
23444         ... here.
23445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
23446         Moved ...
23447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
23448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
23449         Moved ...
23450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
23451         ... here.
23452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
23453         Moved ...
23454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
23455         ... here.
23456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
23457         Moved ...
23458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
23459         ... here.
23460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
23461         Moved ...
23462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
23463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
23464         Moved ...
23465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
23466         ... here.
23467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
23468         Moved ...
23469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
23470         ... here.
23471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
23472         Moved ...
23473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
23474         ... here.
23475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
23476         Moved ...
23477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
23478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
23479         Moved ...
23480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
23481         ... here.
23482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
23483         Moved ...
23484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
23485         ... here.
23486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
23487         Moved ...
23488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
23489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
23490         Moved ...
23491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
23492         ... here.
23493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
23494         Moved ...
23495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
23496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
23497         Moved ...
23498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
23499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
23500         Moved ...
23501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
23502         ... here.
23503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
23504         Moved ...
23505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
23506         ... here.
23507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
23508         Moved ...
23509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
23510         ... here.
23511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
23512         Moved ...
23513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
23514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
23515         Moved ...
23516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
23517         ... here.
23518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
23519         Moved ...
23520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
23521         ... here.
23522         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
23523         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
23524         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
23525         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
23526         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
23527         Moved ...
23528         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23529         ... here.
23530         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
23531         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
23532         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
23533         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
23534         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
23535         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
23536         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
23537         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
23538         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
23539         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
23540         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
23541         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
23542         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
23543         Moved ...
23544         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
23545         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
23546         Moved ...
23547         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
23548         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
23549         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
23550         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
23551         Moved ...
23552         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
23553         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
23554         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
23555         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
23556         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
23557         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
23558         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
23560 2014-06-10  Wilco  <wdijkstr@arm.com>
23562         * math/test-fenv-return.c: New file.
23563         * math/Makefile: Add new test test-fenv-return.
23565 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
23567         [BZ #17042]
23568         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
23569         when x - 1 is zero.
23570         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
23571         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
23572         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
23573         0.0L for an argument of 1.0L.
23574         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23575         Likewise.
23576         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
23577         value when x - 1 is zero.
23578         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
23579         * sysdeps/i386/fpu/libm-test-ulps: Update.
23580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23582 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
23584         [BZ #15119]
23585         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
23587 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23589         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
23590         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
23592 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23594         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23595         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
23597         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23598         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
23600         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23601         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
23603         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23604         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
23606         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
23607         if not already defined.
23608         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
23609         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
23610         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
23611         (TLS_INIT_TP): Use it.
23612         (TLS_DEFINE_INIT_TP): New macro.
23613         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
23615 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
23617         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
23618         constant.
23619         [POSIX] (IXANY): Likewise.
23620         [POSIX] (OLCUC): Likewise.
23621         [POSIX || POSIX2008] (CBAUD): Do not allow.
23622         [POSIX || POSIX2008] (DEFECHO): Likewise.
23623         [POSIX || POSIX2008] (ECHOCTL): Likewise.
23624         [POSIX || POSIX2008] (ECHOKE): Likewise.
23625         [POSIX || POSIX2008] (ECHOPRT): Likewise.
23626         [POSIX || POSIX2008] (EXTA): Likewise.
23627         [POSIX || POSIX2008] (EXTB): Likewise.
23628         [POSIX || POSIX2008] (FLUSHO): Likewise.
23629         [POSIX || POSIX2008] (LOBLK): Likewise.
23630         [POSIX || POSIX2008] (PENDIN): Likewise.
23631         [POSIX || POSIX2008] (SWTCH): Likewise.
23632         [POSIX || POSIX2008] (VDISCARD): Likewise.
23633         [POSIX || POSIX2008] (VDSUSP): Likewise.
23634         [POSIX || POSIX2008] (VLNEXT): Likewise.
23635         [POSIX || POSIX2008] (VREPRINT): Likewise.
23636         [POSIX || POSIX2008] (VSTATUS): Likewise.
23637         [POSIX || POSIX2008] (VWERASE): Likewise.
23638         (B*): Change to B[0123456789]*.
23639         * conform/data/time.h-data [POSIX || UNIX98]
23640         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
23641         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23642         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
23643         [POSIX] (tm_*): Do not allow.
23645 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
23647         * Makefile (install): Don't set LANGUAGE.
23648         * Makefile.in (install): Likewise.
23649         * assert/Makefile (test-assert-ENV): Remove variable.
23650         (test-assert-perr-ENV): Likewise.
23651         * elf/Makefile (neededtest4-ENV): Likewise.
23652         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23653         [$(cross-compiling) = no]: Don't set LANGUAGE.
23654         * io/ftwtest-sh (LANG): Remove variable.
23655         * libio/Makefile (tst-widetext-ENV): Likewise.
23656         * manual/install.texi (Running make install): Don't refer to
23657         environment settings for make install.
23658         * INSTALL: Regenerated.
23659         * nptl/tst-tls6.sh: Don't set LANG.
23660         * posix/globtest.sh (LANG): Remove variable.
23661         * string/Makefile (tester-ENV): Likewise.
23662         (inl-tester-ENV): Likewise.
23663         (noinl-tester-ENV): Likewise.
23664         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23665         [$(cross-compiling) = no]: Don't set LANGUAGE.
23666         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
23667         without explicit environment settings.
23669 2014-06-06  Roland McGrath  <roland@hack.frob.com>
23671         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
23672         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
23673         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
23674         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
23676 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
23678         * crypt/crypt-private.h [DOS]: Add some includes taken from the
23679         other files in the crypt directory.
23680         * crypt/crypt.c: Remove duplicate includes.
23681         * crypt/crypt-entry.c: Likewise.
23682         * crypt/crypt_util.c: Likewise.
23684 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
23686         * Makeconfig (run-program-env): New variable.
23687         (run-program-prefix-before-env): Likewise.
23688         (run-program-prefix-after-env): Likewise.
23689         (run-program-prefix): Define in terms of new variables.
23690         (built-program-cmd-before-env): New variable.
23691         (built-program-cmd-after-env): Likewise.
23692         (built-program-cmd): Define in terms of new variables.
23693         (test-program-prefix-before-env): New variable.
23694         (test-program-prefix-after-env): Likewise.
23695         (test-program-prefix): Define in terms of new variables.
23696         (test-program-cmd-before-env): New variable.
23697         (test-program-cmd-after-env): Likewise.
23698         (test-program-cmd): Define in terms of new variables.
23699         * Rules (make-test-out): Use $(run-program-env).
23700         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
23701         (help): Do not mention environment variables.  Mention
23702         --timeoutfactor option.
23703         (timeoutfactor): New variable.
23704         (blacklist_exports): Remove function.
23705         (exports): Remove variable.
23706         (command): Do not include ${exports}.
23707         * manual/install.texi (Configuring and compiling): Do not mention
23708         test wrappers preserving environment variables.  Mention that last
23709         assignment to a variable must take precedence.
23710         * INSTALL: Regenerated.
23711         * benchtests/Makefile (run-bench): Use $(run-program-env).
23712         * catgets/Makefile ($(objpfx)test1.cat): Use
23713         $(built-program-cmd-before-env), $(run-program-env) and
23714         $(built-program-cmd-after-env).
23715         ($(objpfx)test2.cat): Do not specify environment variables
23716         explicitly.
23717         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
23718         $(run-program-env) and $(built-program-cmd-after-env).
23719         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
23720         $(run-program-env) and $(test-program-cmd-after-env).
23721         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
23722         explicitly.
23723         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
23724         run_program_env and test_program_cmd_after_env arguments.
23725         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
23726         * elf/tst-pathopt.sh: Use run_program_env argument.
23727         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
23728         $(test-wrapper-env) and $(run-program-env).
23729         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
23730         run_program_env arguments.
23731         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
23732         * intl/Makefile ($(objpfx)tst-gettext.out): Use
23733         $(test-program-prefix-before-env), $(run-program-env) and
23734         $(test-program-prefix-after-env).
23735         ($(objpfx)tst-gettext2.out): Likewise.
23736         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
23737         run_program_env and test_program_prefix_after_env arguments.
23738         * intl/tst-gettext2.sh: Likewise.
23739         * intl/tst-gettext4.sh: Do not set environment variables
23740         explicitly.
23741         * intl/tst-gettext6.sh: Likewise.
23742         * intl/tst-translit.sh: Likewise.
23743         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
23744         $(test-program-prefix-before-env), $(run-program-env) and
23745         $(test-program-prefix-after-env).
23746         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
23747         run_program_env and test_program_prefix_after_env arguments.
23748         * math/Makefile (run-regen-ulps): Use $(run-program-env).
23749         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
23750         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
23751         explicitly with each use of ${test_wrapper_env}.
23752         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
23753         $(test-program-prefix-before-env), $(run-program-env) and
23754         $(test-program-prefix-after-env).
23755         * posix/tst-getconf.sh: Do not set environment variables
23756         explicitly.
23757         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
23758         run_program_env and test_program_prefix_after_env arguments.
23759         * stdio-common/tst-printf.sh: Do not set environment variables
23760         explicitly.
23761         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
23762         $(test-program-prefix-before-env), $(run-program-env) and
23763         $(test-program-prefix-after-env).
23764         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
23765         run_program_env and test_program_prefix_after_env arguments.
23766         Split $test calls into $test_pre and $test.
23767         * timezone/Makefile (build-testdata): Use
23768         $(built-program-cmd-before-env), $(run-program-env) and
23769         $(built-program-cmd-after-env).
23771 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23773         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
23774         strlen for non SHARED builds.
23776 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23778         * nptl/allocatestack.c (check_list): Inlined function...
23779         (__reclaim_stacks): ... here.
23781 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23783         [BZ #15698]
23784         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23785         memory overrun.
23787 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
23789         * Rules (make-test-out): Include
23790         LOCPATH=$(common-objpfx)localedata in default environment.
23791         * debug/Makefile (tst-chk1-ENV): Remove variable.
23792         (tst-chk2-ENV): Likewise.
23793         (tst-chk3-ENV): Likewise.
23794         (tst-chk4-ENV): Likewise.
23795         (tst-chk5-ENV): Likewise.
23796         (tst-chk6-ENV): Likewise.
23797         (tst-lfschk1-ENV): Likewise.
23798         (tst-lfschk2-ENV): Likewise.
23799         (tst-lfschk3-ENV): Likewise.
23800         (tst-lfschk4-ENV): Likewise.
23801         (tst-lfschk5-ENV): Likewise.
23802         (tst-lfschk6-ENV): Likewise.
23803         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
23804         (tst-iconv7-ENV): Likewise.
23805         * intl/Makefile (LOCPATH-ENV): Likewise.
23806         (tst-codeset-ENV): Likewise.
23807         (tst-gettext3-ENV): Likewise.
23808         (tst-gettext5-ENV): Likewise.
23809         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
23810         (tst-fopenloc-ENV): Likewise.
23811         (tst-fgetws-ENV): Remove variable.
23812         (tst-ungetwc1-ENV): Likewise.
23813         (tst-ungetwc2-ENV): Likewise.
23814         (bug-ungetwc2-ENV): Likewise.
23815         (tst-swscanf-ENV): Likewise.
23816         (bug-ftell-ENV): Likewise.
23817         (tst-fgetwc-ENV): Likewise.
23818         (tst-fseek-ENV): Likewise.
23819         (tst-ftell-partial-wide-ENV): Likewise.
23820         (tst-ftell-active-handler-ENV): Likewise.
23821         (tst-ftell-append-ENV): Likewise.
23822         * posix/Makefile (tst-fnmatch-ENV): Likewise.
23823         (tst-regexloc-ENV): Likewise.
23824         (bug-regex1-ENV): Likewise.
23825         (tst-regex-ENV): Likewise.
23826         (tst-regex2-ENV): Likewise.
23827         (bug-regex5-ENV): Likewise.
23828         (bug-regex6-ENV): Likewise.
23829         (bug-regex17-ENV): Likewise.
23830         (bug-regex18-ENV): Likewise.
23831         (bug-regex19-ENV): Likewise.
23832         (bug-regex20-ENV): Likewise.
23833         (bug-regex22-ENV): Likewise.
23834         (bug-regex23-ENV): Likewise.
23835         (bug-regex25-ENV): Likewise.
23836         (bug-regex26-ENV): Likewise.
23837         (bug-regex30-ENV): Likewise.
23838         (bug-regex32-ENV): Likewise.
23839         (bug-regex33-ENV): Likewise.
23840         (bug-regex34-ENV): Likewise.
23841         (bug-regex35-ENV): Likewise.
23842         (tst-rxspencer-ENV): Likewise.
23843         (tst-rxspencer-no-utf8-ENV): Likewise.
23844         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
23845         (tst-sscanf-ENV): Likewise.
23846         (tst-swprintf-ENV): Likewise.
23847         (tst-swscanf-ENV): Likewise.
23848         (test-vfprintf-ENV): Likewise.
23849         (scanf13-ENV): Likewise.
23850         (bug14-ENV): Likewise.
23851         (tst-grouping-ENV): Likewise.
23852         * stdlib/Makefile (tst-strtod-ENV): Likewise.
23853         (tst-strtod3-ENV): Likewise.
23854         (tst-strtod4-ENV): Likewise.
23855         (tst-strtod5-ENV): Likewise.
23856         (testmb2-ENV): Likewise./
23857         * string/Makefile (tst-strxfrm-ENV): Likewise.
23858         (tst-strxfrm2-ENV): Likewise.
23859         (bug-strcoll1-ENV): Likewise.
23860         (test-strcasecmp-ENV): Likewise.
23861         (test-strncasecmp-ENV): Likewise.
23862         * time/Makefile (tst-strptime-ENV): Likewise.
23863         (tst-ftime_l-ENV): Likewise.
23864         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
23865         (tst-mbrtowc-ENV): Likewise.
23866         (tst-wcrtomb-ENV): Likewise.
23867         (tst-mbrtowc2-ENV): Likewise.
23868         (tst-c16c32-1-ENV): Likewise.
23869         (tst-mbsnrtowcs-ENV): Likewise.
23871 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23873         * manual/resource.texi (How to get information about the memory
23874         subsystem?): Fix typo.
23875         Reported by Peon de la Parra Ivan <peon@keba.com>
23877 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
23879         [BZ #16882]
23880         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
23881         (pthread_spin_lock): Branch out of spin loop to proper location.
23882         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
23883         (pthread_spin_lock): Likewise.
23885         * nptl/tst-spin4.c: New test.
23886         * nptl/Makefile (tests): Add tst-spin4.
23888 2014-06-03  Andreas Schwab  <schwab@suse.de>
23890         [BZ #15946]
23891         * resolv/res_send.c (send_dg): Reload file descriptor after
23892         calling reopen.
23894 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
23896         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23898 2014-06-03  Richard Henderson  <rth@redhat.com>
23900         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
23901         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
23902         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
23903         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
23904         in the SAVE_PID block.
23905         (__libc_vfork): New alias.
23906         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
23908         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
23909         child in registers, not on the stack.  Remove RESET_PID conditionals.
23910         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
23912 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23914         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23916 2014-06-03  Wilco  <wdijkstr@arm.com>
23918         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
23919         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
23920         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23921         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
23922         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
23923         Likewise.
23925 2014-06-03  Wilco  <wdijkstr@arm.com>
23927         * sysdeps/aarch64/fpu/math_private.h
23928         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
23929         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
23930         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
23931         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23932         Fix declarations.
23934 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23936         * crypt/crypt-private.h: Include ufc-crypt.h.
23937         (__b64_from_24bit): Declare extern.
23938         * crypt/crypt_util.c(__b64_from_24bit): New function.
23939         (b64t): New static const variable.
23940         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
23941         (b64t): Remove variable.
23942         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
23943         * crypt/sha256-crypt.c: Include crypt-private.h.
23944         (b64t): Remove variable.
23945         (__sha256_crypt_r): Remove b64_from_24bit and replace
23946         with __b64_from_24bit.
23947         * crypt/sha512-crypt.c: Likewise.
23949 2014-06-02  Roland McGrath  <roland@hack.frob.com>
23951         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
23952         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
23953         Label the code __libc_vfork rather than __vfork.
23954         [!NOT_IN_libc] (vfork): Define as weak alias.
23955         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
23956         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
23957         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
23959 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23961         * malloc/malloc.c (malloc_info): Fix format specifier for
23962         n_mmaps.
23964 2014-06-02  Wilco  <wdijkstr@arm.com>
23966         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
23967         FPCR write.
23969 2014-06-02  Wilco  <wdijkstr@arm.com>
23971         [BZ #17009]
23972         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
23973         Rewrite to reduce FPCR/FPSR accesses.
23975 2014-06-01  David S. Miller  <davem@davemloft.net>
23977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23979 2014-05-31  David S. Miller  <davem@davemloft.net>
23981         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
23982         to occur in round to nearest mode when |x| >= 2.0
23984 2014-05-30  Richard Henderson  <rth@twiddle.net>
23986         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
23987         (PSEUDO_RET_NOERRNO): Remove.
23988         (ret): Don't redefine.
23989         (ret_NOERRNO): Define in terms of ret.
23990         (ret_ERRVAL): Likewise.
23992         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
23993         use of PSEUDO_RET; perform the error check directly.
23995 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
23997         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
23998         with __int128_t.
24000 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24002         * malloc/malloc (malloc_info): Fix formatting.
24004 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24005             Roland McGrath  <roland@hack.frob.com>
24007         * malloc/malloc (malloc_info): Also print mmapped statistics.
24009 2014-05-30  Roland McGrath  <roland@hack.frob.com>
24011         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
24012         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
24014 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
24016         * malloc/malloc.c (malloc_info): Inline mi_arena.
24018 2014-05-29  Richard Henderson  <rth@twiddle.net>
24020         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
24021         Remove comma before expanding ASM_ARGS_##nr.
24022         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
24023         Make _x0 a strict output; make _x8 a strict input; adjust expansion
24024         of ASM_ARGS_##nr.
24025         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
24026         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
24027         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
24028         (ASM_ARGS_1): Add leading comma.
24030         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
24031         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
24032         to __errno_location.
24033         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
24034         Remove the expected plt for __errno_location.
24036         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24037         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
24038         call to __read_tp.
24040         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24041         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
24042         it and break it down.
24043         (DOCARGS_0, DOCARGS_1): Do nothing.
24044         (DOCARGS_2): Update to store into the new stack frame.
24045         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
24046         (UNDOCARGS_1): Update to restore from the new stack frame.
24047         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
24048         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
24050         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24051         (SINGLE_THREAD_P): New parameter for result regno.
24052         (PSEUDO): Update to match; use cbz instead of beq.
24054         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24055         Use ENTRY to define the _nocancel entry point.  Share the syscall
24056         and syscall error check paths with the cancel path.
24057         (PSEUDO_END): New.
24059         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
24060         whitespace; tabs before and after asm mnemonics.
24062 2014-05-29  Eric Wong  <normalperson@yhbt.net>
24064         [BZ #15132]
24065         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24066         Call fstat64 or stat64 internally, depending on arguments passed.
24067         Replace stat buffer argument with file descriptor argument.
24068         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
24069         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24070         Pass fd to __internal_statvfs instead of calling fstat64.
24071         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
24072         Pass fd to __internal_statvfs64 instead of calling fstat64.
24073         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
24074         Pass -1 to __internal_statvfs instead of calling stat64.
24075         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
24076         Pass -1 to __internal_statvfs64 instead of calling stat64.
24078 2014-05-28  Roland McGrath  <roland@hack.frob.com>
24080         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
24081         that was previously under [RESET_PID].
24082         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
24084         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
24085         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
24087 2014-05-27  Roland McGrath  <roland@hack.frob.com>
24089         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
24091         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
24092         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
24094 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
24096         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
24098 2014-05-27  Andreas Schwab  <schwab@suse.de>
24100         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
24101         TLS_INIT_TP macro.
24102         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
24103         * elf/rtld.c (init_tls, dl_main): Likewise.
24104         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
24105         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
24106         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
24107         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
24108         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
24109         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
24110         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
24111         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
24112         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
24113         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
24114         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
24115         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
24116         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
24117         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
24118         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
24119         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
24120         * sysdeps/generic/tls.h: Update description.
24122 2014-05-27  Will Newton  <will.newton@linaro.org>
24124         [BZ #16990]
24125         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
24126         and restore r2 rather than just restoring.
24128 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24130         [BZ #16724]
24131         * libio/tst-ftell-append.c: New test case.
24132         * libio/Makefile (tests): Add test case.
24133         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
24134         append mode.
24135         * libio/wfileops.c (do_ftell_wide): Likewise.
24137 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24141         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
24142         ...
24143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
24144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24145         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
24146         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
24147         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
24148         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
24149         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
24150         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
24151         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24152         Moved ...
24153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
24154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24155         Moved ...
24156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
24157         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
24158         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
24159         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
24160         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
24161         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
24162         ...
24163         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
24164         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
24165         Moved ...
24166         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
24167         here.
24168         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
24169         ...
24170         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
24171         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
24172         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
24174         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
24175         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
24176         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
24177         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
24179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
24180         merge into ...
24181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
24182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
24183         ...
24184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
24185         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
24186         ...
24187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
24188         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24189         Moved ...
24190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
24191         here.
24192         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24193         Moved ...
24194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
24195         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24196         Moved ...
24197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
24199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
24200         conditional [RESET_PID].
24201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
24202         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
24203         removed.
24204         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
24205         removed.
24207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
24208         <tcb-offsets.h>.
24209         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24210         (__libc_vfork): New strong alias.
24211         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
24212         removed.
24213         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
24214         Removed.
24216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
24217         <tcb-offsets.h>.
24218         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
24219         (__libc_vfork): New strong alias.
24220         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
24221         removed.
24222         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
24223         removed.
24225 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
24227         * malloc/malloc.c (mi_arena): New function.
24228         (malloc_info): Remove nested function mi_arena. Call non-nosted
24229         function mi_arena.
24231 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24233         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
24234         by insrwi.
24235         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
24236         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
24237         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
24238         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
24239         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
24240         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
24241         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
24243 2014-05-26  Andreas Schwab  <schwab@suse.de>
24245         [BZ #16984]
24246         * locale/programs/repertoire.c (repertoire_read): Add slash
24247         between I18NPATH element and file name.
24248         * locale/programs/locfile.c (locfile_read): Likewise.
24250 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24252         * nptl/pthread_mutexattr_settype.c
24253         (__pthread_mutexattr_settype):
24254         Disable lock elision for PTHREAD_MUTEX_NORMAL.
24256 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24258         * nptl/tst-mutex5 (do_test):
24259         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
24261 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24263         * benchtests/README: Document 'init' directive.
24264         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
24265         BENCH_INIT.
24266         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
24267         (parse_file): Recognize 'init' directive.
24269 2014-05-26  Kyle McMartin  <kyle@redhat.com>
24271         [BZ #16796]
24272         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
24273         alignment of struct pthread.
24275 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24277         [BZ #16878]
24278         * nscd/netgroupcache.c (addgetnetgrentX): Look for
24279         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24280         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
24281         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24283 2014-05-25  Richard Henderson  <rth@twiddle.net>
24285         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24286         (SINGLE_THREAD_P_PIC): Remove.
24287         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
24288         (SINGLE_THREAD_P_PIC): Remove.
24290         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
24291         branch to syscall error ...
24292         (PSEUDO): ... here.
24293         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
24294         from __local_syscall_error to .Lsyscall_error.
24295         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
24296         (SYSCALL_ERROR): Update label name.
24298         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24299         Do not use DOARGS/UNDOARGS.
24300         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
24301         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
24302         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
24303         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
24304         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
24306         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
24307         block comment.
24309         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
24310         define if !NOT_IN_libc.
24311         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
24312         define with non-default symbol versions.
24314 2014-05-23  Richard Henderson  <rth@twiddle.net>
24316         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
24317         (vfork, __vfork): Define via compat_symbol.
24319         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
24320         [!HAVE_IFUNC] (vfork_compat): Remove.
24321         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
24323 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24325         [BZ #16978]
24326         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
24327         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
24328         variable.
24330 2014-05-23  Richard Henderson  <rth@twiddle.net>
24332         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
24333         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
24334         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
24335         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
24337         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
24338         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
24339         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
24340         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
24341         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
24342         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
24343         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
24344         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
24345         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
24346         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
24347         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
24348         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
24349         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
24350         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
24351         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
24352         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
24353         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
24354         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
24355         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
24356         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
24357         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
24358         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
24359         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
24360         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
24361         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
24362         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
24363         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
24364         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
24365         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
24366         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
24367         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
24368         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
24369         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
24370         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
24371         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
24372         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
24373         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
24374         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
24375         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
24376         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
24377         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
24378         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
24379         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
24380         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
24381         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
24382         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
24383         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
24384         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
24385         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
24386         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
24387         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
24388         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
24389         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
24390         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
24391         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
24392         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
24394         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
24395         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
24396         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
24397         before exiting on error.
24398         (__libc_vfork): New strong alias.
24399         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
24400         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
24402         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
24403         that was previously under [RESET_PID].
24404         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
24406         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
24408 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24410         [BZ #16977]
24411         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
24412         value when x - 1 is zero.
24413         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
24414         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
24415         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
24416         0.0L for an argument of 1.0L.
24417         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
24418         Likewise.
24419         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
24420         value when x - 1 is zero.
24421         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
24422         * sysdeps/i386/fpu/libm-test-ulps: Update.
24423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24425 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24427         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
24428         alphasort and versionsort.
24430 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24432         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
24433         macro.
24434         [copysignf]: Likewise.
24436 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24438         * crypt/md5-crypt.c: Fix formatting.
24440 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24442         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
24443         (b64_from_24bit): New function.
24445 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24447         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
24448         libc_hidden_builtin_def to ifunc.
24449         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
24450         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
24452 2014-05-21  Roland McGrath  <roland@hack.frob.com>
24454         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
24455         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
24457 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
24459         * nscd/Depend (linuxthreads): Remove.
24460         (nptl): Add.
24461         * resolv/Depend (linuxthreads): Remove.
24462         * rt/Depend (linuxthreads): Remove.
24464         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
24465         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
24466         $(common-objpfx)elf/.
24467         (link-libc-before-gnulib): Likewise.
24468         (elfobjdir): Remove variable.
24469         * Makefile (install): Use $(elf-objpfx) instead of
24470         $(common-objpfx)elf/.
24471         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
24472         $(elfobjdir)/.
24473         (link-libc-deps): Likewise.
24474         ($(common-objpfx)libc.so): Likewise.
24475         ($(common-objpfx)linkobj/libc.so): Likewise.
24476         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
24477         instead of $(common-objpfx)elf/.
24478         (symbolic-link-list): Likewise.
24479         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24480         [$(cross-compiling) = no]: Likewise.
24481         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
24482         $(elfobjdir)/.
24483         (static-gnulib-arch): Likewise.
24484         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24485         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
24486         $(common-objpfx)elf/.
24488 2014-05-21  Richard Henderson  <rth@redhat.com>
24490         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24491         (SINGLE_THREAD_P): Use the correct width load.  Fold
24492         into the ldr offset.
24494         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
24495         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
24497 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
24499         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
24500         (libgcc_s_resume): Use __attribute_used__.
24501         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
24502         Likewise.
24504 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24506         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
24507         optimization when used with float constants.
24509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24511 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
24513         [BZ #16915]
24514         * locale/nl_langinfo_l.c: Make direct reference to every
24515         _nl_current_CATEGORY symbol.
24516         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
24517         (tests-static): Add tst-langinfo-static.
24518         (tests-special): Add tst-langinfo-static.out.
24519         ($(objpfx)tst-langinfo.out): Redirect output.
24520         ($(objpfx)tst-langinfo-static.out): New.
24521         * localedata/tst-langinfo.sh: Send output to stdout.
24522         * localedata/tst-langinfo-static.c: New file.
24524         [BZ #16965]
24525         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
24526         when the shift amount is modulo the limb size.
24528 2014-05-20  Richard Henderson  <rth@redhat.com>
24530         [BZ #16967]
24531         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
24532         Change type of sa_flags from unsigned int to int.
24534         [BZ #16966]
24535         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
24537         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
24539 2014-05-20  Will Newton  <will.newton@linaro.org>
24541         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24542         Test the return value of the system call in the nocancel case.
24544 2014-05-20  Will Newton  <will.newton@linaro.org>
24545             Yvan Roux  <yvan.roux@linaro.org>
24547         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
24548         #include of asm/ptrace.h.
24549         (PTRACE_GET_THREAD_AREA): Remove #undef.
24550         (PTRACE_GETHBPREGS): Likewise.
24551         (PTRACE_SETHBPREGS): Likewise.
24552         (struct user_regs_struct): New structure.
24553         (struct user_fpsimd_struct): New structure.
24554         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
24555         #include of asm/ptrace.h and second #include of sys/user.h.
24556         (PTRACE_GET_THREAD_AREA): Remove #undef.
24557         (PTRACE_GETHBPREGS): Likewise.
24558         (PTRACE_SETHBPREGS): Likewise.
24559         (ELF_NGREG): Use new struct user_regs_struct.
24560         (elf_fpregset_t): Use new struct user_fpsimd_struct.
24562 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24564         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
24565         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
24567 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
24569         [BZ #16958]
24570         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
24571         membar to avoid block loads/stores to overlap previous stores.
24573 2014-05-17  Richard Henderson  <rth@redhat.com>
24575         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
24576         Create the __##syscall_name##_nocancel entry point.
24577         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
24578         Remove; let the sysdep-cancel.h code create it.
24580 2014-05-17  David S. Miller  <davem@davemloft.net>
24582         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
24583         Protect with __USE_GNU.
24584         (TIOCSET_TEMPT): Likewise.
24585         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24586         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
24587         these are already provided in bits/ioctl-types.h
24589 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24591         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
24592         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
24594         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
24595         Use wait4 regardless of [__NR_waitpid].
24597 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24599         PR libgcc/60166
24600         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24601         (_FP_NANSIGN_Q): Set the quiet bit.
24603 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
24605         * benchtests/Makefile
24606         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
24607         not $(common-objpfx)math/libm.so.
24608         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
24609         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
24610         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
24611         $(common-objpfx)dlfcn/libdl.so.
24612         ($(objpfx)tst-audit8): Depend on $(libm), not
24613         $(common-objpfx)math/libm.so.
24614         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
24615         not $(common-objpfx)dlfcn/libdl.so.
24616         * math/Makefile
24617         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24618         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
24619         [$(build-shared) = yes].
24620         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
24621         $(common-objpfx)nptl/libpthread.so.
24622         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
24623         $(common-objpfx)math/libm.so$(libm.so-version) or
24624         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
24625         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
24626         $(common-objpfx)dlfcn/libdl.so.
24627         * setjmp/Makefile (link-libm): Remove variable.
24628         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
24629         * stdio-common/Makefile (link-libm): Remove variable.
24630         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
24631         * stdlib/Makefile (link-libm): Remove variable.
24632         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
24633         ($(objpfx)tst-strtod-round): Likewise.
24634         ($(objpfx)tst-tininess): Likewise.
24635         ($(objpfx)tst-strtod-underflow): Likewise.
24636         ($(objpfx)tst-strtod6): Likewise.
24637         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
24638         $(libdl), not $(common-objpfx)nptl/libpthread.so and
24639         $(common-objpfx)dlfcn/libdl.so.
24641 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24643         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
24644         BSD terminal modes definitions.
24646 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24648         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
24649         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
24651         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
24652         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
24653         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
24654         Don't do #include_next.
24655         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
24656         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
24657         Don't do #include_next.
24658         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
24659         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
24660         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
24661         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
24663 2014-05-16  Allan McRae  <allan@archlinux.org>
24665         * po/sv.po: Update Swedish translation from translation project.
24667         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
24668         in sed expression.
24670 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
24672         [BZ #16917]
24673         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
24674         errno if the TIOCGPTN ioctl fails with an error different than
24675         EINVAL.
24676         * login/tst-ptsname.c: New file.
24677         * login/Makefile (tests): Add tst-ptsname.
24679         [BZ #16943]
24680         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
24681         and prlimit64.
24683 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24685         [BZ #16849]
24686         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
24687         herrno to return EAI_AGAIN.
24689 2014-05-14  Roland McGrath  <roland@hack.frob.com>
24691         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
24692         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
24693         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
24694         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
24695         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
24696         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
24697         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
24698         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
24699         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
24700         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
24701         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
24702         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
24703         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
24704         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
24705         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
24706         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
24707         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
24708         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
24709         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
24710         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
24711         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
24712         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
24713         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
24714         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
24715         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
24716         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
24717         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
24718         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
24719         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
24720         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
24721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
24722         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
24723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
24724         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
24725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24726         Moved ...
24727         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
24728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
24729         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
24730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
24731         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
24732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
24733         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
24734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
24735         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
24736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
24737         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
24738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
24739         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
24740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
24741         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
24742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
24743         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
24744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
24745         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
24746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
24747         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
24748         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
24749         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
24750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
24751         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
24752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
24753         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
24754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24755         Moved ...
24756         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
24757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
24758         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
24759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
24760         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
24761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
24762         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
24763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
24764         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
24765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
24766         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
24767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
24768         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
24769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
24770         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
24771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
24772         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
24773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
24774         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
24775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24776         Moved ...
24777         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
24778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
24779         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
24781         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
24782         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
24783         (libpthread-sysdep_routines): Add elision-related stuff here instead.
24784         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
24785         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
24786         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
24787         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
24788         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
24789         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
24790         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
24791         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
24792         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
24793         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
24794         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
24795         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
24796         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
24797         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
24798         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
24799         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
24800         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
24801         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
24802         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
24803         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
24804         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
24805         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
24806         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
24807         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
24808         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
24809         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
24810         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
24811         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
24813         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
24814         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
24816         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
24817         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
24818         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
24819         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
24820         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
24821         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
24822         Moved ...
24823         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
24824         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24825         Moved ...
24826         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
24827         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24828         Moved ...
24829         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
24830         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
24831         Moved ...
24832         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
24833         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
24834         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
24835         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24836         Moved ...
24837         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
24838         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
24839         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
24840         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
24841         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
24842         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
24843         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
24844         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24845         Moved ...
24846         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
24847         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24848         Moved ...
24849         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24850         ... here.
24851         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
24852         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
24853         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
24854         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
24855         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24856         Moved ...
24857         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24858         ... here.
24859         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
24860         Moved ...
24861         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
24862         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
24863         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
24864         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
24865         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
24866         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
24867         Moved ...
24868         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
24869         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24870         Moved ...
24871         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
24872         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24873         Moved ...
24874         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
24875         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
24876         Moved ...
24877         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
24878         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
24879         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
24880         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
24881         Moved ...
24882         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
24883         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
24884         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
24885         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
24886         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
24887         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
24888         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
24889         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24890         Moved ...
24891         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
24892         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24893         Moved ...
24894         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24895         ... here.
24896         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
24897         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
24898         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
24899         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
24900         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24901         Moved ...
24902         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24903         ... here.
24904         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
24905         Moved ...
24906         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
24907         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
24908         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
24909         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
24910         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
24911         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
24912         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
24913         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
24914         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
24915         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
24916         Moved ...
24917         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
24918         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24919         Moved ...
24920         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
24921         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24922         Moved ...
24923         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
24924         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
24925         Moved ...
24926         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
24927         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
24928         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
24929         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
24930         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
24931         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24932         Moved ...
24933         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
24934         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
24935         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
24936         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
24937         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
24938         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
24939         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
24940         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24941         Moved ...
24942         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
24943         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24944         Moved ...
24945         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24946         ... here.
24947         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
24948         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
24949         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
24950         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
24951         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24952         Moved ...
24953         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24954         ... here.
24955         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
24956         Moved ...
24957         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
24958         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
24959         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
24960         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
24961         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
24962         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
24963         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
24964         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
24965         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
24966         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
24967         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
24969         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
24970         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
24972         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
24973         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
24975         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
24976         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
24977         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
24978         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
24979         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
24980         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
24981         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
24982         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
24983         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
24984         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
24985         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
24986         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
24987         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
24988         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
24989         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
24990         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
24991         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
24992         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
24993         Moved ...
24994         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
24995         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
24996         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
24997         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
24998         Moved ...
24999         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
25000         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
25001         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
25002         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
25003         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
25004         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
25005         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
25006         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
25007         Moved ...
25008         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
25009         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
25010         Moved ...
25011         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
25012         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
25013         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
25014         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
25015         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
25016         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
25017         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
25018         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
25019         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
25020         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
25021         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
25022         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
25023         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
25024         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
25025         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
25026         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
25027         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
25029         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
25030         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
25031         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
25032         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
25033         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
25035         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
25036         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
25037         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
25038         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
25039         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
25040         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
25041         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
25042         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
25043         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
25044         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
25046         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
25047         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
25049         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
25050         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
25051         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
25052         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
25053         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
25054         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
25055         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
25056         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
25057         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
25058         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
25059         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
25060         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
25061         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
25062         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
25063         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
25064         Update #include.
25065         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
25066         Likewise.
25067         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25068         Likewise.
25069         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25070         Likewise.
25071         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25072         Likewise.
25073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
25074         Likewise.
25075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
25076         Likewise.
25077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25078         Likewise.
25079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
25080         Likewise.
25081         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
25082         Likewise.
25083         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
25084         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
25085         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
25086         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
25087         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
25088         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
25089         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
25090         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
25091         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
25092         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
25093         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
25094         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
25095         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
25096         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
25097         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
25099         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
25100         that was previously under [RESET_PID].
25101         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25102         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
25103         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
25105         * sysdeps/i386/nptl/Implies: New file.
25106         * sysdeps/x86_64/nptl/Implies: New file.
25107         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
25108         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
25109         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
25110         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
25112         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
25113         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25114         (__libc_vfork): New strong alias.
25115         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
25116         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
25118         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
25119         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25120         (__libc_vfork): New strong alias.
25121         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
25122         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
25124         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
25125         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25126         (__libc_vfork): New strong alias.
25127         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
25128         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
25129         * nptl/pt-vfork.c: New file.
25130         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
25131         (libpthread: GLIBC_2.20): New version set (empty).
25133 2014-05-14  Will Newton  <will.newton@linaro.org>
25135         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
25136         rather than #if.
25138 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25140         [BZ #16564]
25141         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
25142         arguments with exponent 65 or above.
25143         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
25144         arguments 0x1p113L or above.
25145         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
25146         to arguments 0x1p107L or above.
25147         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
25148         positive arguments with exponent 65 or above.
25149         * math/auto-libm-test-in: Add more tests of log1p.
25150         * math/auto-libm-test-out: Regenerated.
25152         [BZ #16928]
25153         * math/s_cacos.c (__cacos): Ensure zero real part of result from
25154         non-finite arguments is +0.
25155         * math/s_cacosf.c (__cacosf): Likewise.
25156         * math/s_cacosl.c (__cacosl): Likewise.
25157         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
25158         * sysdeps/i386/fpu/libm-test-ulps: Update.
25159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25161         [BZ #16927]
25162         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
25163         value.
25164         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
25165         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
25166         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
25167         for explicit high bit of mantissa when testing for argument equal
25168         to 1.
25169         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
25170         * sysdeps/i386/fpu/libm-test-ulps: Update.
25171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25173         [BZ #16516]
25174         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
25175         (__erf): Scale by 16 instead of 8 in potentially underflowing
25176         case.  Ensure exception if result actually underflows.
25177         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
25178         (__erff): Scale by 16 instead of 8 in potentially underflowing
25179         case.  Ensure exception if result actually underflows.
25180         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
25181         (efx8): Remove variable.
25182         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25183         case.  Ensure exception if result actually underflows.
25184         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
25185         (efx8): Remove variable.
25186         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25187         case.  Ensure exception if result actually underflows.
25188         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
25189         (efx8): Remove variable.
25190         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25191         case.  Ensure exception if result actually underflows.
25192         * math/auto-libm-test-in: Add more tests of erf.
25193         * math/auto-libm-test-out: Regenerated.
25195 2014-05-14  Andreas Schwab  <schwab@suse.de>
25197         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
25198         Remove code conditionalized on USE___THREAD.
25200         * config.h.in (HAVE_PT_CHOWN): Define as 0.
25201         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
25202         not definedness.
25204 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25206         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
25207         Define unconditionally.
25208         (__ASSUME_O_CLOEXEC): Likewise.
25209         (__ASSUME_SOCK_CLOEXEC): Likewise.
25210         (__ASSUME_IN_NONBLOCK): Likewise.
25211         (__ASSUME_PIPE2): Likewise.
25212         (__ASSUME_EVENTFD2): Likewise.
25213         (__ASSUME_SIGNALFD4): Likewise.
25214         (__ASSUME_DUP3): Likewise.
25215         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25216         (__ASSUME_DUP3): Do not define.
25217         (__ASSUME_EVENTFD2): Likewise.
25218         (__ASSUME_IN_NONBLOCK): Likewise.
25219         (__ASSUME_O_CLOEXEC): Likewise.
25220         (__ASSUME_PIPE2): Likewise.
25221         (__ASSUME_SIGNALFD4): Likewise.
25222         (__ASSUME_SOCK_CLOEXEC): Likewise.
25223         (__ASSUME_UTIMES): Undefine.
25224         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25225         (__ASSUME_UTIMES): Do not define.
25226         (__ASSUME_O_CLOEXEC): Likewise.
25227         (__ASSUME_SOCK_CLOEXEC): Likewise.
25228         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
25229         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
25230         0x020621].
25231         (__ASSUME_PIPE2): Likewise.
25232         (__ASSUME_EVENTFD2): Likewise.
25233         (__ASSUME_SIGNALFD4): Likewise.
25234         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
25235         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
25236         Do not define.
25237         (__ASSUME_EVENTFD2): Likewise.
25238         (__ASSUME_SIGNALFD4): Likewise.
25239         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25240         (__ASSUME_32BITUIDS): Likewise.
25241         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25242         (__ASSUME_IPC64): Likewise.
25243         (__ASSUME_ST_INO_64_BIT): Likewise.
25244         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
25245         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
25246         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25247         (__ASSUME_UTIMES): Do not define.
25248         (__ASSUME_PSELECT): Likewise.
25249         (__ASSUME_PPOLL): Likewise.
25250         (__ASSUME_O_CLOEXEC): Likewise.
25251         (__ASSUME_SOCK_CLOEXEC): Likewise.
25252         (__ASSUME_IN_NONBLOCK): Likewise.
25253         (__ASSUME_PIPE2): Likewise.
25254         (__ASSUME_EVENTFD2): Likewise.
25255         (__ASSUME_SIGNALFD4): Likewise.
25256         (__ASSUME_DUP3): Likewise.
25257         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25258         (__ASSUME_UTIMES): Likewise.
25259         (__ASSUME_O_CLOEXEC): Likewise.
25260         (__ASSUME_SOCK_CLOEXEC): Likewise.
25261         (__ASSUME_IN_NONBLOCK): Likewise.
25262         (__ASSUME_PIPE2): Likewise.
25263         (__ASSUME_EVENTFD2): Likewise.
25264         (__ASSUME_SIGNALFD4): Likewise.
25265         (__ASSUME_DUP3): Likewise.
25266         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25267         (__ASSUME_UTIMES): Likewise.
25268         (__ASSUME_O_CLOEXEC): Likewise.
25269         (__ASSUME_SOCK_CLOEXEC): Likewise.
25270         (__ASSUME_IN_NONBLOCK): Likewise.
25271         (__ASSUME_PIPE2): Likewise.
25272         (__ASSUME_EVENTFD2): Likewise.
25273         (__ASSUME_SIGNALFD4): Likewise.
25274         (__ASSUME_DUP3): Likewise.
25275         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
25276         Likewise.
25277         (__ASSUME_UTIMES): Likewise.
25278         (__ASSUME_EVENTFD2): Likewise.
25279         (__ASSUME_SIGNALFD4): Likewise.
25280         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25281         (__ASSUME_O_CLOEXEC): Likewise.
25282         (__ASSUME_SOCK_CLOEXEC): Likewise.
25283         (__ASSUME_IN_NONBLOCK): Likewise.
25284         (__ASSUME_PIPE2): Likewise.
25285         (__ASSUME_EVENTFD2): Likewise.
25286         (__ASSUME_SIGNALFD4): Likewise.
25287         (__ASSUME_DUP3): Likewise.
25288         (__ASSUME_UTIMES): Undefine.
25290         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
25291         feclearexcept.  Remove symbol versioning code.
25292         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
25293         symbol versioning code.
25294         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
25295         symbol versioning code.
25296         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
25297         feupdateenv.  Remove symbol versioning code.
25298         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
25299         fegetexceptflag.  Remove symbol versioning code.
25300         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
25301         fesetexceptflag.  Remove symbol versioning code.
25302         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
25303         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
25304         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
25305         (__posix_fadvise64_l32): Remove prototype.
25306         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
25307         code.
25309 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25311         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
25312         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
25313         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
25314         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
25316 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
25318         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
25319         current working directory
25321 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25323         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
25324         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
25325         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
25326         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
25327         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
25328         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
25329         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
25330         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
25331         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
25332         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
25333         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
25334         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
25335         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
25336         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
25337         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
25338         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
25339         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
25340         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
25341         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
25342         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
25343         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
25344         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
25345         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
25346         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
25347         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
25348         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
25349         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
25350         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
25351         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
25352         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
25353         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
25354         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
25355         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
25356         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
25357         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
25358         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
25359         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
25360         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
25361         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
25362         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
25363         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
25364         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
25366         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
25367         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
25369         * sysdeps/unix/sysv/linux/arm/Makefile
25370         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25371         Add rt-aeabi_unwind_cpp_pr1.
25372         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
25373         Add nptl-aeabi_unwind_cpp_pr1.
25374         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
25375         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
25376         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
25377         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25378         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
25379         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25381         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
25382         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
25383         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
25384         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
25386         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
25387         Deconditionalize the code that was previously under [RESET_PID].
25388         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
25390         * sysdeps/generic/exit-thread.h: New file.
25391         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
25392         * include/unistd.h (__exit_thread): Remove declaration.
25393         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
25394         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
25395         * csu/libc-start.c: Include <exit-thread.h>.
25396         (LIBC_START_MAIN): Pass no argument to __exit_thread.
25397         * nptl/pthread_create.c: Include <exit-thread.h>.
25398         (start_thread): Call __exit_thread in place of __exit_thread_inline.
25399         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
25400         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
25401         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
25402         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
25403         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
25404         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
25405         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
25406         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
25407         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
25408         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
25409         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
25410         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
25411         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
25412         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
25413         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
25414         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
25416 2014-05-13  Andreas Schwab  <schwab@suse.de>
25418         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
25420 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
25422         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25423         (__ASSUME_UTIMES): Do not condition on kernel version.
25424         (__ASSUME_PSELECT): Define unconditionally.
25425         (__ASSUME_PPOLL): Likewise.
25426         (__ASSUME_ATFCTS): Likewise.
25427         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
25428         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
25429         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
25430         (__ASSUME_UTIMENSAT): Define unconditionally.
25431         (__ASSUME_PRIVATE_FUTEX): Likewise.
25432         (__ASSUME_FALLOCATE): Likewise.
25433         (__ASSUME_O_CLOEXEC): Likewise.
25434         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
25435         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
25436         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
25437         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
25438         (__ASSUME_IN_NONBLOCK): Likewise.
25439         (__ASSUME_PIPE2): Likewise.
25440         (__ASSUME_EVENTFD2): Likewise.
25441         (__ASSUME_SIGNALFD4): Likewise.
25442         (__ASSUME_DUP3): Likewise.
25443         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25444         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
25445         (__ASSUME_AT_RANDOM): Likewise.
25446         (__ASSUME_PREADV): Likewise.
25447         (__ASSUME_PWRITEV): Likewise.
25448         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
25449         (__ASSUME_F_GETOWN_EX): Define unconditionally.
25450         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
25451         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25452         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
25453         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25454         (__ASSUME_O_CLOEXEC): Define unconditionally.
25455         (__ASSUME_PSELECT): Do not undefine conditionally.
25456         (__ASSUME_PPOLL): Likewise.
25457         (__ASSUME_ATFCTS): Likewise.
25458         (__ASSUME_SET_ROBUST_LIST): Likewise.
25459         (__ASSUME_UTIMENSAT): Likewise.
25460         (__ASSUME_FDATASYNC): Define unconditionally.
25461         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25462         (__ASSUME_SIGFRAME_V2): Likewise.
25463         )__ASSUME_EVENTFD2): Likewise.
25464         (__ASSUME_SIGNALFD4): Likewise.
25465         (__ASSUME_PSELECT): Do not undefine conditionally.
25466         (__ASSUME_PPOLL): Likewise.
25467         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25468         (__ASSUME_PSELECT): Define unconditionally.
25469         (__ASSUME_PPOLL): Likewise.
25470         (__ASSUME_O_CLOEXEC): Likewise.
25471         (__ASSUME_SOCK_CLOEXEC): Likewise.
25472         (__ASSUME_IN_NONBLOCK): Likewise.
25473         (__ASSUME_PIPE2): Likewise.
25474         (__ASSUME_EVENTFD2): Likewise.
25475         (__ASSUME_SIGNALFD4): Likewise.
25476         (__ASSUME_DUP3): Likewise.
25477         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25478         (__ASSUME_O_CLOEXEC): Likewise.
25479         (__ASSUME_SOCK_CLOEXEC): Likewise.
25480         (__ASSUME_IN_NONBLOCK): Likewise.
25481         (__ASSUME_PIPE2): Likewise.
25482         (__ASSUME_EVENTFD2): Likewise.
25483         (__ASSUME_SIGNALFD4): Likewise.
25484         (__ASSUME_DUP3): Likewise.
25485         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25486         (__ASSUME_EVENTFD2): Likewise.
25487         (__ASSUME_SIGNALFD4): Likewise.
25488         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25490 2014-05-12  Andreas Schwab  <schwab@suse.de>
25492         [BZ #16932]
25493         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
25494         (_nss_nis_gethostbyname4_r): Return error if item length is larger
25495         than maximum RPC packet size.
25496         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
25497         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
25498         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
25499         (_nss_nis_getservbyport_r): Likewise.
25501 2014-05-12  Will Newton  <will.newton@linaro.org>
25503         * malloc/Makefile (tests): Add tst-mallopt.
25504         * malloc/tst-mallopt.c: New file.
25506 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25508         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
25509         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
25511 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25513         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
25514         (tst-tlsmod6.so): Likewise.
25516 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25518         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
25520 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
25522         [BZ #16064]
25523         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
25524         and <dl-procinfo.h>.
25525         (__fegetenv): Save SSE state in envp->__eip if supported.
25526         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
25527         envp->__eip if supported.
25528         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
25529         and <dl-procinfo.h>.
25530         (__fesetenv): Always set __eip, __cs_selector, __opcode,
25531         __data_offset and __data_selector in environment to 0.  Set SSE
25532         state if supported.
25533         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25534         test-fenv-sse.
25535         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
25536         -mfpmath=sse.
25537         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
25539 2014-05-09  Will Newton  <will.newton@linaro.org>
25541         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
25542         and libc_relro_required for ARM.
25543         * sysdeps/arm/preconfigure: Regenerate.
25545 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
25546             Stefan Liebler  <stli@linux.vnet.ibm.com>
25548         * config.make.in (enable-lock-elision): New Makefile variable.
25549         * configure.ac: Likewise.
25550         * configure: Regenerate.
25551         * sysdeps/s390/configure.ac:
25552         Add check for gcc transactions support.
25553         * sysdeps/s390/configure: Regenerate.
25554         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
25555         Build elision files if enabled.
25556         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
25557         Add lock elision support for s390.
25558         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25559         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
25560         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
25561         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25562         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
25563         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25564         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25565         Likewise.
25566         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
25567         Likewise.
25568         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
25569         Likewise.
25570         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
25571         Likewise.
25572         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
25573         (__lll_timedlock_elision, __lll_lock_elision)
25574         (__lll_unlock_elision, __lll_trylock_elision)
25575         (lll_timedlock_elision, lll_lock_elision)
25576         (lll_unlock_elision, lll_trylock_elision): Add.
25577         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25578         (pthread_mutex_t): Add lock elision support for s390.
25580 2014-05-14  Wilco  <wdijkstr@arm.com>
25582         * sysdeps/arm/fclrexcpt.c: Cleanup.
25583         * sysdeps/arm/fedisblxcpt.c: Cleanup.
25584         * sysdeps/arm/feenablxcpt.c: Cleanup.
25585         * sysdeps/arm/fegetenv.c: Cleanup.
25586         * sysdeps/arm/fegetexcept.c: Cleanup.
25587         * sysdeps/arm/fegetround.c: Cleanup.
25588         * sysdeps/arm/feholdexcpt.c: Cleanup.
25589         * sysdeps/arm/fesetenv.c: Cleanup.
25590         * sysdeps/arm/fesetround.c: Cleanup.
25591         * sysdeps/arm/feupdateenv.c: Cleanup.
25592         * sysdeps/arm/fgetexcptflg.c: Cleanup.
25593         * sysdeps/arm/fraiseexcpt.c: Cleanup.
25594         * sysdeps/arm/fsetexcptflg.c: Cleanup.
25595         * sysdeps/arm/ftestexcept.c: Cleanup.
25596         * sysdeps/arm/get-rounding-mode.h: Cleanup.
25597         * sysdeps/arm/setfpucw.c: Cleanup.
25599 2014-05-09  Will Newton  <will.newton@linaro.org>
25601         * sysdeps/arm/armv7/strcmp.S: New file.
25602         * NEWS: Mention addition of ARMv7 optimized strcmp.
25604 2014-05-08  Roland McGrath  <roland@hack.frob.com>
25606         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
25607         look for %.ac rather than %.in.
25609         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
25610         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
25611         * sysdeps/mach/hurd/configure: Regenerated.
25612         * sysdeps/unix/sysv/linux/configure: Regenerated.
25614         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
25616 2014-05-07  Steve Ellcey  <sellcey@mips.com>
25618         [BZ# 16922]
25619         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
25620         (LONG_SUB): Ditto.
25621         (PTR_SUB): Ditto.
25623 2014-05-07  Andreas Schwab  <schwab@suse.de>
25625         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
25626         when skipping over non-matching result from nscd.
25628 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
25630         [BZ #16876]
25631         * nptl/sockperf.c (client): Check socket return value.
25633         [BZ #16877]
25634         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
25635         nscd security class.
25637 2014-05-06  Roland McGrath  <roland@hack.frob.com>
25639         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
25640         * sysdeps/arm/unwind.h: ... here.
25642 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
25644         [BZ# 16916]
25645         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
25646         Define.
25648 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25650         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
25651         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
25652         multiarch strncpy for PPC64.
25653         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
25654         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
25655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
25656         multiarch optimizations.
25657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25658         (__libc_ifunc_impl_list): Likewise.
25659         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
25660         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
25661         multiarch stpncpy for PPC64.
25662         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
25663         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
25665 2014-05-06  Andreas Schwab  <schwab@suse.de>
25667         [BZ #16912]
25668         * gmon/mcount.c (_MCOUNT_DECL): Use
25669         atomic_compare_and_exchange_bool_acq instead of
25670         catomic_compare_and_exchange_bool_acq.
25672 2014-05-05  Roland McGrath  <roland@hack.frob.com>
25674         * elf/Makefile (others, install-bin): Remove pldd.
25675         (pldd-modules): Variable removed.
25676         ($(objpfx)pldd): Target removed.
25677         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
25678         (others, install-bin): Append pldd here.
25679         ($(objpfx)pldd): New target.
25681         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
25682         to 0, so the first #if test emitted later doesn't see it undefined.
25683         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
25684         * sysdeps/gnu/errlist.c: Regenerated.
25686 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25688         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25689         [libc_hidden_builtin_def]: Define to empty value.
25690         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
25691         [libc_hidden_builtin_def]: Likewise.
25692         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
25693         [libc_hidden_builtin_def]: Likewise.
25694         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
25695         [libc_hidden_builtin_def]: Likewise.
25696         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
25697         __redirect_memcpy and define ifunc as default hidden symbol.
25698         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
25699         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
25701 2014-05-04  Adam Conrad  <adconrad@0c3.net>
25703         * locale/iso-4217.def: Reintroduce XDR currency.
25705 2014-05-04  Allan McRae  <allan@archlinux.org>
25707         * po/eo.po: Update Esperanto translation from translation project.
25709 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
25711         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
25712         and FEATURE_INDEX_MAX to 1.
25713         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
25715 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25717         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
25718         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
25719         * iconvdata/big5.c (ONE_DIRECTION): Define.
25720         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
25721         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
25722         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
25723         * iconvdata/cp932.c (ONE_DIRECTION): Define.
25724         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
25725         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
25726         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
25727         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
25728         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
25729         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
25730         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
25731         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
25732         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
25733         * iconvdata/gbk.c (ONE_DIRECTION): Define.
25734         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
25735         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
25736         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
25737         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
25738         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
25739         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
25740         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
25741         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
25742         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
25743         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
25744         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
25745         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
25746         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
25747         * iconvdata/iso646.c (ONE_DIRECTION): Define.
25748         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
25749         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
25750         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
25751         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
25752         * iconvdata/johab.c (ONE_DIRECTION): Define.
25753         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
25754         * iconvdata/sjis.c (ONE_DIRECTION): Define.
25755         * iconvdata/t.61.c (ONE_DIRECTION): Define.
25756         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
25757         * iconvdata/tscii.c (ONE_DIRECTION): Define.
25758         * iconvdata/uhc.c (ONE_DIRECTION): Define.
25759         * iconvdata/unicode.c (ONE_DIRECTION): Define.
25760         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
25761         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
25762         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
25764 2014-05-01  Roland McGrath  <roland@hack.frob.com>
25766         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
25767         (_IO_JUMPS_OFFSET): Define to 0.
25769         * nptl/sysdeps/pthread/bits/libc-lock.h
25770         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25771         (__libc_lock_define_initialized_recursive): Always define using
25772         initializer.  Modern compilers treat uninitialized (implicit zero) and
25773         explicit zero initializers the same (i.e. put the datum in bss).
25775 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25777         * nscd/nscd-client.h: Include <string.h>.
25779 2014-05-01  David S. Miller  <davem@davemloft.net>
25781         [BZ #16885]
25782         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
25783         multiple zero bytes exist at the end of a string.
25784         Reported by Aurelien Jarno <aurelien@aurel32.net>
25786         * string/test-strcmp.c (check): Add explicit test for situations where
25787         there are multiple zero bytes after the first.
25789 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25791         [BZ #16890]
25792         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
25793         when compiling wprintf.
25794         * stdio-common/tstdiomisc.c (t3): New function.
25795         (main): Call it.
25797 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25799         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
25800         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
25801         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
25802         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
25804 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25806         * stdlib/longlong.h: Updated from GCC.
25808 2014-05-01  Will Newton  <will.newton@linaro.org>
25809             Bernard Ogden  <bernie.ogden@linaro.org>
25811         * NEWS: Update fixed bug list.
25813         [BZ #15119]
25814         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
25816 2014-04-30  David S. Miller  <davem@davemloft.net>
25818         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
25819         (libc_feholdexcept_setround_sparc_ctx): New function.
25820         (libc_fesetenv_sparc_ctx): Likewise.
25821         (libc_feupdateenv_sparc_ctx): Likewise.
25822         (libc_feholdsetround_sparc_ctx): Likewise.
25823         (libc_feholdexcept_setround_ctx): Define.
25824         (libc_feholdexcept_setroundf_ctx): Likewise.
25825         (libc_feholdexcept_setroundl_ctx): Likewise.
25826         (libc_fesetenv_ctx): Likewise.
25827         (libc_fesetenvf_ctx): Likewise.
25828         (libc_fesetenvl_ctx): Likewise.
25829         (libc_feupdateenv_ctx): Likewise.
25830         (libc_feupdateenvf_ctx): Likewise.
25831         (libc_feupdateenvl_ctx): Likewise.
25832         (libc_feresetround_ctx): Likewise.
25833         (libc_feresetroundf_ctx): Likewise.
25834         (libc_feresetroundl_ctx): Likewise.
25835         (libc_feholdsetround_ctx): Likewise.
25836         (libc_feholdsetroundf_ctx): Likewise.
25837         (libc_feholdsetroundl_ctx): Likewise.
25839         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25840         with __USE_GNU instead of XOPEN cpp guards.
25842         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
25843         0.
25845         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25846         with XOPEN cpp guards.
25848 2014-04-30  Julian Brown  <julian@codesourcery.com>
25850         [BZ #16888]
25851         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
25852         handling.
25854 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
25856         [BZ #9894]
25857         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
25858         Change to 2.6.32.
25859         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
25860         * sysdeps/unix/sysv/linux/configure: Regenerated.
25861         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
25862         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
25863         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
25864         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
25865         * README: Update reference to required Linux kernel version.
25866         * manual/install.texi (Linux): Update reference to required Linux
25867         kernel headers version.
25868         * INSTALL: Regenerated.
25870         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
25871         header inclusion.
25872         [POSIX] (limits.h): Likewise.
25873         [POSIX] (math.h): Likewise.
25874         [POSIX] (sys/wait.h): Likewise.
25875         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
25876         function.
25877         [POSIX] (stddef.h): Do not allow header inclusion.
25879 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25881         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
25883 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
25885         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25886         Return immediately after lll_futex_wake.
25888 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25890         [BZ #16791]
25891         * nscd/nscd-client.h (datahead_init_common): Initialize entire
25892         structure.
25893         (datahead_init_pos): Call datahead_init_common early.
25894         (datahead_init_neg): Likewise.
25896         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
25897         datahead_init_neg): New functions.
25898         * nscd/aicache.c (addhstaiX): Use them.
25899         * nscd/grpcache.c (cache_addgr): Likewise.
25900         * nscd/hstcache.c (cache_addhst): Likewise.
25901         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25902         * nscd/netgroupcache.c (do_notfound): Likewise.
25903         (addgetnetgrentX): Likewise.
25904         (addinnetgrX): Likewise.
25905         * nscd/pwdcache.c (cache_addpw): Likewise.
25906         * nscd/servicescache.c (cache_addserv): Likewise.
25908 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25909             Atsushi Onoe  <atsushi@onoe.org>
25911         [BZ #14308]
25912         [BZ #12994]
25913         [BZ #13651]
25914         * resolv/res_query.c (__libc_res_nsearch): Return if at least
25915         one response is valid.
25916         * resolv/res_send.c (send_dg): Check for validity of other
25917         response if the current response is a referral.
25919 2014-04-29  Steve Ellcey  <sellcey@mips.com>
25921         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
25923 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
25925         [BZ #16823]
25926         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
25927         Always divide by positive zero when computing -Inf result.
25928         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25929         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25931 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25933         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
25934         FPSCR if value do not change.
25935         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25936         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
25937         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25938         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25939         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
25940         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
25941         function.
25943 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
25945         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
25946         * sysdeps/unix/sysv/linux/hppa: Move directory from
25947         ports/systeps/unix/sysv/linux/hppa.
25948         * README: Update listing for hppa-*-linux-gnu.
25950 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
25952         [BZ #16754]
25953         * manual/stdio.texi (Hook functions): Fix types of stream hook
25954         functions.
25955         [BZ #16854]
25956         * socket/sys/socket.h: Fix typo in comment.
25958 2014-04-28  Wilco  <wdijkstr@arm.com>
25960         * sysdeps/arm/fenv_private.h: New file.
25961         * sysdeps/arm/math_private.h: New file.
25962         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
25964 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
25966         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
25967         with __int128_t.
25968         (La_x86_64_retval): Likewise.
25970 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
25972         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
25973         fpsr if value didn't change.
25974         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
25975         to fpcr if value didn't change.
25976         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
25977         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
25978         fpsr or fpcr if value didn't change.
25979         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25980         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
25981         fpcr if value didn't change.
25982         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
25983         to fpsr if value didn't change.
25985 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25987         * nptl/tst-sem3.c: Use test-skeleton.c
25988         (main): Rename to do_test.  Use return instead of
25989         exit.
25990         * nptl/tst-sem4.c: Use test-skeleton.c
25991         (main): Rename to do_test.
25993 2014-04-22  David S. Miller  <davem@davemloft.net>
25995         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
25996         (struct sigaction): New struct member __glibc_reserved0, change
25997         type of sa_flags to int.
25999 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
26001         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
26002         (COUNT_LEADING_ZEROS_0): Define for AArch64.
26004 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26006         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
26007         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
26009 2014-04-22  Will Newton  <will.newton@linaro.org>
26010             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
26012         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
26013         (__longjmp): Add longjmp and longjmp_target SystemTap
26014         probes.
26015         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
26016         (__sigsetjmp): Add setjmp SystemTap probe.
26018 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
26020         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
26021         match manual order.
26023 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26025         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
26027         * sysdeps/powerpc/fpu/fenv_private.h
26028         (libc_feholdexcept_setroundl_ctx): Define to
26029         libc_feholdexcept_setround_ppc_ctx.
26030         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
26031         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
26032         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
26033         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
26035 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26037         * sysdeps/aarch64/math-tests.h: New file.
26039 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
26041         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
26042         New.
26043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26044         Check and set bit_AVX2_Usable.
26045         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
26046         macro.
26047         (bit_AVX2): Likewise.
26048         (index_AVX2_Usable): Likewise.
26049         (CPUID_AVX2): Likewise.
26050         (HAS_AVX2): Likewise.
26052 2014-04-17  Will Newton  <will.newton@linaro.org>
26054         * manual/setjmp.texi (System V contexts): Add note that
26055         calling setcontext on a context created by a call to a
26056         signal handler is undefined.  Update text to note that
26057         setcontext from a signal handler is possible but not
26058         recommended.
26060         [BZ #16629]
26061         * stdlib/tst-setcontext.c: Include signal.h.
26062         (main): Check that the signal stack before and
26063         after swapcontext is the same.
26065         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
26066         Re-implement to restore registers in user code and avoid
26067         rt_sigreturn system call.
26069 2014-04-17  Wilco  <wdijkstr@arm.com>
26071         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
26072         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
26073         * math/test-fenv.c: Skip exception trap tests on targets which only
26074         support non-stop mode.
26076 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26077             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26079         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
26080         (libc_feholdsetround_aarch64_ctx)
26081         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
26082         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
26083         (libc_feresetround_ctx, libc_feresetroundf_ctx)
26084         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
26085         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
26086         (libc_feresetround_noexl_ctx): Define.
26088 2014-04-16  Richard Henderson  <rth@redhat.com>
26090         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
26092         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
26093         unwind tables.
26095         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
26096         const from the non-libc, non-ldso copy.
26098         * sysdeps/alpha/libm-test-ulps: Regenerate.
26100 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
26101             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26103         * sysdeps/aarch64/fpu/math_private.h: New file.
26105 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26107         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26109 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
26111         [BZ #16275]
26112         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
26113         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
26114         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
26115         Intel MPX bound registers before _dl_profile_fixup.
26116         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
26117         registers after _dl_profile_fixup.  Save and restore bound
26118         registers bnd0/bnd1 when calling _dl_call_pltexit.
26119         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
26120         (LR_BND_OFFSET): Likewise.
26121         (LRV_BND0_OFFSET): Likewise.
26122         (LRV_BND1_OFFSET): Likewise.
26124 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26126         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
26127         to...
26128         * sysdeps/mach/hurd/i386/tls.h: ... here.
26129         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
26130         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
26131         fields.
26133 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26135         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
26137 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26139         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26141 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26143         [BZ #14770]
26144         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
26145         * sysdeps/s390/configure: Regenerate.
26147         [BZ #16824]
26148         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
26149         Set round-to-nearest internally to reduce error accumulation.
26151 2014-04-16  Alan Modra  <amodra@gmail.com>
26153         [BZ #16740]
26154         [BZ #16619]
26155         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
26156         * math/libm-test.inc (frexp_test_data): Add tests.
26157         * NEWS: Update fixed bug list.
26159 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26161         * benchtests/Makefile: Depend on libraries in build directory.
26162         (bench-math): Separate out math tests.
26163         (bench-pthread): Separate out pthread tests.
26164         (bench): Include math and pthread tests.
26166 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
26168         [BZ #16831]
26169         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
26170         _dl_debug_initialize.
26172         * configure.ac: Remove SELinux header check.
26173         * configure: Regenerate.
26174         * nscd/selinux.c (perms): Array of const char* to permission names.
26175         (nscd_request_avc_has_perm): Call security_deny_unknown to find
26176         default policy. Call string_to_security_class and string_to_av_perm to
26177         translate strings. Enforce default policy and call avs_has_perm with
26178         results of translated strings.
26180 2014-04-13  David S. Miller  <davem@davemloft.net>
26182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26184 2014-04-12  Allan McRae  <allan@archlinux.org>
26186         [BZ #16838]
26187         * manual/string.texi (Collation Functions): Fix qsort argument
26188         order in example.
26189         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26191 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
26193         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
26194         Make the test a no-op if there are no exceptions defined.
26196 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26198         * elf/Makefile (tests): make tst-dlopen-aout conditional on
26199         enable-hardcoded-path-in-tests
26201 2014-04-11  Will Newton  <will.newton@linaro.org>
26203         * benchtests/Makefile (extra-objs): Add json-lib.o.
26204         (bench-func): Tidy up JSON output.
26205         * benchtests/bench-skeleton.c: Include json-lib.h.
26206         (main): Use JSON library functions to do output of
26207         benchmark results.
26208         * benchtests/bench-timing-type.c (main): Output the
26209         timing type simply, leaving formatting to the user.
26210         * benchtests/json-lib.c: New file.
26211         * benchtests/json-lib.h: Likewise.
26213 2014-04-11  Torvald Riegel  <triegel@redhat.com>
26215         [BZ #15215]
26216         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
26217         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
26218         memory barriers.  Add comments.
26219         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
26220         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
26221         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
26222         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
26223         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
26224         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
26226 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26228         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
26229         * sysdeps/s390/s390-64/configure.ac: ... this ...
26230         * sysdeps/s390/configure.ac: ... to here.
26231         * sysdeps/s390/s390-32/configure: Delete file.
26232         * sysdeps/s390/s390-64/configure: Delete file.
26233         * sysdeps/s390/configure: Regenerate.
26235 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
26237         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
26239 2014-04-11  Will Newton  <will.newton@linaro.org>
26241         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
26242         to zero if it is not defined elsewhere.  (mtrim): Test
26243         the value of MALLOC_DEBUG with #if rather than #ifdef.
26245 2014-04-10 Torvald Riegel  <triegel@redhat.com>
26247         * benchtests/pthread_once-inputs: New file.
26248         * benchtests/pthread_once-source.c: New file.
26249         * benchtests/README: Update documentation.
26251 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26252             H.J. Lu  <hongjiu.lu@intel.com>
26254         [BZ #16275]
26255         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
26256         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
26257         * sysdeps/x86_64/configure: Regenerated.
26258         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
26259         macro.
26260         (REGISTER_SAVE_RAX): Likewise.
26261         (REGISTER_SAVE_RCX): Likewise.
26262         (REGISTER_SAVE_RDX): Likewise.
26263         (REGISTER_SAVE_RSI): Likewise.
26264         (REGISTER_SAVE_RDI): Likewise.
26265         (REGISTER_SAVE_R8): Likewise.
26266         (REGISTER_SAVE_R9): Likewise.
26267         (REGISTER_SAVE_BND0): Likewise.
26268         (REGISTER_SAVE_BND1): Likewise.
26269         (REGISTER_SAVE_BND2): Likewise.
26270         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
26271         bound registers when calling _dl_fixup.
26273 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26275         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
26276         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
26277         of its definition.
26278         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
26279         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
26280         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
26281         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
26282         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
26283         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
26284         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
26286 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
26288         [BZ #15514]
26289         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
26290         pathconf(_PC_NAME_MAX).
26292 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26294         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
26295         Remove macro usage.
26296         (__PTHREAD_SPINS): Move definition to ...
26297         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26298         (__PTHREAD_SPINS): ... here.
26299         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26300         (__PTHREAD_SPIN): Likewise.
26301         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
26302         (__PTHREAD_SPIN): Likewise.
26303         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
26304         (__PTHREAD_SPIN): Likewise.
26305         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
26306         (__PTHREAD_SPIN): Likewise.
26307         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26308         (__PTHREAD_SPIN): Likewise.
26309         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26310         (__PTHREAD_SPIN): Likewise.
26311         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
26312         (__PTHREAD_SPIN): Likewise.
26313         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26314         (__PTHREAD_SPIN): Likewise.
26315         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26316         (__PTHREAD_SPIN): Likewise.
26317         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26318         (__PTHREAD_SPIN): Likewise.
26319         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26320         (__PTHREAD_SPIN): Likewise.
26321         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
26322         (__PTHREAD_SPIN): Likewise.
26324         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
26325         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
26326         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
26327         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
26328         imply folder.
26329         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
26330         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
26331         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
26332         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
26333         correct imply path.
26334         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
26335         strlen symbol for non multi-arch builds.
26336         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
26337         missing hidden_def and weak_alias.
26339 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
26341         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
26343 2014-04-07  Will Newton  <will.newton@linaro.org>
26345         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
26346         and contents.  [!_LIBC] Remove #ifndef and contents.
26347         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
26348         * string/memccpy.c (__memccpy): Use ANSI prototype.
26349         * string/memfrob.c (memfrob): Likewise.
26350         * string/strcoll.c (STRCOLL): Likewise.
26351         * string/strlen.c (strlen): Likewise.
26352         * string/strtok.c (STRTOK): Likewise.
26353         * string/strcat.c: Remove unused #include of memcopy.h.
26354         (strcat): Use ANSI prototype.
26355         * string/strchr.c: Remove unused #include of memcopy.h.
26356         (strchr): Use ANSI prototype.
26357         * string/strcmp.c: Remove unused #include of memcopy.h.
26358         (strcmp): Use ANSI prototype.
26359         * string/strcpy.c: Remove unused #include of memcopy.h.
26360         (strcpy): Use ANSI prototype.
26362 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26364         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
26365         * config.make.in (config-extra-cppflags): Set it from
26366         libc_extra_cppflags.
26367         * configure.ac (libc_extra_cflags): Make it accumulate over
26368         configure fragments.
26369         (libc_extra_cppflags): New flag.
26370         * configure. Regenerate.
26371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26372         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
26373         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
26374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26376         [BZ #16815]
26377         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
26378         result for FE_DOWNWARD rounding mode.
26379         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26380         Likewise.
26381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26383 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
26385         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
26386         in function argument name.
26388 2014-04-03  David Svoboda  <svoboda@cert.org>
26390         [BZ #5666]
26391         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
26392         explicitly.
26394 2014-04-03  Roland McGrath  <roland@hack.frob.com>
26396         * elf/dl-unmap-segments.h: New file.
26397         * sysdeps/generic/ldsodefs.h
26398         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
26399         * elf/dl-close.c: Include <dl-unmap-segments.h>.
26400         * elf/dl-fptr.c: Likewise.
26401         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
26402         * sysdeps/aarch64/tlsdesc.c: Likewise.
26403         * sysdeps/arm/tlsdesc.c: Likewise.
26404         * sysdeps/i386/tlsdesc.c: Likewise.
26405         * sysdeps/tile/dl-runtime.c: Likewise.
26406         * sysdeps/x86_64/tlsdesc.c: Likewise.
26407         * elf/dl-load.h: New file.
26408         * elf/dl-load.c: Include it.
26409         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
26410         Macros moved to dl-load.h.
26411         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
26412         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
26413         Use _dl_unmap_segments in place of __munmap.
26414         Break out segment-mapping loop into ...
26415         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
26417 2014-04-03  Will Newton  <will.newton@linaro.org>
26419         * elf/dl-lookup.c (do_lookup_x): Remove comment
26420         referring to nested function and move variable
26421         declarations down to before first use.
26423 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
26425         [BZ #16799]
26426         [BZ #16800]
26427         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
26428         with 0 numerator.
26429         * math/s_catanf.c (__catanf): Likewise.
26430         * math/s_catanh.c (__catanh): Likewise.
26431         * math/s_catanhf.c (__catanhf): Likewise.
26432         * math/s_catanhl.c (__catanhl): Likewise.
26433         * math/s_catanl.c (__catanl): Likewise.
26434         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
26435         by positive zero when computing -Inf result.
26436         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
26437         (catanh_test): Likewise.
26438         * sysdeps/i386/fpu/libm-test-ulps: Update.
26439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26441         [BZ #16789]
26442         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
26443         instead of using underflowing value in computing result.
26444         * math/s_clog10.c (__clog10): Likewise.
26445         * math/s_clog10f.c (__clog10f): Likewise.
26446         * math/s_clog10l.c (__clog10l): Likewise.
26447         * math/s_clogf.c (__clogf): Likewise.
26448         * math/s_clogl.c (__clogl): Likewise.
26449         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
26450         (clog10_test): Likewise.
26451         * sysdeps/i386/fpu/libm-test-ulps: Update.
26452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26454 2014-04-02  Alan Modra  <amodra@gmail.com>
26456         [BZ #16739]
26457         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
26458         output when value is near a power of two.  Use int64_t for lx and
26459         remove casts.  Use decimal rather than hex exponent constants.
26460         Don't use long double multiplication when double will suffice.
26461         * math/libm-test.inc (nextafter_test_data): Add tests.
26462         * NEWS: Add 16739 and 16786 to bug list.
26464         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
26466         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
26468 2014-04-01  Will Newton  <will.newton@linaro.org>
26470         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
26471         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
26473 2014-04-01  Florian Weimer  <fweimer@redhat.com>
26475         [BZ #13347]
26476         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
26477         * nptl/tst-setuid2.c: New file.
26478         * nptl/Makefile (xtests): Add tst-setuid2.
26480 2014-04-01  Alan Modra  <amodra@gmail.com>
26482         [BZ #16786]
26483         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
26485 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26487         [BZ #6803]
26488         [BZ #6804]
26489         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
26490         set errno as appropriate.
26491         * math/w_scalbf.c (__scalbf): Likewise.
26492         * math/w_scalbl.c (__scalbl): Likewise.
26493         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
26494         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
26495         * math/libm-test.inc (scalb_test_data): Add errno expectations.
26496         Add more NaN tests.
26498         [BZ #16349]
26499         * math/w_atan2.c: Include <errno.h>.
26500         (__atan2): Set errno for result underflowing to zero.
26501         * math/w_atan2f.c: Include <errno.h>.
26502         (__atan2f): Set errno for result underflowing to zero.
26503         * math/w_atan2l.c: Include <errno.h>.
26504         (__atan2l): Set errno for result underflowing to zero.
26505         * math/auto-libm-test-in: Don't allow missing errno for some atan2
26506         tests.
26507         * math/auto-libm-test-out: Regenerated.
26509 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26511         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26512         Encode instruction correctly in little endian.
26513         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26514         Likewise.
26515         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26516         Likewise.
26517         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26518         Likewise.
26519         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26520         Likewise.
26522 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26524         [BZ #9894]
26525         * sysdeps/unix/sysv/linux/kernel-features.h
26526         [__sparc__ && !__arch64__ && !__sparc_v9__]
26527         (__ASSUME_SET_ROBUST_LIST): Do not define.
26528         [__sparc__ && !__arch64__ && !__sparc_v9__]
26529         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26530         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
26531         Likewise.
26532         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26533         (__ASSUME_FUTEX_LOCK_PI): Undefine.
26534         (__ASSUME_REQUEUE_PI): Likewise.
26535         (__ASSUME_SET_ROBUST_LIST): Likewise.
26536         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26537         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
26538         Undefine.
26539         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26540         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
26541         Likewise.
26542         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
26543         Likewise.
26544         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
26545         Likewise.
26546         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26547         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
26548         Undefine.
26549         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
26550         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
26551         Likewise.
26553         [BZ #16648]
26554         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26555         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
26556         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
26558 2014-03-31  Will Newton  <will.newton@linaro.org>
26560         * benchtests/Makefile (bench): Add ffs and ffsll to list
26561         of tests.
26562         * benchtests/ffs-inputs: New file.
26563         * benchtests/ffsll-inputs: Likewise.
26565 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
26567         [BZ #16770]
26568         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
26569         too large before casting to int.
26570         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
26571         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
26572         * math/libm-test.inc (scalb_test_data): Add more tests.
26574 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26576         * benchtests/Makefile (DETAILED_OPT): New make option.
26577         (bench-func): Run benchmark program with -d if DETAILED_OPT is
26578         set.
26579         * benchtests/bench-skeleton.c: Include stdbool.h.
26580         (main): Store and print timings per input.
26581         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
26582         member to each argument value.
26583         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
26584         (_print_arg_data): Initialize per-input timing to 0.
26586         * benchtests/Makefile (timing-type): New binary.
26587         (bench-clean): Also remove bench-timing-type.
26588         (bench): New target for timing-type.
26589         (bench-func): Print output in JSON format.
26590         * benchtests/bench-skeleton.c (main): Print output in JSON
26591         format.
26592         * benchtests/bench-timing-type.c: New file.
26593         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
26594         (TIMING_PRINT_STATS): Remove.
26595         * benchtests/scripts/bench.py (_print_arg_data): Store variant
26596         name separately.
26598         * benchtests/bench-modf.c: Remove.
26599         * benchtests/modf-inputs: New inputs file.
26601 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
26603         [BZ #16362]
26604         * math/s_clog10.c (M_PI_LOG10E): New macro.
26605         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
26606         imaginary parts are 0.
26607         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
26608         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
26609         imaginary parts are 0.
26610         * math/s_clog10l.c (M_PI_LOG10El): New macro.
26611         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
26612         imaginary parts are 0.
26613         * math/libm-test.inc (clog10_test_data): Update expected results
26614         for when real and imaginary parts are 0.
26616 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
26618         * elf/dl-load.c: Finish conversion of __builtin_expect into
26619         __glibc_{un}likely.
26621 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
26623         [BZ #16348]
26624         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
26625         1+x for argument with exponent below -67.
26626         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
26627         Likewise.
26628         * math/auto-libm-test-in: Add more tests of exp.
26629         * math/auto-libm-test-out: Regenerated.
26631 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26633         [BZ #16759]
26634         * inet/getnetgrent_r.c (get_nonempty_val): New function.
26635         (nscd_getnetgrent): Use it.
26637         [BZ #16760]
26638         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
26639         of stpcpy.
26641 2014-03-27  Andi Kleen  <ak@linux.intel.com>
26643         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
26644         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26645         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26646         (lll_robust_unlock): Remove out of line section. Use cfi
26647         intrinsics.
26648         (LLL_STUB_UNWIND_INFO*): Remove.
26649         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
26650         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26651         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26652         (lll_robust_unlock): Remove out of line section. Use cfi
26653         intrinsics.
26654         (LLL_STUB_UNWIND_INFO*): Remove.
26656 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26658         [BZ #16758]
26659         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
26660         blank values.
26662 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26664         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
26666 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
26668         [BZ #16198]
26669         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
26670         fnstenv.
26671         * math/test-fenv-preserve.c: New file.
26672         * math/Makefile (tests): Add test-fenv-preserve.
26674 2014-03-26  Will Newton <will.newton@linaro.org>
26676         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
26678 2014-03-25  Roland McGrath  <roland@hack.frob.com>
26680         * scripts/versionlist.awk: Partition the version sets and emit all
26681         GLIBC_* (sorted) before all others (sorted).
26683 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26685         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
26686         GLIBC_2.2.5 version.
26688 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26690         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
26691         calls.
26693         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
26694         previous change.
26696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26698 2014-03-25  Andreas Schwab  <schwab@suse.de>
26700         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
26701         label to be used after in6ailist is initialized.
26703 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26705         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26706         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26708 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26710         [BZ #16357]
26711         [BZ #16599]
26712         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
26713         min_plus_half.
26714         (fp_formats): Update initializers.
26715         (init_fp_formats): Initialize new field.
26716         (output_for_one_input_case): Allow underflow for results up to
26717         min_plus_half.
26718         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
26719         * math/auto-libm-test-in: Don't mark some underflows from asin and
26720         atanh as spurious.
26721         * math/auto-libm-test-out: Regenerated.
26722         * sysdeps/i386/fpu/libm-test-ulps: Update.
26723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26725 2014-03-25  Andreas Schwab  <schwab@suse.de>
26727         * libio/Makefile (tst-ftell-partial-wide-ENV)
26728         (tst-ftell-active-handler-ENV): Define.
26730 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
26732         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
26734 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26736         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
26738 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26740         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
26741         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26742         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26744 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26746         [BZ #16634]
26747         * elf/dl-load.c (open_verify): Add mode parameter.
26748         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
26749         (open_path): Change from boolean 'secure' to complete flag 'mode'
26750         (_dl_map_object): Adjust.
26751         * elf/Makefile (tests): Add tst-dlopen-aout.
26752         * elf/tst-dlopen-aout.c: New test.
26754 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
26756         [BZ #16714]
26757         * sysdeps/unix/sysv/linux/s390/bits/stat.h
26758         (struct stat): Rename member pad0 to __glibc_reserved0.
26760         [BZ #16712]
26761         * sysdeps/s390/s390-32/bits/wordsize.h
26762         (__WORDSIZE32_SIZE_ULONG): New define.
26763         * sysdeps/s390/s390-64/bits/wordsize.h
26764         (__WORDSIZE32_SIZE_ULONG): Likewise.
26765         * sysdeps/generic/stdint.h (SIZE_MAX):
26766         Define as UL if __WORDSIZE32_SIZE_ULONG.
26768         [BZ #16713]
26769         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
26770         (__glibc_reserved0): New variable.
26771         (sa_flags): Change type to int.
26773         * posix/Makefile (before-compile): Use += before-compile instead
26774         of a :=.
26776         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26777         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26779 2014-03-20  Andreas Schwab  <schwab@suse.de>
26781         [BZ #16743]
26782         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
26783         non-matching result from nscd.
26785 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26787         * scripts/bench.py: Moved to ...
26788         * benchtests/scripts/bench.py: ... here.
26789         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
26791 2014-03-24  Andreas Schwab  <schwab@suse.de>
26793         [BZ #16002]
26794         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
26795         alloca_account and account alloca use for struct in6ailist.
26797 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26799         [BZ #16284]
26800         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
26801         rounding mode to recompute results that overflow to infinity or
26802         underflow to zero.
26803         * math/auto-libm-test-in: Don't mark tests as expected to fail for
26804         bug 16284.
26805         * math/auto-libm-test-out: Regenerated.
26806         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
26807         (ccosh_test): Likewise.
26808         (csin_test_data): Use plus_oflow.
26809         (csin_test): Use ALL_RM_TEST.
26810         (csinh_test_data): Use plus_oflow.
26811         (csinh_test): Use ALL_RM_TEST.
26812         * sysdeps/i386/fpu/libm-test-ulps: Update.
26813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26815 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
26817         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
26818         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
26819         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
26821         [BZ #16731]
26822         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
26823         when x - 1 is zero.
26824         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
26825         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
26826         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26827         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
26828         argument is 1.
26829         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
26830         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
26831         zero.
26832         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
26833         * sysdeps/i386/fpu/libm-test-ulps: Update.
26834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26836 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26838         * scripts/bench.pl: Remove file.
26839         * scripts/bench.py: New benchmark script.
26840         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
26841         * benchtests/README: Mention python dependency.
26842         * scripts/pylintrc: New file.
26843         * scripts/pylint: New file.
26845         * bits/mathdef.h: Use #ifdef instead of #if.
26846         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
26847         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26848         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
26849         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26850         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
26851         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26853 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26854             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26856         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
26857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
26858         and strpbrk-ppc64 objects.
26859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26860         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
26861         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
26862         multiarch strpbrk for POWER7.
26863         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
26864         multiarch strpbrk for PPC64.
26865         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
26866         ifunc selector.
26867         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
26868         strpbrk for POWER7.
26870 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26872         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
26873         (atan_test): Likewise.
26874         (atanh_test_data): Use NO_TEST_INLINE for two tests.
26875         (atanh_test): Use ALL_RM_TEST.
26876         (atan2_test_data): Likewise.
26877         (cabs_test): Likewise.
26878         (cacosh_test): Likewise.
26879         (carg_test): Likewise.
26880         (casin_test): Likewise.
26881         (casinh_test): Likewise.
26882         (cbrt_test): Likewise.
26883         (csqrt_test): Likewise.
26884         (erf_test): Likewise.
26885         (erfc_test): Likewise.
26886         (pow10_test): Likewise.
26887         (exp2_test): Likewise.
26888         (hypot_test): Likewise.
26889         (j0_test): Likewise.
26890         (j1_test): Likewise.
26891         (lgamma_test): Likewise.
26892         (gamma_test): Likewise.
26893         (sincos_test): Likewise.
26894         (tanh_test): Likewise.
26895         (y0_test): Likewise.
26896         (y1_test): Likewise.
26897         * sysdeps/i386/fpu/libm-test-ulps: Update.
26898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26900 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26902         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
26903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
26904         and strcspn-ppc64 objects.
26905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26906         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
26907         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
26908         multiarch strcspn for POWER7.
26909         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
26910         multiarch strcspn for PPC64.
26911         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
26912         ifunc selector.
26913         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
26914         strcspn for POWER7.
26916 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26918         * math/gen-libm-test.pl (generate_testfile): Expect only function
26919         name as argument to AUTO_TESTS_* and pass results for all rounding
26920         modes to parse_args.
26921         (parse_auto_input): Separate inputs of automatic tests from
26922         outputs before storing in %auto_tests.
26923         * math/libm-test.inc (acos_test_data): Update call to
26924         AUTO_TESTS_f_f.
26925         (acos_test): Use ALL_RM_TEST.
26926         (acos_tonearest_test_data): Remove.
26927         (acos_test_tonearest): Likewise.
26928         (acos_towardzero_test_data): Likewise.
26929         (acos_test_towardzero): Likewise.
26930         (acos_downward_test_data): Likewise.
26931         (acos_test_downward): Likewise.
26932         (acos_upward_test_data): Likewise.
26933         (acos_test_upward): Likewise.
26934         (acosh_test_data): Update call to AUTO_TESTS_f_f.
26935         (asin_test_data): Likewise.
26936         (asin_test): Use ALL_RM_TEST.
26937         (asin_tonearest_test_data): Remove.
26938         (asin_test_tonearest): Likewise.
26939         (asin_towardzero_test_data): Likewise.
26940         (asin_test_towardzero): Likewise.
26941         (asin_downward_test_data): Likewise.
26942         (asin_test_downward): Likewise.
26943         (asin_upward_test_data): Likewise.
26944         (asin_test_upward): Likewise.
26945         (asinh_test_data): Update call to AUTO_TESTS_f_f.
26946         (atan_test_data): Likewise.
26947         (atanh_test_data): Likewise.
26948         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
26949         (cabs_test_data): Update call to AUTO_TESTS_c_f.
26950         (carg_test_data): Likewise.
26951         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
26952         (ccos_test_data): Update call to AUTO_TESTS_c_c.
26953         (ccosh_test_data): Likewise.
26954         (cexp_test_data): Likewise.
26955         (clog_test_data): Likewise.
26956         (clog10_test_data): Likewise.
26957         (cos_test_data): Update call to AUTO_TESTS_f_f.
26958         (cos_test): Use ALL_RM_TEST.
26959         (cos_tonearest_test_data): Remove.
26960         (cos_test_tonearest): Likewise.
26961         (cos_towardzero_test_data): Likewise.
26962         (cos_test_towardzero): Likewise.
26963         (cos_downward_test_data): Likewise.
26964         (cos_test_downward): Likewise.
26965         (cos_upward_test_data): Likewise.
26966         (cos_test_upward): Likewise.
26967         (cosh_test_data): Update call to AUTO_TESTS_f_f.
26968         (cosh_test): Use ALL_RM_TEST.
26969         (cosh_tonearest_test_data): Remove.
26970         (cosh_test_tonearest): Likewise.
26971         (cosh_towardzero_test_data): Likewise.
26972         (cosh_test_towardzero): Likewise.
26973         (cosh_downward_test_data): Likewise.
26974         (cosh_test_downward): Likewise.
26975         (cosh_upward_test_data): Likewise.
26976         (cosh_test_upward): Likewise.
26977         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
26978         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
26979         (ctan_test_data): Likewise.
26980         (ctan_test): Use ALL_RM_TEST.
26981         (ctan_tonearest_test_data): Remove.
26982         (ctan_test_tonearest): Likewise.
26983         (ctan_towardzero_test_data): Likewise.
26984         (ctan_test_towardzero): Likewise.
26985         (ctan_downward_test_data): Likewise.
26986         (ctan_test_downward): Likewise.
26987         (ctan_upward_test_data): Likewise.
26988         (ctan_test_upward): Likewise.
26989         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
26990         (ctanh_test): Use ALL_RM_TEST.
26991         (ctanh_tonearest_test_data): Remove.
26992         (ctanh_test_tonearest): Likewise.
26993         (ctanh_towardzero_test_data): Likewise.
26994         (ctanh_test_towardzero): Likewise.
26995         (ctanh_downward_test_data): Likewise.
26996         (ctanh_test_downward): Likewise.
26997         (ctanh_upward_test_data): Likewise.
26998         (ctanh_test_upward): Likewise.
26999         (erf_test_data): Update call to AUTO_TESTS_f_f.
27000         (erfc_test_data): Likewise.
27001         (exp_test_data): Likewise.
27002         (exp_test): Use ALL_RM_TEST.
27003         (exp_tonearest_test_data): Remove.
27004         (exp_test_tonearest): Likewise.
27005         (exp_towardzero_test_data): Likewise.
27006         (exp_test_towardzero): Likewise.
27007         (exp_downward_test_data): Likewise.
27008         (exp_test_downward): Likewise.
27009         (exp_upward_test_data): Likewise.
27010         (exp_test_upward): Likewise.
27011         (exp10_test_data): Update call to AUTO_TESTS_f_f.
27012         (exp10_test): Use ALL_RM_TEST.
27013         (exp10_tonearest_test_data): Remove.
27014         (exp10_test_tonearest): Likewise.
27015         (exp10_towardzero_test_data): Likewise.
27016         (exp10_test_towardzero): Likewise.
27017         (exp10_downward_test_data): Likewise.
27018         (exp10_test_downward): Likewise.
27019         (exp10_upward_test_data): Likewise.
27020         (exp10_test_upward): Likewise.
27021         (exp2_test_data): Update call to AUTO_TESTS_f_f.
27022         (expm1_test_data): Likewise.
27023         (expm1_test): Use ALL_RM_TEST.
27024         (expm1_tonearest_test_data): Remove.
27025         (expm1_test_tonearest): Likewise.
27026         (expm1_towardzero_test_data): Likewise.
27027         (expm1_test_towardzero): Likewise.
27028         (expm1_downward_test_data): Likewise.
27029         (expm1_test_downward): Likewise.
27030         (expm1_upward_test_data): Likewise.
27031         (expm1_test_upward): Likewise.
27032         (fma_test_data): Update call to AUTO_TESTS_fff_f.
27033         (fma_test): Use ALL_RM_TEST.
27034         (fma_towardzero_test_data): Remove.
27035         (fma_test_towardzero): Likewise.
27036         (fma_downward_test_data): Likewise.
27037         (fma_test_downward): Likewise.
27038         (fma_upward_test_data): Likewise.
27039         (fma_test_upward): Likewise.
27040         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
27041         (j0_test_data): Update call to AUTO_TESTS_f_f.
27042         (j1_test_data): Likewise.
27043         (jn_test_data): Update call to AUTO_TESTS_if_f.
27044         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
27045         (log_test_data): Update call to AUTO_TESTS_f_f.
27046         (log10_test_data): Likewise.
27047         (log1p_test_data): Likewise.
27048         (log2_test_data): Likewise.
27049         (pow_test_data): Update call to AUTO_TESTS_ff_f.
27050         (pow_tonearest_test_data): Likewise.
27051         (sin_test_data): Update call to AUTO_TESTS_f_f.
27052         (sin_test): Use ALL_RM_TEST.
27053         (sin_tonearest_test_data): Remove.
27054         (sin_test_tonearest): Likewise.
27055         (sin_towardzero_test_data): Likewise.
27056         (sin_test_towardzero): Likewise.
27057         (sin_downward_test_data): Likewise.
27058         (sin_test_downward): Likewise.
27059         (sin_upward_test_data): Likewise.
27060         (sin_test_upward): Likewise.
27061         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
27062         (sinh_test_data): Update call to AUTO_TESTS_f_f.
27063         (sinh_test): Use ALL_RM_TEST.
27064         (sinh_tonearest_test_data): Remove.
27065         (sinh_test_tonearest): Likewise.
27066         (sinh_towardzero_test_data): Likewise.
27067         (sinh_test_towardzero): Likewise.
27068         (sinh_downward_test_data): Likewise.
27069         (sinh_test_downward): Likewise.
27070         (sinh_upward_test_data): Likewise.
27071         (sinh_test_upward): Likewise.
27072         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
27073         (sqrt_test): Use ALL_RM_TEST.
27074         (sqrt_tonearest_test_data): Remove.
27075         (sqrt_test_tonearest): Likewise.
27076         (sqrt_towardzero_test_data): Likewise.
27077         (sqrt_test_towardzero): Likewise.
27078         (sqrt_downward_test_data): Likewise.
27079         (sqrt_test_downward): Likewise.
27080         (sqrt_upward_test_data): Likewise.
27081         (sqrt_test_upward): Likewise.
27082         (tan_test_data): Update call to AUTO_TESTS_f_f.
27083         (tan_test): Use ALL_RM_TEST.
27084         (tan_tonearest_test_data): Remove.
27085         (tan_test_tonearest): Likewise.
27086         (tan_towardzero_test_data): Likewise.
27087         (tan_test_towardzero): Likewise.
27088         (tan_downward_test_data): Likewise.
27089         (tan_test_downward): Likewise.
27090         (tan_upward_test_data): Likewise.
27091         (tan_test_upward): Likewise.
27092         (tanh_test_data): Update call to AUTO_TESTS_f_f.
27093         (tgamma_test_data): Likewise.
27094         (y0_test_data): Likewise.
27095         (y1_test_data): Likewise.
27096         (yn_test_data): Update call to AUTO_TESTS_if_f.
27097         (main): Do not call removed functions.
27099 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27101         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
27102         (ldexp_test_data): Remove.
27103         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
27104         scalbn_test_data.
27105         (scalb_test): Use ALL_RM_TEST.
27107 2014-03-19  Andreas Schwab  <schwab@suse.de>
27109         * nscd/nscd.service: Also invalidate netgroup cache on reload.
27111 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27113         [BZ #16649]
27114         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27115         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
27116         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
27117         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27118         (__ASSUME_PREADV): Undefine.
27119         (__ASSUME_PWRITEV): Likewise.
27121 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27123         * bits/mman-linux.h: Add comment about non-Linux use.
27124         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
27125         bits/mman-linux.h resting place.
27127         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
27128         * bits/mman-linux.h: ... here.
27130 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27132         * conform/conformtest.pl: Add standard definition when calling C
27133         preprocessor on data files.
27134         (checknamespace): Remove unused variable.
27136 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27138         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
27139         minus_oflow, plus_uflow and minus_uflow in expected results.
27140         * math/libm-test.inc (scalbn_test_data): Add more tests of
27141         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
27142         minus_uflow.
27143         (scalbn_test): Use ALL_RM_TEST.
27144         (scalbln_test_data): Add more tests of negative arguments.  Use
27145         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
27146         (scalbln_test): Use ALL_RM_TEST.
27148 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27150         * scripts/abilist.awk: Ignore symbols marked with .hidden.
27152 2014-03-18  Will Newton  <will.newton@linaro.org>
27154         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
27155         inaccurate comment.
27157 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27159         * Makerules [!subdir] (check-abi): Exit with error status if a
27160         test failed.
27162 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27164         * math/libm-test.inc (nearbyint_test_data): Include all tests used
27165         for rint.  Include results for all rounding modes.
27166         (nearbyint_test): Use ALL_RM_TEST.
27167         (rint_test_data): Include all tests used for nearbyint.
27169 2014-03-17  Will Newton  <will.newton@linaro.org>
27171         * nptl/sysdeps/pthread/pthread.h: Revert previous
27172         change.
27174         * sysdeps/generic/ldsodefs.h: Revert previous
27175         change.
27177         * libio/genops.c: Revert previous change.
27178         * libio/libioP.h: Likewise.
27179         * stdio-common/vfprintf.c: Likewise.
27181         * sysdeps/generic/math_private.h: Revert previous
27182         change.
27184         * sysdeps/generic/math_private.h: Check whether
27185         HAVE_RM_CTX is defined with #ifdef rather
27186         than #if.
27188         * argp/argp-fmtstream.h: Check whether
27189         __STRICT_ANSI__ is defined with #ifdef rather
27190         than #if.
27191         * argp/argp.h: Likewise.
27193         * libio/genops.c: Check whether
27194         _IO_JUMPS_OFFSET is defined with #ifdef rather
27195         than #if.
27196         * libio/libioP.h: Likewise.
27197         * stdio-common/vfprintf.c: Likewise.
27199         * sysdeps/generic/ldsodefs.h: Check whether
27200         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
27201         than #if.
27203         * nptl/sysdeps/pthread/pthread.h: Check
27204         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
27205         its value.
27207 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27209         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
27210         setting O_APPEND.
27211         * libio/tst-ftell-active-handler.c (do_append_test): Add a
27212         test case.
27214         [BZ #16680]
27215         * libio/fileops.c (_IO_file_open): Seek to end of file but
27216         don't cache the offset.
27217         (get_file_offset): Remove function.
27218         (do_ftell): Use cached offset when available.
27219         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
27220         don't cache the offset.
27221         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
27222         case.
27223         (do_one_test): Call it.
27224         (do_ftell_test): Fix up expected old offset for a+ mode.
27225         * libio/wfileops.c (do_ftell_wide): Used cached offset when
27226         available.
27228         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
27229         up test status with function return status.
27230         (do_write_test): Likewise.
27231         (do_append_test): Likewise.
27233         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
27234         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
27235         Remove.
27237 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27239         * math/gen-libm-test.pl (parse_args): Handle results specified for
27240         each rounding mode separately.
27241         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
27242         tests and results from lrint_tonearest_test_data,
27243         lrint_towardzero_test_data, lrint_downward_test_data and
27244         lrint_upward_test_data.
27245         (lrint_test): Use ALL_RM_TEST.
27246         (lrint_tonearest_test_data): Remove.
27247         (lrint_test_tonearest): Likewise.
27248         (lrint_towardzero_test_data): Likewise.
27249         (lrint_test_towardzero): Likewise.
27250         (lrint_downward_test_data): Likewise.
27251         (lrint_test_downward): Likewise.
27252         (lrint_upward_test_data): Likewise.
27253         (lrint_test_upward): Likewise.
27254         (llrint_test_data): Merge in per-rounding-mode tests and results
27255         from llrint_tonearest_test_data, llrint_towardzero_test_data,
27256         llrint_downward_test_data and llrint_upward_test_data.
27257         (llrint_test): Use ALL_RM_TEST.
27258         (llrint_tonearest_test_data): Remove.
27259         (llrint_test_tonearest): Likewise.
27260         (llrint_towardzero_test_data): Likewise.
27261         (llrint_test_towardzero): Likewise.
27262         (llrint_downward_test_data): Likewise.
27263         (llrint_test_downward): Likewise.
27264         (llrint_upward_test_data): Likewise.
27265         (llrint_test_upward): Likewise.
27266         (rint_test_data): Merge in per-rounding-mode tests and results
27267         from rint_tonearest_test_data, rint_towardzero_test_data,
27268         rint_downward_test_data and rint_upward_test_data.  Add
27269         per-rounding-mode results for tests not in those arrays.
27270         (rint_test): Use ALL_RM_TEST.
27271         (rint_tonearest_test_data): Remove.
27272         (rint_test_tonearest): Likewise.
27273         (rint_towardzero_test_data): Likewise.
27274         (rint_test_towardzero): Likewise.
27275         (rint_downward_test_data): Likewise.
27276         (rint_test_downward): Likewise.
27277         (rint_upward_test_data): Likewise.
27278         (rint_test_upward): Likewise.
27279         (main): Don't call removed functions.
27281 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27283         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
27284         "Compiled on ..." crapola.  It is anti-useful.
27286 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
27288         * scripts/evaluate-test.sh: Handle fourth argument to determine
27289         whether test run should stop on failure.
27290         * Makeconfig (stop-on-test-failure): New variable.
27291         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
27292         $(stop-on-test-failure).
27293         * Makefile (tests): Give a summary of results from testing and
27294         exit with failure status if they include an ERROR or FAIL.
27295         (xtests): Likewise.
27296         * manual/install.texi (Configuring and compiling): Mention
27297         stop-on-test-failure=y.
27298         * INSTALL: Regenerated.
27300 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27302         * scripts/versionlist.awk: New file.
27303         * Makerules [$(build-shared) = yes]
27304         (postclean-generated): Add Versions.def, not Versions.def.v and
27305         Versions.def.v.i.
27306         ($(common-objpfx)Versions.def.v.i): Target removed.
27307         ($(common-objpfx)Versions.def): New target.
27308         ($(common-objpfx)Versions.all): Depend on that rather that
27309         $(common-objpfx)Versions.def.v.
27310         * Versions.def: File removed.
27312         * Makeconfig (+gccwarn): Add -Wundef.
27313         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
27314         a dl-sysdep.h breaking its contract.
27315         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
27316         * include/stackinfo.h: New file.
27317         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
27318         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
27319         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
27320         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
27321         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
27322         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
27323         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27324         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27325         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27326         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27327         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27328         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
27329         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27330         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27331         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27333 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27335         [BZ #16707]
27336         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
27337         implementation.
27338         * math/libm-test.inc (round_test_data): Add more tests.
27340         [BZ #16706]
27341         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
27342         implementation.
27343         * math/libm-test.inc (nearbyint_test_data): Add more tests.
27345         [BZ #16701]
27346         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
27347         implementation.
27348         * math/libm-test.inc (ceil_test_data): Add more tests.
27350         * math/libm-test.inc (trunc_test_data): Add more tests related to
27351         BZ#16414.
27353 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27355         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
27356         with #if rather than #ifdef.
27357         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
27359 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
27361         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
27362         first.  Disable AVX-512 GCC support if assembler doesn't support
27363         it.
27364         * sysdeps/x86_64/configure: Regenerated.
27366 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
27368         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
27369         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
27370         (__old_pthread_attr_setstack): Likewise.
27371         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
27372         [!_STACK_GROWS_DOWN]: Likewise.
27374 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
27376         * config.make.in (have-bash2): Delete.
27377         * configure.ac (libc_cv_have_bash2): Delete.
27378         * configure: Regenerate.
27379         * elf/Makefile (common-ldd-rewrite): Rename to ...
27380         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
27381         (sh-ldd-rewrite): Delete.
27382         (bash-ldd-rewrite): Delete.
27383         (have-bash2): Delete checks.
27384         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
27385         ldd-rewrite.
27387         * config.make.in (have-ksh): Delete.
27388         (KSH): Delete.
27389         * configure.ac (libc_cv_have_ksh): Delete.
27390         * configure: Regenerate.
27392         * elf/Makefile: Delete $(have-ksh) check.
27393         ($(objpfx)sotruss): Change KSH to BASH.
27394         * elf/sotruss.ksh: Rename to ...
27395         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
27396         function style to match POSIX.  Drop ksh vim mode setting.
27398         * manual/time.texi (Specifying the Time Zone with TZ): Change
27399         Tuesday to Thursday.
27401         * debug/tst-longjmp_chk2.c: Update header comment.
27402         (stackoverflow_handler): Add comment.  Call assert on pass value.
27404 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
27406         [BZ #16194]
27407         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
27408         (HAVE_AVX512_ASM_SUPPORT): Likewise.
27409         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
27410         (La_x86_64_vector): Add zmm.
27411         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
27412         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
27413         ($(objpfx)tst-audit10): New target.
27414         ($(objpfx)tst-audit10.out): Likewise.
27415         (tst-audit10-ENV): New.
27416         (AVX512-CFLAGS): Likewise.
27417         (CFLAGS-tst-audit10.c): Likewise.
27418         (CFLAGS-tst-auditmod10a.c): Likewise.
27419         (CFLAGS-tst-auditmod10b.c): Likewise.
27420         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
27421         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
27422         * sysdeps/x86_64/configure: Regenerated.
27423         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
27424         AVX-512 zmm register support.
27425         (_dl_x86_64_save_sse): Likewise.
27426         (_dl_x86_64_restore_sse): Likewise.
27427         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
27428         size vector registers.
27429         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
27430         (ZMM_SIZE): Likewise.
27431         * sysdeps/x86_64/tst-audit10.c: New file.
27432         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
27433         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
27435 2014-03-13  Roland McGrath  <roland@hack.frob.com>
27437         * configure.ac (HAVE_EHDR_START): New check.
27438         * configure: Regenerated.
27439         * config.h.in (HAVE_EHDR_START): New #undef.
27440         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
27441         assuming the lowest-addressed segment maps the start of the file.
27443 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
27445         * INSTALL: Regenerated.
27447 2014-03-13  Will Newton  <will.newton@linaro.org>
27449         * manual/setjmp.texi (System V contexts): Improve
27450         clarity and grammar of documentation.
27452 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27454         [BZ #16381]
27455         * elf/Makefile (tests): Add tst-pie2.
27456         (tests-pie): Add tst-pie2.
27457         * elf/tst-pie2.c: New file.
27458         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
27459         for ET_EXEC.
27460         * elf/rtld.c (map_doit): Load executable as lt_executable.
27461         (dl_main): Likewise.
27463 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
27465         [BZ #16642]
27466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27467         (__ASSUME_PSELECT): Undefine.
27469 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27471         [BZ #16689]
27472         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
27473         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
27474         static build.
27475         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
27476         selector for static builds.
27478 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27480         [BZ #16695]
27481         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
27482         key in the buffer.
27484 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27486         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
27487         IFUNC selector for static builds.
27489 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
27491         * sysdeps/mips/math_private.h [__mips_hard_float]
27492         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
27493         libc_feresetround_mips_ctx.
27494         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
27495         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
27496         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
27498         [BZ #16677]
27499         * math/s_nextafter.c (__nextafter): Do not return value from
27500         overflowing computation.
27501         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
27502         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
27503         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
27504         Likewise.
27505         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
27506         Likewise.
27507         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
27508         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
27510 2014-03-11  Roland McGrath  <roland@hack.frob.com>
27512         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
27513         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
27514         Move sfi_sp use from the load-multiple (that no longer sets sp) to
27515         the new mov targetting sp.
27517 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27519         [BZ #16683]
27520         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
27521         Define it for static builds as well.
27522         (NO_BZERO_IMPL): Likewise.
27524 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27526         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
27527         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
27528         multiarch strspn for PPC64.
27529         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
27530         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
27531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27532         (__libc_ifunc_impl_list): Likewise.
27533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
27534         multiarch optimizations
27535         * string/strspn.c (strspn): Using macro to redefine symbol name.
27537 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27538             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27540         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
27541         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
27542         multiarch strncat for PPC64.
27543         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
27544         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
27545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27546         (__libc_ifunc_impl_list): Likewise.
27547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
27548         multiarch optimizations
27550 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27552         [BZ #16639]
27553         * nscd/nscd.service: Make service type forking.
27555 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27557         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
27558         sign in non default rounding modes.
27559         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
27561 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
27563         * math/libm-test.inc (ALL_RM_TEST): New macro.
27564         (ceil_test): Use ALL_RM_TEST.
27565         (cimag_test): Likewise.
27566         (conj_test): Likewise.
27567         (copysign_test): Likewise.
27568         (cproj_test): Likewise.
27569         (creal_test): Likewise.
27570         (fabs_test): Likewise.
27571         (floor_test): Likewise.
27572         (fmax_test): Likewise.
27573         (fmin_test): Likewise.
27574         (fmod_test): Likewise.
27575         (fpclassify_test): Likewise.
27576         (frexp_test): Likewise.
27577         (ilogb_test): Likewise.
27578         (isfinite_test): Likewise.
27579         (finite_test): Likewise.
27580         (isgreater_test): Likewise.
27581         (isgreaterequal_test): Likewise.
27582         (isinf_test): Likewise.
27583         (isless_test): Likewise.
27584         (islessequal_test): Likewise.
27585         (islessgreater_test): Likewise.
27586         (isnan_test): Likewise.
27587         (isnormal_test): Likewise.
27588         (issignaling_test): Likewise.
27589         (isunordered_test): Likewise.
27590         (logb_test): Likewise.
27591         (logb_downward_test_data): Remove.
27592         (logb_test_downward): Likewise.
27593         (lround_test): Use ALL_RM_TEST.
27594         (llround_test): Likewise.
27595         (modf_test): Likewise.
27596         (nexttoward_test): Likewise.
27597         (remainder_test): Likewise.
27598         (drem_test): Likewise.
27599         (remainder_tonearest_test_data): Likewise.
27600         (remainder_test_tonearest): Likewise.
27601         (drem_test_tonearest): Likewise.
27602         (remainder_towardzero_test_data): Likewise.
27603         (remainder_test_towardzero): Likewise.
27604         (drem_test_towardzero): Likewise.
27605         (remainder_downward_test_data): Likewise.
27606         (remainder_test_downward): Likewise.
27607         (drem_test_downward): Likewise.
27608         (remainder_upward_test_data): Likewise.
27609         (remainder_test_upward): Likewise.
27610         (drem_test_upward): Likewise.
27611         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
27612         (round_test): Use ALL_RM_TEST.
27613         (signbit_test): Likewise.
27614         (trunc_test): Likewise.
27615         (significand_test): Likewise.
27616         (main): Don't call removed functions.
27618 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27620         [BZ #16674]
27621         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
27622         || __USE_XOPEN2K8].
27623         (ILL_ILLOPN): Likewise.
27624         (ILL_ILLADR): Likewise.
27625         (ILL_ILLTRP): Likewise.
27626         (ILL_PRVOPC): Likewise.
27627         (ILL_PRVREG): Likewise.
27628         (ILL_COPROC): Likewise.
27629         (ILL_BADSTK): Likewise.
27630         (FPE_INTDIV): Likewise.
27631         (FPE_INTOVF): Likewise.
27632         (FPE_FLTDIV): Likewise.
27633         (FPE_FLTOVF): Likewise.
27634         (FPE_FLTUND): Likewise.
27635         (FPE_FLTRES): Likewise.
27636         (FPE_FLTINV): Likewise.
27637         (FPE_FLTSUB): Likewise.
27638         (SEGV_MAPERR): Likewise.
27639         (SEGV_ACCERR): Likewise.
27640         (BUS_ADRALN): Likewise.
27641         (BUS_ADRERR): Likewise.
27642         (BUS_OBJERR): Likewise.
27643         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27644         (TRAP_TRACE): Likewise.
27645         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27646         __USE_XOPEN2K8].
27647         (CLD_KILLED): Likewise.
27648         (CLD_DUMPED): Likewise.
27649         (CLD_TRAPPED): Likewise.
27650         (CLD_STOPPED): Likewise.
27651         (CLD_CONTINUED): Likewise.
27652         (POLL_IN): Likewise.
27653         (POLL_OUT): Likewise.
27654         (POLL_MSG): Likewise.
27655         (POLL_ERR): Likewise.
27656         (POLL_PRI): Likewise.
27657         (POLL_HUP): Likewise.
27658         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
27659         Likewise.
27660         (ILL_ILLOPN): Likewise.
27661         (ILL_ILLADR): Likewise.
27662         (ILL_ILLTRP): Likewise.
27663         (ILL_PRVOPC): Likewise.
27664         (ILL_PRVREG): Likewise.
27665         (ILL_COPROC): Likewise.
27666         (ILL_BADSTK): Likewise.
27667         (FPE_INTDIV): Likewise.
27668         (FPE_INTOVF): Likewise.
27669         (FPE_FLTDIV): Likewise.
27670         (FPE_FLTOVF): Likewise.
27671         (FPE_FLTUND): Likewise.
27672         (FPE_FLTRES): Likewise.
27673         (FPE_FLTINV): Likewise.
27674         (FPE_FLTSUB): Likewise.
27675         (SEGV_MAPERR): Likewise.
27676         (SEGV_ACCERR): Likewise.
27677         (BUS_ADRALN): Likewise.
27678         (BUS_ADRERR): Likewise.
27679         (BUS_OBJERR): Likewise.
27680         (BUS_MCEERR_AR): Likewise.
27681         (BUS_MCEERR_AO): Likewise.
27682         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27683         (TRAP_TRACE): Likewise.
27684         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27685         __USE_XOPEN2K8].
27686         (CLD_KILLED): Likewise.
27687         (CLD_DUMPED): Likewise.
27688         (CLD_TRAPPED): Likewise.
27689         (CLD_STOPPED): Likewise.
27690         (CLD_CONTINUED): Likewise.
27691         (POLL_IN): Likewise.
27692         (POLL_OUT): Likewise.
27693         (POLL_MSG): Likewise.
27694         (POLL_ERR): Likewise.
27695         (POLL_PRI): Likewise.
27696         (POLL_HUP): Likewise.
27697         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
27698         (ILL_ILLOPN): Likewise.
27699         (ILL_ILLADR): Likewise.
27700         (ILL_ILLTRP): Likewise.
27701         (ILL_PRVOPC): Likewise.
27702         (ILL_PRVREG): Likewise.
27703         (ILL_COPROC): Likewise.
27704         (ILL_BADSTK): Likewise.
27705         (FPE_INTDIV): Likewise.
27706         (FPE_INTOVF): Likewise.
27707         (FPE_FLTDIV): Likewise.
27708         (FPE_FLTOVF): Likewise.
27709         (FPE_FLTUND): Likewise.
27710         (FPE_FLTRES): Likewise.
27711         (FPE_FLTINV): Likewise.
27712         (FPE_FLTSUB): Likewise.
27713         (SEGV_MAPERR): Likewise.
27714         (SEGV_ACCERR): Likewise.
27715         (BUS_ADRALN): Likewise.
27716         (BUS_ADRERR): Likewise.
27717         (BUS_OBJERR): Likewise.
27718         (BUS_MCEERR_AR): Likewise.
27719         (BUS_MCEERR_AO): Likewise.
27720         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27721         (TRAP_TRACE): Likewise.
27722         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27723         __USE_XOPEN2K8].
27724         (CLD_KILLED): Likewise.
27725         (CLD_DUMPED): Likewise.
27726         (CLD_TRAPPED): Likewise.
27727         (CLD_STOPPED): Likewise.
27728         (CLD_CONTINUED): Likewise.
27729         (POLL_IN): Likewise.
27730         (POLL_OUT): Likewise.
27731         (POLL_MSG): Likewise.
27732         (POLL_ERR): Likewise.
27733         (POLL_PRI): Likewise.
27734         (POLL_HUP): Likewise.
27735         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
27736         Likewise.
27737         (ILL_ILLOPN): Likewise.
27738         (ILL_ILLADR): Likewise.
27739         (ILL_ILLTRP): Likewise.
27740         (ILL_PRVOPC): Likewise.
27741         (ILL_PRVREG): Likewise.
27742         (ILL_COPROC): Likewise.
27743         (ILL_BADSTK): Likewise.
27744         (ILL_BADIADDR): Likewise.
27745         (ILL_BREAK): Likewise.
27746         (FPE_INTDIV): Likewise.
27747         (FPE_INTOVF): Likewise.
27748         (FPE_FLTDIV): Likewise.
27749         (FPE_FLTOVF): Likewise.
27750         (FPE_FLTUND): Likewise.
27751         (FPE_FLTRES): Likewise.
27752         (FPE_FLTINV): Likewise.
27753         (FPE_FLTSUB): Likewise.
27754         (FPE_DECOVF): Likewise.
27755         (FPE_DECDIV): Likewise.
27756         (FPE_DECERR): Likewise.
27757         (FPE_INVASC): Likewise.
27758         (FPE_INVDEC): Likewise.
27759         (SEGV_MAPERR): Likewise.
27760         (SEGV_ACCERR): Likewise.
27761         (SEGV_PSTKOVF): Likewise.
27762         (BUS_ADRALN): Likewise.
27763         (BUS_ADRERR): Likewise.
27764         (BUS_OBJERR): Likewise.
27765         (BUS_MCEERR_AR): Likewise.
27766         (BUS_MCEERR_AO): Likewise.
27767         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27768         (TRAP_TRACE): Likewise.
27769         (TRAP_BRANCH): Likewise.
27770         (TRAP_HWBKPT): Likewise.
27771         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27772         __USE_XOPEN2K8].
27773         (CLD_KILLED): Likewise.
27774         (CLD_DUMPED): Likewise.
27775         (CLD_TRAPPED): Likewise.
27776         (CLD_STOPPED): Likewise.
27777         (CLD_CONTINUED): Likewise.
27778         (POLL_IN): Likewise.
27779         (POLL_OUT): Likewise.
27780         (POLL_MSG): Likewise.
27781         (POLL_ERR): Likewise.
27782         (POLL_PRI): Likewise.
27783         (POLL_HUP): Likewise.
27784         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
27785         (ILL_ILLOPN): Likewise.
27786         (ILL_ILLADR): Likewise.
27787         (ILL_ILLTRP): Likewise.
27788         (ILL_PRVOPC): Likewise.
27789         (ILL_PRVREG): Likewise.
27790         (ILL_COPROC): Likewise.
27791         (ILL_BADSTK): Likewise.
27792         (FPE_INTDIV): Likewise.
27793         (FPE_INTOVF): Likewise.
27794         (FPE_FLTDIV): Likewise.
27795         (FPE_FLTOVF): Likewise.
27796         (FPE_FLTUND): Likewise.
27797         (FPE_FLTRES): Likewise.
27798         (FPE_FLTINV): Likewise.
27799         (FPE_FLTSUB): Likewise.
27800         (SEGV_MAPERR): Likewise.
27801         (SEGV_ACCERR): Likewise.
27802         (BUS_ADRALN): Likewise.
27803         (BUS_ADRERR): Likewise.
27804         (BUS_OBJERR): Likewise.
27805         (BUS_MCEERR_AR): Likewise.
27806         (BUS_MCEERR_AO): Likewise.
27807         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27808         (TRAP_TRACE): Likewise.
27809         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27810         __USE_XOPEN2K8].
27811         (CLD_KILLED): Likewise.
27812         (CLD_DUMPED): Likewise.
27813         (CLD_TRAPPED): Likewise.
27814         (CLD_STOPPED): Likewise.
27815         (CLD_CONTINUED): Likewise.
27816         (POLL_IN): Likewise.
27817         (POLL_OUT): Likewise.
27818         (POLL_MSG): Likewise.
27819         (POLL_ERR): Likewise.
27820         (POLL_PRI): Likewise.
27821         (POLL_HUP): Likewise.
27822         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
27823         (ILL_ILLOPN): Likewise.
27824         (ILL_ILLADR): Likewise.
27825         (ILL_ILLTRP): Likewise.
27826         (ILL_PRVOPC): Likewise.
27827         (ILL_PRVREG): Likewise.
27828         (ILL_COPROC): Likewise.
27829         (ILL_BADSTK): Likewise.
27830         (FPE_INTDIV): Likewise.
27831         (FPE_INTOVF): Likewise.
27832         (FPE_FLTDIV): Likewise.
27833         (FPE_FLTOVF): Likewise.
27834         (FPE_FLTUND): Likewise.
27835         (FPE_FLTRES): Likewise.
27836         (FPE_FLTINV): Likewise.
27837         (FPE_FLTSUB): Likewise.
27838         (SEGV_MAPERR): Likewise.
27839         (SEGV_ACCERR): Likewise.
27840         (BUS_ADRALN): Likewise.
27841         (BUS_ADRERR): Likewise.
27842         (BUS_OBJERR): Likewise.
27843         (BUS_MCEERR_AR): Likewise.
27844         (BUS_MCEERR_AO): Likewise.
27845         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27846         (TRAP_TRACE): Likewise.
27847         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27848         __USE_XOPEN2K8].
27849         (CLD_KILLED): Likewise.
27850         (CLD_DUMPED): Likewise.
27851         (CLD_TRAPPED): Likewise.
27852         (CLD_STOPPED): Likewise.
27853         (CLD_CONTINUED): Likewise.
27854         (POLL_IN): Likewise.
27855         (POLL_OUT): Likewise.
27856         (POLL_MSG): Likewise.
27857         (POLL_ERR): Likewise.
27858         (POLL_PRI): Likewise.
27859         (POLL_HUP): Likewise.
27860         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
27861         (ILL_ILLOPN): Likewise.
27862         (ILL_ILLADR): Likewise.
27863         (ILL_ILLTRP): Likewise.
27864         (ILL_PRVOPC): Likewise.
27865         (ILL_PRVREG): Likewise.
27866         (ILL_COPROC): Likewise.
27867         (ILL_BADSTK): Likewise.
27868         (FPE_INTDIV): Likewise.
27869         (FPE_INTOVF): Likewise.
27870         (FPE_FLTDIV): Likewise.
27871         (FPE_FLTOVF): Likewise.
27872         (FPE_FLTUND): Likewise.
27873         (FPE_FLTRES): Likewise.
27874         (FPE_FLTINV): Likewise.
27875         (FPE_FLTSUB): Likewise.
27876         (SEGV_MAPERR): Likewise.
27877         (SEGV_ACCERR): Likewise.
27878         (BUS_ADRALN): Likewise.
27879         (BUS_ADRERR): Likewise.
27880         (BUS_OBJERR): Likewise.
27881         (BUS_MCEERR_AR): Likewise.
27882         (BUS_MCEERR_AO): Likewise.
27883         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27884         (TRAP_TRACE): Likewise.
27885         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27886         __USE_XOPEN2K8].
27887         (CLD_KILLED): Likewise.
27888         (CLD_DUMPED): Likewise.
27889         (CLD_TRAPPED): Likewise.
27890         (CLD_STOPPED): Likewise.
27891         (CLD_CONTINUED): Likewise.
27892         (POLL_IN): Likewise.
27893         (POLL_OUT): Likewise.
27894         (POLL_MSG): Likewise.
27895         (POLL_ERR): Likewise.
27896         (POLL_PRI): Likewise.
27897         (POLL_HUP): Likewise.
27898         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
27899         (ILL_ILLOPN): Likewise.
27900         (ILL_ILLADR): Likewise.
27901         (ILL_ILLTRP): Likewise.
27902         (ILL_PRVOPC): Likewise.
27903         (ILL_PRVREG): Likewise.
27904         (ILL_COPROC): Likewise.
27905         (ILL_BADSTK): Likewise.
27906         (ILL_DBLFLT): Likewise.
27907         (ILL_HARDWALL): Likewise.
27908         (FPE_INTDIV): Likewise.
27909         (FPE_INTOVF): Likewise.
27910         (FPE_FLTDIV): Likewise.
27911         (FPE_FLTOVF): Likewise.
27912         (FPE_FLTUND): Likewise.
27913         (FPE_FLTRES): Likewise.
27914         (FPE_FLTINV): Likewise.
27915         (FPE_FLTSUB): Likewise.
27916         (SEGV_MAPERR): Likewise.
27917         (SEGV_ACCERR): Likewise.
27918         (BUS_ADRALN): Likewise.
27919         (BUS_ADRERR): Likewise.
27920         (BUS_OBJERR): Likewise.
27921         (BUS_MCEERR_AR): Likewise.
27922         (BUS_MCEERR_AO): Likewise.
27923         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27924         (TRAP_TRACE): Likewise.
27925         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27926         __USE_XOPEN2K8].
27927         (CLD_KILLED): Likewise.
27928         (CLD_DUMPED): Likewise.
27929         (CLD_TRAPPED): Likewise.
27930         (CLD_STOPPED): Likewise.
27931         (CLD_CONTINUED): Likewise.
27932         (POLL_IN): Likewise.
27933         (POLL_OUT): Likewise.
27934         (POLL_MSG): Likewise.
27935         (POLL_ERR): Likewise.
27936         (POLL_PRI): Likewise.
27937         (POLL_HUP): Likewise.
27938         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
27939         (ILL_ILLOPN): Likewise.
27940         (ILL_ILLADR): Likewise.
27941         (ILL_ILLTRP): Likewise.
27942         (ILL_PRVOPC): Likewise.
27943         (ILL_PRVREG): Likewise.
27944         (ILL_COPROC): Likewise.
27945         (ILL_BADSTK): Likewise.
27946         (FPE_INTDIV): Likewise.
27947         (FPE_INTOVF): Likewise.
27948         (FPE_FLTDIV): Likewise.
27949         (FPE_FLTOVF): Likewise.
27950         (FPE_FLTUND): Likewise.
27951         (FPE_FLTRES): Likewise.
27952         (FPE_FLTINV): Likewise.
27953         (FPE_FLTSUB): Likewise.
27954         (SEGV_MAPERR): Likewise.
27955         (SEGV_ACCERR): Likewise.
27956         (BUS_ADRALN): Likewise.
27957         (BUS_ADRERR): Likewise.
27958         (BUS_OBJERR): Likewise.
27959         (BUS_MCEERR_AR): Likewise.
27960         (BUS_MCEERR_AO): Likewise.
27961         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27962         (TRAP_TRACE): Likewise.
27963         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27964         __USE_XOPEN2K8].
27965         (CLD_KILLED): Likewise.
27966         (CLD_DUMPED): Likewise.
27967         (CLD_TRAPPED): Likewise.
27968         (CLD_STOPPED): Likewise.
27969         (CLD_CONTINUED): Likewise.
27970         (POLL_IN): Likewise.
27971         (POLL_OUT): Likewise.
27972         (POLL_MSG): Likewise.
27973         (POLL_ERR): Likewise.
27974         (POLL_PRI): Likewise.
27975         (POLL_HUP): Likewise.
27976         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
27977         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27979         [BZ #16670]
27980         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
27981         before #include of <time.h>.
27982         [!__USE_XOPEN2K] (__need_timespec): Likewise.
27983         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
27984         (test-xfail-UNIX98/sched.h/conform): Likewise.
27986 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27988         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
27989         error absence of trapping exception support.
27990         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27992 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27994         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
27995         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
27996         * timezone/Makefile (testdata): Move definition above include of
27997         Rules.
27998         (test-zones): New variable.
27999         (tests-special): Add zone files.
28000         (build-testdata): Use $(evaluate-test).
28002         * elf/Makefile (tests-special): Rename tests to end with .out.
28003         ($(objpfx)noload-mem): Likewise.
28004         ($(objpfx)tst-leaks1-mem): Likewise.
28005         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
28006         * iconv/Makefile (xtests-special): Change test-iconvconfig to
28007         $(objpfx)test-iconvconfig.out.
28008         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
28009         set -e inside subshell and redirect output to file.
28010         * iconvdata/Makefile (generated): Rename tests to end with .out.
28011         Correct type.
28012         (tests-special): Rename tests to end with .out.
28013         ($(objpfx)mtrace-tst-loading): Likewise.
28014         * intl/Makefile (generated): Likewise.
28015         (tests-special): Likewise.
28016         ($(objpfx)mtrace-tst-gettext): Likewise.
28017         * misc/Makefile (generated): Likewise.
28018         (tests-special): Likewise.
28019         ($(objpfx)tst-error1-mem): Likewise.
28020         * nptl/Makefile (tests-special): Likewise.
28021         ($(objpfx)tst-stack3-mem): Likewise.
28022         (generated): Likewise.
28023         * posix/Makefile (generated): Likewise.
28024         (tests-special): Likewise.
28025         (xtests-special): Likewise.
28026         ($(objpfx)tst-fnmatch-mem): Likewise.
28027         ($(objpfx)bug-regex2-mem): Likewise.
28028         ($(objpfx)bug-regex14-mem): Likewise.
28029         ($(objpfx)bug-regex21-mem): Likewise.
28030         ($(objpfx)bug-regex31-mem): Likewise.
28031         ($(objpfx)tst-vfork3-mem): Likewise.
28032         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28033         ($(objpfx)tst-pcre-mem): Likewise.
28034         ($(objpfx)tst-boost-mem): Likewise.
28035         ($(objpfx)bug-ga2-mem): Likewise.
28036         ($(objpfx)bug-glob2-mem): Likewise.
28037         * resolv/Makefile (generate): Likewise.
28038         (tests-special): Likewise.
28039         (xtests-special): Likewise.
28040         (generated): Likewise.
28041         ($(objpfx)mtrace-tst-leaks): Likewise.
28042         ($(objpfx)mtrace-tst-leaks2): Likewise.
28044         * scripts/merge-test-results.sh: New file.
28045         * Makefile (tests-special-notdir): New variable.
28046         (tests): Run merge-test-results.sh.
28047         (xtests): Likewise.
28048         * Rules (tests-special-notdir): New variable.
28049         (xtests-special-notdir): Likewise.
28050         (tests): Run merge-test-results.sh
28051         (xtests): Likewise.
28053         * Makeconfig (test-xfail-name): New variable.
28054         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
28055         compute variable name for expected failures.
28056         * conform/Makefile (conformtest-headers-data): New variable.
28057         (conformtest-standards): Likewise.
28058         (conformtest-headers-ISO): Likewise.
28059         (conformtest-headers-ISO99): Likewise.
28060         (conformtest-headers-ISO11): Likewise.
28061         (conformtest-headers-POSIX): Likewise.
28062         (conformtest-headers-XPG3): Likewise.
28063         (conformtest-headers-XPG4): Likewise.
28064         (conformtest-headers-UNIX98): Likewise.
28065         (conformtest-headers-XOPEN2K): Likewise.
28066         (conformtest-headers-POSIX2008): Likewise.
28067         (conformtest-headers-XOPEN2K8): Likewise.
28068         (conformtest-header-list-base): Likewise.
28069         (conformtest-header-list-tests): Likewise.
28070         (conformtest-header-base): Likewise.
28071         (conformtest-header-tests): Likewise.
28072         (tests-special): Add $(conformtest-header-list-tests).  If
28073         [$(fast-check) && !$(cross-compiling)], add
28074         $(conformtest-header-tests) instead of
28075         $(objpfx)run-conformtest.out.
28076         (generated): Add $(conformtest-header-list-base).  If
28077         [$(fast-check) && !$(cross-compiling)], add
28078         $(conformtest-header-base).  Remove previous setting.
28079         ($(conformtest-header-list-tests)): New target.
28080         (test-xfail-run-conformtest): Remove variable.
28081         ($(objpfx)run-conformtest.out): Remove target.
28082         (test-xfail-ISO11/complex.h/conform): New variable.
28083         (test-xfail-ISO11/stdalign.h/conform): Likewise.
28084         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
28085         (test-xfail-XPG3/varargs.h/conform): Likewise.
28086         (test-xfail-XPG4/varargs.h/conform): Likewise.
28087         (test-xfail-UNIX98/varargs.h/conform): Likewise.
28088         (test-xfail-XPG4/ndbm.h/conform): Likewise.
28089         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
28090         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
28091         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
28092         (test-xfail-XPG3/fcntl.h/conform): Likewise.
28093         (test-xfail-XPG3/ftw.h/conform): Likewise.
28094         (test-xfail-XPG3/grp.h/conform): Likewise.
28095         (test-xfail-XPG3/langinfo.h/conform): Likewise.
28096         (test-xfail-XPG3/limits.h/conform): Likewise.
28097         (test-xfail-XPG3/pwd.h/conform): Likewise.
28098         (test-xfail-XPG3/search.h/conform): Likewise.
28099         (test-xfail-XPG3/signal.h/conform): Likewise.
28100         (test-xfail-XPG3/stdio.h/conform): Likewise.
28101         (test-xfail-XPG3/stdlib.h/conform): Likewise.
28102         (test-xfail-XPG3/string.h/conform): Likewise.
28103         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
28104         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
28105         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28106         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28107         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
28108         (test-xfail-XPG3/sys/types.h/conform): Likewise.
28109         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
28110         (test-xfail-XPG3/termios.h/conform): Likewise.
28111         (test-xfail-XPG3/time.h/conform): Likewise.
28112         (test-xfail-XPG3/unistd.h/conform): Likewise.
28113         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
28114         (test-xfail-XPG4/fcntl.h/conform): Likewise.
28115         (test-xfail-XPG4/langinfo.h/conform): Likewise.
28116         (test-xfail-XPG4/netdb.h/conform): Likewise.
28117         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
28118         (test-xfail-XPG4/signal.h/conform): Likewise.
28119         (test-xfail-XPG4/stdio.h/conform): Likewise.
28120         (test-xfail-XPG4/stdlib.h/conform): Likewise.
28121         (test-xfail-XPG4/stropts.h/conform): Likewise.
28122         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28123         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28124         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28125         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28126         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28127         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
28128         (test-xfail-XPG4/sys/time.h/conform): Likewise.
28129         (test-xfail-XPG4/sys/types.h/conform): Likewise.
28130         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
28131         (test-xfail-XPG4/termios.h/conform): Likewise.
28132         (test-xfail-XPG4/ucontext.h/conform): Likewise.
28133         (test-xfail-XPG4/unistd.h/conform): Likewise.
28134         (test-xfail-XPG4/utmpx.h/conform): Likewise.
28135         (test-xfail-POSIX/sched.h/conform): Likewise.
28136         (test-xfail-POSIX/signal.h/conform): Likewise.
28137         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
28138         (test-xfail-POSIX/tar.h/conform): Likewise.
28139         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
28140         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
28141         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
28142         (test-xfail-UNIX98/netdb.h/conform): Likewise.
28143         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
28144         (test-xfail-UNIX98/sched.h/conform): Likewise.
28145         (test-xfail-UNIX98/signal.h/conform): Likewise.
28146         (test-xfail-UNIX98/stdio.h/conform): Likewise.
28147         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
28148         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28149         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28150         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28151         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28152         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28153         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28154         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
28155         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28156         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28157         (test-xfail-UNIX98/unistd.h/conform): Likewise.
28158         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
28159         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
28160         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
28161         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
28162         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
28163         (test-xfail-XOPEN2K/math.h/conform): Likewise.
28164         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
28165         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28166         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28167         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
28168         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28169         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
28170         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
28171         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28172         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28173         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28174         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28175         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28176         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28177         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28178         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
28179         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28180         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28181         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28182         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
28183         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28184         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
28185         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
28186         (test-xfail-POSIX2008/signal.h/conform): Likewise.
28187         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28188         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
28189         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28190         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28191         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28192         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
28193         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28194         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28195         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28196         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28197         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
28198         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28199         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28200         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28201         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
28202         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28203         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28204         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28205         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28206         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28207         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
28208         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28209         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
28210         (conformtest-cc-flags): Likewise.
28211         ($(conformtest-header-tests): New target.
28212         * conform/check-header-lists.sh: New file.
28213         * conform/run-conformtest.sh: Remove.
28215         * conform/conformtest.pl: Allow ' and \ in values given for
28216         constants.
28217         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
28218         inclusion.
28219         [POSIX] (sys/types.h): Likewise.
28220         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
28221         inclusion.
28222         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
28223         inclusion.
28224         * conform/data/signal.h-data (SIGIO): Remove expectation.
28225         [XPG3] (SIGBUS): Do not expect.
28226         [POSIX || XPG3] (SIGPOLL): Likewise.
28227         [POSIX || XPG3] (SIGPROF): Likewise.
28228         [POSIX || XPG3] (SIGSYS): Likewise.
28229         [XPG3] (SIGTRAP): Likewise.
28230         [POSIX || XPG3] (SIGURG): Likewise.
28231         [POSIX || XPG3] (SIGVTALRM): Likewise.
28232         [POSIX || XPG3] (SIGXCPU): Likewise.
28233         [POSIX || XPG3] (SIGXFSZ): Likewise.
28234         [POSIX] (SA_SIGINFO): Expect.
28235         [XPG3] (siginfo_t): Do not expect type or contents.
28236         [POSIX] (si_pid): Do not expect element.
28237         [POSIX] (si_uid): Likewise.
28238         [POSIX] (si_addr): Likewise.
28239         [POSIX] (si_status): Likewise.
28240         [POSIX] (si_band): Likewise.
28241         [XPG4] (si_value): Likewise.
28242         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
28243         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
28244         [POSIX || XPG3] (ILL_ILLADR): Likewise.
28245         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
28246         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
28247         [POSIX || XPG3] (ILL_PRVREG): Likewise.
28248         [POSIX || XPG3] (ILL_COPROC): Likewise.
28249         [POSIX || XPG3] (ILL_BADSTK): Likewise.
28250         [POSIX || XPG3] (FPE_INTDIV): Likewise.
28251         [POSIX || XPG3] (FPE_INTOVF): Likewise.
28252         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
28253         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
28254         [POSIX || XPG3] (FPE_FLTUND): Likewise.
28255         [POSIX || XPG3] (FPE_FLTRES): Likewise.
28256         [POSIX || XPG3] (FPE_FLTINV): Likewise.
28257         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
28258         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
28259         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
28260         [POSIX || XPG3] (BUS_ADRALN): Likewise.
28261         [POSIX || XPG3] (BUS_ADRERR): Likewise.
28262         [POSIX || XPG3] (BUS_OBJERR): Likewise.
28263         [POSIX || XPG3] (CLD_EXITED): Likewise.
28264         [POSIX || XPG3] (CLD_KILLED): Likewise.
28265         [POSIX || XPG3] (CLD_DUMPED): Likewise.
28266         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
28267         [POSIX || XPG3] (CLD_STOPPED): Likewise.
28268         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
28269         [POSIX || XPG3] (POLL_IN): Likewise.
28270         [POSIX || XPG3] (POLL_OUT): Likewise.
28271         [POSIX || XPG3] (POLL_MSG): Likewise.
28272         [POSIX || XPG3] (POLL_ERR): Likewise.
28273         [POSIX || XPG3] (POLL_PRI): Likewise.
28274         [POSIX || XPG3] (POLL_HUP): Likewise.
28275         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
28276         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
28277         (SIG*): Do not allow.
28278         [XPG3] (si_*): Likewise.
28279         [XPG3] (SI_*): Likewise.
28280         [XPG3 || XPG4] (sigev_*): Likewise.
28281         [XPG3 || XPG4] (SIGEV_*): Likewise.
28282         [XPG3 || XPG4] (sival_*): Likewise.
28283         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
28284         [POSIX || XPG3] (BUS_*): Likewise.
28285         [POSIX || XPG3] (CLD_*): Likewise.
28286         [POSIX || XPG3] (FPE_*): Likewise.
28287         [POSIX || XPG3] (ILL_*): Likewise.
28288         [POSIX || XPG3] (POLL_*): Likewise.
28289         [POSIX || XPG3] (SEGV_*): Likewise.
28290         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
28291         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
28292         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
28293         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
28294         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
28295         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
28296         Specify type and value.
28297         (TVERSLEN): Likewise.
28298         (REGTYPE): Likewise.
28299         (AREGTYPE): Likewise.
28300         (LNKTYPE): Likewise.
28301         (SYMTYPE): Likewise.
28302         (CHRTYPE): Likewise.
28303         (BLKTYPE): Likewise.
28304         (DIRTYPE): Likewise.
28305         (FIFOTYPE): Likewise.
28306         (CONTTYPE): Likewise.
28307         (TSUID): Likewise.
28308         (TSGID): Likewise.
28309         (TSVTX): Likewise.
28310         (TUREAD): Likewise.
28311         (TUWRITE): Likewise.
28312         (TUEXEC): Likewise.
28313         (TGREAD): Likewise.
28314         (TGWRITE): Likewise.
28315         (TGEXEC): Likewise.
28316         (TOREAD): Likewise.
28317         (TOWRITE): Likewise.
28318         (TOEXEC): Likewise.
28319         [POSIX] (TSVTX): Expect constant.
28321 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
28323         * Makefile (tests): Change dependencies to ....
28324         (tests-special): ... additions to this variable.
28325         (tests): Depend on $(tests-special).
28326         * Makerules (check-abi-list): New variable.
28327         (check-abi): Depend on $(check-abi-list).
28328         [$(subdir) = elf] (tests-special): Add
28329         $(objpfx)check-abi-libc.out.
28330         [$(build-shared) = yes && subdir] (tests-special): Add
28331         $(check-abi-list).
28332         [$(build-shared) = yes && subdir] (tests): Do not depend on
28333         check-abi.
28334         * Rules (tests): Depend on $(tests-special).
28335         (xtests): Depend on $(xtests-special).
28336         * catgets/Makefile (tests): Change dependencies to ....
28337         (tests-special): ... additions to this variable.
28338         * conform/Makefile (tests): Change dependencies to ....
28339         (tests-special): ... additions to this variable.
28340         * elf/Makefile (tests): Change dependencies to ....
28341         (tests-special): ... additions to this variable.
28342         * grp/Makefile (tests): Change dependencies to ....
28343         (tests-special): ... additions to this variable.
28344         * iconv/Makefile (xtests): Change dependencies to ....
28345         (xtests-special): ... additions to this variable.
28346         * iconvdata/Makefile (tests): Change dependencies to ....
28347         (tests-special): ... additions to this variable.
28348         * intl/Makefile (tests): Change dependencies to ....
28349         (tests-special): ... additions to this variable.  Also add
28350         $(objpfx)tst-gettext.out.
28351         * io/Makefile (tests): Change dependencies to ....
28352         (tests-special): ... additions to this variable.
28353         * libio/Makefile (tests): Change dependencies to ....
28354         (tests-special): ... additions to this variable.
28355         * malloc/Makefile (tests): Change dependencies to ....
28356         (tests-special): ... additions to this variable.
28357         * misc/Makefile (tests): Change dependencies to ....
28358         (tests-special): ... additions to this variable.
28359         * nptl/Makefile (tests): Change dependencies to ....
28360         (tests-special): ... additions to this variable.
28361         * nptl_db/Makefile (tests): Change dependencies to ....
28362         (tests-special): ... additions to this variable.
28363         * posix/Makefile (tests): Change dependencies to ....
28364         (tests-special): ... additions to this variable.
28365         (xtests): Change dependencies to ....
28366         (xtests-special): ... additions to this variable.
28367         * resolv/Makefile (tests): Change dependencies to ....
28368         (tests-special): ... additions to this variable.
28369         (xtests): Change dependencies to ....
28370         (xtests-special): ... additions to this variable.
28371         * stdio-common/Makefile (tests): Change dependencies to ....
28372         (tests-special): ... additions to this variable.
28373         (do-tst-unbputc): Remove target.
28374         (do-tst-printf): Likewise.
28375         * stdlib/Makefile (tests): Change dependencies to ....
28376         (tests-special): ... additions to this variable.
28377         * string/Makefile (tests): Change dependencies to ....
28378         (tests-special): ... additions to this variable.
28379         * sysdeps/x86/Makefile (tests): Change dependencies to ....
28380         (tests-special): ... additions to this variable.
28382         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
28383         whole file.
28384         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
28385         whole file.
28386         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
28387         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
28389         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
28390         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
28391         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
28392         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
28393         * conform/data/libgen.h-data [XPG3]: Likewise.
28394         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
28395         * conform/data/ndbm.h-data [XPG3]: Likewise.
28396         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28397         * conform/data/netdb.h-data [XPG3]: Likewise.
28398         * conform/data/netinet/in.h-data [XPG3]: Likewise.
28399         * conform/data/poll.h-data [XPG3]: Likewise.
28400         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28401         * conform/data/strings.h-data [XPG3]: Likewise.
28402         * conform/data/stropts.h-data [XPG3]: Likewise.
28403         * conform/data/sys/mman.h-data [XPG3]: Likewise.
28404         * conform/data/sys/resource.h-data [XPG3]: Likewise.
28405         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
28406         Likewise.
28407         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
28408         * conform/data/sys/time.h-data [XPG3]: Likewise.
28409         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
28410         * conform/data/sys/uio.h-data [XPG3]: Likewise.
28411         * conform/data/sys/un.h-data [XPG3]: Likewise.
28412         * conform/data/syslog.h-data [XPG3]: Likewise.
28413         * conform/data/ucontext.h-data [XPG3]: Likewise.
28414         * conform/data/utmpx.h-data [XPG3]: Likewise.
28415         * conform/data/varargs.h-data [UNIX98]: Enable file.
28417         * manual/Makefile (INSTALL_INFO): Remove variable setting.
28419         * math/libm-test.inc (struct test_f_f_data): Move expected results
28420         into structure for each rounding mode.
28421         (struct test_ff_f_data): Likewise.
28422         (struct test_ff_f_data_nexttoward): Likewise.
28423         (struct test_fi_f_data): Likewise.
28424         (struct test_fl_f_data): Likewise.
28425         (struct test_if_f_data): Likewise.
28426         (struct test_fff_f_data): Likewise.
28427         (struct test_c_f_data): Likewise.
28428         (struct test_f_f1_data): Likewise.
28429         (struct test_fF_f1_data): Likewise.
28430         (struct test_ffI_f1_data): Likewise.
28431         (struct test_c_c_data): Likewise.
28432         (struct test_cc_c_data): Likewise.
28433         (struct test_f_i_data): Likewise.
28434         (struct test_ff_i_data): Likewise.
28435         (struct test_f_l_data): Likewise.
28436         (struct test_f_L_data): Likewise.
28437         (struct test_fFF_11_data): Likewise.
28438         (RM_): New macro.
28439         (RM_FE_DOWNWARD): Likewise.
28440         (RM_FE_TONEAREST): Likewise.
28441         (RM_FE_TOWARDZERO): Likewise.
28442         (RM_FE_UPWARD): Likewise.
28443         (RUN_TEST_LOOP_f_f): Update references to expected results.
28444         (RUN_TEST_LOOP_2_f): Likewise.
28445         (RUN_TEST_LOOP_fff_f): Likewise.
28446         (RUN_TEST_LOOP_c_f): Likewise.
28447         (RUN_TEST_LOOP_f_f1): Likewise.
28448         (RUN_TEST_LOOP_fF_f1): Likewise.
28449         (RUN_TEST_LOOP_fI_f1): Likewise.
28450         (RUN_TEST_LOOP_ffI_f1): Likewise.
28451         (RUN_TEST_LOOP_c_c): Likewise.
28452         (RUN_TEST_LOOP_cc_c): Likewise.
28453         (RUN_TEST_LOOP_f_i): Likewise.
28454         (RUN_TEST_LOOP_f_i_tg): Likewise.
28455         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28456         (RUN_TEST_LOOP_f_b): Likewise.
28457         (RUN_TEST_LOOP_f_b_tg): Likewise.
28458         (RUN_TEST_LOOP_f_l): Likewise.
28459         (RUN_TEST_LOOP_f_L): Likewise.
28460         (RUN_TEST_LOOP_fFF_11): Likewise.
28461         * math/gen-libm-test.pl (parse_args): Output four copies of
28462         expected results for each test.
28464         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28465         (__ASSUME_UTIMES): Remove.
28466         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28467         (__ASSUME_UTIMES): Likewise.
28469         * math/gen-auto-libm-tests.c: Update comment on output format.
28470         (output_for_one_input_case): Generate before-rounding and
28471         after-rounding information as conditions on output flags not
28472         floating-point format.
28473         * math/auto-libm-test-out: Regenerated.
28474         * math/gen-libm-test.pl (cond_value): New function.
28475         (or_cond_value): Use cond_value.
28476         (generate_testfile): Handle conditional exceptions.
28478 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
28480         * math/libm-test.inc (max_valid_error): New variable.
28481         (init_max_error): Take new argument specifying whether function
28482         results are exactly determined.  Set max_valid_error and bound
28483         other variables for errors based on this argument.
28484         (set_max_error): Do not record results above max_valid_error.
28485         (check_float_internal): Only accept errors of up to 0.5ulps if
28486         also at most max_valid_error.
28487         (START): Take new argument EXACT and pass it to init_max_error.
28488         (acos_test): Update call to START.
28489         (acos_test_tonearest): Likewise.
28490         (acos_test_towardzero): Likewise.
28491         (acos_test_downward): Likewise.
28492         (acos_test_upward): Likewise.
28493         (acosh_test): Likewise.
28494         (asin_test): Likewise.
28495         (asin_test_tonearest): Likewise.
28496         (asin_test_towardzero): Likewise.
28497         (asin_test_downward): Likewise.
28498         (asin_test_upward): Likewise.
28499         (asinh_test): Likewise.
28500         (atan_test): Likewise.
28501         (atanh_test): Likewise.
28502         (atan2_test): Likewise.
28503         (cabs_test): Likewise.
28504         (cacos_test): Likewise.
28505         (cacosh_test): Likewise.
28506         (carg_test): Likewise.
28507         (casin_test): Likewise.
28508         (casinh_test): Likewise.
28509         (catan_test): Likewise.
28510         (catanh_test): Likewise.
28511         (cbrt_test): Likewise.
28512         (ccos_test): Likewise.
28513         (ccosh_test): Likewise.
28514         (ceil_test): Likewise.
28515         (cexp_test): Likewise.
28516         (cimag_test): Likewise.
28517         (clog_test): Likewise.
28518         (clog10_test): Likewise.
28519         (conj_test): Likewise.
28520         (copysign_test): Likewise.
28521         (cos_test): Likewise.
28522         (cos_test_tonearest): Likewise.
28523         (cos_test_towardzero): Likewise.
28524         (cos_test_downward): Likewise.
28525         (cos_test_upward): Likewise.
28526         (cosh_test): Likewise.
28527         (cosh_test_tonearest): Likewise.
28528         (cosh_test_towardzero): Likewise.
28529         (cosh_test_downward): Likewise.
28530         (cosh_test_upward): Likewise.
28531         (cpow_test): Likewise.
28532         (cproj_test): Likewise.
28533         (creal_test): Likewise.
28534         (csin_test): Likewise.
28535         (csinh_test): Likewise.
28536         (csqrt_test): Likewise.
28537         (ctan_test): Likewise.
28538         (ctan_test_tonearest): Likewise.
28539         (ctan_test_towardzero): Likewise.
28540         (ctan_test_downward): Likewise.
28541         (ctan_test_upward): Likewise.
28542         (ctanh_test): Likewise.
28543         (ctanh_test_tonearest): Likewise.
28544         (ctanh_test_towardzero): Likewise.
28545         (ctanh_test_downward): Likewise.
28546         (ctanh_test_upward): Likewise.
28547         (erf_test): Likewise.
28548         (erfc_test): Likewise.
28549         (exp_test): Likewise.
28550         (exp_test_tonearest): Likewise.
28551         (exp_test_towardzero): Likewise.
28552         (exp_test_downward): Likewise.
28553         (exp_test_upward): Likewise.
28554         (exp10_test): Likewise.
28555         (exp10_test_tonearest): Likewise.
28556         (exp10_test_towardzero): Likewise.
28557         (exp10_test_downward): Likewise.
28558         (exp10_test_upward): Likewise.
28559         (pow10_test): Likewise.
28560         (exp2_test): Likewise.
28561         (expm1_test): Likewise.
28562         (expm1_test_tonearest): Likewise.
28563         (expm1_test_towardzero): Likewise.
28564         (expm1_test_downward): Likewise.
28565         (expm1_test_upward): Likewise.
28566         (fabs_test): Likewise.
28567         (fdim_test): Likewise.
28568         (floor_test): Likewise.
28569         (fma_test): Likewise.
28570         (fma_test_towardzero): Likewise.
28571         (fma_test_downward): Likewise.
28572         (fma_test_upward): Likewise.
28573         (fmax_test): Likewise.
28574         (fmin_test): Likewise.
28575         (fmod_test): Likewise.
28576         (fpclassify_test): Likewise.
28577         (frexp_test): Likewise.
28578         (hypot_test): Likewise.
28579         (ilogb_test): Likewise.
28580         (isfinite_test): Likewise.
28581         (finite_test): Likewise.
28582         (isgreater_test): Likewise.
28583         (isgreaterequal_test): Likewise.
28584         (isinf_test): Likewise.
28585         (isless_test): Likewise.
28586         (islessequal_test): Likewise.
28587         (islessgreater_test): Likewise.
28588         (isnan_test): Likewise.
28589         (isnormal_test): Likewise.
28590         (issignaling_test): Likewise.
28591         (isunordered_test): Likewise.
28592         (j0_test): Likewise.
28593         (j1_test): Likewise.
28594         (jn_test): Likewise.
28595         (ldexp_test): Likewise.
28596         (lgamma_test): Likewise.
28597         (gamma_test): Likewise.
28598         (lrint_test): Likewise.
28599         (lrint_test_tonearest): Likewise.
28600         (lrint_test_towardzero): Likewise.
28601         (lrint_test_downward): Likewise.
28602         (lrint_test_upward): Likewise.
28603         (llrint_test): Likewise.
28604         (llrint_test_tonearest): Likewise.
28605         (llrint_test_towardzero): Likewise.
28606         (llrint_test_downward): Likewise.
28607         (llrint_test_upward): Likewise.
28608         (log_test): Likewise.
28609         (log10_test): Likewise.
28610         (log1p_test): Likewise.
28611         (log2_test): Likewise.
28612         (logb_test): Likewise.
28613         (logb_test_downward): Likewise.
28614         (lround_test): Likewise.
28615         (llround_test): Likewise.
28616         (modf_test): Likewise.
28617         (nearbyint_test): Likewise.
28618         (nextafter_test): Likewise.
28619         (nexttoward_test): Likewise.
28620         (pow_test): Likewise.
28621         (pow_test_tonearest): Likewise.
28622         (pow_test_towardzero): Likewise.
28623         (pow_test_downward): Likewise.
28624         (pow_test_upward): Likewise.
28625         (remainder_test): Likewise.
28626         (drem_test): Likewise.
28627         (remainder_test_tonearest): Likewise.
28628         (drem_test_tonearest): Likewise.
28629         (remainder_test_towardzero): Likewise.
28630         (drem_test_towardzero): Likewise.
28631         (remainder_test_downward): Likewise.
28632         (drem_test_downward): Likewise.
28633         (remainder_test_upward): Likewise.
28634         (drem_test_upward): Likewise.
28635         (remquo_test): Likewise.
28636         (rint_test): Likewise.
28637         (rint_test_tonearest): Likewise.
28638         (rint_test_towardzero): Likewise.
28639         (rint_test_downward): Likewise.
28640         (rint_test_upward): Likewise.
28641         (round_test): Likewise.
28642         (scalb_test): Likewise.
28643         (scalbn_test): Likewise.
28644         (scalbln_test): Likewise.
28645         (signbit_test): Likewise.
28646         (sin_test): Likewise.
28647         (sin_test_tonearest): Likewise.
28648         (sin_test_towardzero): Likewise.
28649         (sin_test_downward): Likewise.
28650         (sin_test_upward): Likewise.
28651         (sincos_test): Likewise.
28652         (sinh_test): Likewise.
28653         (sinh_test_tonearest): Likewise.
28654         (sinh_test_towardzero): Likewise.
28655         (sinh_test_downward): Likewise.
28656         (sinh_test_upward): Likewise.
28657         (sqrt_test): Likewise.
28658         (sqrt_test_tonearest): Likewise.
28659         (sqrt_test_towardzero): Likewise.
28660         (sqrt_test_downward): Likewise.
28661         (sqrt_test_upward): Likewise.
28662         (tan_test): Likewise.
28663         (tan_test_tonearest): Likewise.
28664         (tan_test_towardzero): Likewise.
28665         (tan_test_downward): Likewise.
28666         (tan_test_upward): Likewise.
28667         (tanh_test): Likewise.
28668         (tgamma_test): Likewise.
28669         (trunc_test): Likewise.
28670         (y0_test): Likewise.
28671         (y1_test): Likewise.
28672         (yn_test): Likewise.
28673         (significand_test): Likewise.
28675         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
28676         individual tests in comment.
28677         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
28678         (prev_max_error): New variable.
28679         (prev_real_max_error): Likewise.
28680         (prev_imag_max_error): Likewise.
28681         (compare_ulp_data): Don't refer to test names in comment.
28682         (find_test_ulps): Remove function.
28683         (find_function_ulps): Likewise.
28684         (find_complex_function_ulps): Likewise.
28685         (init_max_error): Take function name as argument.  Look up ulps
28686         for that function.
28687         (print_ulps): Remove function.
28688         (print_max_error): Use prev_max_error instead of calling
28689         find_function_ulps.
28690         (print_complex_max_error): Use prev_real_max_error and
28691         prev_imag_max_error instead of calling find_complex_function_ulps.
28692         (check_float_internal): Take max_ulp parameter instead of calling
28693         find_test_ulps.  Don't call print_ulps.
28694         (check_float): Update call to check_float_internal.
28695         (check_complex): Update calls to check_float_internal.
28696         (START): Pass argument to init_max_error.
28697         * math/gen-libm-test.pl (%results): Don't include "kind"
28698         information.
28699         (parse_ulps): Don't handle ulps of individual tests.
28700         (print_ulps_file): Likewise.
28701         (output_ulps): Likewise.
28702         * math/README.libm-test: Update.
28703         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
28704         individual tests.
28705         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
28706         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28707         * sysdeps/arm/libm-test-ulps: Likewise.
28708         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28709         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
28710         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
28711         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
28712         * sysdeps/microblaze/libm-test-ulps: Likewise.
28713         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28714         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28715         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28716         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28717         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28718         * sysdeps/sh/libm-test-ulps: Likewise.
28719         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28720         * sysdeps/tile/libm-test-ulps: Likewise.
28721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28723 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
28725         * math/libm-test.inc (print_complex_max_error): Check separately
28726         whether real and imaginary errors are within allowed range and
28727         pass 0 to print_complex_function_ulps instead of value within
28728         allowed range.
28730 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28732         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
28733         formatting.
28734         (get_handles_fopen): Likewise.
28735         (do_write_test): Likewise.
28737         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
28739         * libio/fileops.c (do_ftell): Use cached offset when
28740         available.
28741         * libio/iofwide.c (do_ftell_wide): Likewise.
28742         * libio/iofdopen.c (_IO_new_fdopen): Don't use
28743         _IO_file_attach.
28744         * libio/wfileops.c (_IO_fwide): Don't cache offset.
28746         [BZ #16532]
28747         * libio/libioP.h (get_file_offset): New function.
28748         * libio/fileops.c (get_file_offset): Likewise.
28749         (do_ftell): Likewise.
28750         (_IO_new_file_seekoff): Split out ftell logic.
28751         * libio/wfileops.c (do_ftell_wide): Likewise.
28752         (_IO_wfile_seekoff): Split out ftell logic.
28753         * libio/tst-ftell-active-handler.c: New test case.
28754         * libio/Makefile (tests): Add it.
28756 2014-03-03  Roland McGrath  <roland@hack.frob.com>
28758         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
28759         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
28761 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28763         [BZ #16639]
28764         * nscd/connections.c (nscd_init): Call do_exit.
28765         (start_threads): Call do_exit and notify_parent.
28766         (begin_drop_privileges): Call do_exit.
28767         (finish_drop_privileges): Likewise.
28768         * nscd/selinux.c (preserve_capabilities): Likewise.
28769         (install_real_capabilities): Likewise.
28770         (nscd_selinux_enabled): Likewise.
28771         (avc_create_thread): Likewise.
28772         (avc_alloc_lock): Likewise.
28773         (nscd_avc_init): Likewise.
28774         * nscd/nscd.c (parent_fd): New static variable.
28775         (main): Create a pipe between parent and child processes.
28776         Skip closing parent_fd.
28777         (monitor_child): New function.
28778         (do_exit): Likewise.
28779         (notify_parent): Likewise.
28780         * nscd/nscd.h (notify_parent): Likewise.
28781         (do_exit): Likewise.
28783 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
28785         * malloc/malloc.c (__libc_calloc): Revert last change.
28787 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28791 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28793         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
28794         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
28795         implementation.
28796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28797         (__libc_ifunc_impl_list): Likewise.
28798         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
28799         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
28800         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
28801         * string/strrchr.c: Define STRRCHR.
28803 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
28805         * benchtest/bench-strtok.c (simple_strtok): Delete.
28806         (strtok_string): Use as benchmark.
28807         * string/strtok (STRTOK): New macro.
28809 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
28811         * manual/threads.texi: Add header and standard comments to all
28812         functions.
28814         * elf/dl-lookup.c (check_match): New function.
28815         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
28816         (do_lookup_x): Remove nested function check_match. Use non-nested
28817         function check_match.
28819 2014-02-28  Roland McGrath  <roland@hack.frob.com>
28821         * csu/Makefile (generated, before-compile): Use += rather than =.
28822         * catgets/Makefile (generated, generated-dirs): Likewise.
28823         * debug/Makefile (generated): Likewise.
28824         * dlfcn/Makefile (generated): Likewise.
28825         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
28826         * iconvdata/Makefile (before-compile, generated): Likewise.
28827         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
28828         * libio/Makefile (generated): Likewise.
28829         * malloc/Makefile (generated): Likewise.
28830         * manual/Makefile (generated, generated-dirs): Likewise.
28831         * misc/Makefile (generated): Likewise.
28832         * posix/Makefile (generated): Likewise.
28833         * resolv/Makefile (generated): Likewise.
28834         * sunrpc/Makefile (generated, generated-dirs): Likewise.
28835         * timezone/Makefile (generated, generated-dirs): Likewise.
28837         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
28839 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28841         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28842         power8 implementation.
28843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
28844         file: POWER8 llround ifunc implementation.
28845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
28846         (__lllround): Add POWER8 implementation.
28847         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
28848         POWER8 llround implementation.
28850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
28851         power8 implementation.
28852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
28853         file: POWER8 llrint ifunc implementation.
28854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
28855         Add POWER8 implementation.
28856         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
28857         POWER8 llrint implementation.
28859         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
28860         power8 implementation.
28861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
28862         file: POWER8 finite ifunc implementation.
28863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
28864         Add POWER8 implementation.
28865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
28866         Likewise.
28867         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
28868         POWER8 finite implementation.
28869         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
28871         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
28872         power8 implementation.
28873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
28874         file: POWER8 isinf ifunc implementation.
28875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
28876         POWER8 implementation.
28877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
28878         Likewise.
28879         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
28880         isinf implementation.
28881         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
28883         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
28884         (INIT_ARCH): Add hwcap2 initialization.
28885         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28886         power8 implementation.
28887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
28888         file: POWER8 isnan ifunc implementation.
28889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
28890         POWER8 implementation.
28891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
28892         Likewise.
28893         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
28894         isnan implementation.
28895         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
28897 2014-02-27  Joey Ye  <joey.ye@arm.com>
28899         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28900         (_FP_NANFRAC_Q): Set to zero.
28902 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28904         [BZ #16623]
28905         * math/auto-libm-test-in: New test inputs.
28906         * math/auto-libm-test-out: Regenerate.
28907         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
28908         and DA.
28909         (__cos): Likewise.
28910         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28912 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
28914         * scripts/evaluate-test.sh: Take new argument indicating whether
28915         failure is expected.
28916         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
28917         indicating whether failure is expected.
28918         * conform/Makefile (test-xfail-run-conformtest): New variable.
28919         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
28920         level.
28921         * posix/Makefile (test-xfail-annexc): New variable.
28922         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
28924 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
28926         * argp/Makefile: Include Makeconfig immediately after defining
28927         subdir.
28928         * assert/Makefile: Likewise.
28929         * benchtests/Makefile: Likewise.
28930         * catgets/Makefile: Likewise.
28931         * conform/Makefile: Likewise.
28932         * crypt/Makefile: Likewise.
28933         * csu/Makefile: Likewise.
28934         (all): Remove target.
28935         * ctype/Makefile: Include Makeconfig immediately after defining
28936         subdir.
28937         * debug/Makefile: Likewise.
28938         * dirent/Makefile: Likewise.
28939         * dlfcn/Makefile: Likewise.
28940         * gmon/Makefile: Likewise.
28941         * gnulib/Makefile: Likewise.
28942         * grp/Makefile: Likewise.
28943         * gshadow/Makefile: Likewise.
28944         * hesiod/Makefile: Likewise.
28945         * hurd/Makefile: Likewise.
28946         (all): Remove target.
28947         * iconvdata/Makefile: Include Makeconfig immediately after
28948         defining subdir.
28949         * inet/Makefile: Likewise.
28950         * intl/Makefile: Likewise.
28951         * io/Makefile: Likewise.
28952         * libio/Makefile: Likewise.
28953         (all): Remove target.
28954         * locale/Makefile: Include Makeconfig immediately after defining
28955         subdir.
28956         * login/Makefile: Likewise.
28957         * mach/Makefile: Likewise.
28958         (all): Remove target.
28959         * malloc/Makefile: Include Makeconfig immediately after defining
28960         subdir.
28961         (all): Remove target.
28962         * manual/Makefile: Include Makeconfig immediately after defining
28963         subdir.
28964         * math/Makefile: Likewise.
28965         * misc/Makefile: Likewise.
28966         * nis/Makefile: Likewise.
28967         * nss/Makefile: Likewise.
28968         * po/Makefile: Likewise.
28969         (all): Remove target.
28970         * posix/Makefile: Include Makeconfig immediately after defining
28971         subdir.
28972         * pwd/Makefile: Likewise.
28973         * resolv/Makefile: Likewise.
28974         * resource/Makefile: Likewise.
28975         * rt/Makefile: Likewise.
28976         * setjmp/Makefile: Likewise.
28977         * shadow/Makefile: Likewise.
28978         * signal/Makefile: Likewise.
28979         * socket/Makefile: Likewise.
28980         * soft-fp/Makefile: Likewise.
28981         * stdio-common/Makefile: Likewise.
28982         * stdlib/Makefile: Likewise.
28983         * streams/Makefile: Likewise.
28984         * string/Makefile: Likewise.
28985         * sunrpc/Makefile: Likewise.
28986         (all): Remove target.
28987         * sysvipc/Makefile: Include Makeconfig immediately after defining
28988         subdir.
28989         * termios/Makefile: Likewise.
28990         * time/Makefile: Likewise.
28991         * timezone/Makefile: Likewise.
28992         (all): Remove target.
28993         * wcsmbs/Makefile: Include Makeconfig immediately after defining
28994         subdir.
28995         * wctype/Makefile: Likewise.
28997 2014-02-26  Steve Ellcey  <sellcey@mips.com>
28999         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
29000         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
29001         (libc_feholdexcept_setround_mips): Ditto.
29002         (libc_feholdsetround): New.
29003         (libc_feholdsetroundf): New.
29004         (libc_feholdsetroundl): New.
29005         (libc_feupdateenv_test_mips): New.
29006         (libc_feupdateenv_test): New.
29007         (libc_feupdateenv_testf): New.
29008         (libc_feupdateenv_testl): New.
29009         (libc_feresetround): New.
29010         (libc_feresetroundf): New.
29011         (libc_feresetroundl): New.
29012         (libc_fetestexcept_mips): New.
29013         (libc_fetestexcept): New.
29014         (libc_fetestexceptf): New.
29015         (libc_fetestexceptl): New.
29016         (HAVE_RM_CTX): New.
29017         (libc_feholdexcept_setround_mips_ctx): New.
29018         (libc_feholdexcept_setround_ctx): New.
29019         (libc_feholdexcept_setroundf_ctx): New.
29020         (libc_feholdexcept_setroundl_ctx): New.
29021         (libc_fesetenv_mips_ctx): New.
29022         (libc_fesetenv_ctx): New.
29023         (libc_fesetenv_ctxf): New.
29024         (libc_fesetenv_ctxl): New.
29025         (libc_feupdateenv_mips_ctx): New.
29026         (libc_feupdateenv_ctx): New.
29027         (libc_feupdateenvf_ctx): New.
29028         (libc_feupdateenvl_ctx): New.
29029         (libc_feholdsetround_mips_ctx): New.
29030         (libc_feholdsetround_ctx): New.
29031         (libc_feholdsetroundf_ctx): New.
29032         (libc_feholdsetroundl_ctx): New.
29033         (libc_feresetround_mips_ctx): New.
29034         (libc_feresetround_ctx): New.
29035         (libc_feresetroundf_ctx): New.
29036         (libc_feresetroundl_ctx): New.
29038 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
29040         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
29042         * manual/ipc.texi: New file.
29043         * manual/Makefile (chapters): Add ipc.
29044         * manual/job.texi: Add "Inter-Process Communication" to next.
29045         * manual/process.texi: Add "Inter-Process Communication" to prev.
29047 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29051 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
29053         * malloc/malloc.c (__libc_calloc): Simplify implementation.
29055         * manual/arith.texi: Fix spaces after sentences.
29056         * manual/charset.texi: Likewise.
29057         * manual/errno.texi: Likewise.
29058         * manual/install.texi: Likewise.
29059         * manual/llio.texi: Likewise.
29060         * manual/locale.texi: Likewise.
29061         * manual/maint.texi: Likewise.
29062         * manual/math.texi: Likewise.
29063         * manual/memory.texi: Likewise.
29064         * manual/message.texi: Likewise.
29065         * manual/probes.texi: Likewise.
29066         * manual/resource.texi: Likewise.
29067         * manual/signal.texi: Likewise.
29068         * manual/socket.texi: Likewise.
29069         * manual/stdio.texi: Likewise.
29070         * manual/string.texi: Likewise.
29071         * manual/time.texi: Likewise.
29072         * manual/users.texi: Likewise.
29074 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
29076         [BZ #16632]
29077         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
29078         _DEFAULT_SOURCE is defined.
29080 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
29081             Carlos O'Donell  <carlos@redhat.com>
29083         [BZ #16613]
29084         * elf/dl-tls.c (_dl_count_modids): New function.
29085         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
29086         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
29087         audit library and increment generation counter.
29088         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
29089         * elf/tst-audit9.c: New file.
29090         * elf/tst-auditmod9a.c: New file.
29091         * elf/tst-auditmod9b.c: New file.
29092         * elf/Makefile: Add rules to build and run tst-audit9.
29094 2014-02-25  Florian Weimer  <fweimer@redhat.com>
29096         [BZ #15347]
29097         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
29099 2014-02-25  Will Newton  <will.newton@linaro.org>
29101         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
29102         (__longjmp): Restore sp and lr before restoring callee
29103         saved registers.  Add longjmp and longjmp_target
29104         SystemTap probe point.
29105         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
29106         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
29107         Define to zero to match jmpbuf layout.
29108         * sysdeps/arm/setjmp.S: Include stap-probe.h.
29109         (__sigsetjmp): Save sp and lr before saving callee
29110         saved registers.  Add setjmp SystemTap probe point.
29112 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29114         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29116 2014-02-24  Andreas Schwab  <schwab@suse.de>
29118         [BZ #15804]
29119         * elf/pldd.c (wait_for_ptrace_stop): New function.
29120         (main): Call it after attaching.
29122 2014-02-22  Roland McGrath  <roland@hack.frob.com>
29124         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
29125         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
29126         Versions files is now verboten.
29127         * hurd/Versions (libc: GLIBC_2.0):
29128         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
29129         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
29130         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
29131         * mach/Versions: Likewise.
29133         * csu/Versions: Remove unused %include.
29134         * resolv/Versions: Likewise.
29136 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
29138         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
29139         ($(objpfx)check-local-headers.out): Likewise.
29140         ($(objpfx)begin-end-check.out): Likewise.
29141         * Makerules (check-abi-%.out): Likewise.
29142         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
29143         ($(objpfx)test2.cat): Likewise.
29144         ($(objpfx)de/libc.cat): Likewise.
29145         ($(objpfx)test-gencat.out): Likewise.
29146         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
29147         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
29148         ($(objpfx)noload-mem): Likewise.
29149         ($(objpfx)tst-pathopt.out): Likewise.
29150         ($(objpfx)tst-rtld-load-self.out): Likewise.
29151         ($(objpfx)tst-array1-cmp.out): Likewise.
29152         ($(objpfx)tst-array1-static-cmp.out): Likewise.
29153         ($(objpfx)tst-array2-cmp.out): Likewise.
29154         ($(objpfx)tst-array3-cmp.out): Likewise.
29155         ($(objpfx)tst-array4-cmp.out): Likewise.
29156         ($(objpfx)tst-array5-cmp.out): Likewise.
29157         ($(objpfx)tst-array5-static-cmp.out): Likewise.
29158         ($(objpfx)check-textrel.out): Likewise.
29159         ($(objpfx)check-execstack.out): Likewise.
29160         ($(objpfx)check-localplt.out): Likewise.
29161         ($(objpfx)order2-cmp.out): Likewise.
29162         ($(objpfx)tst-leaks1-mem): Likewise.
29163         ($(objpfx)tst-leaks1-static-mem): Likewise.
29164         ($(objpfx)tst-initorder-cmp.out): Likewise.
29165         ($(objpfx)tst-initorder2-cmp.out): Likewise.
29166         ($(objpfx)tst-unused-dep.out): Likewise.
29167         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
29168         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
29169         * iconv/Makefile (test-iconvconfig): Likewise.
29170         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
29171         ($(objpfx)iconv-test.out): Likewise.
29172         ($(objpfx)tst-tables.out): Likewise.
29173         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
29174         ($(objpfx)tst-gettext.out): Likewise.
29175         ($(objpfx)tst-translit.out): Likewise.
29176         ($(objpfx)tst-gettext2.out): Likewise.
29177         ($(objpfx)tst-gettext4.out): Likewise.
29178         ($(objpfx)tst-gettext6.out): Likewise.
29179         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
29180         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
29181         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
29182         ($(objpfx)tst-fopenloc-mem.out): Likewise.
29183         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
29184         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
29185         * posix/Makefile ($(objpfx)globtest.out): Likewise.
29186         ($(objpfx)wordexp-tst.out): Likewise.
29187         ($(objpfx)annexc.out): Likewise.
29188         ($(objpfx)tst-fnmatch-mem): Likewise.
29189         ($(objpfx)bug-regex2-mem): Likewise.
29190         ($(objpfx)bug-regex14-mem): Likewise.
29191         ($(objpfx)bug-regex21-mem): Likewise.
29192         ($(objpfx)bug-regex31-mem): Likewise.
29193         ($(objpfx)tst-vfork3-mem): Likewise.
29194         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29195         ($(objpfx)tst-pcre-mem): Likewise.
29196         ($(objpfx)tst-boost-mem): Likewise.
29197         ($(objpfx)tst-getconf.out): Likewise.
29198         ($(objpfx)bug-ga2-mem): Likewise.
29199         ($(objpfx)bug-glob2-mem): Likewise.
29200         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
29201         ($(objpfx)mtrace-tst-leaks2): Likewise.
29202         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
29203         ($(objpfx)tst-printf.out): Likewise.
29204         ($(objpfx)tst-setvbuf1.out): Likewise.
29205         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
29206         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
29207         ($(objpfx)tst-fmtmsg.out): Likewise.
29208         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
29209         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
29211         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
29212         * bits/sigaction.h [__USE_MISC]: Likewise.
29213         * bits/waitstatus.h: Update #endif comments.
29214         * ctype/ctype.h: Likewise.
29215         * dirent/dirent.h: Likewise.
29216         [__USE_MISC]: Remove redundant conditionals.
29217         * grp/grp.h: Update #endif comments.
29218         [__USE_GNU]: Remove redundant conditionals.
29219         [__USE_MISC]: Likewise.
29220         * inet/netinet/in.h [__USE_GNU]: Likewise.
29221         * io/sys/stat.h [__USE_MISC]: Likewise.
29222         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
29223         * libio/bits/stdio.h: Update #endif comments.
29224         [__USE_MISC]: Remove redundant conditionals.
29225         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
29226         * libio/stdio.h: Update #endif comments.
29227         [__USE_MISC]: Remove redundant conditionals.
29228         * math/bits/math-finite.h [__USE_MISC]: Likewise.
29229         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
29230         * math/math.h: Update #else and #endif comments.
29231         [__USE_MISC]: Remove redundant conditionals.
29232         * misc/sys/uio.h: Update #endif comments.
29233         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
29234         * posix/glob.h [__USE_MISC]: Likewise.
29235         * posix/sys/types.h: Update #endif comments.
29236         [__USE_MISC]: Remove redundant conditionals.
29237         * posix/sys/wait.h: Update #endif comments.
29238         [__USE_MISC]: Remove redundant conditionals.
29239         * posix/unistd.h: Update #endif comments.
29240         [__USE_MISC]: Remove redundant conditionals.
29241         * pwd/pwd.h [__USE_GNU]: Likewise.
29242         [__USE_MISC]: Likewise.
29243         * resolv/netdb.h [__USE_GNU]: Likewise.
29244         * signal/signal.h: Update #endif comments.
29245         [__USE_MISC]: Remove redundant conditionals.
29246         * stdlib/stdlib.h: Update #else and #endif comments.
29247         [__USE_MISC]: Remove redundant conditionals.
29248         [__USE_GNU]: Likewise.
29249         * string/bits/string2.h [__USE_MISC]: Likewise.
29250         * string/string.h: Update #endif comments.
29251         [__USE_MISC]: Remove redundant conditionals.
29252         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
29253         Likewise.
29254         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
29255         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
29256         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
29257         Likewise.
29258         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
29259         Likewise.
29260         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
29261         comments.
29262         [__USE_MISC]: Remove redundant conditionals.
29263         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
29264         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
29265         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
29266         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
29267         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
29268         Likewise.
29269         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
29270         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
29271         Likewise.
29272         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
29273         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
29274         Likewise.
29275         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
29276         Likewise.
29277         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
29278         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
29279         Likewise.
29280         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
29281         Likewise.
29282         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
29283         * sysdeps/x86/bits/string.h: Update #endif comments.
29284         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
29285         conditionals.
29286         * time/sys/time.h: Update #endif comments.
29287         * time/time.h: Likewise.
29288         [__USE_MISC]: Remove redundant conditionals.
29290 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
29292         [BZ #16600]
29293         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
29295 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
29297         * Versions.def (librt): Add GLIBC_2.17.
29299 2014-02-21  Adam Conrad  <adconrad@0c3.net>
29301         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
29302         synonym for _SYS_AUXV_H to allow direct inclusion.
29303         * sysdeps/sparc/bits/hwcap.h: Likewise.
29304         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
29305         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
29306         * sysdeps/sparc/sysdep.h: Likewise.
29308 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29310         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
29312 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29314         * benchtests/bench-strrchr.c: Print length instead of position.
29316 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
29318         [BZ #16611]
29319         * sysdeps/unix/sysv/linux/kernel-features.h
29320         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
29321         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
29322         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
29323         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
29324         Likewise.
29325         [__i386__ || __powerpc__ || __sh__ || __sparc__]
29326         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29327         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
29328         (__ASSUME_SENDMMSG): Define instead of using previous
29329         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
29330         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29331         (__ASSUME_SENDMMSG_SYSCALL): Define.
29332         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29333         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
29334         Likewise.
29335         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29336         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29337         Likewise.
29338         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29339         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29340         Likewise.
29341         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
29342         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29343         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29344         [__ASSUME_SENDMMSG]: Change conditionals to
29345         [__ASSUME_SENDMMSG_SOCKETCALL].
29346         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29347         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
29348         Define.
29349         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29350         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
29351         Likewise.
29352         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
29353         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29354         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29355         [!__ASSUME_SENDMMSG]: Change conditional to
29356         [!__ASSUME_SENDMMSG_SOCKETCALL].
29357         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29358         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29359         Define.
29361         [BZ #16610]
29362         * sysdeps/unix/sysv/linux/kernel-features.h
29363         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
29364         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
29365         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
29366         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
29367         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29368         [__i386__ || __sparc__]
29369         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29370         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
29371         (__ASSUME_RECVMMSG): Define instead of using previous
29372         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
29373         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29374         (__ASSUME_RECVMMSG_SYSCALL): Define.
29375         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29376         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29377         Likewise.
29378         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29379         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29380         Likewise.
29381         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29382         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29383         Likewise.
29384         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
29385         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29386         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29387         [__ASSUME_RECVMMSG]: Change condition to
29388         [__ASSUME_RECVMMSG_SOCKETCALL].
29389         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29390         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29391         Define.
29392         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29393         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29394         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29395         Likewise.
29396         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
29397         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29398         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29399         [!__ASSUME_RECVMMSG]: Change condition to
29400         [!__ASSUME_RECVMMSG_SOCKETCALL].
29401         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29402         (__ASSUME_RECVMMSG_SYSCALL): Define.
29404         [BZ #16609]
29405         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
29406         __powerpc__ || __s390__ || __sh__ || __sparc__]
29407         (__ASSUME_SOCKETCALL): Define.
29408         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
29409         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
29410         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
29411         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
29412         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29413         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29414         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
29415         (__ASSUME_ACCEPT4): Define instead of using previous
29416         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
29417         __powerpc__ || __sparc__ || __s390__)] condition.
29418         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29419         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29420         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
29421         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29422         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29423         [!__ASSUME_ACCEPT4]: Change condition to
29424         [!__ASSUME_ACCEPT4_SOCKETCALL].
29425         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29426         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
29427         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
29428         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29429         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
29430         __ASSUME_ACCEPT4_SYSCALL.
29431         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
29432         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
29433         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29434         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
29435         __ASSUME_ACCEPT4_SYSCALL.
29436         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
29437         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29438         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29439         [__ASSUME_ACCEPT4]: Change condition to
29440         [__ASSUME_ACCEPT4_SOCKETCALL].
29441         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29442         (__ASSUME_SOCKETCALL): Define.
29443         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
29444         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29445         (__ASSUME_SOCKETCALL): Define.
29446         (__ASSUME_ACCEPT4): Remove.
29447         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
29448         Define.
29449         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29450         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
29451         Likewise.
29452         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29453         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29455         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
29456         macro.
29457         (HWCAP_ARM_LPAE): Likewise.
29458         (HWCAP_ARM_EVTSTRM): Likewise.
29459         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
29460         Add vpfd32, lpae and evtstrm.
29461         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
29462         Increase to 22.
29464 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
29466         * math/auto-libm-test-in: Add tests of clog10.
29467         * math/auto-libm-test-out: Regenerated.
29468         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
29469         * sysdeps/i386/fpu/libm-test-ulps: Update.
29470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29472 2014-02-18  Andreas Schwab  <schwab@suse.de>
29474         [BZ #16574]
29475         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
29476         Store non-zero if the second buffer was newly allocated.
29477         (send_dg): Likewise.
29478         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
29479         to send_vc and send_dg.
29480         (res_nsend): Pass NULL for ansp2_malloced.
29481         * resolv/res_query.c (__libc_res_nquery): Add parameter
29482         answerp2_malloced and pass it down to __libc_res_nsend.
29483         (res_nquery): Pass additional NULL to __libc_res_nquery.
29484         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
29485         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
29486         second answer buffer if answerp2_malloced was set.
29487         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
29488         (__libc_res_nquerydomain): Add parameter
29489         answerp2_malloced and pass it down to __libc_res_nquery.
29490         (res_nquerydomain): Pass additional NULL to
29491         __libc_res_nquerydomain.
29492         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
29493         additional NULL to __libc_res_nsend and __libc_res_nquery.
29494         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
29495         additional NULL to __libc_res_nsearch.
29496         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
29497         parameter of __libc_res_nsearch to check for separately allocated
29498         second buffer.
29499         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
29500         __libc_res_nquery.
29501         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
29502         additional NULL to __libc_res_nquery.
29503         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
29504         __libc_res_nsearch.
29505         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
29506         * include/resolv.h: Update prototypes of __libc_res_nquery,
29507         __libc_res_nsearch, __libc_res_nsend.
29509 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
29511         * math/auto-libm-test-in: Add tests of fma.
29512         * math/auto-libm-test-out: Regenerated.
29513         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
29514         (fma_towardzero_test_data): Likewise.
29515         (fma_downward_test_data): Likewise.
29516         (fma_upward_test_data): Likewise.
29517         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
29518         mpc_mode.
29519         (rounding_modes): Add values for new field.
29520         (func_calc_method): Add value mpfr_fff_f.
29521         (func_calc_desc): Add mpfr_fff_f union field.
29522         (test_function): Add field exact_args.
29523         (FUNC): Add macro argument EXACT_ARGS.
29524         (FUNC_mpfr_f_f): Update call to FUNC.
29525         (FUNC_mpfr_f_f): Likewise.
29526         (FUNC_mpfr_ff_f): Likewise.
29527         (FUNC_mpfr_if_f): Likewise.
29528         (FUNC_mpc_c_f): Likewise.
29529         (FUNC_mpc_c_c): Likewise.
29530         (test_functions): Add fma.  Update calls to FUNC.
29531         (handle_input_arg): Add argument exact_args.
29532         (add_test): Update call to handle_input_arg.
29533         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
29534         (output_for_one_input_case): Update call to calc_generic_results.
29535         Recalculate exact zero results in each rounding mode.
29537         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
29538         non-negative before setting low bit.
29539         * math/auto-libm-test-in: Mark one asin test possibly having
29540         spurious underflow.
29541         * math/auto-libm-test-out: Regenerated.
29542         * sysdeps/i386/fpu/libm-test-ulps: Update.
29543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29545 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
29547         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
29548         * sysdeps/unix/sysv/linux/microblaze: Move directory from
29549         ports/sysdeps/unix/sysv/linux/microblaze.
29550         * README: Add missing listing for microblaze*-*-linux-gnu.
29552 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
29554         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
29555         duplicate code
29557 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
29559         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
29560         * sysdeps/unix/sysv/linux/ia64: Move directory from
29561         ports/sysdeps/unix/sysv/linux/ia64.
29562         * README: Update listing for ia64-*-linux-gnu.
29564 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
29565             Joseph Myers  <joseph@codesourcery.com>
29567         * Makeconfig (test-name): New variable.
29568         (evaluate-test): Likewise.
29569         * Makerules (do-test-clean): Remove .test-result files.
29570         (common-mostlyclean): Likewise.
29571         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
29572         * scripts/evaluate-test.sh: New file.
29574 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
29576         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
29577         separate $(objpfx)tst-fopenloc-cmp.out and
29578         $(objpfx)tst-fopenloc-mem.out targets.
29579         (tests): Update dependencies.
29580         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
29581         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
29582         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
29583         (tst-rxspencer-no-utf8-ARGS): New variable.
29584         (tst-rxspencer-no-utf8-ENV): Likewise.
29585         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
29586         instead of $(objpfx)tst-rxspencer-mem.
29587         ($(objpfx)tst-rxspencer-mem): Change target to
29588         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
29589         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
29590         * posix/tst-rxspencer-no-utf8.c: New file.
29592         * elf/Makefile ($(objpfx)order.out): Remove rule.
29593         [$(run-built-tests) = yes] (tests): Depend on
29594         $(objpfx)order-cmp.out.
29595         ($(objpfx)order-cmp.out): New rule.
29596         [$(run-built-tests) = yes] (tests): Depend on
29597         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
29598         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
29599         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
29600         $(objpfx)tst-array5-static-cmp.out.
29601         ($(objpfx)tst-array1.out): Remove rule.
29602         ($(objpfx)tst-array1-cmp.out): New rule.
29603         ($(objpfx)tst-array1-static.out): Remove rule.
29604         ($(objpfx)tst-array1-static-cmp.out): New rule.
29605         ($(objpfx)tst-array2.out): Remove rule.
29606         ($(objpfx)tst-array2-cmp.out): New rule.
29607         ($(objpfx)tst-array3.out): Remove rule.
29608         ($(objpfx)tst-array3-cmp.out): New rule.
29609         ($(objpfx)tst-array4.out): Remove rule.
29610         ($(objpfx)tst-array4-cmp.out): New rule.
29611         ($(objpfx)tst-array5.out): Remove rule.
29612         ($(objpfx)tst-array5-cmp.out): New rule.
29613         ($(objpfx)tst-array5-static.out): Remove rule.
29614         ($(objpfx)tst-array5-static-cmp.out): New rule.
29615         [$(run-built-tests) = yes] (tests): Depend on
29616         $(objpfx)order2-cmp.out.
29617         ($(objpfx)order2.out): Remove rule.
29618         ($(objpfx)order2-cmp.out): New rule.
29619         ($(objpfx)tst-initorder.out): Remove rule.
29620         [$(run-built-tests) = yes] (tests): Depend on
29621         $(objpfx)tst-initorder-cmp.out.
29622         ($(objpfx)tst-initorder-cmp.out): New rule.
29623         ($(objpfx)tst-initorder2.out): Remove rule.
29624         [$(run-built-tests) = yes] (tests): Depend on
29625         $(objpfx)tst-initorder2-cmp.out.
29626         ($(objpfx)tst-initorder2-cmp.out): New rule.
29627         [$(run-built-tests) = yes] (tests): Depend on
29628         $(objpfx)tst-unused-dep-cmp.out.
29629         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
29630         ($(objpfx)tst-unused-dep-cmp.out): New rule.
29631         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
29632         on $(objpfx)tst-setvbuf1-cmp.out.
29633         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
29634         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
29635         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
29636         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
29637         ($(objpfx)tst-svc.out): Remove rule.
29638         ($(objpfx)tst-svc-cmp.out): New rule.
29640 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
29642         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
29643         * ctype/ctype.h [__USE_MISC]: Likewise.
29644         * dirent/dirent.h [__USE_MISC]: Likewise.
29645         * grp/grp.h [__USE_MISC]: Likewise.
29646         * io/fcntl.h [__USE_MISC]: Likewise.
29647         * io/sys/stat.h [__USE_MISC]: Likewise.
29648         * libio/stdio.h [__USE_MISC]: Likewise.
29649         * posix/unistd.h [__USE_MISC]: Likewise.
29650         * pwd/pwd.h [__USE_MISC]: Likewise.
29651         * stdlib.h [__USE_MISC]: Likewise.
29652         * string/bits/string2.h [__USE_MISC]: Likewise.
29653         * string/string.h [__USE_MISC]: Likewise.
29654         * time/time.h [__USE_MISC]: Likewise.
29656 2014-02-13  Andreas Schwab  <schwab@suse.de>
29658         [BZ #16574]
29659         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
29660         second answer buffer if it was separately allocated.
29662 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
29664         * sysdeps/mips/math-tests.h: Include <features.h>.
29665         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29666         (ROUNDING_TESTS_long_double): Do not define.
29667         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29668         (EXCEPTION_TESTS_long_double): Likewise.
29669         * sysdeps/mips/mips64/libm-test-ulps: Update.
29671         * include/features.h (__USE_BSD): Remove macro definitions.
29672         (__USE_SVID): Likewise.
29673         (_BSD_SOURCE): Likewise.
29674         (_SVID_SOURCE): Likewise.
29675         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
29676         from definition of _DEFAULT_SOURCE.
29677         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
29678         [_DEFAULT_SOURCE].
29679         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
29680         * bits/mman.h [__USE_BSD]: Likewise.
29681         * bits/termios.h [__USE_BSD]: Likewise.
29682         * bits/waitstatus.h [__USE_BSD]: Likewise.
29683         * ctype/ctype.h [__USE_SVID]: Likewise.
29684         * dirent/dirent.h [__USE_BSD]: Likewise.
29685         * grp/grp.h [__USE_SVID]: Likewise.
29686         [__USE_BSD]: Likewise.
29687         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
29688         * io/fcntl.h [__USE_BSD]: Likewise.
29689         * io/ftw.h [__USE_BSD]: Likewise.
29690         * io/sys/stat.h [__USE_BSD]: Likewise.
29691         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
29692         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
29693         * libio/stdio.h [__USE_SVID]: Likewise.
29694         [__USE_BSD]: Likewise.
29695         * math/math.h [__USE_SVID]: Likewise.
29696         [__USE_BSD]: Likewise.
29697         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
29698         * misc/bits/syslog.h [__USE_BSD]: Likewise.
29699         * misc/search.h [__USE_SVID]: Likewise.
29700         * misc/sys/mman.h [__USE_BSD]: Likewise.
29701         * misc/sys/syslog.h [__USE_BSD]: Likewise.
29702         * misc/sys/uio.h [__USE_BSD]: Likewise.
29703         * posix/bits/unistd.h [__USE_BSD]: Likewise.
29704         * posix/glob.h [__USE_BSD]: Likewise.
29705         * posix/regex.h [__USE_BSD]: Likewise.
29706         * posix/sys/types.h [__USE_BSD]: Likewise.
29707         [__USE_SVID]: Likewise.
29708         * posix/sys/utsname.h [__USE_SVID]: Likewise.
29709         * posix/sys/wait.h [__USE_BSD]: Likewise.
29710         [__USE_SVID]: Likewise.
29711         * posix/unistd.h [__USE_BSD]: Likewise.
29712         [__USE_SVID]: Likewise.
29713         * pwd/pwd.h [__USE_SVID]: Likewise.
29714         * resolv/netdb.h [__USE_BSD]: Likewise.
29715         * setjmp/setjmp.h [__USE_BSD]: Likewise.
29716         * signal/signal.h [__USE_BSD]: Likewise.
29717         [__USE_SVID]: Likewise.
29718         * socket/sys/socket.h [__USE_BSD]: Likewise.
29719         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
29720         * stdlib/stdlib.h [__USE_BSD]: Likewise.
29721         [__USE_SVID]: Likewise.
29722         * string/bits/string2.h [__USE_BSD]: Likewise.
29723         [__USE_SVID]: Likewise.
29724         * string/bits/string3.h [__USE_BSD]: Likewise.
29725         * string/endian.h [__USE_BSD]: Likewise.
29726         * string/string.h [__USE_SVID]: Likewise.
29727         [__USE_BSD]: Likewise.
29728         * string/strings.h [__USE_BSD]: Likewise.
29729         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
29730         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
29731         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
29732         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
29733         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
29734         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
29735         Likewise.
29736         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
29737         Likewise.
29738         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
29739         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
29740         Likewise.
29741         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
29742         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
29743         Likewise.
29744         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
29745         Likewise.
29746         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
29747         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
29748         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
29749         Likewise.
29750         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
29751         Likewise.
29752         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
29753         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
29754         * termios/termios.h [__USE_BSD]: Likewise.
29755         * time/sys/time.h [__USE_BSD]: Likewise.
29756         * time/time.h [__USE_BSD]: Likewise.
29757         [__USE_SVID]: Likewise.
29759         * Makefile (subdir_targets): Remove subdir_lint.out.
29761         * stdio-common/Makefile (do-tst-unbputc): Remove target.
29762         (do-tst-printf): Likewise.
29763         (tests): Depend directly on $(objpfx)tst-unbputc.out and
29764         $(objpfx)tst-printf.out.
29766         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
29768         * Makerules (check-abi-%): Change target to
29769         $(objpfx)check-abi-%.out.
29770         (check-abi target): Update dependencies.
29771         (check-abi-pattern variable): Redirect output of diff to $@.
29772         (check-abi variable): Likewise.
29773         * elf/Makefile (check-abi): Update dependencies.
29775         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
29776         unused.
29777         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
29778         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
29779         subnormal range.
29780         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
29781         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
29782         value has largest subnormal exponent.
29783         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
29784         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
29785         * sysdeps/aarch64/soft-fp/sfp-machine.h
29786         (_FP_TININESS_AFTER_ROUNDING): New macro.
29787         * sysdeps/alpha/soft-fp/sfp-machine.h
29788         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29789         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29790         Likewise.
29791         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
29792         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29793         * sysdeps/mips/soft-fp/sfp-machine.h
29794         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29795         * sysdeps/powerpc/soft-fp/sfp-machine.h
29796         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29797         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29798         Likewise.
29799         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29800         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29801         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29802         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29803         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29804         Likewise.
29806 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
29808         [BZ #16545]
29809         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
29810         model 1.
29812 2014-02-12  Richard Henderson  <rth@redhat.com>
29814         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
29815         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
29816         * sysdeps/unix/sysv/linux/alpha: Move directory from
29817         ports/sysdeps/unix/sysv/linux/alpha.
29818         * README: Update listing for alpha-*-linux-gnu.
29820 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
29822         * include/features.h: Update comment documenting feature test
29823         macros.
29824         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
29825         _DEFAULT_SOURCE.
29826         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
29827         (_SVID_SOURCE): Likewise.
29828         (_DEFAULT_SOURCE): Update description of default features.
29829         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
29830         with _GNU_SOURCE.
29831         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
29832         (S_ISVTX): Likewise.
29833         * manual/math.texi (Mathematical Constants): Likewise.
29834         * manual/signal.texi (Interrupted Primitives): Likewise.
29835         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
29836         * math/test-matherr.c (_SVID_SOURCE): Do not define.
29837         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
29838         Don't refer to _SVID_SOURCE in warning text.
29840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29842         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
29843         already defined.
29844         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
29845         * sysdeps/mips/dl-lookup.c: Remove.
29846         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
29848 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29850         [BZ #16447]
29851         * math/auto-libm-test-in: Add testcase for expl.
29852         * math/auto-libm-test-out: Regenerate.
29853         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
29854         calculation of unsafe.
29855         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
29857 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29859         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
29860         * sysdeps/unix/sysv/linux/aarch64: Move directory from
29861         ports/sysdeps/unix/sysv/linux/aarch64.
29862         * README: Update listing for aarch64*-*-linux-gnu.
29864 2014-02-11  Will Newton  <will.newton@linaro.org>
29866         * manual/probes.texi (Mathematical Function Probes): Use
29867         "triggered" instead of "hit".
29869         * manual/probes.texi (Internal Probes): Add documentation
29870         of setjmp, longjmp and longjmp_target probes.
29872         * include/stap-probe.h: Add comment about probe argument
29873         format.
29875         * malloc/mtrace.c (attribute_hidden): Remove unused macro
29876         definition.  (tr_where, tr_freehook, tr_mallochook,
29877         tr_reallochook, tr_memalignhook): Use ANSI protoype.
29879 2014-02-11  David S. Miller  <davem@davemloft.net>
29881         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
29882         processing int_tests.
29884 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
29886         * sysdeps/mips: Move directory from ports/sysdeps/mips.
29887         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
29888         * sysdeps/unix/sysv/linux/mips: Move directory from
29889         ports/sysdeps/unix/sysv/linux/mips.
29890         * README: Update listing for mips-*-linux-gnu and
29891         mips64-*-linux-gnu.
29893 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
29895         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
29896         * sysdeps/unix/sysv/linux/m68k: Move directory from
29897         ports/sysdeps/unix/sysv/linux/m68k.
29898         * README: Update listing for m68k-*-linux-gnu.
29900 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
29902         * sysdeps/tile: Move directory from ports/sysdeps/tile.
29903         * sysdeps/unix/sysv/linux/generic: Move directory from
29904         ports/sysdeps/unix/sysv/linux/generic.
29905         * sysdeps/unix/sysv/linux/tile: Move directory from
29906         ports/sysdeps/unix/sysv/linux/tile.
29907         * README: Update listing for tile*-*-linux-gnu.
29909 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
29911         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
29912         __builtin_expect.
29913         * benchtests/bench-memmem.c (simple_memmem): Likewise.
29914         * catgets/open_catalog.c (__open_catalog): Likewise.
29915         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
29916         * debug/confstr_chk.c: Likewise.
29917         * debug/fread_chk.c (__fread_chk): Likewise.
29918         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
29919         * debug/getgroups_chk.c: Likewise.
29920         * debug/mbsnrtowcs_chk.c: Likewise.
29921         * debug/mbsrtowcs_chk.c: Likewise.
29922         * debug/mbstowcs_chk.c: Likewise.
29923         * debug/memcpy_chk.c: Likewise.
29924         * debug/memmove_chk.c: Likewise.
29925         * debug/mempcpy_chk.c: Likewise.
29926         * debug/memset_chk.c: Likewise.
29927         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29928         * debug/strcat_chk.c (__strcat_chk): Likewise.
29929         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
29930         * debug/strncat_chk.c (__strncat_chk): Likewise.
29931         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
29932         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
29933         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
29934         * debug/wcpncpy_chk.c: Likewise.
29935         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29936         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
29937         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
29938         * debug/wcsncpy_chk.c: Likewise.
29939         * debug/wcsnrtombs_chk.c: Likewise.
29940         * debug/wcsrtombs_chk.c: Likewise.
29941         * debug/wcstombs_chk.c: Likewise.
29942         * debug/wmemcpy_chk.c: Likewise.
29943         * debug/wmemmove_chk.c: Likewise.
29944         * debug/wmempcpy_chk.c: Likewise.
29945         * debug/wmemset_chk.c: Likewise.
29946         * dirent/scandirat.c (SCANDIRAT): Likewise.
29947         * dlfcn/dladdr1.c (dladdr1): Likewise.
29948         * dlfcn/dladdr.c (dladdr): Likewise.
29949         * dlfcn/dlclose.c (dlclose_doit): Likewise.
29950         * dlfcn/dlerror.c (__dlerror): Likewise.
29951         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
29952         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
29953         * dlfcn/dlopen.c (dlopen_doit): Likewise.
29954         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
29955         * dlfcn/dlsym.c (dlsym_doit): Likewise.
29956         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
29957         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
29958         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
29959         Likewise.
29960         * elf/dl-conflict.c: Likewise.
29961         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29962         * elf/dl-dst.h: Likewise.
29963         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
29964         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
29965         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29966         * elf/dl-init.c (call_init, _dl_init): Likewise.
29967         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
29968         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
29969         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
29970         Likewise.
29971         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
29972         Likewise.
29973         * elf/dl-minimal.c (__libc_memalign): Likewise.
29974         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
29975         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29976         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
29977         * elf/dl-sym.c (do_sym): Likewise.
29978         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
29979         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
29980         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
29981         * elf/dl-writev.h (_dl_writev): Likewise.
29982         * elf/ldconfig.c (search_dir): Likewise.
29983         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
29984         (dl_main): Likewise.
29985         * elf/setup-vdso.h (setup_vdso): Likewise.
29986         * grp/compat-initgroups.c (compat_call): Likewise.
29987         * grp/fgetgrent.c (fgetgrent): Likewise.
29988         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
29989         * grp/putgrent.c (putgrent): Likewise.
29990         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29991         Likewise.
29992         * hurd/hurdinit.c: Likewise.
29993         * iconvdata/8bit-gap.c (struct): Likewise.
29994         * iconvdata/ansi_x3.110.c : Likewise.
29995         * iconvdata/big5.c : Likewise.
29996         * iconvdata/big5hkscs.c : Likewise.
29997         * iconvdata/cp1255.c: Likewise.
29998         * iconvdata/cp1258.c : Likewise.
29999         * iconvdata/cp932.c : Likewise.
30000         * iconvdata/euc-cn.c: Likewise.
30001         * iconvdata/euc-jisx0213.c : Likewise.
30002         * iconvdata/euc-jp.c: Likewise.
30003         * iconvdata/euc-jp-ms.c : Likewise.
30004         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
30005         * iconvdata/gb18030.c : Likewise.
30006         * iconvdata/gbbig5.c (const): Likewise.
30007         * iconvdata/gbgbk.c: Likewise.
30008         * iconvdata/gbk.c : Likewise.
30009         * iconvdata/ibm1364.c : Likewise.
30010         * iconvdata/ibm930.c : Likewise.
30011         * iconvdata/ibm932.c: Likewise.
30012         * iconvdata/ibm933.c : Likewise.
30013         * iconvdata/ibm935.c : Likewise.
30014         * iconvdata/ibm937.c : Likewise.
30015         * iconvdata/ibm939.c : Likewise.
30016         * iconvdata/ibm943.c: Likewise.
30017         * iconvdata/iso_11548-1.c: Likewise.
30018         * iconvdata/iso-2022-cn.c : Likewise.
30019         * iconvdata/iso-2022-cn-ext.c : Likewise.
30020         * iconvdata/iso-2022-jp-3.c: Likewise.
30021         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
30022         * iconvdata/iso-2022-kr.c : Likewise.
30023         * iconvdata/iso646.c (gconv_end): Likewise.
30024         * iconvdata/iso_6937-2.c : Likewise.
30025         * iconvdata/iso_6937.c : Likewise.
30026         * iconvdata/iso8859-1.c: Likewise.
30027         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
30028         * iconvdata/shift_jisx0213.c : Likewise.
30029         * iconvdata/sjis.c : Likewise.
30030         * iconvdata/t.61.c : Likewise.
30031         * iconvdata/tcvn5712-1.c : Likewise.
30032         * iconvdata/tscii.c: Likewise.
30033         * iconvdata/uhc.c : Likewise.
30034         * iconvdata/unicode.c (gconv_end): Likewise.
30035         * iconvdata/utf-16.c (gconv_end): Likewise.
30036         * iconvdata/utf-32.c (gconv_end): Likewise.
30037         * iconvdata/utf-7.c (base64): Likewise.
30038         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30039         * iconv/gconv_close.c (__gconv_close): Likewise.
30040         * iconv/gconv_open.c (__gconv_open): Likewise.
30041         * iconv/gconv_simple.c (internal_ucs4_loop_single)
30042         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
30043         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
30044         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
30045         (ucs4le_internal_loop_single): Likewise.
30046         * iconv/iconv.c (iconv): Likewise.
30047         * iconv/iconv_close.c: Likewise.
30048         * iconv/loop.c (SINGLE): Likewise.
30049         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
30050         * include/atomic.h: Likewise.
30051         * inet/inet6_option.c (option_alloc): Likewise.
30052         * intl/bindtextdom.c (set_binding_values): Likewise.
30053         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
30054         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
30055         * intl/localealias.c (read_alias_file): Likewise.
30056         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30057         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
30058         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
30059         * libio/fmemopen.c (fmemopen): Likewise.
30060         * libio/iofgets.c (_IO_fgets): Likewise.
30061         * libio/iofgets_u.c (fgets_unlocked): Likewise.
30062         * libio/iofgetws.c (fgetws): Likewise.
30063         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
30064         * libio/iogetdelim.c (_IO_getdelim): Likewise.
30065         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
30066         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
30067         * locale/findlocale.c (_nl_find_locale): Likewise.
30068         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30069         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
30070         Likewise.
30071         * locale/setlocale.c (setlocale): Likewise.
30072         * login/programs/pt_chown.c (main): Likewise.
30073         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
30074         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
30075         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
30076         (mmap, mmap64, mremap, munmap): Likewise.
30077         * math/e_exp2l.c: Likewise.
30078         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
30079         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
30080         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
30081         * math/s_catan.c (__catan): Likewise.
30082         * math/s_catanf.c (__catanf): Likewise.
30083         * math/s_catanh.c (__catanh): Likewise.
30084         * math/s_catanhf.c (__catanhf): Likewise.
30085         * math/s_catanhl.c (__catanhl): Likewise.
30086         * math/s_catanl.c (__catanl): Likewise.
30087         * math/s_ccosh.c (__ccosh): Likewise.
30088         * math/s_ccoshf.c (__ccoshf): Likewise.
30089         * math/s_ccoshl.c (__ccoshl): Likewise.
30090         * math/s_cexp.c (__cexp): Likewise.
30091         * math/s_cexpf.c (__cexpf): Likewise.
30092         * math/s_cexpl.c (__cexpl): Likewise.
30093         * math/s_clog10.c (__clog10): Likewise.
30094         * math/s_clog10f.c (__clog10f): Likewise.
30095         * math/s_clog10l.c (__clog10l): Likewise.
30096         * math/s_clog.c (__clog): Likewise.
30097         * math/s_clogf.c (__clogf): Likewise.
30098         * math/s_clogl.c (__clogl): Likewise.
30099         * math/s_csin.c (__csin): Likewise.
30100         * math/s_csinf.c (__csinf): Likewise.
30101         * math/s_csinh.c (__csinh): Likewise.
30102         * math/s_csinhf.c (__csinhf): Likewise.
30103         * math/s_csinhl.c (__csinhl): Likewise.
30104         * math/s_csinl.c (__csinl): Likewise.
30105         * math/s_csqrt.c (__csqrt): Likewise.
30106         * math/s_csqrtf.c (__csqrtf): Likewise.
30107         * math/s_csqrtl.c (__csqrtl): Likewise.
30108         * math/s_ctan.c (__ctan): Likewise.
30109         * math/s_ctanf.c (__ctanf): Likewise.
30110         * math/s_ctanh.c (__ctanh): Likewise.
30111         * math/s_ctanhf.c (__ctanhf): Likewise.
30112         * math/s_ctanhl.c (__ctanhl): Likewise.
30113         * math/s_ctanl.c (__ctanl): Likewise.
30114         * math/w_pow.c: Likewise.
30115         * math/w_powf.c: Likewise.
30116         * math/w_powl.c: Likewise.
30117         * math/w_scalb.c (sysv_scalb): Likewise.
30118         * math/w_scalbf.c (sysv_scalbf): Likewise.
30119         * math/w_scalbl.c (sysv_scalbl): Likewise.
30120         * misc/error.c (error_tail): Likewise.
30121         * misc/pselect.c (__pselect): Likewise.
30122         * nis/nis_callback.c (__nis_create_callback): Likewise.
30123         * nis/nis_call.c (__nisfind_server): Likewise.
30124         * nis/nis_creategroup.c (nis_creategroup): Likewise.
30125         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
30126         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
30127         * nis/nis_getservlist.c (nis_getservlist): Likewise.
30128         * nis/nis_lookup.c (nis_lookup): Likewise.
30129         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
30130         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
30131         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
30132         * nis/nis_xdr.c (xdr_endpoint): Likewise.
30133         * nis/nss_compat/compat-grp.c (getgrent_next_file)
30134         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
30135         * nis/nss_compat/compat-initgroups.c (add_group)
30136         (internal_getgrent_r): Likewise.
30137         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
30138         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
30139         * nis/nss_compat/compat-spwd.c (getspent_next_file)
30140         (internal_getspnam_r): Likewise.
30141         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
30142         (_nss_nis_getaliasbyname_r): Likewise.
30143         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
30144         (_nss_nis_getntohost_r): Likewise.
30145         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
30146         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
30147         (_nss_nis_getgrgid_r): Likewise.
30148         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
30149         (internal_nis_gethostent_r, internal_gethostbyname2_r)
30150         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
30151         (_nss_nis_gethostbyname4_r): Likewise.
30152         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
30153         (initgroups_netid): Likewise.
30154         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
30155         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
30156         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
30157         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
30158         (_nss_nis_getprotobynumber_r): Likewise.
30159         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
30160         (_nss_nis_getsecretkey): Likewise.
30161         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
30162         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
30163         (_nss_nis_getpwuid_r): Likewise.
30164         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
30165         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
30166         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
30167         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
30168         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
30169         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
30170         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
30171         Likewise.
30172         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
30173         (_nss_nisplus_getntohost_r): Likewise.
30174         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
30175         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
30176         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
30177         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
30178         Likewise.
30179         * nis/nss_nisplus/nisplus-initgroups.c
30180         (_nss_nisplus_initgroups_dyn): Likewise.
30181         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
30182         (_nss_nisplus_getnetbyaddr_r): Likewise.
30183         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
30184         (_nss_nisplus_getprotobynumber_r): Likewise.
30185         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
30186         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
30187         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
30188         Likewise.
30189         * nis/nss_nisplus/nisplus-service.c
30190         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
30191         (_nss_nisplus_getservbyport_r): Likewise.
30192         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
30193         (_nss_nisplus_getspnam_r): Likewise.
30194         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
30195         Likewise.
30196         * nscd/aicache.c (addhstaiX): Likewise.
30197         * nscd/cache.c (cache_search, prune_cache): Likewise.
30198         * nscd/connections.c (register_traced_file, send_ro_fd)
30199         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
30200         (main_loop_epoll): Likewise.
30201         * nscd/grpcache.c (addgrbyX): Likewise.
30202         * nscd/hstcache.c (addhstbyX): Likewise.
30203         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30204         * nscd/mem.c (gc, mempool_alloc): Likewise.
30205         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
30206         (addinnetgrX): Likewise.
30207         * nscd/nscd-client.h (__nscd_acquire_maplock)
30208         (__nscd_drop_map_ref): Likewise.
30209         * nscd/nscd_getai.c (__nscd_getai): Likewise.
30210         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30211         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
30212         Likewise.
30213         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30214         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30215         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
30216         (__nscd_get_map_ref): Likewise.
30217         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30218         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
30219         Likewise.
30220         * nscd/pwdcache.c (addpwbyX): Likewise.
30221         * nscd/selinux.c (preserve_capabilities): Likewise.
30222         * nscd/servicescache.c (addservbyX): Likewise.
30223         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
30224         * posix/fnmatch.c (fnmatch): Likewise.
30225         * posix/getopt.c (_getopt_internal_r): Likewise.
30226         * posix/glob.c (glob, glob_in_dir): Likewise.
30227         * posix/wordexp.c (exec_comm_child): Likewise.
30228         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
30229         (getanswer_r, gaih_getanswer_slice): Likewise.
30230         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
30231         * resolv/res_init.c: Likewise.
30232         * resolv/res_mkquery.c (res_nmkquery): Likewise.
30233         * resolv/res_query.c (__libc_res_nquery): Likewise.
30234         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
30235         Likewise.
30236         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
30237         * stdio-common/perror.c (perror): Likewise.
30238         * stdio-common/printf_fp.c (___printf_fp): Likewise.
30239         * stdio-common/tmpnam.c (tmpnam): Likewise.
30240         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30241         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30242         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30243         Likewise.
30244         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
30245         * stdlib/putenv.c (putenv): Likewise.
30246         * stdlib/setenv.c (__add_to_environ): Likewise.
30247         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30248         * stdlib/strtol_l.c (INTERNAL): Likewise.
30249         * string/memmem.c (memmem): Likewise.
30250         * string/strerror.c (strerror): Likewise.
30251         * string/strnlen.c (__strnlen): Likewise.
30252         * string/test-memmem.c (simple_memmem): Likewise.
30253         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
30254         * sunrpc/pm_getport.c (__get_socket): Likewise.
30255         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
30256         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
30257         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
30258         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
30259         Likewise.
30260         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30261         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30262         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
30263         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
30264         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
30265         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
30266         Likewise.
30267         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
30268         Likewise.
30269         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30270         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30271         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30272         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30273         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30274         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
30275         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30276         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
30277         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
30278         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
30279         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30280         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
30281         Likewise.
30282         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
30283         Likewise.
30284         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
30285         Likewise.
30286         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
30287         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30288         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
30289         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
30290         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30291         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
30292         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30293         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
30294         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
30295         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
30296         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
30297         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30298         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30299         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
30300         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30301         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30302         Likewise.
30303         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
30304         Likewise.
30305         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
30306         Likewise.
30307         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
30308         Likewise.
30309         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30310         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30311         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
30312         Likewise.
30313         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
30314         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
30315         * sysdeps/posix/opendir.c (__opendirat): Likewise.
30316         * sysdeps/posix/sleep.c: Likewise.
30317         * sysdeps/posix/tempname.c: Likewise.
30318         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
30319         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30320         Likewise.
30321         * sysdeps/powerpc/powerpc32/dl-machine.h
30322         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
30323         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30324         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30325         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
30326         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
30327         Likewise.
30328         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
30329         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
30330         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30331         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
30332         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30333         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
30334         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
30335         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
30336         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30337         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
30338         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
30339         (elf_machine_lazy_rel): Likewise.
30340         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30341         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
30342         (elf_machine_lazy_rel): Likewise.
30343         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
30344         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
30345         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
30346         * sysdeps/unix/grantpt.c (grantpt): Likewise.
30347         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
30348         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
30349         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30350         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30351         Likewise.
30352         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
30353         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
30354         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
30355         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
30356         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30357         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30358         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
30359         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
30360         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
30361         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30362         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30363         Likewise.
30364         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
30365         (__posix_fallocate64_l64): Likewise.
30366         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
30367         (posix_fallocate): Likewise.
30368         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
30369         Likewise.
30370         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30371         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
30372         (getifaddrs_internal): Likewise.
30373         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
30374         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
30375         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
30376         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30377         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30378         (__posix_fallocate64_l64): Likewise.
30379         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30380         Likewise.
30381         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
30382         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
30383         (__get_clockfreq): Likewise.
30384         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
30385         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30386         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
30387         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30388         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30389         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
30390         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
30391         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
30392         Likewise.
30393         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
30394         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
30395         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30396         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
30397         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30398         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
30399         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
30400         Likewise.
30401         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30402         (posix_fallocate): Likewise.
30403         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30404         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
30405         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
30406         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
30407         (elf_machine_rela, elf_machine_rela_relative)
30408         (elf_machine_lazy_rel): Likewise.
30409         * time/asctime.c (asctime_internal): Likewise.
30410         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
30411         * time/tzset.c (__tzset_parse_tz): Likewise.
30412         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30413         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30414         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
30415         * wcsmbs/wcsmbsload.h: Likewise.
30417         [BZ #15894]
30418         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
30420         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
30421         (arena_get2): Remove THREAD_STATS conditionals.
30422         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
30423         (__malloc_stats, int): Likewise.
30425 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
30427         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
30428         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
30430         * manual/setjmp.texi: Fix typos/grammar errors.
30432         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
30433         Only return early when n is <= 0.  Delete unused return statement.
30435         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
30436         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
30437         * debug/tst-longjmp_chk3.c: New file.
30439         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
30440         (test_main): Replace code with set_fortify_handler call.
30441         * debug/test-strcpy_chk.c: Likewise.
30442         * debug/tst-chk1.c: Likewise.
30443         * debug/tst-longjmp_chk.c: Likewise.
30444         * test-skeleton.c: Include fcntl.h & paths.h
30445         (set_fortify_handler): Define.
30447         * debug/tst-longjmp_chk.c: Add header comment and include
30448         ../test-skeleton.c.
30449         (do_test): Mark static.
30450         (TEST_FUNCTION): Define.
30452         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
30453         (IP_PMTUDISC_INTERFACE): Likewise.
30454         (IP_MULTICAST_IF): Likewise.
30455         (IP_MULTICAST_TTL): Likewise.
30456         (IP_MULTICAST_LOOP): Likewise.
30457         (IP_ADD_MEMBERSHIP): Likewise.
30458         (IP_DROP_MEMBERSHIP): Likewise.
30459         (IP_UNBLOCK_SOURCE): Likewise.
30460         (IP_BLOCK_SOURCE): Likewise.
30461         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
30462         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
30463         (IP_MSFILTER): Likewise.
30464         (MCAST_JOIN_GROUP): Likewise.
30465         (MCAST_BLOCK_SOURCE): Likewise.
30466         (MCAST_UNBLOCK_SOURCE): Likewise.
30467         (MCAST_LEAVE_GROUP): Likewise.
30468         (MCAST_JOIN_SOURCE_GROUP): Likewise.
30469         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
30470         (MCAST_MSFILTER): Likewise.
30471         (IP_MULTICAST_ALL): Likewise.
30472         (IP_UNICAST_IF): Likewise.
30474         * timezone/Makefile: Delete $(have-ksh) check.
30475         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
30476         * timezone/tzselect.ksh: Add +x mode bits.
30478         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
30479         (ANON_INODE_FS_MAGIC): Likewise.
30480         (BDEVFS_MAGIC): Likewise.
30481         (BINFMTFS_MAGIC): Likewise.
30482         (BTRFS_TEST_MAGIC): Likewise.
30483         (CRAMFS_MAGIC_WEND): Likewise.
30484         (DEBUGFS_MAGIC): Likewise.
30485         (ECRYPTFS_SUPER_MAGIC): Likewise.
30486         (EXT3_SUPER_MAGIC): Likewise.
30487         (EXT4_SUPER_MAGIC): Likewise.
30488         (FUTEXFS_SUPER_MAGIC): Likewise.
30489         (HOSTFS_SUPER_MAGIC): Likewise.
30490         (HUGETLBFS_MAGIC): Likewise.
30491         (MINIX3_SUPER_MAGIC): Likewise.
30492         (MTD_INODE_FS_MAGIC): Likewise.
30493         (NILFS_SUPER_MAGIC): Likewise.
30494         (OPENPROM_SUPER_MAGIC): Likewise.
30495         (PIPEFS_MAGIC): Likewise.
30496         (PSTOREFS_MAGIC): Likewise.
30497         (QNX6_SUPER_MAGIC): Likewise.
30498         (RAMFS_MAGIC): Likewise.
30499         (REISERFS_SUPER_MAGIC_STRING): Likewise.
30500         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
30501         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
30502         (SECURITYFS_MAGIC): Likewise.
30503         (SELINUX_MAGIC): Likewise.
30504         (SMACK_MAGIC): Likewise.
30505         (SOCKFS_MAGIC): Likewise.
30506         (SQUASHFS_MAGIC): Likewise.
30507         (STACK_END_MAGIC): Likewise.
30508         (TMPFS_MAGIC): Likewise.
30509         (USBDEVICE_SUPER_MAGIC): Likewise.
30510         (V9FS_MAGIC): Likewise.
30511         (XENFS_SUPER_MAGIC): Likewise.
30512         (CRAMFS_MAGIC): Fix typo in comment.
30513         (EXT2_SUPER_MAGIC): Update comment.
30514         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
30516 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
30518         * sysdeps/arm: Move directory from ports/sysdeps/arm.
30519         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
30520         * sysdeps/unix/sysv/linux/arm: Move directory from
30521         ports/sysdeps/unix/sysv/linux/arm.
30522         * README: Update listing for arm-*-linux-gnueabi.
30524         * README: Remove mention of am33.
30526 2014-02-07  Roland McGrath  <roland@hack.frob.com>
30528         * bits/sigset.h (__sigemptyset): Use a statement expression rather
30529         than the comma operator, to avoid "rhs of comma has no effect"
30530         compiler warnings.
30531         (__sigfillset, __sigandset, __sigorset): Likewise.
30532         * include/signal.h (__sigemptyset): Likewise.
30533         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
30535 2014-02-07  Allan McRae  <allan@archlinux.org>
30537         * version.h (RELEASE): Set to "development".
30538         (VERSION): Set to "2.19.90"
30539         * NEWS: Add 2.20 section.
30541 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
30543         [BZ #16529]
30544         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
30546 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30548         * manual/contrib.texi: Update entry for Carlos O'Donell,
30549         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
30551 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
30553         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
30555         * sysdeps/unix/sysv/linux/kernel-features.h
30556         [__LINUX_KERNEL_VERSION >= 0x020621]
30557         (__ASSUME_PROC_PID_TASK_COMM): Define.
30559 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30561         [BZ #16398]
30562         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
30563         conversion when destination buffer does not have enough space.
30564         * libio/tst-ftell-partial-wide.c: New test case.
30565         * libio/Makefile (tests): Add tst-ftell-partial-wide.
30567         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
30568         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
30569         Leonard and Allan McRae.
30571 2014-02-04  David S. Miller  <davem@davemloft.net>
30573         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
30574         32-bit.
30576 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30579         New file
30580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30581         New file
30582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30583         New file.
30584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30585         New file.
30586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30587         New file.
30588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30589         New file.
30590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30591         New file.
30592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30593         New file.
30594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30595         New file.
30596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30597         New file.
30598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30599         New file.
30600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30601         New file.
30602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30603         New file.
30605 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30607         * nptl/shlib-versions: Change powerpc*le start to 2.17.
30608         * shlib-versions: Likewise.
30610 2014-02-04  Roland McGrath  <roland@hack.frob.com>
30611             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30613         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
30614         (abilist-pattern): New variable, set to %-le.abilist.
30616         * Makerules (abilist-pattern): New variable.
30617         (vpath): Use $(abilist-pattern) in place of %.abilist.
30618         (check-abi-% pattern rule): Likewise.
30619         (check-abi, update-abi): Likewise.
30621 2014-02-04  Eric Wong  <normalperson@yhbt.net>
30623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30625 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
30627         * manual/startup.texi: Add next, previous, and top entries for
30628         the `Program Arguments' and `Environment Variables' nodes.
30630 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
30632         * manual/macros.texi: Add comments before MTASC-safety macros.
30634         * manual/users.texi: Document MTASC-safety properties.
30636         * manual/threads.texi (pthread_key_create, pthread_key_delete)
30637         (pthread_getspecific, pthread_setspecific): Format with
30638         @deftypefun, and add @safety note.
30639         * manual/signal.texi: Move comments that analyze the above
30640         functions to their home place.
30642 2014-02-03  Allan McRae  <allan@archlinux.org>
30644         * po/sl.po: Update Slovenian translation from translation project.
30646 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
30648         * manual/time.texi (timegm): Add missing blank after @c.
30649         Reported by Joseph Myers <joseph@codesourcery.com>.
30651 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
30653         * manual/check-safety.sh: New.
30654         * manual/Makefile ($(objpfx)stamp-summary): Run it.
30656         * manual/terminal.texi: Document MTASC-safety properties.
30658         * manual/filesys.texi: Document MTASC-safety properties.
30660         * manual/errno.texi: Document MTASC-safety properties.
30662         * manual/intro.texi: Document safety identifiers and
30663         conditionals.
30665         * manual/string.texi (wcstok): Fix prototype.
30666         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
30668         * manual/time.texi: Document MTASC-safety properties.
30670         * manual/string.texi: Document MTASC-safety properties.
30672         * manual/threads.texi: Document MTASC-safety properties.
30674         * manual/stdio.texi: Document MTASC-safety properties.
30676         * manual/syslog.texi: Document MTASC-safety properties.
30678         * manual/sysinfo.texi: Document MTASC-safety properties.
30680         * manual/startup.texi: Document MTASC-safety properties.
30682         * manual/socket.texi: Document MTASC-safety properties.
30684         * manual/signal.texi: Document MTASC-safety properties.
30686 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
30688         * manual/setjmp.texi: Document MTASC-safety properties.
30690         * manual/search.texi: Document MTASC-safety properties.
30692         * manual/resource.texi: Document MTASC-safety properties.
30694         * manual/process.texi: Document MTASC-safety properties.
30696         * manual/platform.texi: Document MTASC-safety properties.
30698         * manual/pipe.texi: Document MTASC-safety properties.
30700         * manual/pattern.texi: Document MTASC-safety properties.
30702         * manual/message.texi: Document MTASC-safety properties.
30704         [BZ #12751]
30705         * manual/memory.texi: Document MTASC-safety properties.
30707         * manual/math.texi: Document MTASC-safety properties.
30709         * manual/locale.texi: Document MTASC-safety properties.
30711         * manual/llio.texi: Document MTASC-safety properties.
30713         * manual/libdl.texi: New.
30715         * manual/lang.texi: Document MTASC-safety properties.
30717         * manual/job.texi: Document MTASC-safety properties.
30719         * manual/getopt.texi: Document MTASC-safety properties.
30721         * manual/ctype.texi: Document MTASC-safety properties.
30723 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
30725         [BZ #16046]
30726         * csu/libc-tls.c (static_map): Remove variable.
30727         (__libc_setup_tls): Use main executable's link map for TLS data.
30728         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
30729         casing for LM_ID_BASE and GL(dl_nns).
30730         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
30731         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
30732         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
30733         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
30734         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
30735         member.
30736         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
30737         l_phnum members.
30739 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
30741         * manual/debug.texi: Document MTASC-safety properties.
30743 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
30745         [BZ #16510]
30746         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
30747         of __x86_64__ when disabling x87 inline functions.
30749 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
30751         * manual/charset.texi: Document MTASC-safety properties.
30753         * manual/crypt.texi: Document MTASC-safety properties.
30755         * manual/conf.texi: Document MTASC-safety properties.
30757         * manual/arith.texi: Document MTASC-safety properties.
30759         * manual/argp.texi: Document MTASC-safety properties.
30761         * manual/macros.texi: Introduce macros to document multi
30762         thread, asynchronous signal and asynchronous cancellation
30763         safety properties.
30764         * manual/intro.texi: Introduce the properties themselves.
30766 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30768         * sysdeps/sh/sh4/Makefile: New file.
30770 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
30772         * math/gen-libm-test.pl ($srcdir): New variable.
30773         ($auto_input): Use it.
30775 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30777         [BZ #16506]
30778         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
30779         access beyond array bounds when parsing netgroups file.
30781         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
30782         the old buffer before realloc.
30784 2014-01-27  Allan McRae  <allan@archlinux.org>
30786         * po/fr.po: Update French translation from translation project.
30788 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30790         * sysdeps/sh/libm-test-ulps: Regenerate.
30792 2014-01-24  David S. Miller  <davem@davemloft.net>
30794         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
30796 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30798         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
30799         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
30801 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30803         [BZ #16474]
30804         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
30805         string pointers after reallocation.
30807 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30809         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
30810         __SH4A__ instead of __SH_FPU_ANY__.
30812 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30814         * sysdeps/sh/fpu_control.h: New file.
30815         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
30816         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
30817         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
30818         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
30819         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
30820         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
30821         * sysdeps/sh/sys/ucontext.h: Remove.
30822         * sysdeps/sh/sys: Remove directory.
30824 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30826         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
30827         s390/sys/ucontext.h.
30828         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
30829         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
30831 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
30833         [BZ #15605]
30834         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
30836 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30838         [BZ#16431]
30839         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30840         Adjust the vDSO correctly for internal calls.
30841         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
30843 2014-01-20  Allan McRae  <allan@archlinux.org>
30845         * po/ca.po: Update Catalan translation from translation project.
30847 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
30849         * sysdeps/s390/sotruss-lib.c: New file.
30851 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30853         [BZ#16430]
30854         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
30855         (__GI___gettimeofday): Alias for a different internal symbol to avoid
30856         local calls issues by not having a PLT stub required for IFUNC calls.
30857         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
30859 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
30861         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
30862         * math/test-fpucw-static.c: Likewise.
30864 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30866         [BZ #16453]
30867         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
30869 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30871         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
30872         implementation for powerpc.
30874 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
30876         [BZ #14782]
30877         * sysdeps/posix/system.c (__libc_system): Do not enable
30878         asynchronous cancellation.
30880 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30882         [BZ #16427]
30883         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
30884         handling only for numbers special also in the IEEE case.
30886 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30888         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30890 2014-01-11  Allan McRae  <allan@archlinux.org>
30892         * po/bg.po: Update Bulgarian translation from translation project.
30894         * po/de.po: Update German translation from translation project.
30896 2014-01-10  Roland McGrath  <roland@hack.frob.com>
30898         * sysdeps/generic/gcc-compat.h: New file.
30900 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30902         * benchtests/asin-inputs: Correct slow inputs.
30903         * benchtests/acos-inputs: Likewise.
30905 2014-01-10  Allan McRae  <allan@archlinux.org>
30907         * po:sv.po: Update Swedish translation from translation project.
30909         * po/vi.po: Update Vietnamese translation from translation project.
30911         * po/eo.po: Update Esperanto translation from translation project.
30913         * po/cs.po: Update Czech translation from translation project.
30915         * po/nl.po: Update Dutch translation from translation project.
30917         * po/pl.po: Update Polish translation from translation project.
30919         * po/ru.po: Update Russian translation from translation project.
30921         * po/uk.po: Update Ukrainian translation from translation project.
30923 2014-01-08  Brooks Moses  <bmoses@google.com>
30925         * elf/dl-load.c: Fix comment typo.
30927 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
30929         * po/header.pot: Rename to...
30930         * po/pot.header: ... this.
30931         * po/Makefile: Use pot.header.
30933 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
30934             Maxim Kuvyrkov  <maxim@kugelworks.com>
30936         [BZ #16394]
30937         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
30938         SRC and DEST against LEN.
30940 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30942         [BZ #16414]
30943         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
30944         implementation.
30945         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
30947 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30951 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
30953         [BZ #16408]
30954         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
30955         for large positive arguments.
30957 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
30959         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30961         * math/auto-libm-test-in: Mark various tests with
30962         xfail-rounding:ldbl-128ibm.
30963         * math/auto-libm-test-out: Regenerated.
30965         [BZ #16407]
30966         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30967         Increase overflow threshold.
30969 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
30971         [BZ #14286]
30972         * stdio-common/vfprintf.c: Check for integer overflow.
30974 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30976         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
30977         the first argument and return value of __tls_get_addr_internal.
30979 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30981         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
30982         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
30984 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30986         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
30987         * sysdeps/s390/rtld-global-offsets.sym: New file.
30988         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
30989         GLIBC_2.19 symbol.
30990         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
30991         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
30992         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30993         ... this.
30994         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
30995         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30996         ... this.
30997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30998         Regenerate.
30999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31000         Regenerate.
31001         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
31002         halfs of GPRs for high_gprs contexts.
31003         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
31004         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
31005         field.
31006         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
31007         uc_flags field.
31008         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
31009         64 bit versions:
31010         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
31011         for high GPRs (uc_high_gprs) and for future extensions
31012         (__reserved).
31013         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
31014         for future extensions (__reserved).
31015         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
31016         64 bit versions:
31017         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
31018         SC_HIGHGPRS offset definition.
31019         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
31020         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
31022         * Versions.def: Add GLIBC_2.19 for libpthread.
31023         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
31024         siglongjmp for libpthread with GLIBC_2.19 symver.
31025         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
31026         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
31027         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
31028         * sysdeps/s390/__longjmp.c: New file.
31029         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
31030         * sysdeps/s390/longjmp.c: New file.
31031         * sysdeps/s390/setjmp.S: New file.
31032         * sysdeps/s390/sigjmp.S: New file.
31033         * sysdeps/s390/v1-longjmp.c: New file.
31034         * sysdeps/s390/v1-setjmp.h: New file.
31035         * sysdeps/s390/v1-sigjmp.c: New file.
31036         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
31037         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
31038         GLIBC_2.19 version.
31039         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
31040         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
31041         versioned symbols for ____longjmp_chk.
31042         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31043         Likewise.
31044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31045         Regenerate.
31046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31047         Regenerate.
31048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31049         Regenerate.
31050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31051         Regenerate.
31052         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
31053         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
31054         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
31055         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
31056         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
31057         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
31058         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
31059         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
31060         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
31061         * sysdeps/s390/rtld-__longjmp.c: New file.
31062         * sysdeps/s390/rtld-setjmp.S: New file.
31064 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
31066         [BZ #16400]
31067         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31068         Return -__logl (x) for small positive arguments without evaluating
31069         a polynomial.
31071 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
31073         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
31074         Rename to ...
31075         (__ptrace_peeksiginfo_args): ... this.
31076         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31077         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31078         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31080 2014-01-06  Allan McRae  <allan@archlinux.org>
31082         * inet/netinet/in.h: Fix typo in comment.
31084 2014-01-05  Andreas Jaeger  <aj@suse.de>
31086         * sysdeps/i386/fpu/libm-test-ulps: Update.
31088 2014-01-05  Allan McRae  <allan@archlinux.org>
31090         * po/libc.pot: Regenerated.
31092         * malloc/memusagestat.c: Fix gettext call formatting.
31094 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
31096         * nscd/nscd.c: Improve usage() output.
31098 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
31100         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
31101         * sysdeps/unix/sysv/linux/configure: Regenerated.
31102         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
31103         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
31105 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31107         [BZ #16390]
31108         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31109         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
31111 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31113         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
31114         extra tokens at end of #undef directive.
31115         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
31116         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
31117         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
31119 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31121         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31123         * math/auto-libm-test-in: Mark various tests with
31124         xfail-rounding:ldbl-128ibm.
31125         * math/auto-libm-test-out: Regenerated.
31127 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
31129         [BZ #16386]
31130         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
31131         numbers with subnormal high part when calculating exponent.
31133         [BZ #16385]
31134         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
31135         fabs.
31137         [BZ #16384]
31138         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
31139         M_LN2l.
31140         (__ieee754_acoshl): Use __log1pl not __log1p.
31142 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
31144         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
31145         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
31146         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
31147         (grow_heap, heap_trim, _int_new_arena, get_free_list)
31148         (reused_arena, arena_get2): Convert to GNU style.
31149         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
31150         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
31151         (memalign_check, __malloc_set_state): Likewise.
31152         * malloc/mallocbug.c (main): Likewise.
31153         * malloc/malloc.c (__malloc_assert, malloc_init_state)
31154         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
31155         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
31156         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
31157         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
31158         (__posix_memalign, malloc_info): Likewise.
31159         * malloc/malloc.h: Likewise.
31160         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
31161         (mallochook, memalignhook, reallochook, mabort): Likewise.
31162         * malloc/mcheck.h: Likewise.
31163         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
31164         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
31165         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
31166         * malloc/morecore.c (__default_morecore): Likewise.
31167         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
31168         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
31169         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
31170         (print_and_abort): Likewise.
31171         * malloc/obstack.h: Likewise.
31172         * malloc/set-freeres.c (__libc_freeres): Likewise.
31173         * malloc/tst-mallocstate.c (main): Likewise.
31174         * malloc/tst-mtrace.c (main): Likewise.
31175         * malloc/tst-realloc.c (do_test): Likewise.
31177 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31179         [BZ #16366]
31180         * nscd/netgroupcache.c (do_notfound): New function.
31181         (addgetnetgrentX): Use it.
31183         [BZ # 16365]
31184         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
31185         NSS_STATUS_NOTFOUND.
31187 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
31189         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31192 2014-01-01  Allan McRae  <allan@archlinux.org>
31194         * scripts/update-copyrights: Update configure input file suffix.
31196         * NEWS: Update copyright year.
31197         * catgets/gencat.c: Likewise.
31198         * csu/version.c: Likewise.
31199         * debug/catchsegv.sh: Likewise.
31200         * debug/pcprofiledump.c: Likewise.
31201         * debug/xtrace.sh: Likewise.
31202         * elf/ldconfig.c: Likewise.
31203         * elf/ldd.bash.in: Likewise.
31204         * elf/pldd.c: Likewise.
31205         * elf/sotruss.ksh: Likewise.
31206         * elf/sprof.c: Likewise.
31207         * iconv/iconv_prog.c: Likewise.
31208         * iconv/iconvconfig.c: Likewise.
31209         * locale/programs/locale.c: Likewise.
31210         * locale/programs/localedef.c: Likewise.
31211         * login/programs/pt_chown.c: Likewise.
31212         * malloc/memusage.sh: Likewise.
31213         * malloc/memusagestat.c: Likewise.
31214         * malloc/mtrace.pl: Likewise.
31215         * manual/libc.texinfo: Likewise.
31216         * nscd/nscd.c: Likewise.
31217         * nss/getent.c: Likewise.
31218         * nss/makedb.c: Likewise.
31219         * posix/getconf.c: Likewise.
31220         * scripts/test-installation.pl: Likewise.
31222         * All files with FSF copyright notices: Update copyright dates
31223         using scripts/update-copyrights.
31224         * intl/plural.c: Regenerated.
31225         * locale/programs/charmap-kw.h: Likewise.
31226         * locale/programs/locfile-kw.h: Likewise.
31228 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
31230         * sysdeps/unix/sysv/linux/configure: Regenerated.
31231         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
31232         the linux/fanotify.h header.
31233         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
31234         HAVE_LINUX_FANOTIFY_H is defined.
31236 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31238         * benchtests/cos-inputs: New inputs.
31239         * benchtests/sin-inputs: Likewise.
31241         * benchtests/atan-inputs: New inputs. Fix name of multiple
31242         precision fallback inputs.
31244         * benchtests/atanh-inputs: New inputs.
31245         * benchtests/tanh-inputs: Likewise.
31247         * benchtests/acosh-inputs: New inputs.
31248         * benchtests/asinh-inputs: Likewise.
31250         * benchtests/cosh-inputs: New inputs.
31251         * benchtests/sinh-inputs: Likewise.
31253         * benchtests/acos-inputs: Add more inputs.
31254         * benchtests/asin-inputs: Likewise.
31256 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
31258         [BZ #16375]
31259         * manual/arith.texi: Fix spelling.
31260         * manual/charset.texi: Likewise.
31261         * manual/errno.texi: Likewise.
31262         * manual/filesys.texi: Likewise.
31263         * manual/lang.texi: Likewise.
31264         * manual/llio.texi: Likewise.
31265         * manual/locale.texi: Likewise.
31266         * manual/message.texi: Likewise.
31267         * manual/resource.texi: Likewise.
31268         * manual/search.texi: Likewise.
31269         * manual/setjmp.texi: Likewise.
31270         * manual/stdio.texi: Likewise.
31271         * manual/string.texi: Likewise.
31272         * manual/sysinfo.texi: Likewise.
31273         * manual/time.texi: Likewise.
31275 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
31277         * po/sl.po: New file.
31279 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
31281         * .gitignore: Add core/.gdbinit/.gdb_history.
31283 2013-12-27  Allan McRae  <allan@archlinux.org>
31285         [BZ #16369]
31286         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
31287         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
31289 2013-12-24  Brooks Moses  <bmoses@google.com>
31291         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
31292         all compilers that claim C++98 compliance, not just GCC.
31293         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31294         Likewise.
31296 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31298         * NEWS: Restore accidentally deleted bug-fix entries.
31300 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31301             Ondřej Bílka  <neleai@seznam.cz>
31303         [BZ #15073]
31304         * malloc/malloc.c (_int_free): Perform sanity check only if we
31305         have_lock.
31307 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
31309         [BZ #12986]
31310         * manual/stdio.texi (String Input Conversions): Clarify that character
31311         classes are not supported.
31313 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31317 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
31319         [BZ #16337]
31320         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31321         Calculate results for small negative arguments directly rather
31322         than using reflection formula with special underflow handling.
31324         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
31325         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
31326         sysdeps/unix/bsd/bsd4.4/syscalls.list.
31327         (fchflags): Likewise.
31328         (revoke): Likewise.
31329         (setlogin): Likewise.
31330         (sigaltstack): Likewise.
31331         (wait4): Likewise.
31332         (sigblock): Remove.
31333         (sigsetmask): Likewise.
31334         (wait3): Likewise.
31335         (waitpid): Likewise.
31336         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
31337         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
31338         file.
31339         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
31340         * sysdeps/unix/bsd/Makefile: ... here.
31341         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
31342         * sysdeps/unix/bsd/Versions: ... here.
31343         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
31344         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
31345         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
31346         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
31347         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
31348         * sysdeps/unix/bsd/sigblock.c: ... here.
31349         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
31350         * sysdeps/unix/bsd/sigsetmask.c: ... here.
31351         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
31352         * sysdeps/unix/bsd/sigvec.c: ... here.
31353         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
31354         * sysdeps/unix/bsd/tcdrain.c: ... here.
31355         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
31356         * sysdeps/unix/bsd/tcgetattr.c: ... here.
31357         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
31358         * sysdeps/unix/bsd/tcsetattr.c: ... here.
31359         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
31360         * sysdeps/unix/bsd/wait.c: ... here.
31361         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
31362         * sysdeps/unix/bsd/wait3.c: ... here.
31363         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
31364         * sysdeps/unix/bsd/waitpid.c: ... here.
31366 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
31368         [BZ #16356]
31369         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
31370         round-to-nearest for [!USE_AS_EXPM1L].
31371         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
31372         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
31373         more tests of exp and exp10.  Expect some exp10 tests to miss
31374         exceptions or fail in directed rounding modes.
31375         * math/auto-libm-test-out: Regenerated.
31376         * math/libm-test.inc (exp10_tonearest_test_data): New array.
31377         (exp10_test_tonearest): New function.
31378         (exp10_towardzero_test_data): New array.
31379         (exp10_test_towardzero): New function.
31380         (exp10_downward_test_data): New array.
31381         (exp10_test_downward): New function.
31382         (exp10_upward_test_data): New array.
31383         (exp10_test_upward): New function.
31384         (main): Call the new functions.
31385         * sysdeps/i386/fpu/libm-test-ulps: Update.
31386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31388 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
31390         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31391         asinh, atan, atan2, atanh, cbrt, cos and cosh.
31392         * math/auto-libm-test-out: Regenerated.
31393         * math/libm-test.inc (acosh_test_data): Add more tests.
31394         (atanh_test_data): Likewise.
31395         (ceil_test_data): Likewise.
31396         (copysign_test_data): Likewise.
31397         * sysdeps/i386/fpu/libm-test-ulps: Update.
31398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31400         * timezone/checktab.awk: Update from tzcode 2013i.
31401         * timezone/private.h: Likewise.
31402         * timezone/scheck.c: Likewise.
31403         * timezone/tzfile.h: Likewise.
31404         * timezone/tzselect.ksh: Likewise.
31405         * timezone/zdump.c: Likewise.
31406         * timezone/zic.c: Likewise.
31408         * math/auto-libm-test-in: Add tests of cpow.
31409         * math/auto-libm-test-out: Regenerated.
31410         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
31411         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31412         mpc_cc_c.
31413         (func_calc_desc): Add mpc_cc_c union field.
31414         (test_functions): Add cpow.
31415         (special_fill_2pi): New function.
31416         (special_real_inputs): Add 2pi.
31417         (calc_generic_results): Handle mpc_cc_c.
31418         * sysdeps/i386/fpu/libm-test-ulps: Update.
31419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31421         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
31422         csqrt, ctan and ctanh.
31423         * math/auto-libm-test-out: Regenerated.
31424         * math/libm-test.inc (TEST_COND_x86_64): New macro.
31425         (TEST_COND_x86): Likewise.
31426         (ccos_test_data): Use AUTO_TESTS_c_c.
31427         (ccosh_test_data): Likewise.
31428         (cexp_test_data): Likewise.
31429         (clog_test_data): Likewise.
31430         (csqrt_test_data): Likewise.
31431         (ctan_test_data): Likewise.
31432         (ctan_tonearest_test_data): Likewise.
31433         (ctan_towardzero_test_data): Likewise.
31434         (ctan_downward_test_data): Likewise.
31435         (ctan_upward_test_data): Likewise.
31436         (ctanh_test_data): Likewise.
31437         (ctanh_tonearest_test_data): Likewise.
31438         (ctanh_towardzero_test_data): Likewise.
31439         (ctanh_downward_test_data): Likewise.
31440         (ctanh_upward_test_data): Likewise.
31441         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31442         mpc_c_c.
31443         (func_calc_desc): Add mpc_c_c union field.
31444         (FUNC_mpc_c_c): New macro.
31445         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
31446         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
31447         ctanh.
31448         (special_fill_min_subnorm_p120): New function.
31449         (special_real_inputs): Add min_subnorm_p120.
31450         (calc_generic_results): Handle mpc_c_c.
31451         * sysdeps/i386/fpu/libm-test-ulps: Update.
31452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31454 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31456         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
31457         (do_sin_slow): New functions.
31458         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
31459         (cslow2, csloww1, csloww2): Use the new functions.
31461         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
31462         Use M to change sign of result instead of X.  Assume X is
31463         positive.
31464         (csloww1): Likewise.
31465         (__sin): Adjust.
31466         (__cos): Adjust.
31468         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
31469         arguments A and DA.
31470         (__sin): Adjust.
31471         (__cos): Likewise.
31473         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
31474         (__cos): Likewise.
31475         (sloww1): Don't adjust sign of DX.
31476         (csloww1): Likewise.
31477         (sloww2): Use X directly and don't adjust sign of DX.
31478         (csloww2): Likewise.
31480 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31482         * math/auto-libm-test-in: Add tests of cabs and carg.
31483         * math/auto-libm-test-out: Regenerated.
31484         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
31485         (carg_test_data): Likewise.
31486         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31487         mpc_c_f.
31488         (func_calc_desc): Add mpc_c_f union field.
31489         (test_functions): Add cabs and carg.
31490         (calc_generic_results): Handle mpc_c_f.
31492         * sysdeps/powerpc/powerpc32/libgcc-compat.S
31493         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
31494         as a macro and a compat symbol.
31495         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31496         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31497         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31498         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31499         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
31500         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
31501         not use .hidden.
31502         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
31503         Likewise.
31504         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
31505         Likewise.
31506         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
31507         Likewise.
31508         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
31509         Likewise.
31510         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
31511         Likewise.
31512         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
31513         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
31514         from GLIBC_2.3.2.
31516 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31520 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31522         * manual/texinfo.tex: Update to version 2013-11-26.10 with
31523         trailing whitespace removed.
31524         * scripts/config.guess: Update to version 2013-11-29.
31525         * scripts/config.sub: Update to version 2013-10-01.
31527         * math/auto-libm-test-in: Add tests of sincos.
31528         * math/auto-libm-test-out: Regenerated.
31529         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
31530         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31531         mpfr_f_11.
31532         (func_calc_desc): Add mpfr_f_11 union field.
31533         (test_functions): Add sincos.
31534         (calc_generic_results): Handle mpfr_f_11.
31535         * sysdeps/i386/fpu/libm-test-ulps: Update.
31536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31538 2013-12-19  Andreas Schwab  <schwab@suse.de>
31540         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
31541         CALL_MCOUNT.
31542         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31543         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
31544         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
31546 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31548         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
31549         * sysdeps/i386/fpu/libm-test-ulps: Update.
31550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31552         [BZ #16293]
31553         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
31554         round-to-nearest mode when using frndint.
31555         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
31556         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31557         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31558         Likewise.
31559         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
31560         sinh test to fail.
31561         * math/auto-libm-test-out: Regenerated.
31562         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
31563         (TEST_COND_x86): Likewise.
31564         (expm1_tonearest_test_data): New array.
31565         (expm1_test_tonearest): New function.
31566         (expm1_towardzero_test_data): New array.
31567         (expm1_test_towardzero): New function.
31568         (expm1_downward_test_data): New array.
31569         (expm1_test_downward): New function.
31570         (expm1_upward_test_data): New array.
31571         (expm1_test_upward): New function.
31572         (main): Run the new test functions.
31573         * sysdeps/i386/fpu/libm-test-ulps: Update.
31574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31576         * include/features.h: Update comment documenting feature test
31577         macros.  Mention _DEFAULT_SOURCE in comment.
31578         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
31579         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
31580         _BSD_SOURCE and _SVID_SOURCE.
31581         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
31582         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
31583         !_SVID_SOURCE]: Likewise.
31584         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31585         (__USE_POSIX_IMPLICITLY): Define.
31586         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31587         (_POSIX_SOURCE): Undefine and redefine.
31588         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31589         (_POSIX_C_SOURCE): Likewise.
31590         * manual/creature.texi (_DEFAULT_SOURCE): Document.
31591         (Feature Test Macros): Update documentation of default features.
31593 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31595         * benchtests/Makefile: Add bench-strtok.
31596         * benchtests/bench-strtok.c: New file: strtok benchtest.
31598 2013-12-19  Allan McRae  <allan@archlinux.org>
31600         * manual/install.texi: Suppress menu for plain text output.
31601         * INSTALL: Regenerated.
31603 2013-12-18  Brooks Moses  <bmoses@google.com>
31605         [BZ #15846]
31606         * misc/getauxval.c: Include errno.h.
31607         (__getauxval): Set errno to ENOENT if the requested type is not
31608         found.
31609         * misc/sys/auxv.h (getauxval): Document that it may set errno;
31610         don't declare with __attribute_const__.
31611         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
31612         * manual/startup.texi: Document that getauxval sets errno.
31614 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31616         * math/auto-libm-test-in: Add tests of jn and yn.
31617         * math/auto-libm-test-out: Regenerated.
31618         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
31619         (yn_test_data): Likewise.
31620         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31621         mpfr_if_f.
31622         (func_calc_desc): Add mpfr_if_f union field.
31623         (FUNC_mpfr_if_f): New macro.
31624         (test_functions): Add jn and yn.
31625         (calc_generic_results): Assert type of second input for
31626         mpfr_ff_f.  Handle mpfr_if_f.
31627         (output_for_one_input_case): Disable all checking for arguments
31628         fitting floating-point types in case of an integer argument.
31629         * sysdeps/i386/fpu/libm-test-ulps: Update.
31630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31633         Don't expect fegetround reference in libm.so.
31635 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31637         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
31638         $(config-cflags-nofma).
31640 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31642         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
31643         * math/auto-libm-test-out: Regenerated.
31645         [BZ #16338]
31646         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
31647         to determine exponent and adjust argument to have exponent of -1.
31648         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
31649         log2.
31650         * math/auto-libm-test-out: Regenerated.
31651         * sysdeps/i386/fpu/libm-test-ulps: Update.
31652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31654 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
31656         * manual/probes.texi: Remove cases when per-thread arenas are
31657         disabled.
31659 2013-12-18  Andreas Schwab  <schwab@suse.de>
31661         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
31662         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
31663         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
31664         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
31665         * sysdeps/i386/i686/multiarch/Makefile: Update.
31666         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
31668 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31670         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
31671         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
31673 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
31675         [BZ #15968]
31676         Support TZ transition times < 00:00:00.
31677         This is needed for version-3 tz-format files; it supports time
31678         stamps past 2037 for America/Godthab (the only entry in the tz
31679         database for which this change is relevant).
31680         * manual/time.texi (TZ Variable): Document transition times
31681         from -167:59:59 through -00:00:01.
31682         * time/tzset.c (tz_rule): Time of day is now signed.
31683         (__tzset_parse_tz): Parse negative time of day.
31685         Document TZ transition times >= 25:00:00.
31686         * manual/time.texi (TZ Variable): Document transition times from
31687         25:00:00 through 167:59:59.  These are already supported, and this
31688         support will help with version-3 tz-format files.
31690         * manual/time.texi (TZ Variable): Modernize North America example
31691         to reflect current (i.e., 2007-and-later) daylight saving rules.
31693         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
31695 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31697         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
31698         * sysdeps/unix/bsd/bits/stat.h: Likewise.
31699         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
31700         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31701         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
31702         * sysdeps/unix/bsd/bsdstat.h: Likewise.
31703         * sysdeps/unix/bsd/clock.c: Likewise.
31704         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
31705         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
31706         * sysdeps/unix/bsd/init-posix.c: Likewise.
31707         * sysdeps/unix/bsd/poll.c: Likewise.
31708         * sysdeps/unix/bsd/ptsname.c: Likewise.
31709         * sysdeps/unix/bsd/seekdir.c: Likewise.
31710         * sysdeps/unix/bsd/setegid.c: Likewise.
31711         * sysdeps/unix/bsd/seteuid.c: Likewise.
31712         * sysdeps/unix/bsd/setgid.c: Likewise.
31713         * sysdeps/unix/bsd/setrgid.c: Likewise.
31714         * sysdeps/unix/bsd/setruid.c: Likewise.
31715         * sysdeps/unix/bsd/setsid.c: Likewise.
31716         * sysdeps/unix/bsd/setuid.c: Likewise.
31717         * sysdeps/unix/bsd/sigaction.c: Likewise.
31718         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
31719         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
31720         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
31721         * sysdeps/unix/bsd/telldir.c: Likewise.
31722         * sysdeps/unix/bsd/times.c: Likewise.
31723         * sysdeps/unix/bsd/usleep.c: Likewise.
31725         * misc/Makefile (install-lib): Remove libbsd-compat.a.
31726         ($(objpfx)libbsd-compat.a): Remove rule.
31728         * include/features.h (__FAVOR_BSD): Do not define.
31729         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
31730         features conflicting with POSIX.
31731         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
31732         (_BSD_SOURCE): Remove description of not being a subset of other
31733         feature test macros.
31734         * manual/job.texi (getpgrp): Do not document BSD version.
31735         (getpgid): Do not document by reference to BSD getpgrp.
31736         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
31737         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
31738         * signal/signal.h [__FAVOR_BSD]: Likewise.
31739         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
31740         instead of making contents conditional on [__FAVOR_BSD].
31741         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
31743 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31747 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31749         [BZ #16314]
31750         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
31751         values below 2**-450, not 2**-500.
31752         * math/auto-libm-test-in: Don't allow spurious underflow from
31753         hypot.
31754         * math/auto-libm-test-out: Regenerated.
31756         [BZ #16316]
31757         [BZ #16330]
31758         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
31759         values of ha and hb and sort them after adjusting subnormal
31760         arguments.
31761         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31762         Likewise.
31763         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
31764         values of ea and eb and sort them after adjusting subnormal
31765         arguments.
31766         * math/auto-libm-test-in: Do not expect some hypot tests of
31767         subnormals to fail.  Add more hypot tests.
31768         * math/auto-libm-test-out: Regenerated.
31770 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31772         [BZ #13304]
31773         * sysdeps/sh/s_fma.c: New file.
31774         * sysdeps/sh/s_fmaf.c: New file.
31775         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
31776         version.
31777         * sysdeps/sh/Implies: Add sh/soft-fp.
31779 2013-12-16  Roland McGrath  <roland@hack.frob.com>
31781         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
31782         level of indirection to members `objname', `errstring', `malloced'.
31783         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
31784         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
31785         it as the __longjmp argument (just pass 1 instead).
31786         (_dl_catch_error): Initialize C with argument pointers and address of
31787         volatile local ERRCODE rather than copying values out of C at return.
31789 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
31791         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
31792         * math/auto-libm-test-out: Regenerated.
31793         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
31794         (hypot_test_data): Likewise.
31795         (pow_test_data): Likewise.
31796         (pow_tonearest_test_data): Likewise.
31797         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31798         mpfr_ff_f.
31799         (func_calc_desc): Add mpfr_ff_f union field.
31800         (FUNC_mpfr_ff_f): New macro.
31801         (test_functions): Add atan2, hypot and pow.
31802         (special_fill_min): New function.
31803         (special_fill_minus_min): Likewise.
31804         (special_fill_min_subnorm): Likewise.
31805         (special_fill_minus_min_subnorm): Likewise.
31806         (special_real_inputs): Add min, -min, min_subnorm and
31807         -min_subnorm.
31808         (calc_generic_results): Handle mpfr_ff_f.
31809         * sysdeps/i386/fpu/libm-test-ulps: Update.
31810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31812 2013-12-16  Will Newton  <will.newton@linaro.org>
31814         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
31815         (Aligned Memory Blocks): Add documentation for aligned_alloc
31816         and suggest it as an alternative to posix_memalign.
31817         (Hooks for Malloc): Document __memalign_hook is also called
31818         for aligned_alloc.  (Summary of Malloc): Add summary for
31819         aligned alloc.  Document __memalign_hook is also called
31820         for aligned_alloc.
31822 2013-12-16  Will Newton  <will.newton@linaro.org>
31824         * manual/memory.texi (Malloc Examples): Clarify default
31825         alignment documentation.  Suggest posix_memalign rather
31826         than memalign or valloc.
31827         (Aligned Memory Blocks): Remove suggestion to use memalign
31828         or valloc.  Remove obsolete comment about BSD.
31829         Document memalign errno values and mark the function obsolete.
31830         Document posix_memalign returned error codes.  Mark valloc
31831         as obsolete.  (Hooks for Malloc): __memalign_hook is also
31832         called for posix_memalign and valloc.
31833         (Summary of Malloc): Add posix_memalign to function summary.
31834         __memalign_hook is also called for posix_memalign and valloc.
31836 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31838         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
31839         TAYLOR_SIN.
31840         (__sin): Adjust.
31841         (__cos): Likewise.
31842         (sloww): Use mynumber union.  Expand ternary operator into
31843         if-else statements.
31844         (cslow): use mynumber union.
31846 2013-12-16  Allan McRae  <allan@archlinux.org>
31848         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
31849         * configure: Regenerated.
31851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
31853         [BZ #14120]
31854         * configure.ac: Added --enable-maintainer-mode. Check for
31855         autoconf when enabled.
31856         * configure: Regenerated.
31858         * nscd/nscd.service: New file.
31859         * nscd/nscd.tmpfiles: New file.
31861 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
31863         [BZ #12100]
31864         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
31865         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
31866         * sysdeps/x86_64/multiarch/strstr.c: ... here.
31867         (strstr): Add __strstr_sse2_unaligned ifunc.
31868         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
31869         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
31870         (strcasestr): Remove __strcasestr_sse42 ifunc.
31871         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
31872         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31875 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31877         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
31878         * sysdeps/sh/bits/fenv.h: ... here.
31879         * sysdeps/sh/sh4/fpu/bits: Remove directory.
31881 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31883         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
31885         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
31886         hypotf multiarch implementations.
31887         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
31888         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
31889         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
31890         multiarch hypot for PPC64.
31891         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
31892         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
31893         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
31894         multiarch hypotf for PPC64.
31896         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
31897         modff multiarch implementations.
31898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
31899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
31900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
31901         multiarch modf for PPC64.
31902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
31903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
31904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
31905         multiarch modff for PPC64.
31907         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
31908         and logl multiarch implementations.
31909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
31910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
31911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
31912         multiarch logb for PPC64.
31913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
31914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
31915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
31916         multiarch logb for PPC64.
31917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
31918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
31919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
31920         multiarch logb for PPC64.
31922         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
31923         isinff multiarch implementation.
31924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
31925         file.
31926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
31927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
31928         multiarch isinf for PPC64.
31929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
31930         file.
31931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
31932         multiarch isinff for PPC64.
31934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
31935         finitef multiarch implementation.
31936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
31937         file.
31938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
31939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
31940         multiarch finite for PPC64.
31941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
31942         file.
31943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
31944         multiarch finitef for PPC64.
31946         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
31947         lrint multiarch implementation.
31948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
31949         file.
31950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
31951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
31952         multiarch llrint for PPC64.
31953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
31954         multiarch lrint for PPC64.
31956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
31957         copysignf multiarch implementation.
31958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
31959         file.
31960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
31961         file.
31962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
31963         multiarch copysign for PPC64.
31964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
31965         multiarch copysignf for PPC64.
31967         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
31968         multiarch implementation.
31969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
31970         file.
31971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
31972         file.
31973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
31974         file.
31975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
31976         file.
31977         multiarch llround for PPC64.
31978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
31979         multiarch trunc for PPC64.
31980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
31981         multiarch truncf for PPC64.
31983         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
31984         multiarch implementation.
31985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
31986         file.
31987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
31988         file.
31989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
31990         file.
31991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
31992         file.
31993         multiarch llround for PPC64.
31994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
31995         multiarch round for PPC64.
31996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
31997         multiarch roundf for PPC64.
31999         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
32000         multiarch implementation.
32001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
32002         file.
32003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
32004         file.
32005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
32006         file.
32007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
32008         file.
32009         multiarch llround for PPC64.
32010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
32011         multiarch floor for PPC64.
32012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
32013         multiarch floorf for PPC64.
32015         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
32016         multiarch implementation.
32017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
32018         file.
32019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
32020         file.
32021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
32022         file.
32023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
32024         file.
32025         multiarch llround for PPC64.
32026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
32027         multiarch ceil for PPC64.
32028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
32029         multiarch ceilf for PPC64.
32031         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32032         multiarch implementation.
32033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
32034         file.
32035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
32036         file.
32037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
32038         file.
32039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
32040         multiarch llround for PPC64.
32041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
32042         multiarch lround for PPC64.
32044         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32045         multiarch implementation.
32046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
32047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
32048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
32049         file.
32050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
32051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
32052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
32053         multiarch isnan for PPC64.
32054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
32055         multiarch isnanf for PPC64.
32057         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
32058         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
32059         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
32060         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
32061         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
32062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
32064         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
32065         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32066         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32067         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
32070         multiarch implementations.
32071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32072         (__libc_ifunc_impl_list): Likewise.
32073         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
32074         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
32075         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
32076         multiarch stpcpy for PPC64.
32078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
32079         multiarch implementations.
32080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32081         (__libc_ifunc_impl_list): Likewise.
32082         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
32083         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
32084         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
32085         multiarch strcpy for PPC64.
32087         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
32088         redefine function name.
32089         (_wordcopy_fwd_dest_aligned): Likewise.
32090         (_wordcopy_bwd_aligned): Likewise.
32091         (_wordcopy_bwd_dest_aligned): Likewise.
32092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
32093         multiarch implementations.
32094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32095         (__libc_ifunc_impl_list): Likewise.
32096         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
32097         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
32098         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
32099         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
32100         multiarch wcscpy for PPC64.
32102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
32103         multiarch implementations.
32104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32105         (__libc_ifunc_impl_list): Likewise.
32106         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
32107         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
32108         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
32109         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
32110         multiarch wcscpy for PPC64.
32112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
32113         multiarch implementations.
32114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32115         (__libc_ifunc_impl_list): Likewise.
32116         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
32117         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
32118         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
32119         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
32120         multiarch wcsrchr for PPC64.
32122         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
32123         multiarch implementations.
32124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32125         (__libc_ifunc_impl_list): Likewise.
32126         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
32127         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
32128         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
32129         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
32130         multiarch wcschr for PPC64.
32132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
32133         multiarch implementations.
32134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32135         (__libc_ifunc_impl_list): Likewise.
32136         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
32137         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
32138         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
32139         multiarch strchrnul for PPC64.
32141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
32142         implementations.
32143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32144         (__libc_ifunc_impl_list): Likewise.
32145         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
32146         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
32147         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
32148         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
32149         strchr for PPC64.
32151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
32152         implementations.
32153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32154         (__libc_ifunc_impl_list): Likewise.
32155         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
32156         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
32157         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
32158         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
32159         strncmp for PPC64.
32161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
32162         multiarch implementations.
32163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32164         (__libc_ifunc_impl_list): Likewise.
32165         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
32166         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
32167         strncasecmp for PPC64.
32168         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
32169         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
32170         multiarch strncasecmp_l for PPC64.
32172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
32173         multiarch implementations.
32174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32175         (__libc_ifunc_impl_list): Likewise.
32176         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
32177         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
32178         multiarch strcasecmp for PPC64.
32179         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
32180         file.
32181         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
32182         multiarch strcasecmp_l for PPC64.
32184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
32185         implementations.
32186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32187         (__libc_ifunc_impl_list): Likewise.
32188         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
32189         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
32190         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
32191         strnlen for PPC64.
32193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
32194         implementations.
32195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32196         (__libc_ifunc_impl_list): Likewise.
32197         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
32198         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
32199         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
32200         strlen for PPC64.
32202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
32203         implementations.
32204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32205         (__libc_ifunc_impl_list): Likewise.
32206         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
32207         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
32208         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
32209         rawmemrchr for PPC64.
32211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
32212         implementation.
32213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32214         (__libc_ifunc_impl_list): Likewise.
32215         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
32216         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
32217         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
32218         memrchr for PPC64.
32220         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
32221         implementation.
32222         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32223         (__libc_ifunc_impl_list): Likewise.
32224         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
32225         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
32226         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
32227         memchr for PPC64.
32229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
32230         implementation.
32231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32232         (__libc_ifunc_impl_list): Likewise.
32233         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
32234         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
32235         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
32236         mempcpy for PPC64.
32238         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
32239         avoid cretion of __bzero symbol.
32240         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
32241         Likewise.
32242         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
32243         Likewise.
32244         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
32245         Likewise.
32246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
32247         multiarch implementations.
32248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32249         (__libc_ifunc_impl_list): Likewise.
32250         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
32251         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
32252         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
32253         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
32254         bzero for PPC32.
32255         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
32256         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
32257         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
32258         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
32259         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
32260         memset for PPC64.
32261         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
32263         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
32264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
32265         implementations.
32266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32267         (__libc_ifunc_impl_list): Likewise.
32268         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
32269         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
32270         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
32271         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
32272         memcmp for PPC64.
32274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
32275         multiarch for POWER/PPC64.
32276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32277         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
32278         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
32279         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
32280         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
32281         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
32282         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
32283         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
32284         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
32285         memcpy for PPC64.
32287         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
32288         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
32289         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
32290         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
32291         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
32292         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
32293         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
32294         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
32295         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
32296         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
32297         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
32298         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
32299         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
32300         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
32301         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
32302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
32303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
32304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
32305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
32306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
32307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
32308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
32310 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32312         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
32314 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32316         * benchtests/Makefile (bench): Add exp2 and log2.
32317         (LDLIBS-bench-exp2): Add -lm.
32318         (LDLIBS-bench-log2): Likewise.
32319         * benchtests/exp2-inputs: New inputs file.
32320         * benchtests/log2-inputs: New inputs file.
32321         * benchtests/log-inputs: Add new inputs.
32322         * benchtests/tan-inputs: Likewise.
32324 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32326         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
32327         definition...
32328         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
32329         (csloww2): ... from here.
32331         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
32332         instead of structures.
32333         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
32334         (POLYNOMIAL): Likewise.
32335         (TAYLOR_SLOW): Likewise.
32336         (__sin): Likewise.
32337         (__cos): Likewise.
32338         (slow1): Likewise.
32339         (slow2): Likewise.
32340         (sloww): Likewise.
32341         (sloww1); Likewise.
32342         (sloww2): Likewise.
32343         (bsloww1): Likewise.
32344         (bsloww2): Likewise.
32345         (cslow2): Likewise.
32346         (csloww): Likewise.
32347         (csloww1): Likewise.
32348         (csloww2): Likewise.
32350 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
32352         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
32353         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
32354         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
32355         * malloc/hooks.c (realloc_check): Likewise.
32357         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
32358         * malloc/arena.c: Remove PER_THREAD conditional.
32359         [!PER_THREAD]: Remove code.
32360         (ptmalloc_unlock_all2): Likewise.
32361         (ptmalloc_init): Likewise.
32362         (_int_new_arena): Likewise.
32363         (arena_get2): Likewise.
32364         * malloc/hooks.c (__malloc_get_state): Likewise.
32365         (__malloc_set_state): Likewise.
32366         * malloc/malloc.c: Likewise.
32367         (struct malloc_state): Likewise.
32368         (struct malloc_par): Likewise.
32369         (__libc_realloc): Likewise.
32370         (__libc_mallopt): Likewise.
32372 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32374         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
32376 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
32378         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
32379         macro to a function.  Check for zero perturb_byte.
32380         (_int_malloc, _int_free): Remove zero perturb_byte checks.
32382         * malloc/malloc.c: (force_reg): Remove.
32383         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
32384         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
32385         force_reg by atomic_forced_read.
32386         * malloc/arena.c (ptmalloc_init): Likewise.
32387         * malloc/hooks.c (top_check): Likewise.
32389 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32393 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
32395         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32397 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
32399         * math/auto-libm-test-in: Add tests of lgamma.
32400         * math/auto-libm-test-out: Regenerated.
32401         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
32402         (M_LOG_2_SQRT_PIl): Likewise.
32403         (lgamma_test_data): Use AUTO_TESTS_f_f1.
32404         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32405         mpfr_f_f1.
32406         (func_calc_desc): Add mpfr_f_f1 union field.
32407         (ARGS1): New macro.
32408         (ARGS2): Likewise.
32409         (ARGS3): Likewise.
32410         (ARGS4): Likewise.
32411         (RET1): Likewise.
32412         (RET2): Likewise.
32413         (CALC): Likewise.
32414         (FUNC): Likewise.
32415         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
32416         (test_functions): Add lgamma.
32417         (calc_generic_results): Handle mpfr_f_f1.
32418         * sysdeps/i386/fpu/libm-test-ulps: Update.
32419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32421 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32423         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
32424         __mpn_add_n for PowerPC64/POWER7.
32425         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
32426         __mpn_sub_n for PowerPC64/POWER7.
32428         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
32429         __mpn_addmul_1 for PowerPC64.
32430         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
32431         __mpn_submul_1 for PowerPC64.
32432         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
32433         for PowerPC64.
32434         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
32435         for PowerPC64.
32437 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
32439         [BZ #15089]
32440         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
32442 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32444         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
32446         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
32447         add multiarch folders.
32448         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
32449         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
32450         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
32451         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
32452         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
32453         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
32454         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
32455         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
32456         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
32457         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
32458         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
32459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
32460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
32461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
32462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
32463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
32464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
32466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32467         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
32468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
32469         New file.
32470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
32471         New file.
32472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
32473         multiarch __ieee754_hypot for PowerPC32.
32474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
32475         New file.
32476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
32477         New file.
32478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
32479         multiarch __ieee754_hypotf for PowerPC32.
32481         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
32482         long_double_symbol only if __logbl is defined.
32483         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
32484         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
32485         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
32486         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
32487         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
32488         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
32489         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
32490         path for implementation.
32491         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
32492         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
32493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
32494         logb, and logbl multiarch implementations for PowerPC32.
32495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
32496         file.
32497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
32498         file.
32499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
32500         multiarch logb for PowerPC32.
32501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
32502         file.
32503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
32504         file.
32505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
32506         multiarch logbf for PowerPC32.
32507         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
32508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
32509         file.
32510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
32511         multiarch logbl implementation for PowerPC32.
32513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
32514         and modff multiarch implementations.
32515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
32516         New file.
32517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
32518         New file.
32519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
32520         multiarch modf for PowerPC32.
32521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
32522         New file.
32523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
32524         New file.
32525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
32526         multiarch modff for PowerPC32.
32528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
32529         and lrintf multiarch implementations.
32530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
32531         New file.
32532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
32533         New file.
32534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
32535         multiarch lrint for PowerPC32.
32536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
32537         file: multiarch lrintf for PowerPC32.
32539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
32540         and lroundf multiarch implementations.
32541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
32542         New file.
32543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
32544         New file.
32545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
32546         New file.
32547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
32548         multiarch lround for PowerPC32.
32549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
32550         file: multiarch lroundf for PowerPC32.
32552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32553         copysign and copysignf multiarch implementations.
32554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
32555         New file.
32556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
32557         New file.
32558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
32559         file: multiarch copysign for PowerPC32.
32560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
32561         file: multiarch copysignf for PowerPC32.
32563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
32564         and truncf multiarch implementations.
32565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
32566         New file.
32567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
32568         file.
32569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
32570         multiarch trunc for PowerPC32.
32571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
32572         New file.
32573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
32574         New file.
32575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
32576         multiarch truncf for PowerPC32.
32578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
32579         and roundf multiarch implementations.
32580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
32581         New file.
32582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
32583         file.
32584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
32585         multiarch round for PowerPC32.
32586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
32587         New file.
32588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
32589         New file.
32590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
32591         multiarch roundf for PowerPC32.
32593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
32594         and floorf multiarch implementations.
32595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
32596         New file.
32597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
32598         file.
32599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
32600         multiarch floor for PowerPC32.
32601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
32602         New file.
32603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
32604         New file.
32605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
32606         multiarch floorf for PowerPC32.
32608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
32609         and ceilf multiarch implementations.
32610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
32611         New file.
32612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
32613         file.
32614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
32615         multiarch ceil for PowerPC32.
32616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
32617         New file.
32618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
32619         file.
32620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
32621         multiarch ceilf for PowerPC32.
32623         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
32624         is defined.
32625         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
32626         FINITEF is defined.
32627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
32628         and finitef multiarch implementations.
32629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
32630         New file.
32631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
32632         file.
32633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
32634         multiarch finite for PowerPC32.
32635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
32636         New file.
32637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
32638         file: multiarch finitef for PowerPC32.
32640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
32641         and isinff multiarch implementations.
32642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
32643         file.
32644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
32645         file.
32646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
32647         multiarch isinf for PowerPC32.
32648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
32649         New file.
32650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
32651         multiarch isinff for PowerPC32.
32653         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
32654         alias when __isnan is defined.
32655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
32656         and isnanf multiarch implementations.
32657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
32658         file.
32659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
32660         file.
32661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
32662         file.
32663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
32664         file.
32665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
32666         multiarch isnan for PowerPC32.
32667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
32668         New file.
32669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
32670         New file.
32671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
32672         multiarch isnanf for PowerPC32.
32674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
32675         and sqrtf multiarch implementations.
32676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
32677         file.
32678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
32679         file.
32680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
32681         multiarch sqrt for PowerPC32.
32682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
32683         file.
32684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
32685         file.
32686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
32687         multiarch sqrtf for PowerPC32.
32689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
32690         and llroundf multiarch implementations.
32691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
32692         New file.
32693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
32694         New file.
32695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
32696         New file.
32697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
32698         file: multiarch llround for PowerPC32.
32699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
32700         file: multiarch llroundf for PowerPC32.
32702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
32703         multiarch PowerPC32 fpu implementations.
32704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
32705         New file.
32706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
32707         New file.
32708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
32709         multiarch llrint for PowerPC32.
32710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
32711         New file.
32712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
32713         New file.
32714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
32715         file.
32717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
32719         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
32720         file.
32721         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
32722         file.
32723         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
32724         file.
32725         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
32726         multiarch wordcopy for PPC32.
32727         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32728         wordcopy objects.
32729         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32730         (__libc_ifunc_impl_list): Likewise.
32731         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
32732         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
32733         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
32734         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
32735         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
32736         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
32738         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
32739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
32740         file.
32741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
32742         file.
32743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
32744         file.
32745         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
32746         multiarch wcscpy for PPC32.
32747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32748         multiarch objects.
32749         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32750         (__libc_ifunc_impl_list): Likewise.
32751         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32752         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32753         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
32754         sysdeps/powerpc/power6/wcscpy.c.
32756         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
32757         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
32758         file.
32759         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
32760         file.
32761         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
32762         file.
32763         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
32764         multiarch wcsrchr for PPC32.
32765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32766         multiarch objects.
32767         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32768         (__libc_ifunc_impl_list): Likewise.
32769         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32770         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32771         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
32772         sysdeps/powerpc/power6/wcsrchr.c.
32774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
32775         file.
32776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
32777         file.
32778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
32779         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
32780         multiarch wcschr for PPc32.
32781         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32782         multiarch objects.
32783         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32784         (__libc_ifunc_impl_list): Likewise.
32785         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
32786         * sysdeps/powerpc/power6/wcschr.c: ... to here.
32787         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
32788         sysdeps/powerpc/power6/wcschr.c.
32790         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
32791         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
32792         file.
32793         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
32794         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
32795         file: multiarch strchr for PPC32.
32796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
32797         multiarch objects.
32798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32799         (__libc_ifunc_impl_list): Likewise.
32801         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
32802         name.
32803         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
32804         file.
32805         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
32806         file.
32807         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
32808         multiarch strchrnul for PPC32.
32809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
32810         multiarch objects.
32811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32812         (__libc_ifunc_impl_list): Likewise.
32814         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
32815         file.
32816         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
32817         multiarch strncasecmp for PPC32.
32818         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
32819         file.
32820         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
32821         multiarch strncasecmp_l for PPC32.
32822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
32823         strncasecmp multiarch objects.
32824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32825         (__libc_ifunc_impl_list): Likewise.
32827         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
32828         file.
32829         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
32830         multiarch strncasecmp for PPC32.
32831         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32832         New file.
32833         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
32834         multiarch strcasecmp_l for PPC32.
32835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
32836         multiarch objects.
32837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32838         (__libc_ifunc_impl_list): Likewise.
32840         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
32841         file.
32842         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
32843         file.
32844         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
32845         multiarch strncmp for PPC32.
32846         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
32847         multiarch objects.
32848         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32849         (__libc_ifunc_impl_list): Likewise.
32851         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
32852         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
32853         file.
32854         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
32855         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
32856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
32857         multiarch objects.
32858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32859         (__libc_ifunc_impl_list): Likewise.
32861         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
32862         file.
32863         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
32864         file.
32865         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
32866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
32867         multiarch objects.
32868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32869         (__libc_ifunc_impl_list): Likewise.
32871         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
32872         file.
32873         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
32874         file.
32875         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
32876         multiarch rawmemchr for PPC32.
32877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
32878         multiarch objects.
32879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32880         (__libc_ifunc_impl_list): Likewise.
32882         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
32883         file.
32884         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
32885         file.
32886         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
32887         file: memrchr multiarch for PPC32.
32888         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
32889         multiarch objects.
32890         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32891         (__libc_ifunc_impl_list): Likewise.
32893         * string/memchr.c (__memchr): Using macro to redefine symbol name.
32894         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
32895         file.
32896         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
32897         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
32898         multiarch memchr for PPC32.
32899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
32900         multiarch objects.
32901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32902         (__libc_ifunc_impl_list): Likewise.
32904         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
32905         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
32906         file.
32907         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
32908         file.
32909         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
32910         file: multiarch mempcpy for PPC32.
32911         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
32912         multiarch objects.
32913         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32914         (__libc_ifunc_impl_list): Likewise.
32916         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
32917         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
32918         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
32919         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
32920         multiarch bzero for PPC32.
32921         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
32922         file.
32923         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
32924         file.
32925         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
32926         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
32927         file: multiarch memset for PPC32.
32928         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
32929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
32930         memset multiarch objects.
32931         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32932         (__libc_ifunc_impl_list): Likewise.
32934         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
32935         file.
32936         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
32937         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
32938         memcmp for PPC32.
32939         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
32940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
32941         multiarch objects.
32942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32943         (__libc_ifunc_impl_list): Likewise.
32945         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
32946         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
32947         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
32948         file.
32949         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
32950         file.
32951         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
32952         file.
32953         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
32954         multiarch memcpy for PPC32.
32955         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
32956         multiarch objects.
32957         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32958         (__libc_ifunc_impl_list): Likewise.
32960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
32961         support multiarch for POWER/PPC32.
32962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
32963         Likewise.
32964         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
32966         Implies file to make multiarch folder appers before the fpu and
32967         default folder for power4 configuration.
32969 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32971         * scripts/bench.pl: Append volatile keyword to type.
32973 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32975         * sysdeps/sh/sotruss-lib.c: New file.
32976         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
32978 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32982 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
32984         [BZ #6810]
32985         * math/w_tgamma.c: Include <errno.h>.
32986         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
32987         * math/w_tgammaf.c: Include <errno.h>.
32988         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
32989         * math/w_tgammal.c: Include <errno.h>.
32990         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
32991         * math/auto-libm-test-in: Do not allow missing errno on tgamma
32992         underflow.  Add more tgamma tests.
32993         * math/auto-libm-test-out: Regenerated.
32994         * sysdeps/i386/fpu/libm-test-ulps: Update.
32995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32997         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
32998         sin, sinh, tan, tanh, tgamma, y0 and y1.
32999         * math/auto-libm-test-out: Regenerated.
33000         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33001         (TEST_COND_x86): Likewise.
33002         (M_E2l): Remove macro.
33003         (M_E3l): Likewise.
33004         (M_2_SQRT_PIl): Likewise.
33005         (M_SQRT_PIl): Likewise.
33006         (M_1_DIV_El): Likewise.
33007         (log_test_data): Use AUTO_TESTS_f_f.
33008         (log10_test_data): Likewise.
33009         (log1p_test_data): Likewise.
33010         (log2_test_data): Likewise.
33011         (sin_test_data): Likewise.
33012         (sin_tonearest_test_data): Likewise.
33013         (sin_towardzero_test_data): Likewise.
33014         (sin_downward_test_data): Likewise.
33015         (sin_upward_test_data): Likewise.
33016         (sinh_test_data): Likewise.
33017         (sinh_tonearest_test_data): Likewise.
33018         (sinh_towardzero_test_data): Likewise.
33019         (sinh_downward_test_data): Likewise.
33020         (sinh_upward_test_data): Likewise.
33021         (tan_test_data): Likewise.
33022         (tan_tonearest_test_data): Likewise.
33023         (tan_towardzero_test_data): Likewise.
33024         (tan_downward_test_data): Likewise.
33025         (tan_upward_test_data): Likewise.
33026         (tanh_test_data): Likewise.
33027         (tgamma_test_data): Likewise.
33028         (y0_test_data): Likewise.
33029         (y1_test_data): Likewise.
33030         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
33031         (special_real_inputs): Add pi/4.
33032         * sysdeps/i386/fpu/libm-test-ulps: Update.
33033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33035 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33037         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
33038         "longjmp_target" static probes.
33039         (__longjmp): Rename to __longjmp_symbol.
33040         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33041         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
33042         on which longjmp to generate.
33043         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33044         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
33045         probe.
33046         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33047         (__sigjmp_save): Rename to __sigjmp_save_symbol.
33048         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33049         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
33050         and __sigjmp_save_symbol based on which sigsetjmp to generated.
33051         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
33052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
33053         __longjmp_symbol based on which __longjmp to generate.
33054         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
33055         probe.
33056         (setjmp): Rename to setjmp_symbol.
33057         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33058         (_setjmp): Rename to _setjmp_symbol.
33059         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33060         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
33061         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
33062         which setjmp to generate.
33063         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
33064         "longjmp_target" static probes.
33066 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33068         * benchtests/README: Add note about output arguments.
33069         * benchtests/bench-sincos.c: Remove file.
33070         * benchtests/sincos-inputs: New file.
33071         * scripts/bench.pl: Identify output arguments and define
33072         static variables for them.
33074         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
33076         [BZ #15941]
33077         * Makefile (INSTALL): Add install-plain.texi as the primary
33078         dependency.
33079         * manual/install-plain.texi: New file.
33080         * manual/install.texi: Include node directive only for
33081         non-plaintext output.
33083 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
33085         * stdlib/longlong.h: Update from GCC.
33087         [BZ #6807]
33088         [BZ #15901]
33089         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
33090         * math/w_j0f.c (y0f): Likewise.
33091         * math/w_j0l.c (__y0l): Likewise.
33092         * math/w_j1.c (y1): Likewise.
33093         * math/w_j1f.c (y1f): Likewise.
33094         * math/w_j1l.c (__y1l): Likewise
33095         * math/w_jn.c (yn): Likewise.
33096         * math/w_jnf.c (ynf): Likewise.
33097         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
33098         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
33099         value for Bessel function domain errors outside _SVID_ mode.
33100         Adjust sign of return value for yn (negative integer, 0).
33101         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
33102         by zero in return for negative x and set sign appropriately for
33103         negative n.
33104         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
33105         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33106         * math/libm-test.inc (y0_test_data): Add more tests and adjust
33107         expectations in error cases.
33108         (y1_test_data): Likewise.
33109         (yn_test_data): Likewise.
33110         * sysdeps/i386/fpu/libm-test-ulps: Update.
33111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33113 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33115         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
33116         "64" to "64-v1".  Add "64-v2".
33117         (abi-64-options): Rename to ...
33118         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
33119         (abi-64-condition): Rename to ...
33120         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
33121         (abi-64-ld-soname): Rename to ...
33122         (abi-64-v1-ld-soname): ... this.
33123         (abi-64-v2-options): Define.
33124         (abi-64-v2-condition): Likewise.
33125         (abi-64-v2-ld-soname): Likewise.
33126         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
33127         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
33128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
33129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
33130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
33132 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33133             Alan Modra  <amodra@gmail.com>
33135         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
33136         New versions for use with the ELFv2 ABI.
33137         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
33138         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
33139         declaration.
33140         (struct La_ppc64v2_retval): Likewise.
33141         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
33142         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
33143         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
33144         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
33145         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
33146         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33147         Do not save or restore CR.
33148         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
33149         (_dl_profile_resolve): Do no save or restore CR.  Support extended
33150         return values for ELFv2 ABI.  Fix location of FPR return registers.
33151         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
33152         updated values for _CALL_ELF == 2.
33153         (La_regs, La_retval, int_retval): Likewise.
33155 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33157         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
33158         (FRAME_MIN_SIZE_PARM): Likewise.
33159         (FRAME_BACKCHAIN): Likewise.
33160         (FRAME_CR_SAVE): Likewise.
33161         (FRAME_LR_SAVE): Likewise.
33162         (FRAME_TOC_SAVE): Likewise.
33163         (FRAME_PARM_SAVE): Likewise.
33164         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
33165         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
33166         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33167         (call_mcount_parm_offset): New macro.
33168         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
33169         (PROF): Use symbolic stack frame offsets.
33170         (TAIL_CALL_SYSCALL_ERROR): Likewise.
33171         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
33172         Redefine in terms of FRAME_MIN_SIZE.
33173         (_dl_runtime_resolve): Use symbolic stack frame offsets.
33174         (_dl_profile_resolve): Likewise.  Update comment.
33175         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
33176         symbols stack frame offsets.
33177         (__sigsetjmp): Likewise.
33178         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
33179         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
33180         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
33181         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
33183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
33184         (FRAME_BACKCHAIN): Remove.
33185         (FRAME_CR_SAVE): Likewise.
33186         (FRAME_LR_SAVE): Likewise.
33187         (FRAME_COMPILER_DW): Likewise.
33188         (FRAME_LINKER_DW): Likewise.
33189         (FRAME_TOC_SAVE): Likewise.
33190         (FRAME_PARM_SAVE): Likewise.
33191         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
33192         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
33193         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
33195         (CHECK_SP): Use symbolic stack frame offsets.
33196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
33197         zone" instead of caller's parameter save area for temp storage.
33198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33199         Likewise.  Also, use symbolic stack frame offsets.
33200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
33201         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
33202         our own stack frame instead of the caller's.
33203         (__socket): Use symbolic stack frame offsets.
33205 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33206             Alan Modra  <amodra@gmail.com>
33208         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
33209         Define.
33210         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
33211         (PPC64_LOCAL_ENTRY_OFFSET): Define.
33212         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
33213         New function.
33214         (elf_machine_fixup_plt): Call it.
33215         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
33216         reloc arguments.
33217         (elf_machine_rela): Update call to elf_machine_plt_conflict.
33218         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33219         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
33220         r2 before calling target.
33222 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33223             Alan Modra  <amodra@gmail.com>
33225         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
33226         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
33227         versions of macros to support ELFv2 ABI.
33228         (LOCALENTRY): New macro.
33229         (ENTRY, EALIGN): Use it.
33230         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
33231         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
33232         fall through into ENTRY entry point.
33233         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
33234         Only define if _CALL_ELF != 2.
33236         (elf_machine_matches_host): Verify ABI version matches.
33237         (RTLD_START): Use LOCALENTRY.
33238         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
33239         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
33240         (PLT_ENTRY_WORDS): New macro.
33241         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
33242         (elf_machine_runtime_setup): Support ELFv2 ABI.
33243         (elf_machine_fixup_plt): Likewise.
33244         (elf_machine_plt_conflict): Likewise.
33245         (resolve_ifunc): Likewise.
33246         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33247         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
33248         Likewise.
33249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
33250         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
33251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33252         (makecontext): Support ELFv2 ABI.
33253         * elf/elf.h (EF_PPC64_ABI): Define.
33255 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33257         * sysdeps/powerpc/powerpc64/sysdep.h
33258         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
33259         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
33260         (ENTRY) [ASSEMBLER]: ... but instead here ...
33261         (EALIGN) [ASSEMBLER]: ... and here.
33262         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
33263         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
33264         (ENTRY_2) [!ASSEMBLER]: Use it.
33265         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
33266         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
33267         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33268         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
33269         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
33270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
33271         Use PPC64_LOAD_FUNCPTR.
33273         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
33275 2013-12-04  Alan Modra  <amodra@gmail.com>
33277         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
33278         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
33279         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
33280         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
33282         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
33283         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
33284         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
33285         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
33286         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
33287         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
33289 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33292         (__makecontext): Fix incorrect CFI when backtracing out of
33293         context created via makecontext.
33294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
33295         (__setcontext): Fix incorrect CFI during switch to new context.
33296         (__novec_setcontext): Likewise.
33298 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33300         [BZ #4772]
33301         * time/strptime_l.c (__strptime_internal): Allow modifiers
33302         in strptime.
33303         * time/tst-strptime.c (day_tests): Add testcase.
33305 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33307         * scripts/bench.pl: Skip over blank lines.
33309 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
33311         [BZ #926]
33312         * manual/time.texi (Calendar Time): Clarify what timezone functions
33313         use.
33315 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33319 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33321         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
33322         implementation.
33323         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
33324         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
33325         * debug/memset_chk.c (__memset_chk): Likewise.
33326         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
33327         * debug/strncpy_chk.c: Likewise.
33329 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33331         [BZ #15268]
33332         [BZ #15425]
33333         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
33334         (__ieee754_exp): For possibly underflowing results, check size of
33335         result and force underflow exception if required.
33336         * math/auto-libm-test-in: Add more tests of exp.
33337         * math/auto-libm-test-out: Regenerated.
33338         * sysdeps/i386/fpu/libm-test-ulps: Update.
33339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33341         [BZ #16283]
33342         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
33343         * math/w_exp2f.c (__exp2f): Likewise.
33344         * math/w_exp2l.c (__exp2l): Likewise.
33345         * math/auto-libm-test-in: Do not allow missing errno on exp2
33346         underflow.
33347         * math/auto-libm-test-out: Regenerated.
33349 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
33351         [BZ #16274]
33352         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
33353         handle filename validation.
33354         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
33355         (do_open): Delete.
33357 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33359         [BZ #6786]
33360         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
33361         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
33362         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
33363         <float.h>.
33364         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
33365         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
33366         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33367         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
33368         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33369         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
33370         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33371         * math/auto-libm-test-in: Don't allow missing errno from erfc.
33372         Add more erfc tests.
33373         * math/auto-libm-test-out: Regenerated.
33374         * sysdeps/i386/fpu/libm-test-ulps: Update.
33375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33377         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
33378         exp2, expm1, j0 and j1.
33379         * math/auto-libm-test-out: Regenerated.
33380         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
33381         (erfc_test_data): Likewise.
33382         (exp_test_data): Likewise.
33383         (exp_tonearest_test_data): Likewise.
33384         (exp_towardzero_test_data): Likewise.
33385         (exp_downward_test_data): Likewise.
33386         (exp_upward_test_data): Likewise.
33387         (exp10_test_data): Likewise.
33388         (exp2_test_data): Likewise.
33389         (expm1_test_data): Likewise.
33390         (j0_test_data): Likewise.
33391         (j1_test_data): Likewise.
33392         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
33393         (input_flag_type): Add flag_xfail_rounding.
33394         (input_flags): Add xfail-rounding.
33395         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
33396         (output_for_one_input_case): Handle flag_xfail_rounding.
33397         * sysdeps/i386/fpu/libm-test-ulps: Update.
33398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33400 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
33402         [BZ #16289]
33403         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
33404         division by 0.
33406 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33408         [BZ #16195]
33409         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
33410         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
33411         (STAP_PROBE0): New macro.
33412         (STAP_PROBE1): Likewise.
33413         (STAP_PROBE2): Likewise.
33414         (STAP_PROBE3): Likewise.
33415         (STAP_PROBE4): Likewise.
33417 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
33419         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
33421 2013-12-02  Steve Ellcey  <sellcey@mips.com>
33423         * benchtests/Makefile (bench): Add sqrt.
33424         (LDLIBS-bench-sqrt): New.
33425         * benchtests/sqrt-input: New.
33427 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
33429         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
33430         (GAIH_EAI): Likewise.
33431         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
33432         (gaih_inet): Likewise.
33433         (getaddrinfo): Don't use GAIH_EAI.
33435         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
33436         (struct gaih): Remove definition.
33438 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33440         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
33441         Use HERRNOP directly.
33443 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33447 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
33449         * math/gen-auto-libm-tests.c (test_functions): Add more
33450         single-argument functions.
33451         (special_fill_pi_2): New function.
33452         (special_fill_minus_pi_2): Likewise.
33453         (special_fill_pi_6): Likewise.
33454         (special_fill_minus_pi_6): Likewise.
33455         (special_fill_pi_3): Likewise.
33456         (special_fill_2pi_3): Likewise.
33457         (special_fill_e): Likewise.
33458         (special_fill_1_e): Likewise.
33459         (special_fill_e_minus_1): Likewise.
33460         (special_real_inputs): Add more special inputs.
33461         (output_for_one_input_case): Do not require ERANGE on underflow to
33462         zero if round-to-nearest result does not underflow to zero, unless
33463         exact results required.
33464         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
33465         atan, atanh, cbrt, cos and cosh.
33466         * math/auto-libm-test-out: Regenerated.
33467         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
33468         (acos_tonearest_test_data): Likewise.
33469         (acos_towardzero_test_data): Likewise.
33470         (acos_downward_test_data): Likewise.
33471         (acos_upward_test_data): Likewise.
33472         (acosh_test_data): Likewise.
33473         (asin_test_data): Likewise.
33474         (asin_tonearest_test_data): Likewise.
33475         (asin_towardzero_test_data): Likewise.
33476         (asin_upward_test_data): Likewise.
33477         (asinh_test_data): Likewise.
33478         (atan_test_data): Likewise.
33479         (atanh_test_data): Likewise.
33480         (cbrt_test_data): Likewise.
33481         (cos_test_data): Likewise.
33482         (cos_tonearest_test_data): Likewise.
33483         (cos_towardzero_test_data): Likewise.
33484         (cos_downward_test_data): Likewise.
33485         (cos_upward_test_data): Likewise.
33486         (cosh_test_data): Likewise.
33487         (cosh_tonearest_test_data): Likewise.
33488         (cosh_towardzero_test_data): Likewise.
33489         (cosh_downward_test_data): Likewise.
33490         (cosh_upward_test_data): Likewise.
33491         * sysdeps/i386/fpu/libm-test-ulps: Update.
33492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33494 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
33496         [BZ #6787]
33497         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
33498         * math/w_exp10f.c (__exp10f): Likewise.
33499         * math/w_exp10l.c (__exp10l): Likewise.
33500         * math/libm-test.inc (exp10_test_data): Add more tests and expect
33501         errno settings in existing tests.
33503         [BZ #14032]
33504         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
33505         precision control set to double precision.
33506         * sysdeps/i386/fpu/w_sqrt.c: New file.
33507         * math/auto-libm-test-in: Add more tests.
33508         * math/auto-libm-test-out: Update.
33510         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
33511         (sqrt_test_tonearest): New function.
33512         (sqrt_towardzero_test_data): New variable.
33513         (sqrt_test_towardzero): New function.
33514         (sqrt_downward_test_data): New variable.
33515         (sqrt_test_downward): New function.
33516         (sqrt_upward_test_data): New variable.
33517         (sqrt_test_upward): New function.
33518         (main): Call the new functions.
33520         * math/gen-auto-libm-tests.c: New file.
33521         * math/auto-libm-test-in: Likewise.
33522         * math/auto-libm-test-out: New generated file.
33523         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
33524         variables.
33525         (%beautify): Add generated representations of zero.
33526         (top level): Set $auto_input and call parse_auto_input.
33527         (beautify): Remove trailing "f" from hex float constants.
33528         (parse_args): Handle XFAIL_TEST.
33529         (convert_condition): New function.
33530         (or_value): Likewise.
33531         (or_cond_value): Likewise.
33532         (generate_testfile): Handle AUTO_TESTS_* lines.
33533         (parse_auto_input): New function.
33534         * math/libm-test.inc (XFAIL_TEST): New macro.
33535         (ERRNO_UNCHANGED): Update value.
33536         (ERRNO_EDOM): Likewise.
33537         (ERRNO_ERANGE): Likewise.
33538         (IGNORE_RESULT): Likewise.
33539         (TEST_COND_flt_32): New macro.
33540         (TEST_COND_dbl_64): Likewise.
33541         (TEST_COND_ldbl_96_intel): Likewise.
33542         (TEST_COND_ldbl_96_m68k): Likewise.
33543         (TEST_COND_ldbl_128): Likewise.
33544         (TEST_COND_ldbl_128ibm): Likewise.
33545         (TEST_COND_long32): Likewise.
33546         (TEST_COND_long64): Likewise.
33547         (TEST_COND_before_rounding): Likewise.
33548         (TEST_COND_after_rounding): Likewise.
33549         (enable_test): Handle XFAIL_TEST flag.
33550         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
33551         with finite results.
33552         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
33553         auto-libm-test-out.
33555 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33556             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33558         [BZ #16214]
33559         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
33560         __tls_get_addr_internal instead of __tls_get_offset in order to
33561         avoid GOT pointer dependency.  Make rtld export
33562         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
33563         __tls_get_addr since we are a __tls_get_offset platform.
33564         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
33565         GOT pointer being set up before.
33566         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
33568 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
33570         * manual/math.texi (Errors in Math Functions): Document accuracy
33571         goals.
33573         [BZ #15004]
33574         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
33575         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
33576         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33577         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33578         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33579         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33580         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33581         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33582         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33583         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33584         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33585         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33586         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33587         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33588         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33589         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33591         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
33592         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
33593         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
33594         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
33595         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
33596         Likewise.
33597         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
33598         Likewise.
33599         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
33600         Likewise.
33601         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
33602         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
33603         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
33604         atomic-feupdateenv and flt-rounds.
33605         * sysdeps/powerpc/nofpu/Versions (libc): Add
33606         __atomic_feholdexcept, __atomic_feclearexcept,
33607         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
33608         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
33609         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
33610         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
33611         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
33612         here.
33613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33614         Update.
33616         * manual/arith.texi (FP Exceptions): Document that exceptions may
33617         not be raised when matherr is used.
33618         (Math Error Reporting): Document overflow in directed rounding
33619         modes.  Document that errno may not be set when finite values are
33620         returned on overflow.  Document intent to set errno on underflow
33621         only for underflow to zero.
33623         [BZ #16271]
33624         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
33625         round-to-nearest then adjust result for other rounding modes.
33626         * include/fenv.h (fegetround): Use libm_hidden_proto.
33627         * math/fegetround.c (fegetround): Use libm_hidden_def.
33628         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33629         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33630         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33631         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33632         Likewise.
33633         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
33634         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33635         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33636         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
33638 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33640         [BZ #16077]
33641         * nss/Versions (libnss_files): Add
33642         _nss_files_gethostbyname3_r.
33643         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
33644         New function.
33645         (HOST_DB_LOOKUP): Remove macro.
33646         (_nss_files_gethostbyname_r): Implement function without the
33647         HOST_DB_LOOKUP macro.
33648         (_nss_files_gethostbyname2_r): Likewise.
33650 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
33652         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
33654 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
33656         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
33657         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
33658         warning.
33660 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33662         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
33663         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
33664         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33665         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33666         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
33667         __fe_nomask_env_priv and attribute_hidden.
33668         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
33669         (libc_feupdateenv_test_ppc): Likewise.
33670         (libc_feresetround_ppc): Likewise.
33671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33672         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
33673         compat_symbol macro.
33674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33675         (__fe_nomask_env): Likewise.
33676         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
33678 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33680         * string/Makefile: Remove ifunc tests.
33681         * string/test-string.h: Define TEST_IFUNC.
33682         * string/test-bcopy-ifunc.c: Remove.
33683         * string/test-bzero-ifunc.c: Likewise.
33684         * string/test-memccpy-ifunc.c: Likewise.
33685         * string/test-memchr-ifunc.c: Likewise.
33686         * string/test-memcmp-ifunc.c: Likewise.
33687         * string/test-memcpy-ifunc.c: Likewise.
33688         * string/test-memmem-ifunc.c: Likewise.
33689         * string/test-memmove-ifunc.c: Likewise.
33690         * string/test-mempcpy-ifunc.c: Likewise.
33691         * string/test-memrchr-ifunc.c: Likewise.
33692         * string/test-memset-ifunc.c: Likewise.
33693         * string/test-rawmemchr-ifunc.c: Likewise.
33694         * string/test-stpcpy-ifunc.c: Likewise.
33695         * string/test-stpncpy-ifunc.c: Likewise.
33696         * string/test-strcasecmp-ifunc.c: Likewise.
33697         * string/test-strcasestr-ifunc.c: Likewise.
33698         * string/test-strcat-ifunc.c: Likewise.
33699         * string/test-strchr-ifunc.c: Likewise.
33700         * string/test-strchrnul-ifunc.c: Likewise.
33701         * string/test-strcmp-ifunc.c: Likewise.
33702         * string/test-strcpy-ifunc.c: Likewise.
33703         * string/test-strcspn-ifunc.c: Likewise.
33704         * string/test-strlen-ifunc.c: Likewise.
33705         * string/test-strncasecmp-ifunc.c: Likewise.
33706         * string/test-strncat-ifunc.c: Likewise.
33707         * string/test-strncmp-ifunc.c: Likewise.
33708         * string/test-strncpy-ifunc.c: Likewise.
33709         * string/test-strnlen-ifunc.c: Likewise.
33710         * string/test-strpbrk-ifunc.c: Likewise.
33711         * string/test-strrchr-ifunc.c: Likewise.
33712         * string/test-strspn-ifunc.c: Likewise.
33713         * string/test-strstr-ifunc.c: Likewise.
33715 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33717         * benchtests/Makefile: Remove ifunc tests.
33718         * benchtests/bench-string.h: Define TEST_IFUNC.
33719         * benchtests/bench-bcopy-ifunc.c: Remove.
33720         * benchtests/bench-bzero-ifunc.c: Likewise.
33721         * benchtests/bench-memccpy-ifunc.c: Likewise.
33722         * benchtests/bench-memchr-ifunc.c: Likewise.
33723         * benchtests/bench-memcmp-ifunc.c: Likewise.
33724         * benchtests/bench-memcpy-ifunc.c: Likewise.
33725         * benchtests/bench-memmem-ifunc.c: Likewise.
33726         * benchtests/bench-memmove-ifunc.c: Likewise.
33727         * benchtests/bench-mempcpy-ifunc.c: Likewise.
33728         * benchtests/bench-memrchr-ifunc.c: Likewise.
33729         * benchtests/bench-memset-ifunc.c: Likewise.
33730         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
33731         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
33732         * benchtests/bench-stpcpy-ifunc.c: Likewise.
33733         * benchtests/bench-stpncpy-ifunc.c: Likewise.
33734         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
33735         * benchtests/bench-strcasestr-ifunc.c: Likewise.
33736         * benchtests/bench-strcat-ifunc.c: Likewise.
33737         * benchtests/bench-strchr-ifunc.c: Likewise.
33738         * benchtests/bench-strchrnul-ifunc.c: Likewise.
33739         * benchtests/bench-strcmp-ifunc.c: Likewise.
33740         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
33741         * benchtests/bench-strcpy-ifunc.c: Likewise.
33742         * benchtests/bench-strcspn-ifunc.c: Likewise.
33743         * benchtests/bench-strlen-ifunc.c: Likewise.
33744         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
33745         * benchtests/bench-strncat-ifunc.c: Likewise.
33746         * benchtests/bench-strncmp-ifunc.c: Likewise.
33747         * benchtests/bench-strncpy-ifunc.c: Likewise.
33748         * benchtests/bench-strnlen-ifunc.c: Likewise.
33749         * benchtests/bench-strpbrk-ifunc.c: Likewise.
33750         * benchtests/bench-strrchr-ifunc.c: Likewise.
33751         * benchtests/bench-strsep-ifunc.c: Likewise.
33752         * benchtests/bench-strspn-ifunc.c: Likewise.
33753         * benchtests/bench-strstr-ifunc.c: Likewise.
33755 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33757         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
33759 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33761         * resolv/netdb.h: Use __glibc_reserved instead __unused.
33762         * rt/aio.h: Likewise.
33763         * sysdeps/gnu/bits/utmp.h: Likewise.
33764         * sysdeps/gnu/bits/utmpx.h: Likewise.
33765         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33766         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
33767         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
33768         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
33769         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
33770         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
33771         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
33772         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
33773         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
33774         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
33775         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
33776         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
33777         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
33778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
33779         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33780         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
33781         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
33782         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
33783         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
33784         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
33785         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
33786         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
33787         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
33788         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33789         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
33790         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33791         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
33792         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
33793         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
33794         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
33795         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
33796         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
33797         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
33798         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33799         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
33800         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
33801         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
33802         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
33803         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
33804         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
33805         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
33806         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33808 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
33810         [BZ #16245]
33811         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
33812         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
33814 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
33816         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
33817         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33818         Likewise.
33820 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33822         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
33823         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
33824         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
33825         (__fesetround): Remove define.
33826         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
33827         rounding and exceptions handling.
33828         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
33829         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
33830         (__fe_nomask_env): Likewise.
33831         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
33832         __fegetround instead of fegetround.
33833         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33834         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
33836 2013-11-21  Roland McGrath  <roland@hack.frob.com>
33838         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
33839         it's there.
33841         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
33843 2013-11-21  Meador Inge  <meadori@codesourcery.com>
33845         [BZ #11157]
33846         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
33847         (encrypt_r): Likewise.
33848         * malloc/obstack.h (obstack_free): Likewise.
33849         * posix/unistd.h (encrypt): Likewise.
33851 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
33853         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
33854         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
33855         DL_CALL_DT_FINI() that call the functions directly.
33856         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
33857         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
33858         * elf/dl-fini.c: Likewise.
33860 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
33862         * malloc/hooks.c (memalign_check): Add alignment rounding.
33863         * malloc/malloc.c (_mid_memalign): New function.
33864         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
33865         Implement by calling _mid_memalign.
33866         * manual/probes.texi (Memory Allocation Probes): Remove
33867         memory_valloc_retry and memory_pvalloc_retry.
33869 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33871         * locale/programs/locarchive.c (open_archive): Add const
33872         qualifier to ARCHIVEFNAME and copy default fname to
33873         DEFAULT_FNAME.
33875         [BZ #15601]
33876         * libio/tst-widetext.input: Rename Oriya to Odia.
33877         * locale/iso-639.def: Likewise.
33879         * manual/probes.texi (Mathematical Function Probes): Add
33880         documentation for sin, cos, asin and acos probes.
33881         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
33882         (__sin32): Add slowasin probe.
33883         (__cos32): Add slowacos probe.
33884         (__mpsin): Add slowsin probe.
33885         (__mpcos): Add slowcos probe.
33887 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
33889         [BZ #15483]
33890         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
33891         thread-local __sim_exceptions_thread and global
33892         __sim_exceptions_global.
33893         (__sim_disabled_exceptions): Change to thread-local
33894         __sim_disabled_exceptions_thread and global
33895         __sim_disabled_exceptions_global.
33896         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33897         and global __sim_round_mode_global.
33898         (__simulate_exceptions): Use thread-local floating-point state and
33899         set global state from it as needed.
33900         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
33901         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
33902         __sim_round_mode_thread.
33903         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
33904         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
33905         and global __sim_exceptions_global.
33906         (__sim_disabled_exceptions): Change to thread-local
33907         __sim_disabled_exceptions_thread and global
33908         __sim_disabled_exceptions_global.
33909         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33910         and global __sim_round_mode_global.
33911         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
33912         (SIM_SET_GLOBAL): Likewise.
33913         * sysdeps/powerpc/soft-fp/sfp-machine.h
33914         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
33915         __sim_round_mode_thread.
33916         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
33917         __sim_disabled_exceptions_thread.
33918         (__sim_exceptions): Change to __sim_exceptions_thread.
33919         (__sim_disabled_exceptions): Change to
33920         __sim_disabled_exceptions_thread.
33921         (__sim_round_mode): Change to __sim_round_mode_thread.
33922         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
33923         thread-local floating-point state and set global state from it as
33924         needed.
33925         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
33926         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
33927         (__sim_disabled_exceptions): Remove extern declaration.
33928         (feenableexcept): Use thread-local floating-point state and set
33929         global state from it as needed.
33930         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
33931         extern declaration.
33932         (__sim_disabled_exceptions): Likewise.
33933         (__sim_round_mode): Likewise.
33934         (__fegetenv): Use thread-local floating-point state.
33935         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
33936         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33937         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
33938         floating-point state and set global state from it as needed.
33939         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
33940         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33941         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
33942         Likewise.
33943         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33944         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
33945         Likewise.
33946         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
33947         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
33948         Use __sim_round_mode_thread.
33949         * math/test-fenv-tls.c: New file.
33950         * math/Makefile (tests): Add test-fenv-tls.
33951         ($(objpfx)test-fenv-tls): Depend on
33952         $(common-objpfx)nptl/libpthread.so.
33954 2013-11-19  Andreas Schwab  <schwab@suse.de>
33956         * locale/programs/locale.c (show_info): Decode wordarray elements.
33957         * locale/categories.def (LC_MONETARY): Add element for
33958         _NL_MONETARY_CRNCYSTR.
33959         * locale/C-monetary.c (conversion_rate): New variable.
33960         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
33961         element.
33963 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
33965         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
33966         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
33968 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33970         * elf/Makefile (tst-auxv): New test.
33971         * elf/tst-auxv.c: New
33972         * elf/rtld.c (dl_main): Adjust AT_EXECFN
33974 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
33976         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
33977         (hidden_proto): Caller changed.
33978         (hidden_tls_proto): New macro.
33979         (libc_hidden_tls_proto): Likewise.
33980         (rtld_hidden_tls_proto): Likewise.
33981         (libm_hidden_tls_proto): Likewise.
33982         (libresolv_hidden_tls_proto): Likewise.
33983         (librt_hidden_tls_proto): Likewise.
33984         (libdl_hidden_tls_proto): Likewise.
33985         (libnss_files_hidden_tls_proto): Likewise.
33986         (libnsl_hidden_tls_proto): Likewise.
33987         (libnss_nisplus_hidden_tls_proto): Likewise.
33988         (libutil_hidden_tls_proto): Likewise.
33990 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
33992         [BZ #10253]
33993         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
33994         (decompose_rpath): Defer expansion to fillin_rpath.
33995         (_dl_init_paths): Pass linkmap to fillin_rpath.
33997 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33999         * benchtests/Makefile: Add strsep.
34000         * benchtests/bench-strsep.c: New file: strsep benchtest.
34001         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
34003 2013-11-18  Andreas Schwab  <schwab@suse.de>
34005         * locale/programs/locale.c (show_info) [case byte]: Check for
34006         '\377' instead of '\177'.
34007         * locale/C-monetary.c (not_available): Always use "\377".
34008         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
34009         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
34010         detect unavailable sign_posn locale elements.
34011         * locale/localeconv.c (__localeconv): For grouping and
34012         mon_grouping handle "\177" and "\377" like no grouping.
34013         (INT_ELEM): New macro.  Use it to set all numeric members.
34014         * locale/programs/ld-monetary.c (monetary_read)
34015         <tok_mon_grouping>: Normalize single -1 to the empty string.
34016         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
34017         Likewise.
34019 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34021         [BZ #16055]
34022         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
34023         when we match (nil).
34024         * stdio-common/tst-sscanf.c (struct test): Add testcase.
34026 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
34028         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
34029         (NO_TEST_INLINE): Update value.
34030         (ERRNO_UNCHANGED): Likewise.
34031         (ERRNO_EDOM): Likewise.
34032         (ERRNO_ERANGE): Likewise.
34033         (IGNORE_RESULT): Likewise.
34034         (check_float_internal): Check signs of NaN results if
34035         TEST_NAN_SIGN used.
34036         (check_complex): Pass TEST_NAN_SIGN flag through to second
34037         check_float_internal call.
34038         (copysign_test_data): Add tests with quiet NaNs as second
34039         argument.  Use TEST_NAN_SIGN.
34040         (fabs_test_data): Add test of negative quiet NaN argument.  Use
34041         TEST_NAN_SIGN.
34042         (signbit_test_data): Add tests of quiet NaN argument.
34043         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
34045         * math/gen-libm-test.pl (show_exceptions): Take extra argument
34046         $ignore_result.
34047         (parse_args): Handle function results specified as IGNORE.
34048         * math/libm-test.inc (IGNORE_RESULT): New macro.
34049         (check_float_internal): Do not check numerical result if flag
34050         IGNORE_RESULT set.
34051         (check_complex): Pass through IGNORE_RESULT to second
34052         check_float_internal call.
34053         (check_int): Do not check numerical result if flag IGNORE_RESULT
34054         set.
34055         (check_long): Likewise.
34056         (check_bool): Likewise.
34057         (check_longlong): Likewise.
34058         (lrint_test_data): Add tests of infinite and NaN arguments.
34059         (lrint_tonearest_test_data): Likewise.
34060         (lrint_towardzero_test_data): Likewise.
34061         (lrint_downward_test_data): Likewise.
34062         (lrint_upward_test_data): Likewise.
34063         (llrint_test_data): Likewise.
34064         (llrint_tonearest_test_data): Likewise.
34065         (llrint_towardzero_test_data): Likewise.
34066         (llrint_downward_test_data): Likewise.
34067         (llrint_upward_test_data): Likewise.
34068         (lround_test_data): Likewise.
34069         (llround_test_data): Likewise.
34071         * math/libm-test.inc (NO_TEST_INLINE): New macro.
34072         (ERRNO_UNCHANGED): Update value.
34073         (ERRNO_EDOM): Likewise.
34074         (ERRNO_ERANGE): Likewise.
34075         (NO_TEST_INLINE_FLOAT): New macro.
34076         (NO_TEST_INLINE_DOUBLE): Likewise.
34077         (enable_test): New function.
34078         (RUN_TEST_f_f): Check enable_test before running test.
34079         (RUN_TEST_2_f): Likewise.
34080         (RUN_TEST_fff_f): Likewise.
34081         (RUN_TEST_c_f): Likewise.
34082         (RUN_TEST_f_f1): Likewise.
34083         (RUN_TEST_fF_f1): Likewise.
34084         (RUN_TEST_fI_f1): Likewise.
34085         (RUN_TEST_ffI_f1): Likewise.
34086         (RUN_TEST_c_c): Likewise.
34087         (RUN_TEST_cc_c): Likewise.
34088         (RUN_TEST_f_i): Likewise.
34089         (RUN_TEST_f_i_tg): Likewise.
34090         (RUN_TEST_ff_i_tg): Likewise.
34091         (RUN_TEST_f_b): Likewise.
34092         (RUN_TEST_f_b_tg): Likewise.
34093         (RUN_TEST_f_l): Likewise.
34094         (RUN_TEST_f_L): Likewise.
34095         (RUN_TEST_fFF_11): Likewise.
34096         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
34097         conditionals.
34098         (cosh_test_data): Likewise.
34099         (exp_test_data): Likewise.
34100         (expm1_test_data): Likewise.
34101         (hypot_test_data): Likewise.
34102         (pow_test_data): Likewise.
34103         (sinh_test_data): Likewise.
34104         (tanh_test_data): Likewise.
34105         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
34106         flags argument.
34108         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
34109         tests with quiet NaN input and output.
34110         (acosh_test_data): Likewise.
34111         (asin_test_data): Likewise.
34112         (asinh_test_data): Likewise.
34113         (atan_test_data): Likewise.
34114         (atanh_test_data): Likewise.
34115         (atan2_test_data): Likewise.
34116         (cbrt_test_data): Likewise.
34117         (cos_test_data): Likewise.
34118         (cosh_test_data): Likewise.
34119         (erf_test_data): Likewise.
34120         (erfc_test_data): Likewise.
34121         (exp_test_data): Likewise.
34122         (exp10_test_data): Likewise.
34123         (exp2_test_data): Likewise.
34124         (expm1_test_data): Likewise.
34125         (hypot_test_data): Likewise.
34126         (j0_test_data): Likewise.
34127         (j1_test_data): Likewise.
34128         (jn_test_data): Likewise.
34129         (lgamma_test_data): Likewise.
34130         (log_test_data): Likewise.
34131         (log10_test_data): Likewise.
34132         (log1p_test_data): Likewise.
34133         (log2_test_data): Likewise.
34134         (pow_test_data): Likewise.
34135         (scalb_test_data): Likewise.
34136         (sin_test_data): Likewise.
34137         (sincos_test_data): Likewise.
34138         (sinh_test_data): Likewise.
34139         (tan_test_data): Likewise.
34140         (tanh_test_data): Likewise.
34141         (tgamma_test_data): Likewise.
34142         (y0_test_data): Likewise.
34143         (y1_test_data): Likewise.
34144         (yn_test_data): Likewise.
34146         [BZ #16167]
34147         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
34148         argument being NaN and avoid computations with second argument in
34149         that case.
34150         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34151         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34152         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34154 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
34156         * locale/iso-639.def: Add Chitwani Tharu (the).
34158 2013-11-14  Andreas Schwab  <schwab@suse.de>
34160         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
34161         word instead of empty string.
34163 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34166         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
34167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34168         (__fe_nomask_env): Likewise.
34170 2013-11-13  Steve Ellcey  <sellcey@mips.com>
34172         * benchtests/bench-timing.h: Include time.h.
34174 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
34176         [BZ #15997]
34177         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
34178         to 3.4.0 for x32.
34179         * sysdeps/unix/sysv/linux/configure: Regenerated.
34181 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
34183         [BZ #16151]
34184         * stdlib/strtod_l.c (round_and_return): Do not consider
34185         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
34186         exponent one less than half the least subnormal exponent.
34187         * stdlib/test-strtod-round-data: Add more tests.
34188         * stdlib/tst-strtod-round.c (tests): Regenerated.
34190 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34192         [BZ #14143]
34193         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
34194         (__fe_mask_env): Likewise.
34195         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
34196         libm_hidden_proto and add function prototype.
34197         (__fe_mask_env): Add function prototype.
34198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34199         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
34200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34201         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
34202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34203         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
34205 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34207         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
34208         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
34210 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34212         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
34213         of htab_find_slot().
34215 2013-11-11  David S. Miller  <davem@davemloft.net>
34217         [BZ #16150]
34218         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
34219         symbol in the non-vis3 case in static builds.
34220         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
34221         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
34222         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
34223         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
34225 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
34227         [BZ #387]
34228         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
34229         it is empty.
34231 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34233         * benchtests/Makefile: Add bench-strtod.
34234         * benchtests/bench-strtod.c: New file: strtod benchtest
34236 2013-11-11  Andreas Schwab  <schwab@suse.de>
34238         [BZ #16153]
34239         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
34240         terminating NUL in key length.
34242 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34244         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34245         Add artificial ODP entry for vDSO symbol for PPC64.
34246         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
34247         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34249 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34251         [BZ #15374]
34252         * nss/getent.c (services_keys): Recognize services starting with digit.
34254 2013-11-06  David S. Miller  <davem@davemloft.net>
34256         [BZ #15985]
34257         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
34258         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
34260 2013-11-06  Will Newton  <will.newton@linaro.org>
34262         * manual/memory.texi (Malloc Examples): Remove register
34263         keyword from examples.
34265 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
34267         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
34269 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
34271         [BZ #6981]
34272         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
34273         depending on [__GCC_IEC_559 > 0].
34274         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
34275         depending on [__GCC_IEC_559_COMPLEX > 0].
34277 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
34279         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
34280         to iso-639.def.
34282 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
34284         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
34286 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
34288         [BZ #16112]
34289         * malloc/malloc (malloc_info): Do not handle first bin as
34290         special case.
34292 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
34294         * locale/iso-639.def: Add Central Nahuatl (nhn).
34296 2013-11-01  Bruno Haible  <bruno@clisp.org>
34298         [BZ #7003]
34299         * manual/math.texi (BSD Random): Specify range upper bound as
34300         in POSIX.
34302 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
34304         * locale/iso-639.def: Add Meadow Mari (mhr).
34306 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
34308         [BZ #14752], [BZ #15763]
34309         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
34310         Validate name.
34311         * rt/tst_shm.c: Add test for escaping directory.
34313 2013-10-31  Andreas Schwab  <schwab@suse.de>
34315         [BZ #15917]
34316         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
34317         followed by 'x' as part of digit sequence.
34318         * stdio-common/tst-sscanf.c (double_tests2): New tests.
34320 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
34322         [BZ #16037]
34323         * configure.ac: allow GNU Make 4.0 and greater.
34324         * configure: Regenerated.
34326 2013-10-30  Will Newton  <will.newton@linaro.org>
34328         [BZ #16038]
34329         * malloc/hooks.c (memalign_check): Limit alignment to the
34330         maximum representable power of two.
34331         * malloc/malloc.c (__libc_memalign): Likewise.
34332         * malloc/tst-memalign.c (do_test): Add test for very
34333         large alignment values.
34334         * malloc/tst-posix_memalign.c (do_test): Likewise.
34336 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34338         [BZ #11087]
34339         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
34340         (munmap_chunk): Likewise.
34341         (mremap_chunk): Likewise.
34343 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34345         [BZ #15799]
34346         * stdlib/div.c (div): Remove obsolete code.
34347         * stdlib/ldiv.c (ldiv): Likewise.
34348         * stdlib/lldiv.c (lldiv): Likewise.
34350 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34352         [BZ #16071]
34353         * nss/nss_files/files-XXX.c (get_contents_ret): New
34354         enumerator.
34355         (get_contents): New function.
34356         (internal_getent): Use it.  Expand size of LINEBUFLEN.
34358 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
34360         * configure.in: Moved to ...
34361         * configure.ac: ... here. Change reference to configure.in
34362         to configure.ac.
34363         * sysdeps/arm/preconfigure.ac: ... here.
34364         configure.in to configure.ac.
34365         * sysdeps/gnu/configure.in: Moved to ...
34366         * sysdeps/gnu/configure.ac: ... here.
34367         * sysdeps/i386/configure.in: Moved to ...
34368         * sysdeps/i386/configure.ac: ... here.
34369         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
34370         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
34371         * sysdeps/mach/configure.in: Moved to ...
34372         * sysdeps/mach/configure.ac: ... here.
34373         * sysdeps/mach/hurd/configure.in: Moved to ...
34374         * sysdeps/mach/hurd/configure.ac: ... here.
34375         * sysdeps/powerpc/configure.in: Moved to ...
34376         * sysdeps/powerpc/configure.ac: ... here.
34377         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
34378         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
34379         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
34380         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
34381         * sysdeps/s390/s390-32/configure.in: Moved to ...
34382         * sysdeps/s390/s390-32/configure.ac: ... here.
34383         * sysdeps/s390/s390-64/configure.in: Moved to ...
34384         * sysdeps/s390/s390-64/configure.ac: ... here.
34385         * sysdeps/sh/configure.in: Moved to ...
34386         * sysdeps/sh/configure.ac: ... here.
34387         * sysdeps/sparc/configure.in: Moved to ...
34388         * sysdeps/sparc/configure.ac: ... here.
34389         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
34390         * sysdeps/unix/sysv/linux/configure.ac: ... here.
34391         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
34392         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
34393         * sysdeps/x86_64/configure.in: Moved to ...
34394         * sysdeps/x86_64/configure.ac: ... here.
34395         * sysdeps/x86_64/preconfigure.in: Moved to ...
34396         * sysdeps/x86_64/preconfigure.ac: ... here.
34397         * aclocal.m4: Change reference to configure.in to configure.ac.
34398         * config.h.in: Likewise.
34399         * manual/install.texi: Likewise.
34400         * manual/maint.texi: Likewise.
34401         * Makefile: Likewise.
34402         * malloc/Makefile: Likewise.
34403         * nscd/Makefile: Likewise.
34404         * Makeconfig: Change reference to configure.in and
34405         preconfigure.in to configure.ac and preconfigure.ac
34406         respectively.
34407         * INSTALL: Regenerated.
34408         * configure: Likewise.
34409         * sysdeps/gnu/configure: Likewise.
34410         * sysdeps/i386/configure: Likewise.
34411         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
34412         * sysdeps/mach/configure: Likewise.
34413         * sysdeps/mach/hurd/configure: Likewise.
34414         * sysdeps/powerpc/configure: Likewise.
34415         * sysdeps/powerpc/powerpc32/configure: Likewise.
34416         * sysdeps/powerpc/powerpc64/configure: Likewise.
34417         * sysdeps/s390/s390-32/configure: Likewise.
34418         * sysdeps/s390/s390-64/configure: Likewise.
34419         * sysdeps/sh/configure: Likewise.
34420         * sysdeps/sparc/configure: Likewise.
34421         * sysdeps/unix/sysv/linux/configure: Likewise.
34422         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
34423         * sysdeps/x86_64/configure: Likewise.
34424         * sysdeps/x86_64/preconfigure: Likewise.
34426 2013-10-29  Andreas Schwab  <schwab@suse.de>
34428         * stdio-common/Makefile (tst-swscanf-ENV): Define.
34430 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34432         * benchtests/pow-inputs: Add new inputs.
34434         * benchtests/exp-inputs: Add new inputs.
34436         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
34437         conditional check for return value.
34438         (__cos32): Likewise.
34440 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34442         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
34443         to provide a boost for large inputs with word alignment.
34444         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
34445         implementation based on optimized PPC64 strcpy.
34446         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
34447         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
34448         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
34449         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
34451 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34453         [BZ #2801]
34454         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
34456 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34458         [BZ #14876]
34459         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
34460         * time/tst-strptime.c (day_tests): Add testcase.
34462 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34464         [BZ #14029]
34465         * manual/pattern.texi: Acknowledge that fnmatch can fail.
34467 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
34469         [BZ #16074]
34470         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
34471         MAP_FAILED on error.
34473 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34475         [BZ #16072]
34476         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
34477         heap for large requests.
34479 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
34481         [BZ #9954]
34482         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
34483         result if the result has no associated interface.
34484         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
34485         interface for all 127.X.Y.Z addresses.
34487 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
34489         * locale/iso-639.def: Add Ligurian (lij)
34491 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
34493         [BZ #15825]
34494         * sunrpc/rpc_main.c: Document rpcgen -5.
34496 2013-10-19  Michael Stahl  <mstahl@redhat.com>
34498         * elf/rtld.c (do_preload): Print the reason why preloading failed.
34500 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34502         [BZ #10278]
34503         * posix/glob.c: Match only directories when trailing slash is present.
34504         * posix/tst-gnuglob.c (my_opendir): Do not open files.
34505         (main): Add testcase.
34507 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34509         [BZ #15670]
34510         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
34512 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
34514         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
34515         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
34516         AUTH_DES and cindex for FIPS 140-2.
34517         (DES Encryption): Add cindex FIPS 46-3.
34519         * locale/locarchive.h (struct locarhandle): Add fname.
34520         * locale/programs/localedef.c (main): Pass ARGV[remaining]
34521         if an optional argument was specified to --list-archive,
34522         otherwise NULL.
34523         * locale/programs/locarchive.c (show_archive_content): Take new
34524         argument fname and pass it via ah.fname to open_archive.
34525         * locale/programs/localedef.h: Update decl.
34526         (open_archive): If AH->fname is non-null, open that file
34527         rather than the default file name, and don't ignore ENOENT.
34528         (create_archive): Set AH.fname to NULL.
34529         (delete_locales_from_archive): Likewise.
34530         (add_locales_to_archive): Likewise.
34531         * locale/programs/locfile.c (write_all_categories): Likewise.
34533 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
34534             Aldy Hernandez  <aldyh@redhat.com>
34536         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
34537         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
34538         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
34539         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
34540         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
34541         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
34542         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
34543         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
34544         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
34545         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
34546         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
34547         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
34548         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
34549         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
34550         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
34551         Likewise.
34552         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
34553         Likewise.
34554         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
34555         Likewise.
34556         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
34557         Likewise.
34558         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
34559         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
34560         Likewise.
34561         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
34562         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
34563         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
34564         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
34565         Likewise.
34566         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
34567         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
34568         * sysdeps/powerpc/preconfigure: Likewise.
34569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
34570         Likewise.
34571         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
34572         Replace contents of file by #include of <fenv_libc.h>.
34573         * sysdeps/powerpc/soft-fp/sfp-machine.h
34574         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
34575         and <sys/prctl.h>.
34576         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
34577         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
34578         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
34579         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
34580         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
34581         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
34582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
34583         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
34584         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
34585         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
34586         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
34587         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
34588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34589         Allow copysignl PLT reference to be missing.
34591 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
34592             Joseph Myers  <joseph@codesourcery.com
34594         [BZ #15948]
34595         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
34596         single character.
34597         (add_to_tablewc): Assert sequence of wide characters is nonempty.
34599 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34601         * elf/tst-tls-dlinfo.c: Don't include tls.h.
34602         * elf/tst-tls1.c: Likewise.
34603         * elf/tst-tls10.h: Likewise.
34604         * elf/tst-tls14.c: Likewise.
34605         * elf/tst-tls2.c: Likewise.
34606         * elf/tst-tls3.c: Likewise.
34607         * elf/tst-tls4.c: Likewise.
34608         * elf/tst-tls5.c: Likewise.
34609         * elf/tst-tls6.c: Likewise.
34610         * elf/tst-tls7.c: Likewise.
34611         * elf/tst-tls8.c: Likewise.
34612         * elf/tst-tls9.c: Likewise.
34613         * elf/tst-tlsmod1.c: Likewise.
34614         * elf/tst-tlsmod13.c: Likewise.
34615         * elf/tst-tlsmod13a.c: Likewise.
34616         * elf/tst-tlsmod14a.c: Likewise.
34617         * elf/tst-tlsmod16a.c: Likewise.
34618         * elf/tst-tlsmod16b.c: Likewise.
34619         * elf/tst-tlsmod2.c: Likewise.
34620         * elf/tst-tlsmod3.c: Likewise.
34621         * elf/tst-tlsmod4.c: Likewise.
34622         * elf/tst-tlsmod5.c: Likewise.
34623         * elf/tst-tlsmod6.c: Likewise.
34625 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
34627         [BZ #12486]
34628         * malloc/malloc.c: remove checks for statistics.
34630 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34632         [BZ #15277]
34633         * inet/inet_net.c (inet_network): Detect additional invalid strings.
34634         * inet/tst-network.c: Add testcase.
34636 2013-10-17  Andreas Schwab  <schwab@suse.de>
34638         [BZ #15218]
34639         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
34640         to determine canonical name.
34642 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34644         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
34645         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
34646         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34647         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34648         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34649         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34650         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34651         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34652         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34653         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34654         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34655         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34656         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34657         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34658         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34659         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34660         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34661         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34662         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34663         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34664         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34665         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34666         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34667         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
34668         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
34669         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34670         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34671         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
34672         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34673         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
34674         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34675         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34676         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34677         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34678         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34679         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34680         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34681         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34682         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34683         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34684         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34685         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34686         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34687         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34688         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34689         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34690         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34691         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34692         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34693         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34694         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34695         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34696         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34697         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34698         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34699         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34700         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34701         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34703 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
34705         [BZ #16041]
34706         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
34707         make result into a quiet NaN.
34709 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
34711         * soft-fp/adddf3.c: Fix horizontal whitespace.
34712         * soft-fp/addsf3.c: Likewise.
34713         * soft-fp/addtf3.c: Likewise.
34714         * soft-fp/divdf3.c: Likewise.
34715         * soft-fp/divsf3.c: Likewise.
34716         * soft-fp/divtf3.c: Likewise.
34717         * soft-fp/double.h: Likewise.
34718         * soft-fp/eqdf2.c: Likewise.
34719         * soft-fp/eqsf2.c: Likewise.
34720         * soft-fp/eqtf2.c: Likewise.
34721         * soft-fp/extenddftf2.c: Likewise.
34722         * soft-fp/extended.h: Likewise.
34723         * soft-fp/extendsfdf2.c: Likewise.
34724         * soft-fp/extendsftf2.c: Likewise.
34725         * soft-fp/extendxftf2.c: Likewise.
34726         * soft-fp/fixdfdi.c: Likewise.
34727         * soft-fp/fixdfsi.c: Likewise.
34728         * soft-fp/fixdfti.c: Likewise.
34729         * soft-fp/fixsfdi.c: Likewise.
34730         * soft-fp/fixsfsi.c: Likewise.
34731         * soft-fp/fixsfti.c: Likewise.
34732         * soft-fp/fixtfdi.c: Likewise.
34733         * soft-fp/fixtfsi.c: Likewise.
34734         * soft-fp/fixtfti.c: Likewise.
34735         * soft-fp/fixunsdfdi.c: Likewise.
34736         * soft-fp/fixunsdfsi.c: Likewise.
34737         * soft-fp/fixunsdfti.c: Likewise.
34738         * soft-fp/fixunssfdi.c: Likewise.
34739         * soft-fp/fixunssfsi.c: Likewise.
34740         * soft-fp/fixunssfti.c: Likewise.
34741         * soft-fp/fixunstfdi.c: Likewise.
34742         * soft-fp/fixunstfsi.c: Likewise.
34743         * soft-fp/fixunstfti.c: Likewise.
34744         * soft-fp/floatdidf.c: Likewise.
34745         * soft-fp/floatdisf.c: Likewise.
34746         * soft-fp/floatditf.c: Likewise.
34747         * soft-fp/floatsidf.c: Likewise.
34748         * soft-fp/floatsisf.c: Likewise.
34749         * soft-fp/floatsitf.c: Likewise.
34750         * soft-fp/floattidf.c: Likewise.
34751         * soft-fp/floattisf.c: Likewise.
34752         * soft-fp/floattitf.c: Likewise.
34753         * soft-fp/floatundidf.c: Likewise.
34754         * soft-fp/floatundisf.c: Likewise.
34755         * soft-fp/floatunditf.c: Likewise.
34756         * soft-fp/floatunsidf.c: Likewise.
34757         * soft-fp/floatunsisf.c: Likewise.
34758         * soft-fp/floatunsitf.c: Likewise.
34759         * soft-fp/floatuntidf.c: Likewise.
34760         * soft-fp/floatuntisf.c: Likewise.
34761         * soft-fp/floatuntitf.c: Likewise.
34762         * soft-fp/fmadf4.c: Likewise.
34763         * soft-fp/fmasf4.c: Likewise.
34764         * soft-fp/fmatf4.c: Likewise.
34765         * soft-fp/gedf2.c: Likewise.
34766         * soft-fp/gesf2.c: Likewise.
34767         * soft-fp/getf2.c: Likewise.
34768         * soft-fp/ledf2.c: Likewise.
34769         * soft-fp/lesf2.c: Likewise.
34770         * soft-fp/letf2.c: Likewise.
34771         * soft-fp/muldf3.c: Likewise.
34772         * soft-fp/mulsf3.c: Likewise.
34773         * soft-fp/multf3.c: Likewise.
34774         * soft-fp/negdf2.c: Likewise.
34775         * soft-fp/negsf2.c: Likewise.
34776         * soft-fp/negtf2.c: Likewise.
34777         * soft-fp/op-1.h: Likewise.
34778         * soft-fp/op-2.h: Likewise.
34779         * soft-fp/op-4.h: Likewise.
34780         * soft-fp/op-8.h: Likewise.
34781         * soft-fp/op-common.h: Likewise.
34782         * soft-fp/quad.h: Likewise.
34783         * soft-fp/single.h: Likewise.
34784         * soft-fp/soft-fp.h: Likewise.
34785         * soft-fp/sqrtdf2.c: Likewise.
34786         * soft-fp/sqrtsf2.c: Likewise.
34787         * soft-fp/sqrttf2.c: Likewise.
34788         * soft-fp/subdf3.c: Likewise.
34789         * soft-fp/subsf3.c: Likewise.
34790         * soft-fp/subtf3.c: Likewise.
34791         * soft-fp/truncdfsf2.c: Likewise.
34792         * soft-fp/trunctfdf2.c: Likewise.
34793         * soft-fp/trunctfsf2.c: Likewise.
34794         * soft-fp/trunctfxf2.c: Likewise.
34795         * soft-fp/unorddf2.c: Likewise.
34796         * soft-fp/unordsf2.c: Likewise.
34797         * soft-fp/unordtf2.c: Likewise.
34799 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
34801         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
34802         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
34804 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
34806         * elf/dl-libc.c: Clear initfini list after freeing.
34808 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
34810         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
34811         * soft-fp/addsf3.c: Likewise.
34812         * soft-fp/addtf3.c: Likewise.
34813         * soft-fp/divdf3.c: Likewise.
34814         * soft-fp/divsf3.c: Likewise.
34815         * soft-fp/divtf3.c: Likewise.
34816         * soft-fp/double.h: Likewise.
34817         * soft-fp/eqdf2.c: Likewise.
34818         * soft-fp/eqsf2.c: Likewise.
34819         * soft-fp/eqtf2.c: Likewise.
34820         * soft-fp/extenddftf2.c: Likewise.
34821         * soft-fp/extended.h: Likewise.
34822         * soft-fp/extendsfdf2.c: Likewise.
34823         * soft-fp/extendsftf2.c: Likewise.
34824         * soft-fp/extendxftf2.c: Likewise.
34825         * soft-fp/fixdfdi.c: Likewise.
34826         * soft-fp/fixdfsi.c: Likewise.
34827         * soft-fp/fixdfti.c: Likewise.
34828         * soft-fp/fixsfdi.c: Likewise.
34829         * soft-fp/fixsfsi.c: Likewise.
34830         * soft-fp/fixsfti.c: Likewise.
34831         * soft-fp/fixtfdi.c: Likewise.
34832         * soft-fp/fixtfsi.c: Likewise.
34833         * soft-fp/fixtfti.c: Likewise.
34834         * soft-fp/fixunsdfdi.c: Likewise.
34835         * soft-fp/fixunsdfsi.c: Likewise.
34836         * soft-fp/fixunsdfti.c: Likewise.
34837         * soft-fp/fixunssfdi.c: Likewise.
34838         * soft-fp/fixunssfsi.c: Likewise.
34839         * soft-fp/fixunssfti.c: Likewise.
34840         * soft-fp/fixunstfdi.c: Likewise.
34841         * soft-fp/fixunstfsi.c: Likewise.
34842         * soft-fp/fixunstfti.c: Likewise.
34843         * soft-fp/floatdidf.c: Likewise.
34844         * soft-fp/floatdisf.c: Likewise.
34845         * soft-fp/floatditf.c: Likewise.
34846         * soft-fp/floatsidf.c: Likewise.
34847         * soft-fp/floatsisf.c: Likewise.
34848         * soft-fp/floatsitf.c: Likewise.
34849         * soft-fp/floattidf.c: Likewise.
34850         * soft-fp/floattisf.c: Likewise.
34851         * soft-fp/floattitf.c: Likewise.
34852         * soft-fp/floatundidf.c: Likewise.
34853         * soft-fp/floatundisf.c: Likewise.
34854         * soft-fp/floatunsidf.c: Likewise.
34855         * soft-fp/floatunsisf.c: Likewise.
34856         * soft-fp/floatuntidf.c: Likewise.
34857         * soft-fp/floatuntisf.c: Likewise.
34858         * soft-fp/floatuntitf.c: Likewise.
34859         * soft-fp/fmadf4.c: Likewise.
34860         * soft-fp/fmasf4.c: Likewise.
34861         * soft-fp/fmatf4.c: Likewise.
34862         * soft-fp/gedf2.c: Likewise.
34863         * soft-fp/gesf2.c: Likewise.
34864         * soft-fp/getf2.c: Likewise.
34865         * soft-fp/ledf2.c: Likewise.
34866         * soft-fp/lesf2.c: Likewise.
34867         * soft-fp/letf2.c: Likewise.
34868         * soft-fp/muldf3.c: Likewise.
34869         * soft-fp/mulsf3.c: Likewise.
34870         * soft-fp/multf3.c: Likewise.
34871         * soft-fp/negdf2.c: Likewise.
34872         * soft-fp/negsf2.c: Likewise.
34873         * soft-fp/negtf2.c: Likewise.
34874         * soft-fp/op-1.h: Likewise.
34875         * soft-fp/op-2.h: Likewise.
34876         * soft-fp/op-4.h: Likewise.
34877         * soft-fp/op-8.h: Likewise.
34878         * soft-fp/op-common.h: Likewise.
34879         * soft-fp/quad.h: Likewise.
34880         * soft-fp/single.h: Likewise.
34881         * soft-fp/soft-fp.h: Likewise.
34882         * soft-fp/sqrtdf2.c: Likewise.
34883         * soft-fp/sqrtsf2.c: Likewise.
34884         * soft-fp/sqrttf2.c: Likewise.
34885         * soft-fp/subdf3.c: Likewise.
34886         * soft-fp/subsf3.c: Likewise.
34887         * soft-fp/subtf3.c: Likewise.
34888         * soft-fp/truncdfsf2.c: Likewise.
34889         * soft-fp/trunctfdf2.c: Likewise.
34890         * soft-fp/trunctfsf2.c: Likewise.
34891         * soft-fp/trunctfxf2.c: Likewise.
34892         * soft-fp/unorddf2.c: Likewise.
34893         * soft-fp/unordsf2.c: Likewise.
34894         * soft-fp/unordtf2.c: Likewise.
34896 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
34898         [BZ #15672]
34899         * misc/error.c (error_tail): Fix possible buffer overflow.
34901 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
34903         [BZ #13028]
34904         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
34905         address.
34907 2013-10-14  P. J. McDermott  <pj@pehjota.net>
34909         [BZ #832]
34910         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
34911         testing pipefail option.
34913 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34915         * soft-fp/double.h: Indent preprocessor directives inside #if.
34916         * soft-fp/extended.h: Likewise.
34917         * soft-fp/op-2.h: Likewise.
34918         * soft-fp/op-4.h: Likewise.
34919         * soft-fp/op-common.h: Likewise.
34920         * soft-fp/quad.h: Likewise.
34921         * soft-fp/single.h: Likewise.
34922         * soft-fp/soft-fp.h: Likewise.
34924 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
34926         * iconv/iconv_prog.c: Fix typos.
34927         * stdio-common/psiginfo-data.h: Likewise.
34929 2013-10-12   Reuben Thomas <rrt@sc3d.org>
34931         [BZ #15764]
34932         * locale/setlocale.c: Fix typo.
34934 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34936         [BZ #16036]
34937         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
34938         signaling NaN arguments.
34939         * soft-fp/unordsf2.c (__unordsf2): Likewise.
34940         * soft-fp/unordtf2.c (__unordtf2): Likewise.
34942         [BZ #14910]
34943         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
34944         unordered operands.
34945         * soft-fp/gesf2.c (__gesf2): Likewise.
34946         * soft-fp/getf2.c (__getf2): Likewise.
34947         * soft-fp/ledf2.c (__ledf2): Likewise.
34948         * soft-fp/lesf2.c (__lesf2): Likewise.
34949         * soft-fp/letf2.c (__letf2): Likewise.
34951         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
34952         * soft-fp/eqsf2.c (__eqsf2): Likewise.
34953         * soft-fp/eqtf2.c (__eqtf2): Likewise.
34954         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
34955         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
34956         * soft-fp/fixdfti.c (__fixdfti): Likewise.
34957         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
34958         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
34959         * soft-fp/fixsfti.c (__fixsfti): Likewise.
34960         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
34961         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
34962         * soft-fp/fixtfti.c (__fixtfti): Likewise.
34963         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
34964         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
34965         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
34966         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
34967         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
34968         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
34969         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
34970         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
34971         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
34972         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
34973         * soft-fp/floatdisf.c (__floatdisf): Likewise.
34974         * soft-fp/floatsisf.c (__floatsisf): Likewise.
34975         * soft-fp/floattidf.c (__floattidf): Likewise.
34976         * soft-fp/floattisf.c (__floattisf): Likewise.
34977         * soft-fp/floattitf.c (__floattitf): Likewise.
34978         * soft-fp/floatundidf.c (__floatundidf): Likewise.
34979         * soft-fp/floatundisf.c (__floatundisf): Likewise.
34980         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
34981         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
34982         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
34983         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
34984         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
34985         * soft-fp/gesf2.c (__gesf2): Likewise.
34986         * soft-fp/getf2.c (__getf2): Likewise.
34987         * soft-fp/ledf2.c (__ledf2): Likewise.
34988         * soft-fp/lesf2.c (__lesf2): Likewise.
34989         * soft-fp/letf2.c (__letf2): Likewise.
34991         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
34992         Undefine and redefine.
34993         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
34994         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
34995         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
34996         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
34997         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34998         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
34999         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35000         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
35001         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35002         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
35003         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35004         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
35005         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35006         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
35007         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35009         [BZ #16032]
35010         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
35011         without decrementing exponent if mantissa >= that for the
35012         denominator, not >.
35013         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
35014         denominator, not >.  Decrement exponent in < case instead of
35015         incrementing in >= case.
35016         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
35017         without decrementing exponent if mantissa >= that for the
35018         denominator, not >.
35020         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
35021         computing saturated result for unsigned overflow.
35023 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35024             Jeff Law  <law@redhat.com>
35026         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
35027         (atan2Mp): Add systemtap probe marker.
35028         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
35029         (__ieee754_log): Add systemtap probe marker.
35030         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
35031         (atanMp): Add systemtap probe marker.
35032         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
35033         (tanMp): Add systemtap probe marker.
35034         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
35035         (__slowexp): Add systemtap probe marker.
35036         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
35037         (__slowpow): Add systemtap probe marker.
35038         * manual/probes.texi: Document probes.
35040 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
35042         [BZ #15362]
35043         * libio/fileops.c (_IO_new_file_write): Return count of bytes
35044         written.
35045         (_IO_new_file_xsputn): Don't return EOF if nothing has been
35046         written.
35047         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
35048         written to buffer but not flushed.
35049         * libio/iofwrite_u.c:  Likewise.
35050         * libio/iopadn.c:  Return bytes returned even if EOF was
35051         encountered.
35052         * libio/iowpadn.c:  Likewise.
35053         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
35054         if _IO_padn does not write the whole buffer.
35055         [!COMPILE_WPRINTF] (PAD): Likewise.
35057 2013-10-10  David S. Miller  <davem@davemloft.net>
35059         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
35060         directory block.
35062 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35064         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
35065         instead of FSF address.
35066         * soft-fp/fixdfti.c: Likewise.
35067         * soft-fp/fixsfti.c: Likewise.
35068         * soft-fp/fixtfti.c: Likewise.
35069         * soft-fp/fixunsdfti.c: Likewise.
35070         * soft-fp/fixunssfti.c: Likewise.
35071         * soft-fp/fixunstfti.c: Likewise.
35072         * soft-fp/floattidf.c: Likewise.
35073         * soft-fp/floattisf.c: Likewise.
35074         * soft-fp/floattitf.c: Likewise.
35075         * soft-fp/floatuntidf.c: Likewise.
35076         * soft-fp/floatuntisf.c: Likewise.
35077         * soft-fp/floatuntitf.c: Likewise.
35078         * soft-fp/trunctfxf2.c: Likewise.
35080         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
35081         * soft-fp/fixdfti.c: Likewise.
35082         * soft-fp/fixsfti.c: Likewise.
35083         * soft-fp/fixtfti.c: Likewise.
35084         * soft-fp/fixunsdfti.c: Likewise.
35085         * soft-fp/fixunssfti.c: Likewise.
35086         * soft-fp/fixunstfti.c: Likewise.
35087         * soft-fp/floattidf.c: Likewise.
35088         * soft-fp/floattisf.c: Likewise.
35089         * soft-fp/floattitf.c: Likewise.
35090         * soft-fp/floatuntidf.c: Likewise.
35091         * soft-fp/floatuntisf.c: Likewise.
35092         * soft-fp/floatuntitf.c: Likewise.
35093         * soft-fp/trunctfxf2.c: Likewise.
35095 2013-10-10  David S. Miller  <davem@davemloft.net>
35097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35099 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
35101         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35102         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
35103         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
35104         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
35105         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
35106         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
35107         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
35109         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
35110         for NaNs before doing comparisons on argument.
35111         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35112         Likewise.
35114 2013-10-10  Will Newton  <will.newton@linaro.org>
35116         * malloc/hooks.c (memalign_check): Ensure the value of bytes
35117         passed to _int_memalign does not overflow.
35119 2013-10-10  Torvald Riegel  <triegel@redhat.com>
35121         * scripts/bench.pl: Add include-sources directive.
35122         * benchtests/README: Update documentation.
35124 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35126         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
35127         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
35128         instead of FP_INIT_ROUNDMODE.
35129         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
35130         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
35132         [BZ #16034]
35133         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
35134         copy class of input value.
35135         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
35136         not handle exceptions.
35137         * soft-fp/negsf2.c (__negsf2): Likewise.
35138         * soft-fp/negtf2.c (__negtf2): Likewise.
35139         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
35141 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
35143         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
35144         semicolon.  From Linux kernel.
35146 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
35148         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
35150 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
35152         [BZ #156]
35153         * manual/socket.texi: Added statement about buffer
35154         for gethostbyname2_r.
35156 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
35158         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
35159         Use .p2align directive instead, throughout.
35160         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35161         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
35162         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
35163         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35164         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35165         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
35166         * sysdeps/x86_64/strchr.S: Likewise.
35167         * sysdeps/x86_64/strrchr.S: Likewise.
35169 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35171         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
35173         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
35175         * sysdeps/generic/math_private.h (__mpsin1): Remove
35176         declaration.
35177         (__mpcos1): Likewise.
35178         (__mpsin): New argument __range_reduce.
35179         (__mpcos): Likewise.
35180         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35181         (slow): Use __mpsin and __mpcos.
35182         (slow1): Likewise.
35183         (slow2): Likewise.
35184         (sloww): Likewise.
35185         (sloww1): Likewise.
35186         (sloww2): Likewise.
35187         (bsloww): Likewise.
35188         (bsloww1): Likewise.
35189         (bsloww2): Likewise.
35190         (cslow2): Likewise.
35191         (csloww): Likewise.
35192         (csloww1): Likewise.
35193         (csloww2): Likewise.
35194         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
35195         range_reduce.  Merge in __mpsin1.
35196         (__mpcos): Likewise.
35197         (__mpsin1): Remove.
35198         (__mpcos1): Likewise.
35200 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
35202         * locale/loadlocale.c (_nl_intern_locale_data): Use
35203         LOCFILE_ALIGNED_P.
35204         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
35205         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
35206         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
35207         obstack data is appropriately aligned.
35208         (obstack_int32_grow_fast): Likewise.
35209         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
35210         * locale/programs/locfile.c (add_locale_uint32): Likewise.
35211         (add_locale_uint32_array): Likewise.
35213 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35215         * benchtests/Makefile: Remove ARGLIST and RET variables.
35216         ($(objpfx)bench-%.c): Pass only function name to the script.
35217         * benchtests/README: Update documentation.
35218         * benchtests/acos-inputs: Add new directives.
35219         * benchtests/acosh-inputs: Likewise.
35220         * benchtests/asin-inputs: Likewise.
35221         * benchtests/asinh-inputs: Likewise.
35222         * benchtests/atan-inputs: Likewise.
35223         * benchtests/atanh-inputs: Likewise.
35224         * benchtests/cos-inputs: Likewise.
35225         * benchtests/cosh-inputs: Likewise.
35226         * benchtests/exp-inputs: Likewise.
35227         * benchtests/log-inputs: Likewise.
35228         * benchtests/pow-inputs: Likewise.
35229         * benchtests/rint-inputs: Likewise.
35230         * benchtests/sin-inputs: Likewise.
35231         * benchtests/sinh-inputs: Likewise.
35232         * benchtests/tan-inputs: Likewise.
35233         * benchtests/tanh-inputs: Likewise.
35234         * scripts/bench.pl: Add support for new directives.
35236 2013-10-07  Alan Modra  <amodra@gmail.com>
35238         * README: Fix careless merge.
35240 2013-10-05  Alan Modra  <amodra@gmail.com>
35242         * NEWS: Mention powerpc64le support and bugs fixed.
35243         * README: Both big-endian and little-endian powerpc64 supported.
35245 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35247         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
35248         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
35249         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
35250         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
35252 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
35254         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
35255         match prototype.
35257 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
35259         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
35260         Move -mhard-float appending from
35261         ports/sysdeps/powerpc/powerpc32/Makefile.
35262         [$(with-fp) = yes] (ASFLAGS): Likewise.
35263         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
35264         * sysdeps/powerpc/nofpu: Move directory from
35265         ports/sysdeps/powerpc/nofpu.
35266         * sysdeps/powerpc/soft-fp: Move directory from
35267         ports/sysdeps/powerpc/soft-fp.
35268         * sysdeps/powerpc/powerpc32/405: Move directory from
35269         ports/sysdeps/powerpc/powerpc32/405.
35270         * sysdeps/powerpc/powerpc32/440: Move directory from
35271         ports/sysdeps/powerpc/powerpc32/440.
35272         * sysdeps/powerpc/powerpc32/464: Move directory from
35273         ports/sysdeps/powerpc/powerpc32/464.
35274         * sysdeps/powerpc/powerpc32/476: Move directory from
35275         ports/sysdeps/powerpc/powerpc32/476.
35276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
35277         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
35278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
35279         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
35280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
35281         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
35282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
35283         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
35284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
35285         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
35286         * README: Update for powerpc-*-linux-gnu software floating point
35287         support in libc.
35289         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
35290         case to powerpc/powerpc32*.
35291         * sysdeps/unix/sysv/linux/configure: Regenerated.
35293         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
35294         (_FPU_MASK_OM): Define as 0x04.
35295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
35296         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
35297         0x00c10080.
35298         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
35299         0x0000003c.
35300         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
35302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
35303         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35304         getcontext_e500.
35305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
35306         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35307         setcontext_e500.
35308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
35309         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
35310         and setcontext_e500.
35312 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
35314         * locale/iso-3166.def: Update iso-1366.def and related occurrences
35316 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35318         * manual/threads.texi (Default Thread Attributes): Fix typo.
35320 2013-10-04  Will Newton  <will.newton@linaro.org>
35322         * malloc/Makefile: Add tst-memalign.
35323         * malloc/tst-memalign.c: New file.
35325         * malloc/tst-posix_memalign.c: Add comments.
35326         (do_test): Add comments and call free on all potentially
35327         allocated pointers. Add space after cast.
35329         * malloc/tst-pvalloc.c: Add comments.
35330         (do_test): Add comments and call free on all potentially
35331         allocated pointers. Remove duplicate check for NULL pointer.
35332         Add space after cast.
35334         * malloc/tst-valloc.c: Add comments.
35335         (do_test): Add comments and call free on all potentially
35336         allocated pointers. Remove duplicate check for NULL pointer.
35337         Add space after cast.
35339 2013-10-04  Alan Modra  <amodra@gmail.com>
35341         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35342         Use stdint types in rather than __attribute__((mode())).
35343         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35345 2013-10-04  Alan Modra  <amodra@gmail.com>
35347         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35348         Correct handling of unaligned relocs for little-endian.
35349         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35351 2013-10-04  Alan Modra  <amodra@gmail.com>
35353         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
35354         * configure: Regenerate.
35355         * nptl/shlib-versions: Powerpc*le starts at 2.18.
35356         * shlib-versions: Likewise.
35358 2013-10-04  Alan Modra  <amodra@gmail.com>
35360         * string/tester.c (test_memrchr): Increment reported test cycle.
35362 2013-10-04  Alan Modra  <amodra@gmail.com>
35364         * string/test-memcpy.c (do_one_test): When reporting errors, print
35365         string address and don't overrun end of string.
35367 2013-10-04  Alan Modra  <amodra@gmail.com>
35369         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
35370         insrdi.  Make better use of reg selection to speed exit slightly.
35371         Schedule entry path a little better.  Remove useless "are we done"
35372         checks on entry to main loop.  Handle wrapping around zero address.
35373         Correct main loop count.  Handle single left-over word from main
35374         loop inline rather than by using loop_small.  Remove extra word
35375         case in loop_small caused by wrong loop count.  Add little-endian
35376         support.
35377         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35378         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
35379         cache hint.
35380         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35381         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
35382         support.  Avoid rlwimi.
35383         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
35385 2013-10-04  Alan Modra  <amodra@gmail.com>
35387         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
35388         insrdi.  Formatting.
35389         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
35390         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35391         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35392         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35393         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35394         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
35396 2013-10-04  Alan Modra  <amodra@gmail.com>
35398         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
35399         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35400         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
35401         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
35402         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35403         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35404         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35405         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35406         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
35407         use of regs.  Use power7 mtocrf.  Tidy function tails.
35409 2013-10-04  Alan Modra  <amodra@gmail.com>
35411         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
35412         Formatting.  Consistently use rXXX register defines or rN defines.
35413         Use early exit labels that avoid restoring unused non-volatile regs.
35414         Make cr field use more consistent with rWORDn compares.  Rename
35415         regs used as shift registers for unaligned loop, using rN defines
35416         for short lifetime/multiple use regs.
35417         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35418         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
35419         addi 1,1,64 to pop stack frame.  Simplify return value code.
35420         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35422 2013-10-04  Alan Modra  <amodra@gmail.com>
35424         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
35425         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
35426         rather than rlwimi.
35427         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
35428         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
35429         little-endian support.  Correct typos.
35430         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
35431         rather than rlwimi.
35432         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
35433         in loop and entry code to keep "and." results.
35434         (strchr): Add little-endian support.  Comment.  Move cntlzd
35435         earlier in tail.
35436         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
35438 2013-10-04  Alan Modra  <amodra@gmail.com>
35440         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
35441         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
35442         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
35443         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
35445 2013-10-04  Alan Modra  <amodra@gmail.com>
35447         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
35448         (rTMP): Define as r11.
35449         (strcmp): Add little-endian support.  Optimise tail.
35450         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
35451         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35452         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35453         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35454         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35455         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35456         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35458 2013-10-04  Alan Modra  <amodra@gmail.com>
35460         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
35461         little-endian support.  Remove unnecessary "are we done" tests.
35462         Handle "s" wrapping around zero and extremely large "size".
35463         Correct main loop count.  Handle single left-over word from main
35464         loop inline rather than by using small_loop.  Correct comments.
35465         Delete "zero" tail, use "end_max" instead.
35466         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
35468 2013-10-04  Alan Modra  <amodra@gmail.com>
35470         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
35471         support.  Don't branch over align.
35472         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
35473         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
35474         support.  Rearrange tmp reg use to suit.  Comment.
35475         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
35477 2013-10-04  Alan Modra  <amodra@gmail.com>
35479         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
35481 2013-10-04  Alan Modra  <amodra@gmail.com>
35483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
35484         conditional form of branch and link when obtaining pc.
35485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35487 2013-10-04  Alan Modra  <amodra@gmail.com>
35489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
35490         HIWORD/LOWORD.
35491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
35492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
35494 2013-10-04  Alan Modra  <amodra@gmail.com>
35496         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
35497         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
35498         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35499         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
35500         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35501         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35502         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
35503         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35504         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35505         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
35507 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35508             Alistair Popple <alistair@ozlabs.au.ibm.com>
35509             Alan Modra <amodra@gmail.com>
35511         [BZ #15723]
35512         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
35513         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
35514         _dl_hwcap access for little-endian.
35515         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
35516         destroy vmx regs when saving unaligned.
35517         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
35518         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
35519         destroy vmx regs when saving unaligned.
35521 2013-10-04  Alan Modra  <amodra@gmail.com>
35523         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
35524         Don't use a union to pack hi/low value.
35526 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35528         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
35529         for little-endian.
35530         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35531         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
35532         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35533         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35534         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35536 2013-10-04  Alan Modra  <amodra@gmail.com>
35538         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
35539         constants to usual value for .cst8 section, and remove redundant
35540         high address load.
35541         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
35542         constant for 0x1p52.  Load little-endian words of double from
35543         correct stack offsets.
35545 2013-10-04  Alan Modra  <amodra@gmail.com>
35547         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
35548         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
35549         words of double from correct stack offsets.
35550         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35551         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
35552         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35553         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35554         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35555         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35556         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35557         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35558         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35559         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35560         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35561         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35562         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35563         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35564         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35565         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
35566         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35568 2013-10-04  Alan Modra  <amodra@gmail.com>
35570         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
35571         64-bit int/double union.
35572         (_FPU_SETCW): Likewise.
35573         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
35574         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
35576 2013-10-04  Alan Modra  <amodra@gmail.com>
35578         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
35579         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
35581 2013-10-04  Alan Modra  <amodra@gmail.com>
35583         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
35584         use vector int constants.
35585         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
35587 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35589         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
35590         array with long long.
35591         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
35592         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
35593         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
35594         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
35595         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
35596         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
35597         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
35598         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
35599         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
35600         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
35601         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
35602         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
35603         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
35605 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35607         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
35608         (__signbit): Likewise.  Correct for little-endian.
35609         (__signbitl): Call __signbit.
35610         (lrint): Correct for little-endian.
35611         (lrintf): Call lrint.
35613 2013-10-04  Alan Modra  <amodra@gmail.com>
35615         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
35616         union 32-bit int array member with 64-bit int array.
35617         (t515, tm256): Double rather than long double.
35618         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
35620 2013-10-04  Alan Modra  <amodra@gmail.com>
35622         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
35623         Delete.
35624         (IEEE854_LONG_DOUBLE_BIAS): Delete.
35625         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
35626         version of math_ldbl.h.
35628 2013-10-04  Alan Modra  <amodra@gmail.com>
35630         [BZ #15734], [BZ #15735]
35631         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
35632         all uses of ieee875 long double macros and unions.  Simplify test
35633         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
35634         ldbl_extract_mantissa value for ix,iy exponents.  Properly
35635         normalize after ldbl_extract_mantissa, and don't add hidden bit
35636         already handled.  Don't treat low word of ieee854 mantissa like
35637         low word of IBM long double and mask off bit when testing for
35638         zero.
35639         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
35640         all uses of ieee875 long double macros and unions.  Simplify tests
35641         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
35642         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
35643         two1022, instead use their values.  Recognise that tests for large
35644         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
35645         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
35646         Rewrite all uses of ieee875 long double macros and unions.  Simplify
35647         test for 0.0L and nan.  Correct negation.
35648         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
35649         ieee875 long double macros and unions.  Correct output for large
35650         magnitude x.  Correct absolute value calculation.
35651         (__erfcl): Likewise.
35652         * math/libm-test.inc: Add tests for errors discovered in IBM long
35653         double versions of fmodl, remainderl, erfl and erfcl.
35655 2013-10-04  Alan Modra  <amodra@gmail.com>
35657         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
35658         all uses of ieee854 long double macros and unions.  Simplify tests
35659         for long doubles that are fully specified by the high double.
35660         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35661         Likewise.
35662         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
35663         Remove dead code too.
35664         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35665         (__ieee754_ynl): Likewise.
35666         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
35667         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
35668         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35669         Remove dead code too.
35670         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
35671         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
35672         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
35673         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
35674         Simplify.
35675         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
35676         Simplify.
35677         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
35678         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35679         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
35680         Comment on variable precision.
35681         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
35682         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35683         Likewise.
35684         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35685         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35686         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35687         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
35688         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
35690 2013-10-04  Alan Modra  <amodra@gmail.com>
35692         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
35693         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
35694         all uses of ieee854 long double macros and unions.
35695         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
35696         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35697         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
35698         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
35699         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
35700         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35701         Likewise.
35702         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
35703         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35704         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
35705         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35706         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
35707         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
35708         Simplify sign and nan test too.
35709         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
35710         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35711         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
35712         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35713         Likewise.
35714         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35715         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
35716         Likewise.
35717         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35718         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
35719         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
35720         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
35721         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
35722         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
35724 2013-10-04  Alan Modra  <amodra@gmail.com>
35726         * stdio-common/printf_size.c (__printf_size): Don't use
35727         union ieee854_long_double in fpnum union.
35728         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
35729         signbit macro to retrieve sign from long double.
35730         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
35731         retrieve sign from long double.
35732         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
35733         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
35734         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
35735         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35736         * math/test-misc.c (main): Don't use union ieee854_long_double.
35738 2013-10-04  Alan Modra  <amodra@gmail.com>
35740         [BZ #15680]
35741         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
35742         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
35743         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
35744         calculation.  Remove unnecessary test for denormal exponent.
35745         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
35746         Correct handling of denormals.  Avoid undefined shift behaviour.
35747         Correct normalisation of low mantissa when low double is denormal.
35748         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
35749         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
35750         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
35751         Correct normalisation of low mantissa.  Test for overflow of high
35752         mantissa and normalise.
35753         (ldbl_nearbyint): Use more readable constant for two52.
35754         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
35755         (__mpn_construct_long_double): Fix test for overflow of high
35756         mantissa and correct normalisation.  Avoid undefined shift.
35758 2013-10-04  Alan Modra  <amodra@gmail.com>
35760         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
35761         (union ibm_extended_long_double): Define as an array of ieee754_double.
35762         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
35763         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
35764         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
35765         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35766         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35767         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
35768         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35769         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35770         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35771         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
35772         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35774 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
35776         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
35777         page size instead of calling getpagesize.
35779         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
35780         (LOCFILE_ALIGN_MASK): Likewise.
35781         (LOCFILE_ALIGN_UP): Likewise.
35782         (LOCFILE_ALIGNED_P): Likewise.
35783         * locale/programs/ld-collate.c (collate_output): Use the new
35784         macros instead of __alignof__ (int32_t).
35785         * locale/weight.h (findidx): Likewise.
35787 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
35789         [BZ #431]
35790         * manual/string.texi: Fix strncat and wcsncat.
35792 2013-10-03  Brooks Moses  <bmoses@google.com>
35794         [BZ #15915]
35795         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
35796         * Makerules: ...here, and adjust associated comments.
35798 2013-10-02  Will Newton  <will.newton@linaro.org>
35800         * malloc/Makefile: Add tst-pvalloc.
35801         * malloc/tst-pvalloc.c: New file.
35803 2013-10-02  Will Newton  <will.newton@linaro.org>
35805         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
35806         improve test coverage.
35808 2013-10-02  Will Newton  <will.newton@linaro.org>
35810         * malloc/Makefile: Add tst-posix_memalign.
35811         * malloc/tst-posix_memalign.c: New file.
35813 2013-10-01  Eric Blake  <eblake@redhat.com>
35815         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
35816         Use __THROWNL rather than __THROW on static functions.
35818 2013-09-30  Petr Machata  <pmachata@redhat.com>
35820         * elf/elf.h (R_AARCH64_ABS16): New macro.
35821         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
35822         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
35823         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
35824         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
35825         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
35826         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
35827         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
35828         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
35829         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
35830         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
35831         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
35832         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
35833         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
35834         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
35835         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
35836         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
35837         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
35838         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
35839         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
35840         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
35841         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
35842         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
35843         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
35844         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
35845         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
35846         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
35847         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
35848         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
35849         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
35850         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
35851         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
35852         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
35853         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
35854         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
35855         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
35856         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
35857         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
35858         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
35859         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
35860         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
35861         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
35862         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
35863         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
35864         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
35865         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
35866         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
35867         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
35868         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
35869         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
35870         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
35871         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
35872         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
35873         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
35874         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
35875         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
35876         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
35877         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
35878         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
35879         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
35880         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
35881         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
35882         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
35883         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
35884         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
35885         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
35886         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
35887         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
35888         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
35889         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
35890         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
35891         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
35892         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
35893         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
35894         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
35895         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
35896         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
35897         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
35898         (R_AARCH64_TLSDESC_LDR): Likewise.
35899         (R_AARCH64_TLSDESC_ADD): Likewise.
35900         (R_AARCH64_TLSDESC_CALL): Likewise.
35902 2013-09-30  Andreas Schwab  <schwab@suse.de>
35904         [BZ #15048]
35905         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
35906         the nss database lookup.
35907         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35908         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35910 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
35912         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
35914 2013-09-28  P. J. McDermott  <pj@pehjota.net>
35916         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
35917         ${Bash-specific parameter/pattern/string} parameter expansion.
35918         * sysdeps/unix/make-syscalls.sh: Likewise.
35920 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35922         * sysdeps/sh/stackguard-macros.h: New file.
35924 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
35926         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
35928         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
35929         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
35930         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35931         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
35933 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35935         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
35936         Fix thread ID register.
35938 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
35940         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
35941         [POSIX || UNIX98]: Require rather than permitting all symbols from
35942         <time.h>.
35943         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
35944         element of struct sched_param.
35945         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
35946         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
35947         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
35948         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
35949         constant.
35951 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
35953         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
35954         argument calculation.
35956 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35958         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
35959         Expect macro.
35960         [POSIX] (pthread_attr_t): Do not require type.
35961         [POSIX] (pthread_cond_t): Likewise.
35962         [POSIX] (pthread_condattr_t): Likewise.
35963         [POSIX] (pthread_key_t): Likewise.
35964         [POSIX] (pthread_mutex_t): Likewise.
35965         [POSIX] (pthread_mutexattr_t): Likewise.
35966         [POSIX] (pthread_once_t): Likewise.
35967         [POSIX] (pthread_t): Likewise.
35968         [POSIX-based standards] (pthread_atfork): Expect function.
35970 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35971             Richard Sandiford  <richard@codesourcery.com>
35973         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
35974         (swap_endianness_p): New extern variable.
35975         (set_big_endian): New inline function.
35976         (maybe_swap_uint32): Likewise.
35977         (maybe_swap_uint32_array): Likewise.
35978         (maybe_swap_uint32_obstack): Likewise.
35979         * locale/programs/locfile.c: Include <stdbool.h>.
35980         (swap_endianness_p): New variable.
35981         (add_locale_uint32): Call maybe_swap_uint32.
35982         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
35983         (write_locale_data): Call maybe_swap_uint32_array.
35984         * locale/programs/ld-collate.c (obstack_int32_grow): Call
35985         maybe_swap_uint32.
35986         (obstack_int32_grow_fast): Likewise.
35987         (output_weightwc): Call maybe_swap_uint32_obstack.
35988         (collate_output): Likewise.
35989         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
35990         (OPT_LITTLE_ENDIAN): Likewise.
35991         (options): Add --little-endian and --big-endian options.
35992         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
35993         * locale/programs/locarchive.c: Include "locfile.h".
35994         (GET): New macro.
35995         (SET): Likewise.
35996         (INC): Likewise.
35997         (create_archive): Use the new macros to access fields of
35998         structures directly mapped from or written to locale archives.
35999         (oldlocrecentcmp): Likewise.
36000         (enlarge_archive): Likewise.
36001         (insert_name): Likewise.
36002         (add_alias): Likewise.
36003         (add_locale): Likewise.
36004         (delete_locales_from_archive): Likewise.
36005         (show_archive_content): Likewise.
36006         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
36007         locale data.
36009 2013-09-24  Roland McGrath  <roland@hack.frob.com>
36011         * manual/freemanuals.texi: Updated from (newly) canonical copy at
36012         http://www.gnu.org/doc/freemanuals.texi.
36013         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
36015 2013-09-24  Will Newton  <will.newton@linaro.org>
36017         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
36018         macro.
36020 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
36022         * locale/hashval.h (compute_hashval): Interpret bytes of key as
36023         unsigned char.
36025 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
36027         * manual/threads.texi (POSIX Threads): Fix a typo.
36029 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36031         [BZ #14547]
36032         * string/tst-strcoll-overflow.c: New test case.
36033         * string/Makefile (xtests): Add tst-strcoll-overflow.
36034         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
36035         cache if string sizes may cause integer overflow.
36037         [BZ #14547]
36038         * string/strcoll_l.c (coll_seq): New members rule, idx,
36039         save_idx and back_us.
36040         (get_next_seq_nocache): New function.
36041         (do_compare_nocache): New function.
36042         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
36043         when malloc fails.
36045 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
36047         [BZ #15754]
36048         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
36049         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
36050         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
36052         [BZ #15754]
36053         * elf/Makefile (tests): Add tst-ptrguard1.
36054         (tests-static): Add tst-ptrguard1-static.
36055         (tst-ptrguard1-ARGS): Define.
36056         (tst-ptrguard1-static-ARGS): Define.
36057         * elf/tst-ptrguard1.c: New file.
36058         * elf/tst-ptrguard1-static.c: New file.
36059         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
36060         * sysdeps/i386/stackguard-macros.h: Likewise.
36061         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36062         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36063         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36064         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36065         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36066         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36068 2013-09-23  Hector Marco  <hecmargi@upv.es>
36069             Ismael Ripoll  <iripoll@disca.upv.es>
36070             Carlos O'Donell  <carlos@redhat.com>
36072         [BZ #15754]
36073         * sysdeps/generic/stackguard-macros.h: Define
36074         __pointer_chk_guard_local and POINTER_CHK_GUARD.
36075         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
36076         Define __pointer_chk_guard_local.
36077         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
36078         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
36080 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
36082         [BZ #15859]
36083         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
36085 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
36087         * include/string.h (__ffs): Declare as hidden.
36088         * string/ffs.c (__ffs): Define as hidden.
36089         * sysdeps/i386/ffs.c (__ffs): Likewise.
36090         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
36091         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
36092         * sysdeps/s390/ffs.c (__ffs): Likewise.
36093         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
36095 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
36097         * NEWS: Mention malloc probes.
36099         * malloc/arena.c (new_heap): New memory_heap_new probe.
36100         (grow_heap): New memory_heap_more probe.
36101         (shrink_heap): New memory_heap_less probe.
36102         (heap_trim): New memory_heap_free probe.
36103         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
36104         (systrim): New memory_sbrk_less probe.
36105         * manual/probes.texi: Document them.
36107         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
36108         * manual/probes.texi: Document it.
36110         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
36111         (__libc_realloc): Add memory_realloc_retry probe.
36112         (__libc_memalign): Add memory_memalign_retry probe.
36113         (__libc_valloc): Add memory_valloc_retry probe.
36114         (__libc_pvalloc): Add memory_pvalloc_retry probe.
36115         (__libc_calloc): Add memory_calloc_retry probe.
36116         * manual/probes.texi: Document them.
36118         * malloc/arena.c (get_free_list): Add probe
36119         memory_arena_reuse_free_list.
36120         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
36121         and memory_arena_reuse.
36122         (arena_get2) [!PER_THREAD]: Likewise.
36123         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
36124         memory_arena_reuse_realloc.
36125         * manual/probes.texi: Document them.
36127         * malloc/malloc.c (__libc_free): Add
36128         memory_mallopt_free_dyn_thresholds probe.
36129         (__libc_mallopt): Add multiple memory_mallopt probes.
36130         * manual/probes.texi: Document them.
36132         * malloc/malloc.c: Include stap-probe.h.
36133         (__libc_mallopt): Add memory_mallopt probe.
36134         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
36135         * manual/probes.texi: New.
36136         * manual/Makefile (chapters): Add probes.
36137         * manual/threads.texi: Set next node.
36139 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
36141         [BZ #15963, #13985]
36142         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
36143         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
36144         Add `Chinese' to `nan' entry name.
36146 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36148         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
36149         (POLYNOMIAL): Likewise.
36150         (TAYLOR_SINCOS): Likewise.
36151         (TAYLOR_SLOW): Likewise.
36152         (__sin): Use TAYLOR_SINCOS.
36153         (__cos): Likewise.
36154         (slow): Use TAYLOR_SLOW.
36155         (sloww): Likewise.
36156         (bsloww): Likewise.
36157         (csloww): Likewise.
36159 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36161         * stdlib/strtod_l.c: Fix buffer overrun.
36163 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36165         * benchtests/Makefile (bench): Add sincos.
36166         * benchtests/bench-sincos.c: New file.
36168         * math/libm-test.inc (cos_test_data): New test inputs.
36169         (sin_test_data): Likewise.
36171         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
36172         macro.
36173         (__sin): Use it.
36174         (__cos): Likewise.
36175         (slow1): Likewise.
36176         (slow2): Likewise.
36177         (sloww1): Likewise.
36178         (sloww2): Likewise.
36179         (bsloww1): Likewise.
36180         (bsloww2): Likewise.
36181         (cslow2): Likewise.
36182         (csloww1): Likewise.
36183         (csloww2): Likewise.
36185         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
36186         function.
36187         (__sin): Use it.
36188         (__cos): Likewise.
36190         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
36191         gotos.
36192         (__cos): Likewise.
36194 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
36196         * config.h.in (HAVE_MIPS_NAN2008): New macro.
36197         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
36198         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
36199         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
36200         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
36201         * elf/cache.c (print_entry): Handle the new cache flags.
36203 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36204             Aldy Hernandez  <aldyh@redhat.com>
36206         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
36207         Change condition to [_SOFT_FLOAT].
36208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
36209         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
36210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
36211         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
36212         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
36213         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
36214         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
36215         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
36216         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
36217         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
36218         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
36219         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
36220         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
36221         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
36222         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
36223         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
36224         declaration.
36226 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36228         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
36229         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36230         (__longjmp): Use LOAD_GP to load saved GPRs.
36231         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
36232         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36233         (__sigsetjmp): Use SAVE_GP to save GPRs.
36235         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
36236         Do not append -msoft-float.
36237         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
36239 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36241         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
36243 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
36245         [BZ #15966]
36246         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
36247         (_FPU_GETCW): Use initial "__" on variable and field names but not
36248         on macro parameter name.
36249         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
36250         parentheses around reference to macro parameter.
36252 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
36254         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
36255         prototype.
36256         (ctype_startup): Use uint32_t in cast and sizeof for
36257         ctype->charnames.
36259 2013-09-11  Jia Liu  <proljc@gmail.com>
36261         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
36262         __daddr_t_defined.
36263         [__FreeBSD__]: Likewise.
36265 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
36267         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36268         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
36269         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
36270         (strchr): Remove __strchr_sse42 ifunc selection.
36271         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
36272         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
36274 2013-09-11  Will Newton  <will.newton@linaro.org>
36276         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
36277         parameter to RES. Remove hardcoded 1000 value.
36278         * benchtests/bench-skeleton.c (main): Pass RES parameter
36279         to TIMING_INIT and multiply result by 1000.
36281 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36285 2013-09-11  Andreas Schwab  <schwab@suse.de>
36287         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36288         if not defined.
36289         (O_TMPFILE) [__USE_GNU]: Define.
36290         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
36291         Define.
36293 2013-09-11  Will Newton  <will.newton@linaro.org>
36295         [BZ #15857]
36296         * malloc/malloc.c (__libc_memalign): Check the value of bytes
36297         does not overflow.
36299 2013-09-11  Will Newton  <will.newton@linaro.org>
36301         [BZ #15856]
36302         * malloc/malloc.c (__libc_valloc): Check the value of bytes
36303         does not overflow.
36305 2013-09-11  Will Newton  <will.newton@linaro.org>
36307         [BZ #15855]
36308         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
36309         does not overflow.
36311 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
36313         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
36314         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36315         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36316         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36317         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36319 2013-09-10  Allan McRae  <allan@archlinux.org>
36321         [BZ #15748]
36322         * manual/arith.texi (Parsing of Floats): Clarify
36323         cross-reference.
36325         [BZ #15849]
36326         * manual/install.texi (Running make install): Mention
36327         --enable-pt-chown.
36328         * INSTALL: Regenerated.
36330 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
36332         * csu/init-first.c (_init): Remove the !SHARED condition around
36333         FPU control word initialization.
36334         * elf/dl-support.c (_dl_fpu_control): New variable.
36335         (_dl_aux_init) <AT_FPUCW>: Initialize it.
36336         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
36337         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
36338         * math/test-fpucw-static.c: New file.
36339         * math/test-fpucw-ieee.c: New file.
36340         * math/test-fpucw-ieee-static.c: New file.
36341         * math/Makefile (tests): Add `test-fpucw-ieee' and
36342         `$(tests-static)'.
36343         (tests-static): New variable.
36344         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
36345         dependency to...
36346         [($(build-shared),yes)]
36347         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36348         ... this.
36349         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
36350         New dependency.
36352 2013-09-09  Allan McRae  <allan@archlinux.org>
36354         [BZ #15939]
36355         * manual/string.texi (Collation Functions): Fix typo in
36356         strcoll example.
36357         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
36359         [BZ #15893]
36360         * stdlib/isomac.c (get_null_defines): Fix memory leak.
36362         [BZ #15892]
36363         * libio/memstream.c (open_memstream): Fix memory leak.
36364         * libio/wmemstream.c (open_wmemstream): Likewise.
36366         [BZ #15895]
36367         * nscd/netgroupcache.c: Fix nesting of ifdefs.
36369 2013-09-09  Will Newton  <will.newton@linaro.org>
36371         * malloc/Makefile: Add tst-realloc to tests.
36372         * malloc/tst-realloc.c: New file.
36374 2013-09-09  Allan McRae  <allan@archlinux.org>
36376         [BZ #15844]
36377         * COPYING: Update from GNU website to fix FSF address.
36378         * COPYING.LIB: Likewise.
36380 2013-09-06  David S. Miller  <davem@davemloft.net>
36382         * po/zh_TW.po: Update Chinese (traditional) translation from
36383         translation project.
36385 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
36386             Joseph Myers  <joseph@codesourcery.com>
36388         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
36389         "localeinfo.h".
36390         (obstack_chunk_alloc): New macro.
36391         (obstack_chunk_free): Likewise.
36392         (record_offset): New function.
36393         (init_locale_data): Likewise.
36394         (align_locale_data): Likewise.
36395         (add_locale_empty): Likewise.
36396         (add_locale_raw_data): Likewise.
36397         (add_locale_raw_obstack): Likewise.
36398         (add_locale_string): Likewise.
36399         (add_locale_wstring): Likewise.
36400         (add_locale_uint32): Likewise.
36401         (add_locale_uint32_array): Likewise.
36402         (add_locale_char): Likewise.
36403         (start_locale_structure): Likewise.
36404         (end_locale_structure): Likewise.
36405         (start_locale_prelude): Likewise.
36406         (end_locale_prelude): Likewise.
36407         (write_locale_data): Take locale_file structure rather than an
36408         iovec.
36409         * locale/programs/locfile.h: Include "obstack.h".
36410         (struct locale_file): Change to store locale file contents instead
36411         of header.
36412         (init_locale_data): New prototype.
36413         (align_locale_data): Likewise.
36414         (add_locale_empty): Likewise.
36415         (add_locale_raw_data): Likewise.
36416         (add_locale_raw_obstack): Likewise.
36417         (add_locale_string): Likewise.
36418         (add_locale_wstring): Likewise.
36419         (add_locale_uint32): Likewise.
36420         (add_locale_uint32_array): Likewise.
36421         (add_locale_char): Likewise.
36422         (start_locale_structure): Likewise.
36423         (end_locale_structure): Likewise.
36424         (start_locale_prelude): Likewise.
36425         (end_locale_prelude): Likewise.
36426         (write_locale_data): Update prototype.
36427         * locale/programs/3level.h (struct TABLE): Remove result field.
36428         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
36429         Use new locale_file interface.
36430         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
36431         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
36432         * locale/programs/ld-address.c (address_output): Use new
36433         locale_file interface.
36434         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
36435         NO_ADD_LOCALE.
36436         (collate_finish): Don't call collseq_table_finalize.
36437         (collate_output): Use new locale_file interface.
36438         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
36439         in file.
36440         (NO_FINALIZE): Change to NO_ADD_LOCALE.
36441         (TABLE): Move defines earlier in file.
36442         (ELEMENT): Likewise.
36443         (DEFAULT): Likewise.
36444         (wctrans_table_add): Move macro and inline function earlier in
36445         file.
36446         (struct wctype_table): Move type earlier in file.
36447         (add_locale_wctype_table): New static prototype.
36448         (struct locale_ctype_t): Use logical types instead of struct iovec
36449         pointers for members.
36450         (ctype_output): Use new locale_file interface.
36451         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
36452         new locale_file interface.
36453         (allocate_arrays): Update for use of new locale_file interface.
36454         * locale/programs/ld-identification.c (identification_output): Use
36455         new locale_file interface.
36456         * locale/programs/ld-measurement.c (measurement_output): Likewise.
36457         * locale/programs/ld-messages.c (messages_output): Likewise.
36458         * locale/programs/ld-monetary.c (monetary_output): Likewise.
36459         * locale/programs/ld-name.c (name_output): Likewise.
36460         * locale/programs/ld-numeric.c (numeric_output): Likewise.
36461         * locale/programs/ld-paper.c (paper_output): Likewise.
36462         * locale/programs/ld-telephone.c (telephone_output): Likewise.
36463         * locale/programs/ld-time.c (time_output): Likewise.
36465 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36467         * benchtests/Makefile: Add memrchr benchmark.
36468         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
36469         benchmark as memrchr.
36470         * benchtests/bench-memrchr-ifunc.c: New file.
36471         * benchtests/bench-memrchr.c: New file.
36473 2013-09-06   Will Newton  <will.newton@linaro.org>
36475         * benchtests/Makefile (string-bench): Add memcpy.
36477 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
36478             Cong Wang  <amwang@redhat.com>
36480         [BZ #15850]
36481         * sysdeps/unix/sysv/linux/bits/in.h
36482         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
36483         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
36484         before __USE_KERNEL_IPV6_DEFS uses.
36485         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
36486         IPPROTO_BEETPH.
36487         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
36488         sockaddr_in6, or ipv6_mreq.
36490 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36492         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
36493         memory access for final bytes in some large inputs.
36494         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
36496 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36498         * string/test-memrchr.c: New file.
36499         * string/test-memrchr-ifunc.c: New file.
36500         * string/Makefile: Add new memrchr testcase.
36502 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
36504         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
36505         fanotify_init returns EPERM.
36507 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36509         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
36510         errors.
36511         (top level): Treat second token from macro or constant entries for
36512         allowed headers as allowed.
36513         * include/complex.h: Condition internal declarations on
36514         [!_ISOMAC].
36515         * include/fenv.h: Condition include of <stdbool.h> and internal
36516         declarations on [!_ISOMAC].
36518 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
36520         [BZ #15923]
36521         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
36523 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36525         * configure.in (--enable-versioning): Remove configure option.
36526         (libc_cv_asm_symver_directive): Remove configure test.
36527         (libc_cv_ld_version_script_option): Likewise.
36528         (VERSIONING): Remove variable and AC_SUBST.
36529         (DO_VERSIONING): Remove AC_DEFINE.
36530         * configure: Regenerated.
36531         * config.h.in (DO_VERSIONING): Remove macro.
36532         * Makerules [$(versioning) = yes]: Change conditionals to
36533         [$(build-shared) = yes].
36534         * config.make.in (versioning): Remove variable.
36535         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
36536         [$(build-shared) = yes].
36537         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
36538         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
36539         * elf/Makefile [$(versioning) = yes]: Change conditionals to
36540         [$(build-shared) = yes].
36541         * extra-lib.mk [$(versioning) = yes]: Likewise.
36542         * hurd/Makefile [$(versioning) = yes]: Likewise.
36543         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
36544         [SHARED].
36545         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
36546         [SHARED].
36547         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36548         [SHARED && !NO_HIDDEN].
36549         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
36550         [SHARED].
36551         [SHARED && DO_VERSIONING]: Likewise..
36552         * libio/Makefile [$(versioning) = yes]: Change conditionals to
36553         [$(build-shared) = yes].
36554         * manual/install.texi (--disable-versioning): Remove
36555         documentation.
36556         * INSTALL: Regenerated.
36557         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
36558         to [SHARED].
36559         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
36560         [$(build-shared) = yes].
36561         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
36562         * sysdeps/i386/i686/multiarch/strstr-c.c
36563         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36564         [SHARED && !NO_HIDDEN].
36565         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
36566         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
36567         * sysdeps/powerpc/powerpc32/dl-machine.c
36568         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
36569         * sysdeps/powerpc/powerpc32/sysdep.h
36570         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
36571         to [SHARED && PIC && !NO_HIDDEN].
36572         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
36573         conditional to [SHARED].
36575 2013-09-04   Will Newton  <will.newton@linaro.org>
36577         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
36578         * benchtests/bench-string.h: Include bench-timing.h instead
36579         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
36580         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
36581         call to HP_TIMING_DIFF_INIT.
36582         * benchtests/bench-memccpy.c: Use bench-timing.h macros
36583         instead of hp-timing.h macros.
36584         * benchtests/bench-memchr.c: Likewise.
36585         * benchtests/bench-memcmp.c: Likewise.
36586         * benchtests/bench-memcpy.c: Likewise.
36587         * benchtests/bench-memmem.c: Likewise.
36588         * benchtests/bench-memmove.c: Likewise.
36589         * benchtests/bench-memset.c: Likewise.
36590         * benchtests/bench-rawmemchr.c: Likewise.
36591         * benchtests/bench-strcasecmp.c: Likewise.
36592         * benchtests/bench-strcasestr.c: Likewise.
36593         * benchtests/bench-strcat.c: Likewise.
36594         * benchtests/bench-strchr.c: Likewise.
36595         * benchtests/bench-strcmp.c: Likewise.
36596         * benchtests/bench-strcpy.c: Likewise.
36597         * benchtests/bench-strcpy_chk.c: Likewise.
36598         * benchtests/bench-strlen.c: Likewise.
36599         * benchtests/bench-strncasecmp.c: Likewise.
36600         * benchtests/bench-strncat.c: Likewise.
36601         * benchtests/bench-strncmp.c: Likewise.
36602         * benchtests/bench-strncpy.c: Likewise.
36603         * benchtests/bench-strnlen.c: Likewise.
36604         * benchtests/bench-strpbrk.c: Likewise.
36605         * benchtests/bench-strrchr.c: Likewise.
36606         * benchtests/bench-strspn.c: Likewise.
36607         * benchtests/bench-strstr.c: Likewise.
36609 2013-09-04  Will Newton  <will.newton@linaro.org>
36611         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
36613 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
36615         [BZ #15427]
36616         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36617         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
36618         * math/libm-test.inc (lgamma_test_data): Add more tests.
36619         * sysdeps/i386/fpu/libm-test-ulps: Update.
36620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36622 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
36624         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
36625         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36626         Add ifunc.
36627         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36628         Add strcmp-sse2-unaligned
36629         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
36631 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36633         * Versions.def (libc): Add GLIBC_2.19.
36635 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36637         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
36638         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
36640 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
36642         [BZ #14155]
36643         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
36644         intermediate calculations in recurrence.
36645         (__ieee754_ynf): Likewise.
36646         * math/libm-test.inc (jn_test_data): Do not allow spurious
36647         underflow exception.  Add more tests.
36648         (yn_test_data): Add more tests.
36649         * sysdeps/i386/fpu/libm-test-ulps: Update.
36650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36652 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
36654         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
36656 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36658         * csu/init-first.c: Fix then/than typos.
36659         * locale/programs/ld-collate.c: Likewise.
36660         * locale/programs/linereader.h: Likewise.
36661         * manual/charset.texi: Likewise.
36662         * manual/filesys.texi: Likewise.
36663         * manual/stdio.texi: Likewise.
36664         * manual/string.texi: Likewise.
36665         * stdlib/fmtmsg.c: Likewise.
36666         * sysdeps/i386/stpncpy.S: Likewise.
36667         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36668         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36669         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36670         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36672 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36674         * elf/dl-open.c: Fix typos.
36675         * iconvdata/gbbig5.c: Likewise.
36676         * iconvdata/iso-2022-jp.c: Likewise.
36677         * iconv/gconv_int.h: Likewise.
36678         * iconv/loop.c: Likewise.
36679         * nis/rpcsvc/nis.h: Likewise.
36680         * resolv/ns_name.c: Likewise.
36681         * stdio-common/vfscanf.c: Likewise.
36682         * streams/stropts.h: Likewise.
36683         * sunrpc/rpc_thread.c: Likewise.
36684         * sysdeps/i386/strpbrk.S: Likewise.
36685         * sysdeps/ieee754/k_standard.c: Likewise.
36686         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36687         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36688         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
36689         * sysdeps/mach/hurd/profil.c: Likewise.
36690         * sysdeps/s390/dl-procinfo.h: Likewise.
36691         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
36692         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36693         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
36694         * sysdeps/x86_64/dl-trampoline.S: Likewise.
36695         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36697 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
36699         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
36700         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
36702 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
36704         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
36705         aix specific files.
36706         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
36707         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
36708         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
36709         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
36710         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
36711         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
36712         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
36713         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
36715 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36716             Roland McGrath  <roland@hack.frob.com>
36718         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
36719         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
36721 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36723         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
36724         __executable_start symbol instead of _start.
36726 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36728         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
36729         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
36730         Move macros to...
36731         * sysdeps/gnu/ldsodefs.h: ... this new file.
36733         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
36734         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
36735         instead of ELFOSABI_LINUX.
36737         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
36738         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
36739         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
36740         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
36741         Likewise.
36742         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
36743         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
36744         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
36745         Likewise.
36746         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36747         (ibm_extended_long_double): Add ieee_nan member.
36748         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
36749         (do_test): New function.
36751         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
36752         TEST_TRUNC.
36753         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
36754         functions, renamed from truncdfsf_test, trunctfsf_test,
36755         trunctfdf_test.
36756         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
36757         functions.
36758         (do_test): Run all these.
36760 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
36762         * argp/argp-help.c: Fix typos.
36763         * argp/argp-parse.c: Likewise.
36764         * debug/backtracesyms.c: Likewise.
36765         * elf/elf.h: Likewise.
36766         * malloc/malloc.c: Likewise.
36767         * nis/nis_print.c: Likewise.
36768         * resolv/res_comp.c: Likewise.
36769         * stdlib/stdlib.h: Likewise.
36770         * sunrpc/clnt_tcp.c: Likewise.
36771         * sunrpc/clnt_udp.c: Likewise.
36772         * sunrpc/clnt_unix.c: Likewise.
36773         * sysdeps/unix/bsd/ptsname.c: Likewise.
36774         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36775         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
36776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
36777         Likewise.
36778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
36779         Likewise.
36780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36781         Likewise.
36782         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36784 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36786         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
36787         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36789 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
36791         [BZ #15897]
36792         * dlfcn/Makefile (tests): Add bug-dl-leaf.
36793         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
36794         ($(objpfx)bug-dl-leaf): New rule.
36795         ($(objpfx)bug-dl-leaf.so): Likewise.
36796         ($(objpfx)bug-dl-leaf.out): Likewise.
36797         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
36798         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
36799         * dlfcn/bug-dl-leaf.c: New test.
36800         * dlfcn/bug-dl-leaf-lib.c: Likewise.
36801         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
36802         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
36803         (dlclose): Likewise.
36804         (dlmopen): Likewise.
36806 2013-08-27  Roland McGrath  <roland@hack.frob.com>
36808         * include/netdb.h [!_ISOMAC]:
36809         Don't include <tls.h>.
36810         (h_errno, __libc_h_errno): Move declaration and macros out of
36811         [_LIBC_REENTRANT].
36813         * include/resolv.h [_RESOLV_H_]:
36814         Don't include <tls.h>.
36815         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
36816         * resolv/res_libc.c: Don't include <tls.h>.
36817         (_res): Use __attribute__ ((nocommon)) in place of
36818         __attribute__ ((section (".bss"))).
36820         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
36821         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
36823         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
36825         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
36826         only under [SIOCGIFCONF && SIOCGIFNETMASK].
36828         * resolv/res_mkquery.c: Include <sys/time.h>.
36830         * inet/ifreq.c: Moved to ...
36831         * sysdeps/unix/ifreq.c: ... here.
36832         * inet/ifreq.c: New file, true stub version.
36834         * socket/sa_len.c: New file.
36835         * socket/Makefile (aux): Add it.
36836         * sysdeps/unix/sysv/linux/Makefile
36837         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
36838         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
36839         and #include <socket/sa_len.c>.
36840         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
36841         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
36843         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
36844         * bits/socket.h: ... here.
36846         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
36847         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
36848         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
36850 2013-08-27  Andreas Schwab  <schwab@suse.de>
36852         [BZ #15736]
36853         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
36854         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
36855         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
36856         * string/test-strcasecmp.c (test_main): Run tests in several
36857         locales.
36858         * string/test-strncasecmp.c (test_main): Likewise.
36860         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
36861         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
36862         to __strcasecmp_nonascii and __strncasecmp_nonascii.
36863         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
36864         (__strncasecmp_ssse3) [PIC]: Likewise.
36866 2013-08-26  Roland McGrath  <roland@hack.frob.com>
36868         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
36870         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
36871         instead of explicitly declaring xdecrypt.
36872         * nis/nss_nis/nis-publickey.c: Likewise.
36874 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36876         [BZ #15890]
36877         * nscd/aicache.c: Include res_hconf.h.
36878         (addhstaiX): Initialize res_hconf.
36880 2013-08-26  Andreas Schwab  <schwab@suse.de>
36882         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
36883         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
36885 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36887         * nscd/aicache.c (addhstaiX): Fix indentation.
36889 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
36891         * configure.ac: Quote $build_pt_chown test.
36892         * configure: Regenerated.
36894 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
36896         [BZ #15532]
36897         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
36898         * math/s_cexpf.c (__cexpf): Likewise.
36899         * math/s_cexpl.c (__cexpl): Likewise.
36900         * math/libm-test.inc (cexp_test_data): Correct expected return
36901         value for NaN + i0.  Add another test.
36903 2013-08-22  David S. Miller  <davem@davemloft.net>
36905         * po/ca.po: Update Catalan translation from translation project.
36906         * po/uk.po: Add Ukrainian translations from translation project.
36908 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
36910         [BZ #15797]
36911         * math/s_fdim.c (__fdim): Check for infinite arguments if result
36912         is infinite, not alongside NaN test.
36913         * math/s_fdimf.c (__fdimf): Likewise.
36914         * math/s_fdiml.c (__fdiml): Likewise.
36915         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
36916         errno is unchanged.
36918 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
36920         * argp/argp-help.c: Fix typos.
36921         * crypt/speeds.c: Likewise.
36922         * csu/check_fds.c: Likewise.
36923         * elf/dl-load.c: Likewise.
36924         * elf/dl-open.c: Likewise.
36925         * elf/reldep3.c: Likewise.
36926         * elf/reldep.c: Likewise.
36927         * elf/sprof.c: Likewise.
36928         * iconv/iconv_charmap.c: Likewise.
36929         * iconv/skeleton.c: Likewise.
36930         * iconv/strtab.c: Likewise.
36931         * io/lockf64.c: Likewise.
36932         * libio/libioP.h: Likewise.
36933         * resolv/gai_notify.c: Likewise.
36934         * resolv/ns_name.c: Likewise.
36935         * resolv/ns_samedomain.c: Likewise.
36936         * resolv/res_send.c: Likewise.
36937         * stdlib/random.c: Likewise.
36938         * sunrpc/rpc/xdr.h: Likewise.
36939         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
36940         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36941         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36942         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36943         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36944         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36945         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36946         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36947         * sysdeps/mach/hurd/check_fds.c: Likewise.
36948         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36949         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36950         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36951         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36952         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36953         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36954         * sysdeps/pthread/aio_notify.c: Likewise.
36955         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
36956         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
36957         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
36958         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36959         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36961 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36963         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
36964         version if bit_Slow_SSE4_2 is set.
36965         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36966         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36968 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36970         [BZ #15867]
36971         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
36972         trampoline stack frame information.
36973         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
36974         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
36975         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
36976         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
36977         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
36978         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36979         (_libc_vdso_platform_setup): Initialize the signal trampolines.
36980         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
36981         sa_flags value.
36982         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
36983         interrupting a syscall and set with option SA_SIGINFO.
36985 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36987         [BZ #15531]
36988         * math/s_cproj.c (__cproj): Only return an infinity if one part of
36989         argument is infinite.
36990         * math/s_cprojf.c (__cprojf): Likewise.
36991         * math/s_cprojl.c (__cprojl): Likewise.
36992         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
36993         * math/libm-test.inc (cproj_test_data): Add more tests.
36995         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
36997         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
36998         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
36999         size.  Use __ffs to determine corresponding shift.
37001 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
37002             Roland McGrath  <roland@hack.frob.com>
37004         * Makefile (INSTALL): Remove trailing blank lines from output of
37005         makeinfo.
37007 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37009         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
37010         Align 32 bit compat elf_greg to 8 bytes.
37012 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
37014         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
37016 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37018         * string/strcoll_l.c (coll_seq): New structure.
37019         (get_next_seq_cached): New function.
37020         (get_next_seq): New function.
37021         (do_compare): New function.
37022         (STRCOLL): Use GNU style definition.  Simplify implementation
37023         by using get_next_seq, get_next_seq_cached and do_compare.
37025 2013-08-16  Florian Weimer  <fweimer@redhat.com>
37027         [BZ #14699]
37028         CVE-2013-4237
37029         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
37030         member.
37031         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
37032         member.
37033         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
37034         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
37035         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
37036         conditional.
37037         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
37038         GETDENTS_64BIT_ALIGNED.
37039         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37040         * manual/filesys.texi (Reading/Closing Directory): Document
37041         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
37042         strongly.
37043         * manual/conf.texi (Limits for Files): Add portability note to
37044         NAME_MAX, PATH_MAX.
37045         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
37047 2013-08-13  Andreas Schwab  <schwab@suse.de>
37049         [BZ #15749]
37050         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
37051         of fabs.
37052         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
37053         LDBL_MAX_EXP >= 16384]: Add tests for it.
37055 2013-08-12  David S. Miller  <davem@davemloft.net>
37057         * version.h (RELEASE): Set to "development".
37058         (VERSION): Set to "2.18.90".
37059         * NEWS: Add 2.19 section.
37061 2013-08-03  David S. Miller  <davem@davemloft.net>
37063         * po/ko.po: Update Korean translation from translation project.
37065 2013-08-01  David S. Miller  <davem@davemloft.net>
37067         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
37068         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
37069         Bilka.
37071 2013-07-30  David S. Miller  <davem@davemloft.net>
37073         * po/fr.po: Update French translation from translation project.
37075 2013-07-28  David S. Miller  <davem@davemloft.net>
37077         * po/cs.po: Update Czech translation from translation project.
37079         * po/sv.po: Update Swedish translation from translation project.
37081 2013-07-27  David S. Miller  <davem@davemloft.net>
37083         * po/eo.po: Update Esperanto translation from translation project.
37085         * po/vi.po: Update Vietnamese translation from translation project.
37087         * po/de.po: Update German translation from translation project.
37089 2013-07-26  David S. Miller  <davem@davemloft.net>
37091         * po/bg.po: Update Bulgarian translation from translation project.
37093         * po/nl.po: Update Dutch translation from translation project.
37094         * po/pl.po: Update Polish translation from translation project.
37095         * po/ru.po: Update Russian translation from translation project.
37097 2013-07-24  David S. Miller  <davem@davemloft.net>
37099         * po/libc.pot: Update.
37101 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37103         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
37104         variable page size.
37105         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
37106         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
37107         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
37109 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37111         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
37113 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37114             Andreas Schwab  <schwab@suse.de>
37115             Roland McGrath  <roland@hack.frob.com>
37116             Joseph Myers  <joseph@codesourcery.com>
37117             Carlos O'Donell  <carlos@redhat.com>
37119         [BZ #15755]
37120         * config.h.in: Define HAVE_PT_CHOWN.
37121         * config.make.in (build-pt-chown): New variable.
37122         * configure.in (--enable-pt_chown): New configure option.
37123         * configure: Regenerate.
37124         * login/Makefile: Include Makeconfig.  Build pt_chown only if
37125         build-pt-chown is enabled.
37126         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
37127         pt_chown to fix pty ownership.
37128         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
37129         CLOSE_ALL_FDS.
37130         * manual/install.texi (Configuring and compiling): Mention
37131         --enable-pt_chown. Add @findex for grantpt.
37132         * INSTALL: Regenerate.
37134 2013-07-20  David S. Miller  <davem@davemloft.net>
37136         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
37137         difference between 32-bit and 64-bit.
37139 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
37141         [BZ #15711]
37142         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
37143         Avoid system header dependency with -ffreestanding.
37144         ($(objpfx)bits/syscall%d): Likewise.
37146 2013-07-13  David S. Miller  <davem@davemloft.net>
37148         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
37149         underflows from atanl/atan2l due to bug 15319.
37150         (casinh_test_data): Likewise.
37152 2013-07-07  David S. Miller  <davem@davemloft.net>
37154         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37156 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
37158         * sysdeps/i386/fpu/libm-test-ulps: Update.
37159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37161 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37163         * configure.in (--enable-lock-elision): Fix message text.
37164         * INSTALL: Regenerate.
37165         * configure: Regenerate.
37167 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37171 2013-07-03  Andreas Jaeger  <aj@suse.de>
37173         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
37174         define.
37175         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
37176         (ptrace_peeksiginfo_args): Add.
37177         (__ptrace_peeksiginfo_flags): Add.
37178         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37179         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37180         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37182 2013-07-03  Allan McRae  <allan@archlinux.org>
37184         * sysdeps/i386/fpu/libm-test-ulps: Update.
37186 2013-07-02  David S. Miller  <davem@davemloft.net>
37188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37190 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
37192         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37194 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37196         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37199 2013-07-02  Andi Kleen <ak@linux.intel.com>
37201         * config.h.in (ENABLE_LOCK_ELISION): Add.
37202         * configure.in (--enable-lock-elision): Add option.
37203         * manual/install.texi: Document --enable lock elision.
37204         * configure: Regenerate
37205         * INSTALL: Regenerate.
37207 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
37209         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
37210         SSE4.2 strcasecmp for libc.a.
37211         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37213 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37215         [BZ #13304]
37216         * soft-fp/op-common.h (_FP_FMA): New macro.
37217         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
37218         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
37219         (_FP_MUL_MEAT_1_imm): ... here.
37220         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
37221         (_FP_MUL_MEAT_1_wide): ... here.
37222         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
37223         (_FP_MUL_MEAT_1_hard): ... here.
37224         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
37225         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
37226         (_FP_MUL_MEAT_2_wide): ... here.
37227         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
37228         (_FP_MUL_MEAT_2_wide_3mul): ... here.
37229         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
37230         (_FP_MUL_MEAT_2_gmp): ... here.
37231         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
37232         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
37233         (_FP_MUL_MEAT_4_wide): ... here.
37234         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
37235         (_FP_MUL_MEAT_4_gmp): ... here.
37236         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
37237         (_FP_WFRACBITS_DW_S): Likewise.
37238         (_FP_WFRACXBITS_DW_S): Likewise.
37239         (_FP_HIGHBIT_DW_S): Likewise.
37240         (FP_FMA_S): Likewise.
37241         (_FP_FRAC_HIGH_DW_S): Likewise.
37242         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
37243         (_FP_WFRACBITS_DW_D): Likewise.
37244         (_FP_WFRACXBITS_DW_D): Likewise.
37245         (_FP_HIGHBIT_DW_D): Likewise.
37246         (FP_FMA_D): Likewise.
37247         (_FP_FRAC_HIGH_DW_D): Likewise.
37248         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
37249         (_FP_WFRACBITS_DW_E): Likewise.
37250         (_FP_WFRACXBITS_DW_E): Likewise.
37251         (_FP_HIGHBIT_DW_E): Likewise.
37252         (FP_FMA_E): Likewise.
37253         (_FP_FRAC_HIGH_DW_E): Likewise.
37254         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
37255         (_FP_WFRACBITS_DW_Q): Likewise.
37256         (_FP_WFRACXBITS_DW_Q): Likewise.
37257         (_FP_HIGHBIT_DW_Q): Likewise.
37258         (FP_FMA_Q): Likewise.
37259         (_FP_FRAC_HIGH_DW_Q): Likewise.
37260         * soft-fp/fmasf4.c: New file.
37261         * soft-fp/fmadf4.c: Likewise.
37262         * soft-fp/fmatf4.c: Likewise.
37264 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37266         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37267         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
37268         Silvermont.
37269         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
37270         macro.
37271         (index_Slow_SSE4_2): Likewise.
37272         (index_Prefer_PMINUB_for_stringop): Likewise.
37273         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
37274         bit_Slow_SSE4_2 is set.
37275         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37276         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37278 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37280         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
37281         rtld_global._dl_hwcap2.
37282         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
37283         POWER8.
37284         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
37285         POWER8 feature descriptions defined in _dl_hwcap2.
37286         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
37287         string handling for POWER8 feature bits.
37288         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
37289         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
37290         _dl_powerpc_cap_flags.
37291         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
37292         * sysdeps/powerpc/rtld-global-offsets.sym
37293         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
37294         _dl_hwcap2 in the rtld_global_ro structure.
37296 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37298         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
37299         hardware capabilities in support of AT_HWCAP2.
37300         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
37301         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
37302         GLRO(dl_hwcap2).
37303         (_dl_show_auxv): Add support for calling _dl_procinfo to display
37304         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
37305         explicitly the unknown a_type display mechanism is used.
37306         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
37307         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
37308         struct member.
37309         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
37310         to macro prototype for AT_HWCAP2 support.
37311         * sysdeps/i386/dl-procinfo.h: Likewise.
37312         * sysdeps/s390/dl-procinfo.h: Likewise.
37313         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
37314         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
37315         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
37316         return -1 for unknown a_type display fallback.
37317         * sysdeps/sparc/dl-procinfo.h: Likewise.
37318         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
37319         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
37321 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
37323         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
37324         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
37326 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
37328         [BZ #12492]
37329         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
37330         mprotect making __stack_prot writable.
37332 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
37333             Joseph Myers  <joseph@codesourcery.com>
37335         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
37336         as being properly aligned.
37338 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
37340         * dlfcn/modstatic5.c: New file.
37341         * dlfcn/tststatic5.c: New file.
37342         * dlfcn/Makefile (tests): Add tststatic5.
37343         (tests-static): Likewise.
37344         (modules-names): Add modstatic5.
37345         (tststatic5-ENV): New variable.
37346         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
37348         [BZ #15022]
37349         * elf/dl-support.c (_dl_main_map): New variable.
37350         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
37351         (_dl_nns, _dl_load_adds): Set to 1.
37352         (_dl_initial_searchlist): Refer to _dl_main_map.
37353         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
37354         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
37355         call to _dl_get_origin.
37356         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
37357         around call_map.
37358         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
37359         * dlfcn/modstatic3.c: New file.
37360         * dlfcn/tststatic3.c: New file.
37361         * dlfcn/tststatic4.c: New file.
37362         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
37363         (tests-static): Likewise.
37364         (modules-names): Add modstatic3.
37365         (tststatic3-ENV, tststatic4-ENV): New variables.
37366         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
37367         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
37369 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
37371         * configure.in (CC): Require GCC version 4.4 or later.
37372         * configure: Regenerated.
37373         * manual/install.texi (Tools for Compilation): Update GCC version
37374         requirement.
37375         * INSTALL: Regenerated.
37377 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37379         [BZ #15674]
37380         * string/test-memcmp.c (check2): New.
37381         (main): Call check2.
37383         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
37385 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
37387         [BZ #15022]
37388         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
37389         over to...
37390         (dl_open_worker) [!SHARED]: ... here.
37392 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37394         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
37396 2013-06-25  Richard Henderson  <rth@redhat.com>
37398         * locale/programs/locarchive.c: Include <libc-internal.h>
37400 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
37402         * manual/texinfo.tex: Update to version 2013-06-21.17, with
37403         trailing whitespace removed.
37405 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37407         [BZ #10283]
37408         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
37409         * locale/programs/locarchive.c: Include libc-mmap.h.
37410         (prepare_address_space): Take two new outputs (the mmap base and len).
37411         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
37412         values.
37413         (create_archive): Declare new mmap base and len values for
37414         prepare_address_space, and store the result in ah.
37415         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
37416         (enlarge_archive): If ah->mmap_base is not NULL, use that and
37417         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
37418         Declare new mmap base and len values for
37419         prepare_address_space, and store the result in new_ah.
37420         (open_archive): Declare new mmap base and len values for
37421         prepare_address_space, and store the result in ah.
37422         (close_archive): If ah->mmap_base is not NULL, use that and
37423         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
37424         * sysdeps/generic/libc-mmap.h: New file.
37426 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37428         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
37429         (ALIGN_UP): Likewise.
37430         (PTR_ALIGN_DOWN): Likewise.
37431         (PTR_ALIGN_UP): Likewise.
37433 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37435         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
37436         entry mapped to PPC_PLATFORM_POWER8.
37437         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
37438         POWER8.
37439         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
37440         (_dl_string_platform): Add case for exporting platform position for
37441         POWER8.
37442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
37443         search path to sysdeps/powerpc/powerpc32/power8 directory.
37444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
37445         search path to sysdeps/powerpc/powerpc64/power8 directory.
37446         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
37447         power7 directories.
37448         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
37449         power7 directories.
37451 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37453         * INSTALL: Regenerate.
37455         * nscd/connections.c (nscd_init): Fix comment.
37457 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
37459         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
37461         [BZ #15667]
37462         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
37463         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
37465 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37467         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
37468         DL_DST_REQ_STATIC.
37469         (DL_DST_REQ_STATIC): Remove macro.
37471 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
37473         [BZ #7006]
37474         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
37475         with a shift of 0 bits.
37477 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37479         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
37480         $(tststatic-ENV).
37482 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37484         [BZ #15655]
37485         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
37487 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37489         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
37490         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
37491         accepts -fno-tree-loop-distribute-patterns.
37492         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
37493         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
37494         recursive call.
37495         * string/memset.c (memset): Likewise.
37496         * string/test-memmove.c (simple_memmove): Disable loop transformation
37497         to library calls.
37498         * string/test-memset.c (simple_memset): Likewise.
37499         * benchtests/bench-memmove.c (simple_memmove): Likewise.
37500         * benchtests/bench-memset.c (simple_memset): Likewise.
37501         * configure: Regenerated.
37503 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
37505         * math/test-misc.c (main): Ignore fesetround failure when failures
37506         of subsequent rounding tests would be ignored.
37508         [BZ #15654]
37509         * math/fedisblxcpt.c (fedisableexcept): Return 0.
37510         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
37511         * math/fegetenv.c (__fegetenv): Return 0.
37512         * math/fegetexcept.c (fegetexcept): Return 0.
37513         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
37514         FE_TONEAREST.
37515         * math/feholdexcpt.c (feholdexcept): Return 0.
37516         * math/fesetenv.c (__fesetenv): Return 0.
37517         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
37518         argument FE_TONEAREST.
37519         * math/feupdateenv.c (__feupdateenv): Return 0.
37520         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
37522 2013-06-18  Roland McGrath  <roland@hack.frob.com>
37524         * elf/rtld-Rules (rtld-compile-command.S): New variable.
37525         (rtld-compile-command.s, rtld-compile-command.c): New variables.
37526         ($(objpfx)rtld-%.os rules): Use them.
37528 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37530         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
37531         fields.
37533 2013-06-17  Roland McGrath  <roland@hack.frob.com>
37535         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
37536         length of target pattern, then descending length of dependency pattern.
37537         * configure.in (AWK): Require gawk 3.1.2 or newer.
37538         * manual/install.texi (Tools for Compilation): Say that we do.
37539         * configure: Regenerated.
37541         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
37542         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
37543         * scripts/sysd-rules.awk: ... this new script.
37544         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
37545         than a glob-style pattern.
37547 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
37549         * math/test-misc.c (main): Do not treat incorrectly rounded
37550         conversions as failure unless ROUNDING_TESTS passes.
37552 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
37554         [BZ #15631]
37555         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
37556         restore exception state around main square root computation, then
37557         check for inexactness explicitly.
37559         * math/libm-test.inc (fma_test_data): Add another test.
37561 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37563         * manual/threads.texi (Non-POSIX Extensions): New document
37564         node.  Document pthread_getattr_default_np and
37565         pthread_setattr_default_np.
37567         * Versions.def (libpthread): Add GLIBC_2.18.
37568         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
37569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37570         Likewise.
37571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37572         Likewise.
37573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37574         Likewise.
37575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37576         Likewise.
37577         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
37578         Likewise.
37579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37580         Likewise.
37581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37582         Likewise.
37583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37584         Likewise.
37585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37586         Likewise.
37588 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37591         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
37593 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37594             H.J. Lu  <hjl.tools@gmail.com>
37596         [BZ #15627]
37597         * sysdeps/x86_64/rtld-memset.c: Remove file.
37598         * sysdeps/x86_64/rtld-memset.S: New file.
37600 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
37602         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
37603         (test_in_one_mode): Take arguments for whether the rounding mode
37604         is supported for each floating-point type.
37605         (do_test): Pass new arguments to test_in_one_mode using
37606         ROUNDING_TESTS.
37608 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37610         * posix/tst-waitid.c (do_test): Distinguish different instances of
37611         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
37612         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
37613         before entering the kernel for waitpid.
37615 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37617         * NEWS: Fix note on clock function precision.  Text by Roland
37618         McGrath.
37620 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37622         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
37623         it into place only when and if the sanity check passes.
37625 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
37627         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
37628         output for whether conversion result is exact.  Take argument
37629         indicating whether type is IBM long double.
37630         (round_for_all): Change need_exact field to ibm_ld.
37631         * stdlib/tst-strtod-round.c (struct exactness): New type.
37632         (struct test): Change bool ld_ok field to struct exactness exact.
37633         (TEST): Update all definitions for change to field.
37634         (tests): Regenerate array contents.
37635         (test_in_one_mode): Take pointer to new field instead of old ld_ok
37636         field value.  Check for IBM long double here.
37637         (do_test): Update calls to test_in_one_mode.
37639 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37641         [BZ #12515]
37642         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
37643         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
37645 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37647         [BZ #15605]
37648         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
37649         generated by the compiler on loop optimizations.
37650         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
37651         general definitions.
37653 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
37655         * math/bug-nextafter.c: Include <math-tests.h>.
37656         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37657         the relevant type.
37658         * math/bug-nexttoward.c: Include <math-tests.h>.
37659         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37660         the relevant type.
37661         * math/test-misc.c: Include <math-tests.h>.
37662         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37663         the relevant type.
37665 2013-06-12  Andreas Jaeger  <aj@suse.de>
37667         * po/ia.po: Update Interlingua translation from translation
37668         project.
37670 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37672         * include/fenv.h: Include stdbool.h.
37673         (struct rm_ctx): New structure.
37674         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
37675         Define macro.
37676         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
37677         (SET_RESTORE_ROUNDF): Likewise.
37678         (SET_RESTORE_ROUNDL): Likewise.
37679         (SET_RESTORE_ROUND_NOEX): Likewise.
37680         (SET_RESTORE_ROUND_NOEXF): Likewise.
37681         (SET_RESTORE_ROUND_NOEXL): Likewise.
37682         (SET_RESTORE_ROUND_53BIT): Likewise.
37683         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
37684         (libc_feresetround_noexf_ctx): Likewise.
37685         (libc_feresetround_noexl_ctx): Likewise.
37686         (libc_feholdsetround_53bit_ctx): Likewise.
37687         (libc_feresetround_53bit_ctx): Likewise.
37688         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
37689         (libc_feholdexcept_setround_sse_ctx): New function.
37690         (libc_fesetenv_sse_ctx): Likewise.
37691         (libc_feupdateenv_sse_ctx): Likewise.
37692         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
37693         (libc_feholdexcept_setround_387_ctx): Likewise.
37694         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
37695         (libc_feholdsetround_387_prec_ctx): Likewise.
37696         (libc_feholdsetround_387_ctx): Likewise.
37697         (libc_feholdsetround_387_53bit_ctx): Likewise.
37698         (libc_feholdsetround_sse_ctx): Likewise.
37699         (libc_feresetround_sse_ctx): Likewise.
37700         (libc_feresetround_387_ctx): Likewise.
37701         (libc_feupdateenv_387_ctx): Likewise.
37702         (libc_feholdexcept_setroundf_ctx): Define macro.
37703         (libc_fesetenvf_ctx): Likewise.
37704         (libc_feupdateenvf_ctx): Likewise.
37705         (libc_feholdsetroundf_ctx): Likewise.
37706         (libc_feresetroundf_ctx): Likewise.
37707         (libc_feholdexcept_setround_ctx): Likewise.
37708         (libc_fesetenv_ctx): Likewise.
37709         (libc_feupdateenv_ctx): Likewise.
37710         (libc_feholdsetround_ctx): Likewise.
37711         (libc_feresetround_ctx): Likewise.
37712         (libc_feholdexcept_setroundl_ctx): Likewise.
37713         (libc_feupdateenvl_ctx): Likewise.
37714         (libc_feholdsetroundl_ctx): Likewise.
37715         (libc_feresetroundl_ctx): Likewise.
37716         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
37717         (libc_feresetround_53bit_ctx): Likewise.
37719 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37721         * locale/iso-639.def: Convert to UTF-8.
37723 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
37725         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
37726         (EXCEPTION_TESTS_double): Likewise.
37727         (EXCEPTION_TESTS_long_double): Likewise.
37728         (EXCEPTION_TESTS): Likewise.
37729         * math/libm-test.inc (test_exceptions): Only test exceptions if
37730         EXCEPTION_TESTS (FLOAT).
37732 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37734         * benchtests/Makefile (string-bench): Add strcpy_chk and
37735         stpcpy_chk.
37736         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
37737         * benchtests/bench-stpcpy_chk.c: New file.
37738         * benchtests/bench-strcpy_chk-ifunc.c: New file.
37739         * benchtests/bench-strcpy_chk.c: New file.
37740         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
37741         code.
37742         (do_test): Likewise.
37744 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37746         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
37747         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
37748         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
37749         with tabs where appropriate.
37750         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
37751         dl-procinfo.h.
37752         [PPC_PLATFORM_PPC440]: Likewise.
37753         [PPC_PLATFORM_PPC464]: Likewise.
37754         [PPC_PLATFORM_PPC476]: Likewise.
37755         (_dl_string_platform): Add support for detecting ppc405, ppc440,
37756         ppc464, and ppc476 platform strings merging from ports/
37757         dl-procinfo.h.
37759 2013-06-11  Andreas Schwab  <schwab@suse.de>
37761         [BZ #14991]
37762         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
37763         (from_ucs4_idx): Regenerate.
37764         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
37765         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
37766         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
37767         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
37768         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
37769         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
37770         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
37771         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
37772         from FROM_LOOP and TO_LOOP specific macros.
37773         (BODY): Handle combining characters.
37774         * iconvdata/BIG5HKSCS.irreversible: Update.
37775         * iconvdata/BIG5HKSCS.precomposed: New file.
37776         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
37777         characters.
37778         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
37780 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37782         * include/sys/time.h: Fix indentation and add copyright header.
37784         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
37785         (do_test): Likewise.
37786         * string/test-memchr.c (do_one_test): Likewise.
37787         (do_test): Likewise.
37788         * string/test-memcmp.c (do_one_test): Likewise.
37789         (do_test): Likewise.
37790         * string/test-memcpy.c (do_one_test): Likewise.
37791         (do_test): Likewise.
37792         * string/test-memmem.c (do_one_test): Likewise.
37793         (do_test): Likewise.
37794         (do_random_tests): Likewise.
37795         * string/test-memmove.c (do_one_test): Likewise.
37796         (do_test): Likewise.
37797         * string/test-memset.c (do_one_test): Likewise.
37798         (do_test): Likewise.
37799         * string/test-rawmemchr.c (do_one_test): Likewise.
37800         (do_test): Likewise.
37801         * string/test-strcasecmp.c (do_one_test): Likewise.
37802         (do_test): Likewise.
37803         * string/test-strcasestr.c (do_one_test): Likewise.
37804         (do_test): Likewise.
37805         * string/test-strcat.c (do_one_test): Likewise.
37806         (do_test): Likewise.
37807         * string/test-strchr.c (do_one_test): Likewise.
37808         (do_test): Likewise.
37809         * string/test-strcmp.c (do_one_test): Likewise.
37810         (do_test): Likewise.
37811         * string/test-strcpy.c (do_one_test): Likewise.
37812         (do_test): Likewise.
37813         * string/test-string.h: Likewise.
37814         (test_init): Likewise.
37815         * string/test-strlen.c (do_one_test): Likewise.
37816         (do_test): Likewise.
37817         * string/test-strncasecmp.c (do_one_test): Likewise.
37818         (do_test): Likewise.
37819         * string/test-strncat.c (do_one_test): Likewise.
37820         (do_test): Likewise.
37821         * string/test-strncmp.c (do_one_test): Likewise.
37822         (do_test_limit): Likewise.
37823         (do_test): Likewise.
37824         * string/test-strncpy.c (do_one_test): Likewise.
37825         (do_test): Likewise.
37826         * string/test-strnlen.c (do_one_test): Likewise.
37827         (do_test): Likewise.
37828         * string/test-strpbrk.c (do_one_test): Likewise.
37829         (do_test): Likewise.
37830         * string/test-strrchr.c (do_one_test): Likewise.
37831         (do_test): Likewise.
37832         * string/test-strspn.c (do_one_test): Likewise.
37833         (do_test): Likewise.
37834         * string/test-strstr.c (do_one_test): Likewise.
37835         (do_test): Likewise.
37837         * benchtests/Makefile (string-bench): Add string benchmarks.
37838         * benchtests/bench-bcopy-ifunc.c: New file.
37839         * benchtests/bench-bcopy.c: New file.
37840         * benchtests/bench-bzero-ifunc.c: New file.
37841         * benchtests/bench-bzero.c: New file.
37842         * benchtests/bench-memccpy-ifunc.c: New file.
37843         * benchtests/bench-memccpy.c: New file.
37844         * benchtests/bench-memchr-ifunc.c: New file.
37845         * benchtests/bench-memchr.c: New file.
37846         * benchtests/bench-memcmp-ifunc.c: New file.
37847         * benchtests/bench-memcmp.c: New file.
37848         * benchtests/bench-memmem-ifunc.c: New file.
37849         * benchtests/bench-memmem.c: New file.
37850         * benchtests/bench-memmove-ifunc.c: New file.
37851         * benchtests/bench-memmove.c: New file.
37852         * benchtests/bench-mempcpy-ifunc.c: New file.
37853         * benchtests/bench-mempcpy.c: New file.
37854         * benchtests/bench-memset-ifunc.c: New file.
37855         * benchtests/bench-memset.c: New file.
37856         * benchtests/bench-rawmemchr-ifunc.c: New file.
37857         * benchtests/bench-rawmemchr.c: New file.
37858         * benchtests/bench-stpcpy-ifunc.c: New file.
37859         * benchtests/bench-stpcpy.c: New file.
37860         * benchtests/bench-stpncpy-ifunc.c: New file.
37861         * benchtests/bench-stpncpy.c: New file.
37862         * benchtests/bench-strcasecmp-ifunc.c: New file.
37863         * benchtests/bench-strcasecmp.c: New file.
37864         * benchtests/bench-strcasestr-ifunc.c: New file.
37865         * benchtests/bench-strcasestr.c: New file.
37866         * benchtests/bench-strcat-ifunc.c: New file.
37867         * benchtests/bench-strcat.c: New file.
37868         * benchtests/bench-strchr-ifunc.c: New file.
37869         * benchtests/bench-strchr.c: New file.
37870         * benchtests/bench-strchrnul-ifunc.c: New file.
37871         * benchtests/bench-strchrnul.c: New file.
37872         * benchtests/bench-strcmp-ifunc.c: New file.
37873         * benchtests/bench-strcmp.c: New file.
37874         * benchtests/bench-strcpy-ifunc.c: New file.
37875         * benchtests/bench-strcpy.c: New file.
37876         * benchtests/bench-strcspn-ifunc.c: New file.
37877         * benchtests/bench-strcspn.c: New file.
37878         * benchtests/bench-strlen-ifunc.c: New file.
37879         * benchtests/bench-strlen.c: New file.
37880         * benchtests/bench-strncasecmp-ifunc.c: New file.
37881         * benchtests/bench-strncasecmp.c: New file.
37882         * benchtests/bench-strncat-ifunc.c: New file.
37883         * benchtests/bench-strncat.c: New file.
37884         * benchtests/bench-strncmp-ifunc.c: New file.
37885         * benchtests/bench-strncmp.c: New file.
37886         * benchtests/bench-strncpy-ifunc.c: New file.
37887         * benchtests/bench-strncpy.c: New file.
37888         * benchtests/bench-strnlen-ifunc.c: New file.
37889         * benchtests/bench-strnlen.c: New file.
37890         * benchtests/bench-strpbrk-ifunc.c: New file.
37891         * benchtests/bench-strpbrk.c: New file.
37892         * benchtests/bench-strrchr-ifunc.c: New file.
37893         * benchtests/bench-strrchr.c: New file.
37894         * benchtests/bench-strspn-ifunc.c: New file.
37895         * benchtests/bench-strspn.c: New file.
37896         * benchtests/bench-strstr-ifunc.c: New file.
37897         * benchtests/bench-strstr.c: New file.
37899         * benchtests/Makefile: Disable parallel execution of targets.
37900         (string-bench): Add memcpy.
37901         (benchset): New variable to store a list of benchmark sets.
37902         (bench-func): Renamed from bench.
37903         (bench-set): New target.
37904         (bench): Depend on bench-func and bench-set.
37905         * benchtests/README: Add section on benchmark sets.
37906         * benchtests/bench-memcpy-ifunc.c: New file.
37907         * benchtests/bench-memcpy.c: New file.
37908         * benchtests/bench-string.h: New file.
37910 2013-06-11  Andreas Schwab  <schwab@suse.de>
37912         [BZ #15577]
37913         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
37914         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
37915         values in the triple.
37916         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
37917         terminator in the group key.
37919 2013-06-11  Andreas Jaeger  <aj@suse.de>
37921         * po/zh_TW.po: Update Chinese (traditional) translation from
37922         translation project.
37924 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37926         * include/time.h (__clock_gettime): Add libc_hidden_proto.
37927         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
37928         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
37929         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37930         (clock_getcpuclockid): Likewise.
37931         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
37932         Add weak_alias and libc_hidden_def.
37933         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
37934         * rt/clock_gettime.c (clock_gettime): Rename to
37935         __clock_gettime.  Add weak_alias and libc_hidden_def.
37936         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
37937         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
37938         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
37939         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
37940         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
37941         Likewise.
37942         * rt/clock_settime.c (clock_settime): Rename to
37943         __clock_settime.  Add weak_alias and libc_hidden_def.
37944         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
37946 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
37948         * mach/err_boot.sub: Remove trailing whitespace.
37949         * mach/err_ipc.sub: Likewise.
37950         * mach/err_mach.sub: Likewise.
37952         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
37953         (ROUNDING_TESTS_double): Likewise.
37954         (ROUNDING_TESTS_long_double): Likewise.
37955         (ROUNDING_TESTS): Likewise.
37956         * math/libm-test.inc: Include <math-tests.h>.
37957         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
37958         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37959         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37960         (IF_ROUND_INIT_FE_UPWARD): Likewise.
37962 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37964         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
37965         of assigning.
37967 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
37969         * sysdeps/gnu/errlist.awk: Do not generate space at end of
37970         otherwise empty TRANS lines.
37971         * sysdeps/gnu/errlist.c: Regenerated.
37973         * catgets/gencat.c (error_print): Use (void) in function
37974         definition.
37975         * crypt/crypt_util.c (__init_des): Likewise.
37976         * crypt/speeds.c (Stop): Likewise.
37977         (main): Likewise.
37978         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
37979         * inet/ruserpass.c (token): Likewise.
37980         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
37981         * intl/localealias.c (extend_alias_table): Likewise.
37982         * intl/plural-exp.c (init_germanic_plural): Likewise.
37983         * libio/fcloseall.c (__fcloseall): Likewise.
37984         * libio/genops.c (_IO_flush_all): Likewise.
37985         (_IO_flush_all_linebuffered): Likewise.
37986         (_IO_cleanup): Likewise.
37987         (_IO_iter_begin): Likewise.
37988         (_IO_iter_end): Likewise.
37989         (_IO_list_lock): Likewise.
37990         (_IO_list_unlock): Likewise.
37991         (_IO_list_resetlock): Likewise.
37992         * libio/getchar.c (getchar): Likewise.
37993         * libio/getchar_u.c (getchar_unlocked): Likewise.
37994         * libio/getwchar.c (getwchar): Likewise.
37995         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
37996         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
37997         * login/getpt.c (__getpt): Likewise.
37998         * login/tst-utmp.c (main): Likewise.
37999         * malloc/hooks.c (__malloc_check_init): Likewise.
38000         * malloc/malloc.c (__malloc_stats): Likewise.
38001         * malloc/mtrace.c (tr_break): Likewise.
38002         (mtrace): Likewise.
38003         (muntrace): Likewise.
38004         * misc/fstab.c (endfsent): Likewise.
38005         * misc/getclktck.c (__getclktck): Likewise.
38006         * misc/getdtsz.c (__getdtablesize): Likewise.
38007         * misc/gethostid.c (gethostid): Likewise.
38008         * misc/getpagesize.c (__getpagesize): Likewise.
38009         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
38010         (__get_nprocs): Likewise.
38011         (__get_phys_pages): Likewise.
38012         (__get_avphys_pages): Likewise.
38013         * misc/getttyent.c (getttyent): Likewise.
38014         (setttyent): Likewise.
38015         (endttyent): Likewise.
38016         * misc/getusershell.c (getusershell): Likewise.
38017         (endusershell): Likewise.
38018         (setusershell): Likewise.
38019         (initshells): Likewise.
38020         * misc/hsearch.c (__hdestroy): Likewise.
38021         * misc/sync.c (sync): Likewise.
38022         * misc/syslog.c (closelog_internal): Likewise.
38023         (closelog): Likewise.
38024         * misc/ttyslot.c (ttyslot): Likewise.
38025         * misc/vhangup.c (vhangup): Likewise.
38026         * posix/fork.c (__fork): Likewise.
38027         * posix/getegid.c (__getegid): Likewise.
38028         * posix/geteuid.c (__geteuid): Likewise.
38029         * posix/getgid.c (__getgid): Likewise.
38030         * posix/getpid.c (__getpid): Likewise.
38031         * posix/getppid.c (__getppid): Likewise.
38032         * posix/getuid.c (__getuid): Likewise.
38033         * posix/pause.c (pause): Likewise.
38034         * posix/setpgrp.c (setpgrp): Likewise.
38035         * posix/setsid.c (__setsid): Likewise.
38036         * posix/test-vfork.c (noop): Likewise.
38037         * resolv/gethnamaddr.c (_endhtent): Likewise.
38038         (_gethtent): Likewise.
38039         (ht_endhostent): Likewise.
38040         (gethostent): Likewise.
38041         (dns_service): Likewise.
38042         * stdlib/drand48.c (drand48): Likewise.
38043         * stdlib/lrand48.c (lrand48): Likewise.
38044         * stdlib/mrand48.c (mrand48): Likewise.
38045         * stdlib/rand.c (rand): Likewise.
38046         * stdlib/random.c (__random): Likewise.
38047         * stdlib/setenv.c (clearenv): Likewise.
38048         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
38049         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
38050         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
38051         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
38052         (__get_nprocs): Likewise.
38053         (__get_phys_pages): Likewise.
38054         (__get_avphys_pages): Likewise.
38055         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
38056         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
38057         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
38058         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
38059         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
38060         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
38061         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
38062         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
38063         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
38064         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
38065         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
38066         * sysdeps/mach/hurd/sync.c (sync): Likewise.
38067         * sysdeps/posix/clock.c (clock): Likewise.
38068         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
38069         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
38070         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
38071         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
38072         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
38073         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
38074         (__get_nprocs_conf): Likewise.
38075         (__get_phys_pages): Likewise.
38076         (__get_avphys_pages): Likewise.
38077         * time/clock.c (clock): Likewise.
38078         * time/tzset.c (__tzname_max): Likewise.
38080 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
38082         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
38083         (__bswap_32): Do not use "register".
38084         * crypt/crypt.c (_ufc_doit_r): Likewise.
38085         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38086         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38087         * gmon/gmon.c (__monstartup): Likewise.
38088         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
38089         * hurd/hurdmalloc.c (more_memory): Likewise.
38090         (malloc): Likewise.
38091         (free): Likewise.
38092         (realloc): Likewise.
38093         (malloc_fork_prepare): Likewise.
38094         (malloc_fork_parent): Likewise.
38095         (malloc_fork_child): Likewise.
38096         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
38097         (_svcauth_des): Likewise.
38098         * inet/inet_lnaof.c (inet_lnaof): Likewise.
38099         * inet/inet_net.c (inet_network): Likewise.
38100         * inet/inet_netof.c (inet_netof): Likewise.
38101         * inet/rcmd.c (__validuser2_sa): Likewise.
38102         * io/fts.c (fts_open): Likewise.
38103         (fts_load): Likewise.
38104         (fts_close): Likewise.
38105         (fts_read): Likewise.
38106         (fts_children): Likewise.
38107         (fts_build): Likewise.
38108         (fts_stat): Likewise.
38109         (fts_sort): Likewise.
38110         (fts_alloc): Likewise.
38111         (fts_lfree): Likewise.
38112         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
38113         (_IO_file_xsgetn): Likewise.
38114         (_IO_file_xsgetn_mmap): Likewise.
38115         * libio/iofopncook.c (_IO_cookie_read): Likewise.
38116         (_IO_cookie_write): Likewise.
38117         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
38118         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
38119         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
38120         * malloc/obstack.c (_obstack_begin): Likewise.
38121         (_obstack_begin_1): Likewise.
38122         (_obstack_newchunk): Likewise.
38123         (_obstack_allocated_p): Likewise.
38124         (obstack_free): Likewise.
38125         (_obstack_memory_used): Likewise.
38126         * misc/getttyent.c (getttynam): Likewise.
38127         (getttyent): Likewise.
38128         (skip): Likewise.
38129         (value): Likewise.
38130         * misc/getusershell.c (initshells): Likewise.
38131         * misc/syslog.c (__vsyslog_chk): Likewise.
38132         * misc/ttyslot.c (ttyslot): Likewise.
38133         * nis/nis_hash.c (__nis_hash): Likewise.
38134         * posix/fnmatch_loop.c (FCT): Likewise.
38135         * posix/getconf.c (print_all): Likewise.
38136         (main): Likewise.
38137         * posix/getopt.c (exchange): Likewise.
38138         * posix/glob.c (globfree): Likewise.
38139         (prefix_array): Likewise.
38140         (__glob_pattern_type): Likewise.
38141         * resolv/arpa/nameser.h (NS_GET16): Likewise.
38142         (NS_GET32): Likewise.
38143         (NS_PUT16): Likewise.
38144         (NS_PUT32): Likewise.
38145         * resolv/gethnamaddr.c (getanswer): Likewise.
38146         (gethostbyname2): Likewise.
38147         (gethostbyaddr): Likewise.
38148         (_gethtent): Likewise.
38149         (_gethtbyname2): Likewise.
38150         (_gethtbyaddr): Likewise.
38151         * resolv/ns_print.c (dst_s_get_int16): Likewise.
38152         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38153         * resolv/res_init.c (__res_vinit): Likewise.
38154         (net_mask): Likewise.
38155         * resolv/res_mkquery.c (outchar): Likewise.
38156         (PRINT): Likewise.
38157         * stdio-common/printf_fp.c (outchar): Likewise.
38158         (PRINT): Likewise.
38159         * stdio-common/printf_fphex.c (outchar): Likewise.
38160         (PRINT): Likewise.
38161         * stdio-common/printf_size.c (outchar): Likewise.
38162         (PRINT): Likewise.
38163         * stdio-common/test_rdwr.c (main): Likewise.
38164         * stdio-common/tfformat.c (matches): Likewise.
38165         * stdio-common/vfprintf.c (outchar): Likewise.
38166         (printf_unknown): Likewise.
38167         (buffered_vfprintf): Likewise.
38168         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38169         * stdio-common/xbug.c (AppendToBuffer): Likewise.
38170         (ReadFile): Likewise.
38171         * stdlib/qsort.c (SWAP): Likewise.
38172         (_quicksort): Likewise.
38173         * stdlib/setenv.c (__add_to_environ): Likewise.
38174         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38175         * stdlib/strtol_l.c (__strtol_l): Likewise.
38176         * stdlib/tst-strtod.c (main): Likewise.
38177         * stdlib/tst-strtol.c (main): Likewise.
38178         * stdlib/tst-strtoll.c (main): Likewise.
38179         * string/bits/string2.h (__strcmp_cc): Likewise.
38180         (__strcmp_cg): Likewise.
38181         (__strcspn_c1): Likewise.
38182         (__strcspn_c2): Likewise.
38183         (__strcspn_c3): Likewise.
38184         (__strspn_c1): Likewise.
38185         (__strspn_c2): Likewise.
38186         (__strspn_c3): Likewise.
38187         (__strsep_1c): Likewise.
38188         (__strsep_2c): Likewise.
38189         (__strsep_3c): Likewise.
38190         * string/memccpy.c (__memccpy): Likewise.
38191         * string/stpcpy.c (__stpcpy): Likewise.
38192         * string/strcmp.c (strcmp): Likewise.
38193         * string/strrchr.c (strrchr): Likewise.
38194         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
38195         Likewise.
38196         * sysdeps/mach/hurd/getcwd.c
38197         (_hurd_canonicalize_directory_name_internal): Likewise.
38198         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
38199         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
38200         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
38201         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
38202         Likewise, in both definitions.
38203         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
38204         definitions.
38205         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
38206         64] (__bswap_64): Likewise.
38207         * time/test_time.c (main): Likewise.
38208         * time/tzfile.c (__tzfile_read): Likewise.
38209         (__tzfile_compute): Likewise.
38210         * time/tzset.c (__tzset_parse_tz): Likewise.
38211         (tzset_internal): Likewise.
38212         (compute_change): Likewise.
38213         * wcsmbs/wcscat.c (__wcscat): Likewise.
38214         * wcsmbs/wcschr.c (wcschr): Likewise.
38215         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
38216         * wcsmbs/wcscspn.c (wcscspn): Likewise.
38217         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
38218         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
38219         * wcsmbs/wcsspn.c (wcsspn): Likewise.
38220         * wcsmbs/wcsstr.c (wcsstr): Likewise.
38221         * wcsmbs/wmemchr.c (wmemchr): Likewise.
38222         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38223         * wcsmbs/wmemset.c (wmemset): Likewise.
38225 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
38227         * scripts/config.guess: Update to version 2013-05-16.
38228         * scripts/config.sub: Update to version 2013-04-24.
38229         * scripts/install-sh: Update to version 2011-11-20.07.
38230         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
38231         * scripts/move-if-change: Update to version 2012-01-06 07:23.
38233 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
38235         * debug/fgetws_u_chk.c: Fix leading whitespaces.
38236         * elf/sln.c: Likewise.
38237         * hurd/hurd/ioctl.h: Likewise.
38238         * hurd/hurdmalloc.c: Likewise.
38239         * hurd/xattr.c: Likewise.
38240         * include/shlib-compat.h: Likewise.
38241         * inet/ruserpass.c: Likewise.
38242         * libio/iofgets_u.c: Likewise.
38243         * libio/iofgetws_u.c: Likewise.
38244         * locale/programs/ld-identification.c: Likewise.
38245         * locale/programs/ld-time.c: Likewise.
38246         * mach/msg-destroy.c: Likewise.
38247         * nss/nss_files/files-netgrp.c: Likewise.
38248         * resolv/res_data.c: Likewise.
38249         * soft-fp/op-1.h: Likewise.
38250         * soft-fp/op-2.h: Likewise.
38251         * soft-fp/op-4.h: Likewise.
38252         * soft-fp/op-common.h: Likewise.
38253         * stdio-common/printf_fphex.c: Likewise.
38254         * stdlib/strtod_l.c: Likewise.
38255         * sunrpc/rpc/clnt.h: Likewise.
38256         * sysdeps/generic/framestate.c: Likewise.
38257         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38258         * sysdeps/i386/bsd-setjmp.S: Likewise.
38259         * sysdeps/i386/__longjmp.S: Likewise.
38260         * sysdeps/i386/setjmp.S: Likewise.
38261         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38262         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38263         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38264         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38265         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38266         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38267         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38268         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38269         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38270         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38271         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38272         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38273         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38274         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38275         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38276         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38277         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38278         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
38279         * sysdeps/ieee754/support.c: Likewise.
38280         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38281         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
38282         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
38283         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
38284         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
38285         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
38286         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
38287         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
38288         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
38289         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
38290         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
38291         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
38292         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
38293         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
38294         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
38295         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
38296         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38299 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
38301         * posix/transbug.c: Remove executable mode.
38303 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
38305         * crypt/speeds.c: Remove trailing whitespace.
38306         * dlfcn/default.c: Likewise.
38307         * elf/ifuncdep2.c: Likewise.
38308         * elf/ifuncmain1.c: Likewise.
38309         * elf/ifuncmain1vis.c: Likewise.
38310         * elf/testobj.h: Likewise.
38311         * elf/tst-stackguard1.c: Likewise.
38312         * gmon/sys/gmon.h: Likewise.
38313         * hurd/hurdmsg.c: Likewise.
38314         * hurd/new-fd.c: Likewise.
38315         * hurd/ports-get.c: Likewise.
38316         * iconvdata/ibm1008_420.c: Likewise.
38317         * inet/tst-getni1.c: Likewise.
38318         * inet/tst-getni2.c: Likewise.
38319         * libio/ioungetc.c: Likewise.
38320         * libio/wfiledoalloc.c: Likewise.
38321         * manual/libm-err-tab.pl: Likewise.
38322         * math/w_dremf.c: Likewise.
38323         * misc/ftruncate.c: Likewise.
38324         * posix/bug-glob2.c: Likewise.
38325         * posix/tst-pcre.c: Likewise.
38326         * posix/wait4.c: Likewise.
38327         * resolv/README: Likewise.
38328         * resolv/res_debug.h: Likewise.
38329         * resolv/tst-inet_ntop.c: Likewise.
38330         * setjmp/bug269-setjmp.c: Likewise.
38331         * soft-fp/extended.h: Likewise.
38332         * soft-fp/op-1.h: Likewise.
38333         * soft-fp/op-2.h: Likewise.
38334         * soft-fp/op-4.h: Likewise.
38335         * soft-fp/op-8.h: Likewise.
38336         * soft-fp/testit.c: Likewise.
38337         * stdio-common/bug16.c: Likewise.
38338         * stdlib/random.c: Likewise.
38339         * sunrpc/rpcsvc/rquota.x: Likewise.
38340         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
38341         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38342         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38343         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38344         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38345         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38346         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38347         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38348         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38349         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38350         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38351         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38352         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38353         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38354         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38355         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38356         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38357         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38358         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38359         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38360         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38361         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38362         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
38363         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38364         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38365         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38366         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38367         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38368         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38369         * sysdeps/ieee754/s_lib_version.c: Likewise.
38370         * sysdeps/mach/hurd/check_fds.c: Likewise.
38371         * sysdeps/mach/hurd/getsockname.c: Likewise.
38372         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
38373         * sysdeps/mach/hurd/recvfrom.c: Likewise.
38374         * sysdeps/powerpc/bits/link.h: Likewise.
38375         * sysdeps/powerpc/dl-procinfo.c: Likewise.
38376         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
38377         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
38378         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
38379         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38380         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38381         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
38382         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38383         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
38384         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38385         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38386         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38387         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
38388         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38389         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38390         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38391         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38392         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38393         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38394         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38395         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38396         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
38397         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38398         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38399         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
38400         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38401         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38402         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38403         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38404         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38405         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38406         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38407         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38408         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38409         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
38410         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38411         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
38412         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38413         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38414         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
38415         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
38416         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
38417         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
38418         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
38419         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38420         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
38421         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
38422         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38423         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
38424         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
38425         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38426         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38427         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38428         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38429         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
38430         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38431         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38432         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38433         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
38434         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38435         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
38436         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
38437         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
38438         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38439         * sysdeps/powerpc/sysdep.h: Likewise.
38440         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38441         * sysdeps/s390/s390-64/sub_n.S: Likewise.
38442         * sysdeps/sh/dl-trampoline.S: Likewise.
38443         * sysdeps/sh/memset.S: Likewise.
38444         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
38445         * sysdeps/sh/strlen.S: Likewise.
38446         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
38447         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
38448         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
38449         * sysdeps/sparc/sparc32/rem.S: Likewise.
38450         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
38451         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
38452         * sysdeps/sparc/sparc32/strchr.S: Likewise.
38453         * sysdeps/sparc/sparc32/udiv.S: Likewise.
38454         * sysdeps/sparc/sparc32/urem.S: Likewise.
38455         * sysdeps/sparc/sparc64/add_n.S: Likewise.
38456         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38457         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
38458         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
38459         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
38460         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
38461         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38462         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
38463         * sysdeps/unix/bsd/times.c: Likewise.
38464         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
38465         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
38466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38469         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
38470         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38471         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
38472         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
38473         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
38474         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
38475         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38476         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
38477         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38478         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38479         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
38480         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38481         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
38482         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
38483         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
38484         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
38485         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
38486         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38487         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
38488         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
38489         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
38490         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
38491         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38492         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
38493         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
38494         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
38495         * sysdeps/x86_64/strcspn.S: Likewise.
38497 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38499         * locale/C-translit.h: Revert #include <stdint.h> because this is a
38500         generated file.  Regenerate properly from gen-translit.pl.
38501         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
38502         locale/C-translit.h.
38504 2013-06-05  Andreas Schwab  <schwab@suse.de>
38506         [BZ #15100]
38507         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
38508         week as 6 instead of -1.
38509         * time/tst-strptime.c (day_tests): Add test case.
38511 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38513         * sysdeps/generic/math_private.h
38514         (libc_feholdexcept_setround_53bit): Replace with
38515         libc_feholdsetround_53bit.
38516         (libc_feupdateenv_53bit): Replace with
38517         libc_feresetround_53bit.
38518         (SET_RESTORE_ROUND_53BIT): Adjust.
38520 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38522         * string/test-strchrnul.c: Add copyright header.
38524         * posix/tst-getaddrinfo4.c: Increase test timeout.
38526 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
38528         [BZ #15536]
38529         * math/libm-test.inc (MAX_EXP): Remove
38530         (MIN_EXP): Define.
38531         (ulp): Use MIN_EXP - MANT_DIG.
38532         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
38534 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
38536         * po/be.po: Revert last change.
38537         * po/zh_CN.po: Likewise.
38538         * po/header.pot: Likewise.
38540 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
38542         * Makefile ($(common-objpfx)linkobj/libc.so): Define
38543         link-libc-deps to empty as target-specific variable.
38544         * Makerules (link-libc-args): New variable.
38545         (libc-for-link): Likewise.
38546         (link-libc-deps): Likewise.
38547         (lib%.so): Depend on $(link-libc-deps).  Link with
38548         $(link-libc-args).
38549         (build-module): Link with $(link-libc-args).
38550         (build-module-asneeded): Likewise.
38551         (build-module-helper-objlist): Filter out $(link-libc-deps) from
38552         list of objects.
38553         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
38554         target-specific variable.
38555         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
38556         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
38557         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
38558         libc.
38559         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
38560         libc and ld.so.
38561         ($(objpfx)libpcprofile.so): Likewise.
38562         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
38563         libc_nonshared.a.
38564         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
38565         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
38566         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
38567         $(link-libc-deps).
38568         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
38569         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
38570         * login/Makefile ($(objpfx)libutil.so): Likewise.
38571         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
38572         * math/Makefile ($(objpfx)libm.so): Likewise.
38573         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
38574         $(objpfx)libnsl.so): Define libc-for-link as target-specific
38575         variable instead of depending directly on libc.
38576         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
38577         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
38578         $(link-libc-deps).
38579         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
38580         libc.
38581         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
38582         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
38583         ($(objpfx)libanl.so): Likewise.
38584         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
38585         ld.so.
38586         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
38587         $(link-libc-deps).
38588         * sysdeps/i386/fpu/Makefile: Remove file.
38589         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
38590         ($(objpfx)libm.so): Remove dependency on ld.so.
38592 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
38594         [BZ # 15553]
38595         * nis/yp_xdr.c (XDRMAXNAME): Define.
38596         (XDRMAXRECORD): Define.
38597         (xdr_domainname): Use XDRMAXNAME.
38598         (xdr_mapname): Likewise.
38599         (xdr_peername): Likewise.
38600         (xdr_keydat): Use XDRMAXRECORD.
38601         (xdr_valdat): Likewise.
38603 2013-05-30  Jeff Law  <law@redhat.com>
38605         [BZ #14256]
38606         * manual/errno.texi (ESTALE): Update to account for more than
38607         just NFS file systems.
38608         * sysdeps/gnu/errlist.c: Regenerated.
38610 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38612         [BZ #15465]
38613         * elf/Makefile (tests): Add tst-null-argv.
38614         (modules-names):  Add tst-null-argv-lib.
38615         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
38616         (tst-null-argv-ENV): Set environment for tst-null-argv.
38617         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
38618         (RTLD_PROGNAME): New macro.
38619         * elf/tst-null-argv.c: New test case.
38620         * elf/tst-null-argv-lib.c: Library for test case.
38621         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
38622         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
38623         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
38624         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
38625         * elf/dl-init.c (call_init): Likewise.
38626         (_dl_init): Likewise.
38627         * elf/dl-load.c (print_search_path): Likewise.
38628         (_dl_map_object): Likewise.
38629         * elf/dl-lookup.c (do_lookup_x): Likewise.
38630         (add_dependency): Likewise.
38631         (_dl_lookup_symbol_x): Likewise.
38632         (_dl_debug_bindings): Likewise.
38633         * elf/dl-open.c (_dl_show_scope): Likewise.
38634         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38635         * elf/dl-version.c (match_symbol): Likewise.
38636         (_dl_check_map_versions): Likewise.
38637         * elf/rtld.c (dl_main): Likewise.
38638         (print_unresolved): Use RTLD_PROGNAME.
38639         (print_missing_version): Likewise.
38640         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
38641         (elf_machine_rela): Likewise.
38642         * sysdeps/powerpc/powerpc32/dl-machine.c
38643         (__process_machine_rela): Likewise.
38644         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38645         Likewise.
38646         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38647         Likewise.
38648         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38649         Likewise.
38650         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38651         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
38652         Likewise.
38653         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
38654         Likewise.
38655         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38657 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
38659         * po/be.po: Add descriptive title.
38660         * po/zh_CN.po: Likewise.
38661         * po/header.pot: Likewise.
38663 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
38665         * locale/programs/locarchive.c (create_archive): Inlucde fname in
38666         error message.
38667         (enlarge_archive): Likewise.
38669 2013-05-28  Ben North  <ben@redfrontdoor.org>
38671         * manual/arith.texi (frexp): It is the magnitude of the return
38672         value which lies in [0.5, 1), not the return value itself.
38674 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38678 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
38680         * stdio-common/bug26.c (main): Correct fscanf template.
38682         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
38683         declare _dl_skip_args.
38685         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
38686         Don't declare.
38688         * manual/platform.texi: Add missing @end deftypefun.
38690 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38692         [BZ #15529]
38693         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
38694         bit of mantissa of 2^16382.
38695         * math/libm-test.inc (hypot_test_data): Add more tests.
38697         * math/libm-test.inc: Add drem and pow10 to list of tested
38698         functions.
38699         (pow10_test): New function.
38700         (drem_test): Likewise.
38701         (drem_test_tonearest): Likewise.
38702         (drem_test_towardzero): Likewise.
38703         (drem_test_downward): Likewise.
38704         (drem_test_upward): Likewise.
38705         (main): Call the new functions.
38707         * math/libm-test.inc (finite_test_data): Remove.
38708         (finite_test): Run tests from isfinite_test_data.
38709         (gamma_test_data): Remove.
38710         (gamma_test): Run tests from lgamma_test_data.
38711         * sysdeps/i386/fpu/libm-test-ulps: Update.
38712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38714 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38716         * manual/platform.texi: Add PowerPC PPR function set documentation.
38717         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
38718         implementation.
38720 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
38722         * math/libm-test.inc (MAX_EXP): Define.
38723         (ULPDIFF): Define.
38724         (ulp): New function.
38725         (check_float_internal): Use ULPDIFF.
38726         (cpow_test): Disable failing test.
38727         (check_ulp): Test ulp() implemetnation.
38728         (main): Call check_ulp before starting tests.
38730 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38732         * math/gen-libm-test.pl (generate_testfile): Do not handle
38733         START_DATA and END_DATA.
38734         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
38735         END_DATA.
38736         (acos_tonearest_test_data): Likewise.
38737         (acos_towardzero_test_data): Likewise.
38738         (acos_downward_test_data): Likewise.
38739         (acos_upward_test_data): Likewise.
38740         (acosh_test_data): Likewise.
38741         (asin_test_data): Likewise.
38742         (asin_tonearest_test_data): Likewise.
38743         (asin_towardzero_test_data): Likewise.
38744         (asin_downward_test_data): Likewise.
38745         (asin_upward_test_data): Likewise.
38746         (asinh_test_data): Likewise.
38747         (atan_test_data): Likewise.
38748         (atanh_test_data): Likewise.
38749         (atan2_test_data): Likewise.
38750         (cabs_test_data): Likewise.
38751         (cacos_test_data): Likewise.
38752         (cacosh_test_data): Likewise.
38753         (carg_test_data): Likewise.
38754         (casin_test_data): Likewise.
38755         (casinh_test_data): Likewise.
38756         (catan_test_data): Likewise.
38757         (catanh_test_data): Likewise.
38758         (cbrt_test_data): Likewise.
38759         (ccos_test_data): Likewise.
38760         (ccosh_test_data): Likewise.
38761         (ceil_test_data): Likewise.
38762         (cexp_test_data): Likewise.
38763         (cimag_test_data): Likewise.
38764         (clog_test_data): Likewise.
38765         (clog10_test_data): Likewise.
38766         (conj_test_data): Likewise.
38767         (copysign_test_data): Likewise.
38768         (cos_test_data): Likewise.
38769         (cos_tonearest_test_data): Likewise.
38770         (cos_towardzero_test_data): Likewise.
38771         (cos_downward_test_data): Likewise.
38772         (cos_upward_test_data): Likewise.
38773         (cosh_test_data): Likewise.
38774         (cosh_tonearest_test_data): Likewise.
38775         (cosh_towardzero_test_data): Likewise.
38776         (cosh_downward_test_data): Likewise.
38777         (cosh_upward_test_data): Likewise.
38778         (cpow_test_data): Likewise.
38779         (cproj_test_data): Likewise.
38780         (creal_test_data): Likewise.
38781         (csin_test_data): Likewise.
38782         (csinh_test_data): Likewise.
38783         (csqrt_test_data): Likewise.
38784         (ctan_test_data): Likewise.
38785         (ctan_tonearest_test_data): Likewise.
38786         (ctan_towardzero_test_data): Likewise.
38787         (ctan_downward_test_data): Likewise.
38788         (ctan_upward_test_data): Likewise.
38789         (ctanh_test_data): Likewise.
38790         (ctanh_tonearest_test_data): Likewise.
38791         (ctanh_towardzero_test_data): Likewise.
38792         (ctanh_downward_test_data): Likewise.
38793         (ctanh_upward_test_data): Likewise.
38794         (erf_test_data): Likewise.
38795         (erfc_test_data): Likewise.
38796         (exp_test_data): Likewise.
38797         (exp_tonearest_test_data): Likewise.
38798         (exp_towardzero_test_data): Likewise.
38799         (exp_downward_test_data): Likewise.
38800         (exp_upward_test_data): Likewise.
38801         (exp10_test_data): Likewise.
38802         (exp2_test_data): Likewise.
38803         (expm1_test_data): Likewise.
38804         (fabs_test_data): Likewise.
38805         (fdim_test_data): Likewise.
38806         (finite_test_data): Likewise.
38807         (floor_test_data): Likewise.
38808         (fma_test_data): Likewise.
38809         (fma_towardzero_test_data): Likewise.
38810         (fma_downward_test_data): Likewise.
38811         (fma_upward_test_data): Likewise.
38812         (fmax_test_data): Likewise.
38813         (fmin_test_data): Likewise.
38814         (fmod_test_data): Likewise.
38815         (fpclassify_test_data): Likewise.
38816         (frexp_test_data): Likewise.
38817         (gamma_test_data): Likewise.
38818         (hypot_test_data): Likewise.
38819         (ilogb_test_data): Likewise.
38820         (isfinite_test_data): Likewise.
38821         (isgreater_test_data): Likewise.
38822         (isgreaterequal_test_data): Likewise.
38823         (isinf_test_data): Likewise.
38824         (isless_test_data): Likewise.
38825         (islessequal_test_data): Likewise.
38826         (islessgreater_test_data): Likewise.
38827         (isnan_test_data): Likewise.
38828         (isnormal_test_data): Likewise.
38829         (issignaling_test_data): Likewise.
38830         (isunordered_test_data): Likewise.
38831         (j0_test_data): Likewise.
38832         (j1_test_data): Likewise.
38833         (jn_test_data): Likewise.
38834         (ldexp_test_data): Likewise.
38835         (lgamma_test_data): Likewise.
38836         (lrint_test_data): Likewise.
38837         (lrint_tonearest_test_data): Likewise.
38838         (lrint_towardzero_test_data): Likewise.
38839         (lrint_downward_test_data): Likewise.
38840         (lrint_upward_test_data): Likewise.
38841         (llrint_test_data): Likewise.
38842         (llrint_tonearest_test_data): Likewise.
38843         (llrint_towardzero_test_data): Likewise.
38844         (llrint_downward_test_data): Likewise.
38845         (llrint_upward_test_data): Likewise.
38846         (log_test_data): Likewise.
38847         (log10_test_data): Likewise.
38848         (log1p_test_data): Likewise.
38849         (log2_test_data): Likewise.
38850         (logb_test_data): Likewise.
38851         (logb_downward_test_data): Likewise.
38852         (lround_test_data): Likewise.
38853         (llround_test_data): Likewise.
38854         (modf_test_data): Likewise.
38855         (nearbyint_test_data): Likewise.
38856         (nextafter_test_data): Likewise.
38857         (nexttoward_test_data): Likewise.
38858         (pow_test_data): Likewise.
38859         (pow_tonearest_test_data): Likewise.
38860         (pow_towardzero_test_data): Likewise.
38861         (pow_downward_test_data): Likewise.
38862         (pow_upward_test_data): Likewise.
38863         (remainder_test_data): Likewise.
38864         (remainder_tonearest_test_data): Likewise.
38865         (remainder_towardzero_test_data): Likewise.
38866         (remainder_downward_test_data): Likewise.
38867         (remainder_upward_test_data): Likewise.
38868         (remquo_test_data): Likewise.
38869         (rint_test_data): Likewise.
38870         (rint_tonearest_test_data): Likewise.
38871         (rint_towardzero_test_data): Likewise.
38872         (rint_downward_test_data): Likewise.
38873         (rint_upward_test_data): Likewise.
38874         (round_test_data): Likewise.
38875         (scalb_test_data): Likewise.
38876         (scalbn_test_data): Likewise.
38877         (scalbln_test_data): Likewise.
38878         (signbit_test_data): Likewise.
38879         (sin_test_data): Likewise.
38880         (sin_tonearest_test_data): Likewise.
38881         (sin_towardzero_test_data): Likewise.
38882         (sin_downward_test_data): Likewise.
38883         (sin_upward_test_data): Likewise.
38884         (sincos_test_data): Likewise.
38885         (sinh_test_data): Likewise.
38886         (sinh_tonearest_test_data): Likewise.
38887         (sinh_towardzero_test_data): Likewise.
38888         (sinh_downward_test_data): Likewise.
38889         (sinh_upward_test_data): Likewise.
38890         (sqrt_test_data): Likewise.
38891         (tan_test_data): Likewise.
38892         (tan_tonearest_test_data): Likewise.
38893         (tan_towardzero_test_data): Likewise.
38894         (tan_downward_test_data): Likewise.
38895         (tan_upward_test_data): Likewise.
38896         (tanh_test_data): Likewise.
38897         (tgamma_test_data): Likewise.
38898         (trunc_test_data): Likewise.
38899         (y0_test_data): Likewise.
38900         (y1_test_data): Likewise.
38901         (yn_test_data): Likewise.
38902         (significand_test_data): Likewise.
38904         * math/gen-libm-test.pl (@functions): Remove variable.
38905         (generate_testfile): Don't handle START and END lines.
38906         * math/libm-test.inc (START): New macro.
38907         (END): Likewise.
38908         (END_COMPLEX): Likewise.
38909         (acos_test): Use END macro without arguments.
38910         (acos_test_tonearest): Likewise.
38911         (acos_test_towardzero): Likewise.
38912         (acos_test_downward): Likewise.
38913         (acos_test_upward): Likewise.
38914         (acosh_test): Likewise.
38915         (asin_test): Likewise.
38916         (asin_test_tonearest): Likewise.
38917         (asin_test_towardzero): Likewise.
38918         (asin_test_downward): Likewise.
38919         (asin_test_upward): Likewise.
38920         (asinh_test): Likewise.
38921         (atan_test): Likewise.
38922         (atanh_test): Likewise.
38923         (atan2_test): Likewise.
38924         (cabs_test): Likewise.
38925         (cacos_test): Use END_COMPLEX macro without arguments.
38926         (cacosh_test): Likewise.
38927         (carg_test): Use END macro without arguments.
38928         (casin_test): Use END_COMPLEX macro without arguments.
38929         (casinh_test): Likewise.
38930         (catan_test): Likewise.
38931         (catanh_test): Likewise.
38932         (cbrt_test): Use END macro without arguments.
38933         (ccos_test): Use END_COMPLEX macro without arguments.
38934         (ccosh_test): Likewise.
38935         (ceil_test): Use END macro without arguments.
38936         (cexp_test): Use END_COMPLEX macro without arguments.
38937         (cimag_test): Use END macro without arguments.
38938         (clog_test): Use END_COMPLEX macro without arguments.
38939         (clog10_test): Likewise.
38940         (conj_test): Likewise.
38941         (copysign_test): Use END macro without arguments.
38942         (cos_test): Likewise.
38943         (cos_test_tonearest): Likewise.
38944         (cos_test_towardzero): Likewise.
38945         (cos_test_downward): Likewise.
38946         (cos_test_upward): Likewise.
38947         (cosh_test): Likewise.
38948         (cosh_test_tonearest): Likewise.
38949         (cosh_test_towardzero): Likewise.
38950         (cosh_test_downward): Likewise.
38951         (cosh_test_upward): Likewise.
38952         (cpow_test): Use END_COMPLEX macro without arguments.
38953         (cproj_test): Likewise.
38954         (creal_test): Use END macro without arguments.
38955         (csin_test): Use END_COMPLEX macro without arguments.
38956         (csinh_test): Likewise.
38957         (csqrt_test): Likewise.
38958         (ctan_test): Likewise.
38959         (ctan_test_tonearest): Likewise.
38960         (ctan_test_towardzero): Likewise.
38961         (ctan_test_downward): Likewise.
38962         (ctan_test_upward): Likewise.
38963         (ctanh_test): Likewise.
38964         (ctanh_test_tonearest): Likewise.
38965         (ctanh_test_towardzero): Likewise.
38966         (ctanh_test_downward): Likewise.
38967         (ctanh_test_upward): Likewise.
38968         (erf_test): Use END macro without arguments.
38969         (erfc_test): Likewise.
38970         (exp_test): Likewise.
38971         (exp_test_tonearest): Likewise.
38972         (exp_test_towardzero): Likewise.
38973         (exp_test_downward): Likewise.
38974         (exp_test_upward): Likewise.
38975         (exp10_test): Likewise.
38976         (exp2_test): Likewise.
38977         (expm1_test): Likewise.
38978         (fabs_test): Likewise.
38979         (fdim_test): Likewise.
38980         (finite_test): Likewise.
38981         (floor_test): Likewise.
38982         (fma_test): Likewise.
38983         (fma_test_towardzero): Likewise.
38984         (fma_test_downward): Likewise.
38985         (fma_test_upward): Likewise.
38986         (fmax_test): Likewise.
38987         (fmin_test): Likewise.
38988         (fmod_test): Likewise.
38989         (fpclassify_test): Likewise.
38990         (frexp_test): Likewise.
38991         (gamma_test): Likewise.
38992         (hypot_test): Likewise.
38993         (ilogb_test): Likewise.
38994         (isfinite_test): Likewise.
38995         (isgreater_test): Likewise.
38996         (isgreaterequal_test): Likewise.
38997         (isinf_test): Likewise.
38998         (isless_test): Likewise.
38999         (islessequal_test): Likewise.
39000         (islessgreater_test): Likewise.
39001         (isnan_test): Likewise.
39002         (isnormal_test): Likewise.
39003         (issignaling_test): Likewise.
39004         (isunordered_test): Likewise.
39005         (j0_test): Likewise.
39006         (j1_test): Likewise.
39007         (jn_test): Likewise.
39008         (ldexp_test): Likewise.
39009         (lgamma_test): Likewise.
39010         (lrint_test): Likewise.
39011         (lrint_test_tonearest): Likewise.
39012         (lrint_test_towardzero): Likewise.
39013         (lrint_test_downward): Likewise.
39014         (lrint_test_upward): Likewise.
39015         (llrint_test): Likewise.
39016         (llrint_test_tonearest): Likewise.
39017         (llrint_test_towardzero): Likewise.
39018         (llrint_test_downward): Likewise.
39019         (llrint_test_upward): Likewise.
39020         (log_test): Likewise.
39021         (log10_test): Likewise.
39022         (log1p_test): Likewise.
39023         (log2_test): Likewise.
39024         (logb_test): Likewise.
39025         (logb_test_downward): Likewise.
39026         (lround_test): Likewise.
39027         (llround_test): Likewise.
39028         (modf_test): Likewise.
39029         (nearbyint_test): Likewise.
39030         (nextafter_test): Likewise.
39031         (nexttoward_test): Likewise.
39032         (pow_test): Likewise.
39033         (pow_test_tonearest): Likewise.
39034         (pow_test_towardzero): Likewise.
39035         (pow_test_downward): Likewise.
39036         (pow_test_upward): Likewise.
39037         (remainder_test): Likewise.
39038         (remainder_test_tonearest): Likewise.
39039         (remainder_test_towardzero): Likewise.
39040         (remainder_test_downward): Likewise.
39041         (remainder_test_upward): Likewise.
39042         (remquo_test): Likewise.
39043         (rint_test): Likewise.
39044         (rint_test_tonearest): Likewise.
39045         (rint_test_towardzero): Likewise.
39046         (rint_test_downward): Likewise.
39047         (rint_test_upward): Likewise.
39048         (round_test): Likewise.
39049         (scalb_test): Likewise.
39050         (scalbn_test): Likewise.
39051         (scalbln_test): Likewise.
39052         (signbit_test): Likewise.
39053         (sin_test): Likewise.
39054         (sin_test_tonearest): Likewise.
39055         (sin_test_towardzero): Likewise.
39056         (sin_test_downward): Likewise.
39057         (sin_test_upward): Likewise.
39058         (sincos_test): Likewise.
39059         (sinh_test): Likewise.
39060         (sinh_test_tonearest): Likewise.
39061         (sinh_test_towardzero): Likewise.
39062         (sinh_test_downward): Likewise.
39063         (sinh_test_upward): Likewise.
39064         (sqrt_test): Likewise.
39065         (tan_test): Likewise.
39066         (tan_test_tonearest): Likewise.
39067         (tan_test_towardzero): Likewise.
39068         (tan_test_downward): Likewise.
39069         (tan_test_upward): Likewise.
39070         (tanh_test): Likewise.
39071         (tgamma_test): Likewise.
39072         (trunc_test): Likewise.
39073         (y0_test): Likewise.
39074         (y1_test): Likewise.
39075         (yn_test): Likewise.
39076         (significand_test): Likewise.
39078 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
39080         [BZ #15381]
39081         * libio/genops.c (_IO_no_init): Initialize wide struct info.
39083 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39085         [BZ #14894]
39086         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
39087         __ppc_mdoio and __ppc_mdoom.
39088         * manual/platform.texi: Document new functions __ppc_yield,
39089         __ppc_mdoio and __ppc_mdoom.
39091 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
39093         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
39094         (main): Mention "tls" pseudo-hwcap is legacy.
39095         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
39097 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39099         * math/gen-libm-test.pl (parse_args): Output only string of
39100         arguments as text for test name, not full call or descriptions of
39101         tests for extra outputs.
39102         (generate_testfile): Do not pass function name to parse_args.
39103         Generate this_func variable from START.
39104         * math/libm-test.inc (struct test_f_f_data): Rename test_name
39105         field to arg_str.
39106         (struct test_ff_f_data): Likewise.
39107         (test_ff_f_data_nexttoward): Likewise.
39108         (struct test_fi_f_data): Likewise.
39109         (struct test_fl_f_data): Likewise.
39110         (struct test_if_f_data): Likewise.
39111         (struct test_fff_f_data): Likewise.
39112         (struct test_c_f_data): Likewise.
39113         (struct test_f_f1_data): Likewise.  Remove field extra_name.
39114         (struct test_fF_f1_data): Likewise.
39115         (struct test_ffI_f1_data): Likewise.
39116         (struct test_c_c_data): Rename test_name field to arg_str.
39117         (struct test_cc_c_data): Likewise.
39118         (struct test_f_i_data): Likewise.
39119         (struct test_ff_i_data): Likewise.
39120         (struct test_f_l_data): Likewise.
39121         (struct test_f_L_data): Likewise.
39122         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
39123         and extra2_name.
39124         (COMMON_TEST_SETUP): New macro.
39125         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
39126         (COMMON_TEST_CLEANUP): Likewise.
39127         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
39128         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
39129         macros.
39130         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
39131         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
39132         macros.
39133         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
39134         (RUN_TEST_fff_f): Take argument string.  Call new setup and
39135         cleanup macros.
39136         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
39137         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
39138         macros.
39139         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
39140         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
39141         macros.
39142         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39143         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
39144         cleanup macros.
39145         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39146         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
39147         cleanup macros.
39148         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39149         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
39150         cleanup macros.
39151         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39152         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
39153         macros.
39154         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
39155         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
39156         macros.
39157         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
39158         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
39159         macros.
39160         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
39161         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
39162         cleanup macros.
39163         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
39164         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
39165         cleanup macros.
39166         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
39167         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
39168         macros.
39169         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
39170         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
39171         cleanup macros.
39172         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
39173         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
39174         macros.
39175         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
39176         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
39177         macros.
39178         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
39179         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
39180         cleanup macros.
39181         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
39183 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
39185         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
39186         to _sifields.sigfault.
39187         (si_addr_lsb): Define new macro.
39188         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
39189         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39190         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
39192 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
39194         [BZ #15441]
39195         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
39196         returns -1.
39197         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
39198         null return -1.
39199         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
39200         loading the domain.
39202 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39204         * math/gen-libm-test.pl (parse_args): Do not include expected
39205         result in test name.
39206         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
39207         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39208         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39209         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39210         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39213 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39215         * benchtests/Makefile: Sort function entries.
39217         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
39218         tanh, asinh, acosh, atanh.
39219         * benchtests/acos-inputs: New file.
39220         * benchtests/acosh-inputs: New file.
39221         * benchtests/asin-inputs: New file.
39222         * benchtests/asinh-inputs: New file.
39223         * benchtests/atanh-inputs: New file.
39224         * benchtests/cosh-inputs: New file.
39225         * benchtests/log-inputs: New file.
39226         * benchtests/sinh-inputs: New file.
39227         * benchtests/tanh-inputs: New file.
39229 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
39231         [BZ #15339]
39232         * posix/tst-getaddrinfo4.c: New test.
39233         * posix/Makefile (tests): Add it.
39235 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39237         [BZ #15339]
39238         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
39239         when no services were used.
39240         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
39241         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
39243 2013-05-21  Andreas Schwab  <schwab@suse.de>
39245         [BZ #15014]
39246         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
39247         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
39248         successful.
39249         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
39250         redundant variable declarations and reallocation of buffer when
39251         parsing as IPv6 address.  Always set NSS status when called from
39252         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
39253         buffer too small.  Correct computation of needed size.
39254         * nss/Makefile (tests): Add test-digits-dots.
39255         * nss/test-digits-dots.c: New test.
39257 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39259         * benchtests/Makefile: Remove instructions for adding
39260         benchmark tests.
39261         * benchtests/README: New file to explain how to execute and
39262         enhance the benchmark tests.
39264 2013-05-21  Andreas Schwab  <schwab@suse.de>
39266         [BZ #15493]
39267         * setjmp/Makefile (tests): Add tst-sigsetjmp.
39268         * setjmp/tst-sigsetjmp.c: New test.
39270 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39272         * sysdeps/x86_64/memset.S (memset): New implementation.
39273         (__bzero): Likewise.
39274         (__memset_tail): New function.
39276 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39278         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
39279         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
39280         __memcpy_sse2_unaligned ifunc selection.
39281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39282         Add memcpy-sse2-unaligned.S.
39283         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39284         Add: __memcpy_sse2_unaligned.
39286 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
39288         [BZ #15490]
39289         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39290         math_force_eval before restoring floating-point envrionment.
39291         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
39292         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
39293         Likewise.
39294         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
39295         <math_private.h>.
39296         (__nearbyintl): Use math_force_eval before restoring
39297         floating-point environment.
39298         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
39300         * math/gen-libm-test.pl (special_functions): Remove.
39301         (parse_args): Don't handle TEST_extra.  Handle functions with no
39302         return value.
39303         * math/libm-test.inc (struct test_sincos_data): Replace with
39304         struct test_fFF_11_data.
39305         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
39306         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
39307         (sincos_test_data): Change element type to struct
39308         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
39309         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
39310         RUN_TEST_LOOP_sincos.
39311         * math/README.libm-test: Don't mention special handling of
39312         individual functions.
39313         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
39314         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39315         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39316         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39317         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39320         * math/gen-libm-test.pl (get_variable): Remove function.
39321         (parse_args): Don't show pointer parameters to call in test
39322         names.  Use "extra output N" in test names for extra outputs
39323         rather than naming variables.
39325 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
39327         [BZ #15488]
39328         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
39329         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
39330         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
39331         double tests.
39332         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
39333         disable.
39334         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
39335         check_long_double.
39337         * math/gen-libm-test.pl (@tests): Remove variable.
39338         ($count): Likewise.
39339         (new_test): Remove function.
39340         (show_exceptions): New function.
39341         (special_functions): Use show_exceptions instead of new_test.
39342         (parse_args): Likewise.
39343         (generate_testfile): Pass only function name in generated call to
39344         print_max_error or print_complex_max_error.
39345         (get_ulps): Do not handle complex tests specially.
39346         (output_test): Rename to ...
39347         (get_all_ulps_for_test): ... this.  Return a string rather than
39348         printing to a file.  Require ulps to be present.
39349         (output_ulps): Generate arrays rather than #defines.
39350         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
39351         (struct ulp_data): New type.
39352         (BUILD_COMPLEX_ULP): Remove macro.
39353         (compare_ulp_data): New function.
39354         (find_ulps): Likewise.
39355         (find_test_ulps): Likewise.
39356         (find_function_ulps): Likewise.
39357         (find_complex_function_ulps): Likewise.
39358         (print_max_error): Determine allowed ulps using
39359         find_function_ulps.
39360         (print_complex_max_error): Determine allowed ulps using
39361         find_complex_function_ulps.
39362         (check_float_internal): Determine max ulps using find_test_ulps.
39363         (check_float): Do not take max_ulp parameter.  Update call to
39364         check_float_internal.
39365         (check_complex): Likewise.
39366         (check_int): Do not take max_ulp parameter.
39367         (check_long): Likewise.
39368         (check_bool): Likewise.
39369         (check_longlong): Likewise.
39370         (struct test_f_f_data): Remove max_ulp field.
39371         (struct test_ff_f_data): Likewise.
39372         (struct test_ff_f_data_nexttoward): Likewise.
39373         (struct test_fi_f_data): Likewise.
39374         (struct test_fl_f_data): Likewise.
39375         (struct test_if_f_data): Likewise.
39376         (struct test_fff_f_data): Likewise.
39377         (struct test_c_f_data): Likewise.
39378         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
39379         (struct test_fF_f1_data): Likewise.
39380         (struct test_ffI_f1_data): Likewise.
39381         (struct test_c_c_data): Remove max_ulp field.
39382         (struct test_cc_c_data): Likewise.
39383         (struct test_f_i_data): Likewise.
39384         (struct test_ff_i_data): Likewise.
39385         (struct test_f_l_data): Likewise.
39386         (struct test_f_L_data): Likewise.
39387         (struct test_sincos_data): Likewise.
39388         (RUN_TEST_f_f): Do not handle ulps.
39389         (RUN_TEST_LOOP_f_f): Likewise.
39390         (RUN_TEST_2_f): Likewise.
39391         (RUN_TEST_LOOP_2_f): Likewise.
39392         (RUN_TEST_fff_f): Likewise.
39393         (RUN_TEST_LOOP_fff_f): Likewise.
39394         (RUN_TEST_c_f): Likewise.
39395         (RUN_TEST_LOOP_c_f): Likewise.
39396         (RUN_TEST_f_f1): Likewise.
39397         (RUN_TEST_LOOP_f_f1): Likewise.
39398         (RUN_TEST_fF_f1): Likewise.
39399         (RUN_TEST_LOOP_fF_f1): Likewise.
39400         (RUN_TEST_fI_f1): Likewise.
39401         (RUN_TEST_LOOP_fI_f1): Likewise.
39402         (RUN_TEST_ffI_f1): Likewise.
39403         (RUN_TEST_LOOP_ffI_f1): Likewise.
39404         (RUN_TEST_c_c): Likewise.
39405         (RUN_TEST_LOOP_c_c): Likewise.
39406         (RUN_TEST_cc_c): Likewise.
39407         (RUN_TEST_LOOP_cc_c): Likewise.
39408         (RUN_TEST_f_i): Likewise.
39409         (RUN_TEST_LOOP_f_i): Likewise.
39410         (RUN_TEST_f_i_tg): Likewise.
39411         (RUN_TEST_LOOP_f_i_tg): Likewise.
39412         (RUN_TEST_ff_i_tg): Likewise.
39413         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39414         (RUN_TEST_f_b): Likewise.
39415         (RUN_TEST_LOOP_f_b): Likewise.
39416         (RUN_TEST_f_b_tg): Likewise.
39417         (RUN_TEST_LOOP_f_b_tg): Likewise.
39418         (RUN_TEST_f_l): Likewise.
39419         (RUN_TEST_LOOP_f_l): Likewise.
39420         (RUN_TEST_f_L): Likewise.
39421         (RUN_TEST_LOOP_f_L): Likewise.
39422         (RUN_TEST_sincos): Likewise.
39423         (RUN_TEST_LOOP_sincos): Likewise.
39425 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
39427         [BZ #15480]
39428         [BZ #15485]
39429         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
39430         main case of finite arguments, set rounding mode to FE_TONEAREST
39431         and discard exceptions.
39432         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
39433         exceptions.
39434         (remainder_tonearest_test_data): New variable.
39435         (remainder_test_tonearest): New function.
39436         (remainder_towardzero_test_data): New variable.
39437         (remainder_test_towardzero): New function.
39438         (remainder_downward_test_data): New variable.
39439         (remainder_test_downward): New function.
39440         (remainder_upward_test_data): New variable.
39441         (remainder_test_upward): New function.
39442         (main): Call the new test functions.
39444         * math/libm-test.inc (struct test_f_f1_data): Remove field
39445         extra_init.
39446         (struct test_fF_f1_data): Likewise.
39447         (struct test_ffI_f1_data): Likewise.
39448         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
39449         based on value of EXTRA_EXPECTED.
39450         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39451         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
39452         EXTRA_VAR based on value of EXTRA_EXPECTED.
39453         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39454         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
39455         EXTRA_VAR based on value of EXTRA_EXPECTED.
39456         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39457         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
39458         EXTRA_VAR based on value of EXTRA_EXPECTED.
39459         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39460         * math/gen-libm-test.pl (parse_args): Don't output initializers
39461         for extra output values.
39463         * math/libm-test.inc (check_int): Expect result to be exactly
39464         equal to expected value and do not handle ulps.
39465         (check_long): Likewise.
39466         (check_longlong): Likewise.
39468         * math/libm-test.inc (ceil_test_data): Test for "inexact"
39469         exceptions.
39470         (cimag_test_data): Likewise.
39471         (conj_test_data): Likewise.
39472         (copysign_test_data): Likewise.
39473         (cproj_test_data): Likewise.
39474         (creal_test_data): Likewise.
39475         (fabs_test_data): Likewise.
39476         (fdim_test_data): Likewise.
39477         (finite_test_data): Likewise.
39478         (floor_test_data): Likewise.
39479         (fmax_test_data): Likewise.
39480         (fmin_test_data): Likewise.
39481         (fmod_test_data): Likewise.
39482         (fpclassify_test_data): Likewise.
39483         (frexp_test_data): Likewise.
39484         (ilogb_test_data): Likewise.
39485         (isfinite_test_data): Likewise.
39486         (isgreater_test_data): Likewise.
39487         (isgreaterequal_test_data): Likewise.
39488         (isinf_test_data): Likewise.
39489         (isless_test_data): Likewise.
39490         (islessequal_test_data): Likewise.
39491         (islessgreater_test_data): Likewise.
39492         (isnan_test_data): Likewise.
39493         (isnormal_test_data): Likewise.
39494         (issignaling_test_data): Likewise.
39495         (isunordered_test_data): Likewise.
39496         (ldexp_test_data): Likewise.
39497         (lrint_test_data): Likewise.
39498         (lrint_test_data) [TEST_FLOAT]: Disable one test.
39499         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
39500         (lrint_tonearest_test_data): Test for "inexact" exceptions.
39501         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39502         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
39503         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39504         test input.
39505         (lrint_towardzero_test_data): Test for "inexact" exceptions.
39506         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39507         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
39508         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
39509         that test input.
39510         (lrint_downward_test_data): Test for "inexact" exceptions.
39511         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39512         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
39513         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39514         test input.
39515         (lrint_upward_test_data): Test for "inexact" exceptions.
39516         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
39517         test input.
39518         (llrint_test_data): Test for "inexact" exceptions.
39519         (llrint_test_data) [TEST_FLOAT]: Disable one test.
39520         (llrint_tonearest_test_data): Test for "inexact" exceptions.
39521         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39522         (llrint_towardzero_test_data): Test for "inexact" exceptions.
39523         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39524         (llrint_downward_test_data): Test for "inexact" exceptions.
39525         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39526         (llrint_upward_test_data): Test for "inexact" exceptions.
39527         (logb_test_data): Likewise.
39528         (logb_downward_test_data): Likewise.
39529         (nextafter_test_data): Likewise.
39530         (nexttoward_test_data): Likewise.
39531         (remainder_test_data): Likewise.
39532         (remquo_test_data): Likewise.
39533         (scalbn_test_data): Likewise.
39534         (scalbln_test_data): Likewise.
39535         (signbit_test_data): Likewise.
39536         (sqrt_test_data): Likewise.
39537         (significand_test_data): Likewise.
39539 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39541         [BZ #15424]
39542         * benchtests/bench-modf.c (struct args): Mark arg0 as
39543         volatile.
39544         * scripts/bench.pl: Mark members of struct args as volatile.
39546 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39548         [BZ # 15497]
39549         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
39550         negative infinity on POWER6 or lower.
39551         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
39553 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39555         [BZ #15442]
39556         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
39557         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
39558         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
39559         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
39560         (_FP_SETQNAN): New macro.
39561         (_FP_SETQNAN_SEMIRAW): Likewise.
39562         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
39563         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
39564         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
39565         (FP_EXTEND): Use _FP_FRAC_SNANP.
39566         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
39567         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
39568         into account.
39569         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39570         New macro.
39571         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39572         Likewise.
39574 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39576         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
39577         with DIVIDE_BY_ZERO_EXCEPTION.
39578         (gamma_test_data): Likewise.
39579         (lgamma_test_data): Likewise.
39580         (log_test_data): Likewise.
39581         (log10_test_data): Likewise.
39582         (log2_test_data): Likewise.
39583         (tgamma_test_data): Likewise.
39585         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
39586         (acos_test_tonearest): Likewise.
39587         (acos_test_towardzero): Likewise.
39588         (acos_test_downward): Likewise.
39589         (acos_test_upward): Likewise.
39590         (acosh_test): Likewise.
39591         (asin_test): Likewise.
39592         (asin_test_tonearest): Likewise.
39593         (asin_test_towardzero): Likewise.
39594         (asin_test_downward): Likewise.
39595         (asin_test_upward): Likewise.
39596         (asinh_test): Likewise.
39597         (atan_test): Likewise.
39598         (atanh_test): Likewise.
39599         (atan2_test): Likewise.
39600         (cabs_test): Likewise.
39601         (cacos_test): Likewise.
39602         (cacosh_test): Likewise.
39603         (casin_test): Likewise.
39604         (casinh_test): Likewise.
39605         (catan_test): Likewise.
39606         (catanh_test): Likewise.
39607         (cbrt_test): Likewise.
39608         (ccos_test): Likewise.
39609         (ccosh_test): Likewise.
39610         (cexp_test): Likewise.
39611         (clog_test): Likewise.
39612         (clog10_test): Likewise.
39613         (cos_test): Likewise.
39614         (cos_test_tonearest): Likewise.
39615         (cos_test_towardzero): Likewise.
39616         (cos_test_downward): Likewise.
39617         (cos_test_upward): Likewise.
39618         (cosh_test): Likewise.
39619         (cosh_test_tonearest): Likewise.
39620         (cosh_test_towardzero): Likewise.
39621         (cosh_test_downward): Likewise.
39622         (cosh_test_upward): Likewise.
39623         (cpow_test): Likewise.
39624         (csin_test): Likewise.
39625         (csinh_test): Likewise.
39626         (csqrt_test): Likewise.
39627         (ctan_test): Likewise.
39628         (ctan_test_tonearest): Likewise.
39629         (ctan_test_towardzero): Likewise.
39630         (ctan_test_downward): Likewise.
39631         (ctan_test_upward): Likewise.
39632         (ctanh_test): Likewise.
39633         (ctanh_test_tonearest): Likewise.
39634         (ctanh_test_towardzero): Likewise.
39635         (ctanh_test_downward): Likewise.
39636         (ctanh_test_upward): Likewise.
39637         (erf_test): Likewise.
39638         (erfc_test): Likewise.
39639         (exp_test): Likewise.
39640         (exp_test_tonearest): Likewise.
39641         (exp_test_towardzero): Likewise.
39642         (exp_test_downward): Likewise.
39643         (exp_test_upward): Likewise.
39644         (exp10_test): Likewise.
39645         (exp2_test): Likewise.
39646         (expm1_test): Likewise.
39647         (fmod_test): Likewise.
39648         (gamma_test): Likewise.
39649         (hypot_test): Likewise.
39650         (j0_test): Likewise.
39651         (j1_test): Likewise.
39652         (jn_test): Likewise.
39653         (lgamma_test): Likewise.
39654         (log_test): Likewise.
39655         (log10_test): Likewise.
39656         (log1p_test): Likewise.
39657         (log2_test): Likewise.
39658         (logb_test_downward): Likewise.
39659         (pow_test): Likewise.
39660         (pow_test_tonearest): Likewise.
39661         (pow_test_towardzero): Likewise.
39662         (pow_test_downward): Likewise.
39663         (pow_test_upward): Likewise.
39664         (remainder_test): Likewise.
39665         (remquo_test): Likewise.
39666         (sin_test): Likewise.
39667         (sin_test_tonearest): Likewise.
39668         (sin_test_towardzero): Likewise.
39669         (sin_test_downward): Likewise.
39670         (sin_test_upward): Likewise.
39671         (sincos_test): Likewise.
39672         (sinh_test): Likewise.
39673         (sinh_test_tonearest): Likewise.
39674         (sinh_test_towardzero): Likewise.
39675         (sinh_test_downward): Likewise.
39676         (sinh_test_upward): Likewise.
39677         (sqrt_test): Likewise.
39678         (tan_test): Likewise.
39679         (tan_test_tonearest): Likewise.
39680         (tan_test_towardzero): Likewise.
39681         (tan_test_downward): Likewise.
39682         (tan_test_upward): Likewise.
39683         (tanh_test): Likewise.
39684         (tgamma_test): Likewise.
39685         (y0_test): Likewise.
39686         (y1_test): Likewise.
39687         (yn_test): Likewise.
39689         * math/gen-libm-test.pl (adjust_arg): Remove function.
39690         (special_function): Remove argument $in_func.  Only handle
39691         generating output for tables of tests, not inside functions.
39692         (parse_args): Likewise.
39693         (generate_testfile): Remove variable $in_func.  Update call to
39694         parse_args.
39695         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
39696         (MINUS_ZERO_INIT): Rename macro to minus_zero.
39697         (PLUS_INFTY_INIT): Rename macro to plus_infty.
39698         (MINUS_INFTY_INIT): Rename macro to minus_infty.
39699         (QNAN_VALUE_INIT): Rename macro to qnan_value.
39700         (MAX_VALUE_INIT): Rename macro to max_value.
39701         (MIN_VALUE_INIT): Rename macro to min_value.
39702         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
39703         (plus_zero): Remove variable.
39704         (minus_zero): Likewise.
39705         (plus_infty): Likewise.
39706         (minus_infty): Likewise.
39707         (qnan_value): Likewise.
39708         (max_value): Likewise.
39709         (min_value): Likewise.
39710         (min_subnorm_value): Likewise.
39712 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39714         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
39715         uint64_t or uint32_t usage.
39716         * crypt/sha256-block.c: Likewise.
39717         * crypt/sha256-crypt.c: Likewise.
39718         * crypt/sha256.c: Likewise.
39719         * crypt/sha512-block.c: Likewise.
39720         * crypt/sha512-crypt.c: Likewise.
39721         * crypt/sha512.c: Likewise.
39722         * debug/backtrace-tst.c: Likewise.
39723         * debug/pcprofiledump.c: Likewise.
39724         * elf/cache.c: Likewise.
39725         * elf/dl-cache.c: Likewise.
39726         * elf/dl-misc.c: Likewise.
39727         * elf/dl-profile.c: Likewise.
39728         * elf/dl-support.c: Likewise.
39729         * elf/ldconfig.c: Likewise.
39730         * elf/sprof.c: Likewise.
39731         * iconv/dummy-repertoire.c: Likewise.
39732         * iconv/iconv_charmap.c: Likewise.
39733         * iconv/skeleton.c: Likewise.
39734         * iconvdata/8bit-generic.c: Likewise.
39735         * iconvdata/cp737.h: Likewise.
39736         * iconvdata/cp775.h: Likewise.
39737         * iconvdata/ibm1008.h: Likewise.
39738         * iconvdata/ibm1025.h: Likewise.
39739         * iconvdata/ibm1046.h: Likewise.
39740         * iconvdata/ibm1097.h: Likewise.
39741         * iconvdata/ibm1112.h: Likewise.
39742         * iconvdata/ibm1122.h: Likewise.
39743         * iconvdata/ibm1123.h: Likewise.
39744         * iconvdata/ibm1124.h: Likewise.
39745         * iconvdata/ibm1129.h: Likewise.
39746         * iconvdata/ibm1130.h: Likewise.
39747         * iconvdata/ibm1132.h: Likewise.
39748         * iconvdata/ibm1133.h: Likewise.
39749         * iconvdata/ibm1137.h: Likewise.
39750         * iconvdata/ibm1140.h: Likewise.
39751         * iconvdata/ibm1141.h: Likewise.
39752         * iconvdata/ibm1142.h: Likewise.
39753         * iconvdata/ibm1143.h: Likewise.
39754         * iconvdata/ibm1144.h: Likewise.
39755         * iconvdata/ibm1145.h: Likewise.
39756         * iconvdata/ibm1146.h: Likewise.
39757         * iconvdata/ibm1147.h: Likewise.
39758         * iconvdata/ibm1148.h: Likewise.
39759         * iconvdata/ibm1149.h: Likewise.
39760         * iconvdata/ibm1153.h: Likewise.
39761         * iconvdata/ibm1154.h: Likewise.
39762         * iconvdata/ibm1155.h: Likewise.
39763         * iconvdata/ibm1156.h: Likewise.
39764         * iconvdata/ibm1157.h: Likewise.
39765         * iconvdata/ibm1158.h: Likewise.
39766         * iconvdata/ibm1160.h: Likewise.
39767         * iconvdata/ibm1161.h: Likewise.
39768         * iconvdata/ibm1162.h: Likewise.
39769         * iconvdata/ibm1163.h: Likewise.
39770         * iconvdata/ibm1164.h: Likewise.
39771         * iconvdata/ibm1166.h: Likewise.
39772         * iconvdata/ibm1167.h: Likewise.
39773         * iconvdata/ibm12712.h: Likewise.
39774         * iconvdata/ibm1390.h: Likewise.
39775         * iconvdata/ibm1399.h: Likewise.
39776         * iconvdata/ibm16804.h: Likewise.
39777         * iconvdata/ibm4517.h: Likewise.
39778         * iconvdata/ibm4899.h: Likewise.
39779         * iconvdata/ibm4909.h: Likewise.
39780         * iconvdata/ibm4971.h: Likewise.
39781         * iconvdata/ibm5347.h: Likewise.
39782         * iconvdata/ibm803.h: Likewise.
39783         * iconvdata/ibm856.h: Likewise.
39784         * iconvdata/ibm901.h: Likewise.
39785         * iconvdata/ibm902.h: Likewise.
39786         * iconvdata/ibm9030.h: Likewise.
39787         * iconvdata/ibm9066.h: Likewise.
39788         * iconvdata/ibm921.h: Likewise.
39789         * iconvdata/ibm922.h: Likewise.
39790         * iconvdata/ibm9448.h: Likewise.
39791         * iconvdata/isiri-3342.h: Likewise.
39792         * iconvdata/jis0201.h: Likewise.
39793         * include/link.h: Likewise.
39794         * include/netdb.h: Likewise.
39795         * inet/check_native.c: Likewise.
39796         * inet/check_pf.c: Likewise.
39797         * inet/getipv4sourcefilter.c: Likewise.
39798         * inet/getnameinfo.c: Likewise.
39799         * inet/getsourcefilter.c: Likewise.
39800         * inet/htonl.c: Likewise.
39801         * inet/setipv4sourcefilter.c: Likewise.
39802         * inet/setsourcefilter.c: Likewise.
39803         * inet/test-inet6_opt.c: Likewise.
39804         * inet/tst-network.c: Likewise.
39805         * locale/C-collate.c: Likewise.
39806         * locale/C-ctype.c: Likewise.
39807         * locale/C-time.c: Likewise.
39808         * locale/C-translit.h: Likewise.
39809         * locale/loadarchive.c: Likewise.
39810         * locale/programs/3level.h: Likewise.
39811         * locale/programs/charmap.c: Likewise.
39812         * locale/programs/charmap.h: Likewise.
39813         * locale/programs/ld-address.c: Likewise.
39814         * locale/programs/ld-collate.c: Likewise.
39815         * locale/programs/ld-ctype.c: Likewise.
39816         * locale/programs/ld-identification.c: Likewise.
39817         * locale/programs/ld-measurement.c: Likewise.
39818         * locale/programs/ld-messages.c: Likewise.
39819         * locale/programs/ld-monetary.c: Likewise.
39820         * locale/programs/ld-name.c: Likewise.
39821         * locale/programs/ld-numeric.c: Likewise.
39822         * locale/programs/ld-paper.c: Likewise.
39823         * locale/programs/ld-telephone.c: Likewise.
39824         * locale/programs/ld-time.c: Likewise.
39825         * locale/programs/linereader.c: Likewise.
39826         * locale/programs/locale.c: Likewise.
39827         * locale/programs/locarchive.c: Likewise.
39828         * locale/programs/locfile.h: Likewise.
39829         * locale/programs/repertoire.c: Likewise.
39830         * locale/programs/simple-hash.c: Likewise.
39831         * locale/programs/simple-hash.h: Likewise.
39832         * malloc/memusage.c: Likewise.
39833         * malloc/memusagestat.c: Likewise.
39834         * nis/nis_defaults.c: Likewise.
39835         * nis/nis_hash.c: Likewise.
39836         * nis/nis_print.c: Likewise.
39837         * nis/nis_xdr.c: Likewise.
39838         * nscd/connections.c: Likewise.
39839         * nscd/hstcache.c: Likewise.
39840         * nscd/nscd_gethst_r.c: Likewise.
39841         * nscd/nscd_getserv_r.c: Likewise.
39842         * nscd/nscd_helper.c: Likewise.
39843         * nscd/servicescache.c: Likewise.
39844         * nss/makedb.c: Likewise.
39845         * nss/nss_db/db-XXX.c: Likewise.
39846         * nss/nss_db/db-initgroups.c: Likewise.
39847         * nss/nss_db/db-netgrp.c: Likewise.
39848         * nss/nss_files/files-network.c: Likewise.
39849         * nss/nss_files/files-parse.c: Likewise.
39850         * posix/bug-regex5.c: Likewise.
39851         * posix/fnmatch_loop.c: Likewise.
39852         * posix/regcomp.c: Likewise.
39853         * posix/regexec.c: Likewise.
39854         * posix/tst-rfc3484-2.c: Likewise.
39855         * posix/tst-rfc3484-3.c: Likewise.
39856         * posix/tst-rfc3484.c: Likewise.
39857         * resolv/nss_dns/dns-canon.c: Likewise.
39858         * resolv/nss_dns/dns-network.c: Likewise.
39859         * resolv/res_init.c: Likewise.
39860         * resolv/res_mkquery.c: Likewise.
39861         * resolv/tst-aton.c: Likewise.
39862         * stdlib/cxa_atexit.c: Likewise.
39863         * stdlib/cxa_finalize.c: Likewise.
39864         * stdlib/gen-fpioconst.c: Likewise.
39865         * stdlib/strtol_l.c: Likewise.
39866         * string/tst-endian.c: Likewise.
39867         * sunrpc/auth_des.c: Likewise.
39868         * sunrpc/clnt_udp.c: Likewise.
39869         * sunrpc/rtime.c: Likewise.
39870         * sunrpc/svcauth_des.c: Likewise.
39871         * sunrpc/xdr.c: Likewise.
39872         * sunrpc/xdr_intXX_t.c: Likewise.
39873         * sunrpc/xdr_rec.c: Likewise.
39874         * sysdeps/generic/ldconfig.h: Likewise.
39875         * sysdeps/generic/ldsodefs.h: Likewise.
39876         * sysdeps/generic/memusage.h: Likewise.
39877         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39878         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
39879         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
39880         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39881         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39882         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39883         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39884         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39885         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39886         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39887         * sysdeps/posix/getaddrinfo.c: Likewise.
39888         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39889         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39890         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39891         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39892         * sysdeps/powerpc/test-gettimebase.c: Likewise.
39893         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39894         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
39895         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
39896         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39897         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
39898         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39899         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39900         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
39901         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
39902         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
39903         * sysdeps/x86_64/dl-tls.h: Likewise.
39904         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
39905         * time/alt_digit.c: Likewise.
39906         * time/era.c: Likewise.
39907         * wcsmbs/tst-c16c32-1.c: Likewise.
39909 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39911         * math/libm-test.inc (struct test_sincos_data): New type.
39912         (RUN_TEST_LOOP_sincos): New macro.
39913         (sincos_test_data): New variable.
39914         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
39916 2013-05-16  Richard Henderson  <rth@redhat.com>
39918         * math/atest-exp2.c (LIMB64): New macro.
39919         (CONSTSZ): New macro.
39920         (mp_exp1, mp_exp_m1, mp_log2): New variables.
39921         (hexdig): Move ...
39922         (print_mpn_fp): ... to function scope.
39923         (read_mpn_hex): Remove.
39924         (get_log2): Remove.
39925         (exp2_mpn): Use mp_log2.
39926         (main): Use mp_exp1.
39928 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39930         * math/libm-test.inc: Remove comment about not testing "inexact"
39931         exceptions.
39932         (INEXACT_EXCEPTION): New macro.
39933         (NO_INEXACT_EXCEPTION): Likewise.
39934         (INVALID_EXCEPTION_OK): Update value.
39935         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39936         (OVERFLOW_EXCEPTION_OK): Likewise.
39937         (UNDERFLOW_EXCEPTION_OK): Likewise.
39938         (IGNORE_ZERO_INF_SIGN): Likewise.
39939         (ERRNO_UNCHANGED): Likewise.
39940         (ERRNO_EDOM): Likewise.
39941         (ERRNO_ERANGE): Likewise.
39942         (test_exceptions): Handle testing "inexact" exceptions.
39943         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
39944         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
39945         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
39946         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
39947         INEXACT_EXCEPTION.
39948         (rint_towardzero_test_data): Likewise.
39949         (rint_downward_test_data): Likewise.
39950         (rint_upward_test_data): Likewise.
39952         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
39953         with OVERFLOW_EXCEPTION.
39954         (exp10_test_data): Likewise.
39955         (exp2_test_data): Likewise.
39956         (expm1_test_data): Likewise.
39957         (lgamma_test_data): Likewise.
39958         (pow_test_data): Likewise.
39959         (tgamma_test_data): Likewise.
39960         (yn_test_data): Remove duplicate test of overflow.
39962         * math/libm-test.inc (struct test_cc_c_data): New type.
39963         (RUN_TEST_LOOP_cc_c): New macro.
39964         (cpow_test_data): New variable.
39965         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
39967         * math/libm-test.inc (struct test_f_L_data): New type.
39968         (RUN_TEST_LOOP_f_L): New macro.
39969         (llrint_test_data): New variable.
39970         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
39971         (llrint_tonearest_test_data): New variable.
39972         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
39973         (llrint_towardzero_test_data): New variable.
39974         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
39975         (llrint_downward_test_data): New variable.
39976         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
39977         (llrint_upward_test_data): New variable.
39978         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
39979         (llround_test_data): New variable.
39980         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
39982 2013-05-13  Peter Collingbourne  <pcc@google.com>
39984         * math/atest-exp2.c (get_log2): Remove const attribute.
39986 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39988         * math/libm-test.inc (struct test_f_l_data): New type.
39989         (RUN_TEST_LOOP_f_l): New macro.
39990         (lrint_test_data): New variable.
39991         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
39992         (lrint_tonearest_test_data): New variable.
39993         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
39994         (lrint_towardzero_test_data): New variable.
39995         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
39996         (lrint_downward_test_data): New variable.
39997         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
39998         (lrint_upward_test_data): New variable.
39999         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
40000         (lround_test_data): New variable.
40001         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
40003 2013-05-15  Peter Collingbourne  <pcc@google.com>
40005         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
40006         (EXTRACT_WORDS64) Use where appropriate.
40007         (INSERT_WORDS64) Likewise.
40009         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
40010         constraints with x constraints.
40011         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
40013         * malloc/obstack.c (_obstack_compat): Add initializer.
40015 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40017         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
40018         si_trapno and add si_addr_lsb to _sifields.sigfault.
40019         (si_trapno): Remove macro.
40020         (si_addr_lsb): Define new macro.
40021         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40023 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
40025         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
40026         instead of TEST_f_l.
40027         (llrint_test_tonearest): Likewise.
40028         (llrint_test_towardzero): Likewise.
40029         (llrint_test_downward): Likewise.
40030         (llrint_test_upward): Likewise.
40031         (llround_test): Likewise.
40033         * math/libm-test.inc (struct test_f_i_data): Add comment.
40034         (RUN_TEST_LOOP_f_b): New macro.
40035         (RUN_TEST_LOOP_f_b_tg): Likewise.
40036         (finite_test_data): New variable.
40037         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
40038         (isfinite_test_data): New variable.
40039         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40040         (isinf_test_data): New variable.
40041         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40042         (isnan_test_data): New variable.
40043         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40044         (isnormal_test_data): New variable.
40045         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40046         (issignaling_test_data): New variable.
40047         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40048         (signbit_test_data): New variable.
40049         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40051         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
40052         with INVALID_EXCEPTION.
40053         (acosh_test_data): Likewise.
40054         (asin_test_data): Likewise.
40055         (atanh_test_data): Likewise.
40056         (fmod_test_data): Likewise.
40057         (log_test_data): Likewise.
40058         (log10_test_data): Likewise.
40059         (log2_test_data): Likewise.
40060         (pow_test_data): Likewise.
40061         (sqrt_test_data): Likewise.
40062         (y0_test_data): Likewise.
40063         (y1_test_data): Likewise.
40064         (yn_test_data): Likewise.
40066         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
40067         function contents.
40069         * math/libm-test.inc (struct test_ff_i_data): New type.
40070         (RUN_TEST_LOOP_ff_i_tg): New macro.
40071         (isgreater_test_data): New variable.
40072         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40073         (isgreaterequal_test_data): New variable.
40074         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40075         (isless_test_data): New variable.
40076         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40077         (islessequal_test_data): New variable.
40078         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40079         (islessgreater_test_data): New variable.
40080         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40081         (isunordered_test_data): New variable.
40082         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40084 2013-05-14  David S. Miller  <davem@davemloft.net>
40086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40088 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
40090         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
40092         * math/libm-test.inc (struct test_fF_f1_data): Change type of
40093         extra_test to int.
40094         (struct test_f_i_data): Change type of max_ulp to int.
40096         * math/libm-test.inc (test_ffI_f1_data): New type.
40097         (RUN_TEST_LOOP_ffI_f1): New macro.
40098         (remquo_test_data): New variable.
40099         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
40101         * setjmp/tst-setjmp-fp.c: New file.
40102         * setjmp/Makefile (tests): Add tst-setjmp-fp.
40103         (link-libm): New variable.
40104         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
40106         * math/libm-test.inc (struct test_f_i_data): New type.
40107         (RUN_TEST_LOOP_f_i): New macro.
40108         (RUN_TEST_LOOP_f_i_tg): Likewise.
40109         (fpclassify_test_data): New variable.
40110         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
40111         (ilogb_test_data): New variable.
40112         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
40114         * math/libm-test.inc (scalbln_test): Correct function name in END
40115         call.
40117         * math/libm-test.inc (struct test_f_f1_data): Add comment.
40118         (RUN_TEST_LOOP_fI_f1): New macro.
40119         (frexp_test_data): New variable.
40120         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
40122         * math/libm-test.inc (struct test_fF_f1_data): New type.
40123         (RUN_TEST_LOOP_fF_f1): New macro.
40124         (modf_test_data): New variable.
40125         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
40127         * math/libm-test.inc (struct test_f_f1_data): New type.
40128         (RUN_TEST_LOOP_f_f1): New macro.
40129         (gamma_test_data): New variable.
40130         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40131         (lgamma_test_data): New variable.
40132         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40134 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
40136         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
40137         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
40138         (main): Comment "tls" pseudo-hwcap.
40140 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
40142         * math/libm-test.inc (struct test_fl_f_data): New type.
40143         (RUN_TEST_LOOP_fl_f): New variable.
40144         (scalbln_test_data): New variable.
40145         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
40147         * math/libm-test.inc (struct test_fi_f_data): New type.
40148         (RUN_TEST_LOOP_fi_f): New macro.
40149         (ldexp_test_data): New variable.
40150         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
40151         (scalbn_test_data): New variable.
40152         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
40154         * math/libm-test.inc (struct test_c_f_data): New type.
40155         (RUN_TEST_LOOP_c_f): New macro.
40156         (cabs_test_data): New variable.
40157         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
40158         (carg_test_data): New variable.
40159         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
40160         (cimag_test_data): New variable.
40161         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
40162         (creal_test_data): New variable.
40163         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
40165         * math/libm-test.inc (struct test_if_f_data): New type.
40166         (RUN_TEST_LOOP_if_f): New macro.
40167         (jn_test_data): New variable.
40168         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
40169         (yn_test_data): New variable.
40170         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
40172         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
40174 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40176         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
40177         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
40179 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40181         * benchtests/Makefile (CPPFLAGS-nonlib): Add
40182         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
40183         (bench-deps): Add bench-timing.h.
40184         * benchtests-bench-skeleton.c: Include bench-timing.h.
40185         (main): Use TIMING_* macros instead of clock_gettime.
40186         * benchtests/bench-timing.h: New file.
40188         [BZ #14582]
40189         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
40190         Renamed from _LIB_VERSION.
40191         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
40193 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
40195         * math/libm-test.inc (struct test_fff_f_data): New type.
40196         (RUN_TEST_LOOP_fff_f): New macro.
40197         (fma_test_data): New variable.
40198         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
40199         (fma_towardzero_test_data): New variable.
40200         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
40201         (fma_downward_test_data): New variable.
40202         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
40203         (fma_upward_test_data): New variable.
40204         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
40206         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
40207         (struct test_c_c_data): New type.
40208         (RUN_TEST_LOOP_c_c): New macro.
40209         (cacos_test_data): New variable.
40210         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
40211         (cacosh_test_data): New variable.
40212         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
40213         (casin_test_data): New variable.
40214         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
40215         (casinh_test_data): New variable.
40216         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
40217         (catan_test_data): New variable.
40218         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
40219         (catanh_test_data): New variable.
40220         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
40221         (ccos_test_data): New variable.
40222         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
40223         (ccosh_test_data): New variable.
40224         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
40225         (cexp_test_data): New variable.
40226         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
40227         (clog_test_data): New variable.
40228         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
40229         (clog10_test_data): New variable.
40230         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
40231         (conj_test_data): New variable.
40232         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
40233         (cproj_test_data): New variable.
40234         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
40235         (csin_test_data): New variable.
40236         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
40237         (csinh_test_data): New variable.
40238         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
40239         (csqrt_test_data): New variable.
40240         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
40241         (ctan_test_data): New variable.
40242         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
40243         (ctan_tonearest_test_data): New variable.
40244         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40245         (ctan_towardzero_test_data): New variable.
40246         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40247         (ctan_downward_test_data): New variable.
40248         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40249         (ctan_upward_test_data): New variable.
40250         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40251         (ctanh_test_data): New variable.
40252         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
40253         (ctanh_tonearest_test_data): New variable.
40254         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40255         (ctanh_towardzero_test_data): New variable.
40256         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40257         (ctanh_downward_test_data): New variable.
40258         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40259         (ctanh_upward_test_data): New variable.
40260         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40261         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
40262         of BUILD_COMPLEX.
40264         * math/libm-test.inc (struct test_ff_f_data): New type.
40265         (struct test_ff_f_data_nexttoward): Likewise.
40266         (RUN_TEST_LOOP_2_f): New macro.
40267         (RUN_TEST_LOOP_ff_f): Likewise.
40268         (atan2_test_data): New variable.
40269         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
40270         (copysign_test_data): New variable.
40271         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
40272         (fdim_test_data): New variable.
40273         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
40274         (fmax_test_data): New variable.
40275         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
40276         (fmin_test_data): New variable.
40277         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
40278         (fmod_test_data): New variable.
40279         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
40280         (hypot_test_data): New variable.
40281         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
40282         (nextafter_test_data): New variable.
40283         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
40284         (nexttoward_test_data): New variable.
40285         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
40286         (pow_test_data): New variable.
40287         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
40288         (pow_tonearest_test_data): New variable.
40289         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
40290         (pow_towardzero_test_data): New variable.
40291         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
40292         (pow_downward_test_data): New variable.
40293         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
40294         (pow_upward_test_data): New variable.
40295         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
40296         (remainder_test_data): New variable.
40297         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
40298         (scalb_test_data): New variable.
40299         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
40300         * sysdeps/i386/fpu/libm-test-ulps: Update.
40302 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
40304         * math/libm-test.inc (fma_test): Use max_value instead of local
40305         variable fltmax.
40306         (nextafter_test): Likewise.
40308         * math/libm-test.inc (acos_towardzero_test_data): New variable.
40309         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40310         (acos_downward_test_data): New variable.
40311         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40312         (acos_upward_test_data): New variable.
40313         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40314         (acosh_test_data): New variable.
40315         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
40316         (asin_test_data): New variable.
40317         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
40318         (asin_tonearest_test_data): New variable.
40319         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40320         (asin_towardzero_test_data): New variable.
40321         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40322         (asin_downward_test_data): New variable.
40323         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40324         (asin_upward_test_data): New variable.
40325         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40326         (asinh_test_data): New variable.
40327         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
40328         (atan_test_data): New variable.
40329         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
40330         (atanh_test_data): New variable.
40331         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
40332         (cbrt_test_data): New variable.
40333         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
40334         (ceil_test_data): New variable.
40335         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
40336         (cos_test_data): New variable.
40337         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
40338         (cos_tonearest_test_data): New variable.
40339         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40340         (cos_towardzero_test_data): New variable.
40341         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40342         (cos_downward_test_data): New variable.
40343         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40344         (cos_upward_test_data): New variable.
40345         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40346         (cosh_test_data): New variable.
40347         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
40348         (cosh_tonearest_test_data): New variable.
40349         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40350         (cosh_towardzero_test_data): New variable.
40351         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40352         (cosh_downward_test_data): New variable.
40353         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40354         (cosh_upward_test_data): New variable.
40355         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40356         (erf_test_data): New variable.
40357         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
40358         (erfc_test_data): New variable.
40359         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
40360         (exp_test_data): New variable.
40361         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
40362         (exp_tonearest_test_data): New variable.
40363         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40364         (exp_towardzero_test_data): New variable.
40365         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40366         (exp_downward_test_data): New variable.
40367         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40368         (exp_upward_test_data): New variable.
40369         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40370         (exp10_test_data): New variable.
40371         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
40372         (exp2_test_data): New variable.
40373         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
40374         (expm1_test_data): New variable.
40375         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
40376         (fabs_test_data): New variable.
40377         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
40378         (floor_test_data): New variable.
40379         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
40380         (j0_test_data): New variable.
40381         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
40382         (j1_test_data): New variable.
40383         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
40384         (log_test_data): New variable.
40385         (log_test): Run tests with RUN_TEST_LOOP_f_f.
40386         (log10_test_data): New variable.
40387         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
40388         (log1p_test_data): New variable.
40389         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
40390         (log2_test_data): New variable.
40391         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
40392         (logb_test_data): New variable.
40393         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
40394         (logb_downward_test_data): New variable.
40395         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40396         (nearbyint_test_data): New variable.
40397         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
40398         (rint_test_data): New variable.
40399         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
40400         (rint_tonearest_test_data): New variable.
40401         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40402         (rint_towardzero_test_data): New variable.
40403         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40404         (rint_downward_test_data): New variable.
40405         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40406         (rint_upward_test_data): New variable.
40407         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40408         (round_test_data): New variable.
40409         (round_test): Run tests with RUN_TEST_LOOP_f_f.
40410         (sin_test_data): New variable.
40411         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
40412         (sin_tonearest_test_data): New variable.
40413         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40414         (sin_towardzero_test_data): New variable.
40415         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40416         (sin_downward_test_data): New variable.
40417         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40418         (sin_upward_test_data): New variable.
40419         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40420         (sinh_test_data): New variable.
40421         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
40422         (sinh_tonearest_test_data): New variable.
40423         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40424         (sinh_towardzero_test_data): New variable.
40425         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40426         (sinh_downward_test_data): New variable.
40427         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40428         (sinh_upward_test_data): New variable.
40429         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40430         (sqrt_test_data): New variable.
40431         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
40432         (tan_test_data): New variable.
40433         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
40434         (tan_tonearest_test_data): New variable.
40435         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40436         (tan_towardzero_test_data): New variable.
40437         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40438         (tan_downward_test_data): New variable.
40439         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40440         (tan_upward_test_data): New variable.
40441         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40442         (tanh_test_data): New variable.
40443         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
40444         (tgamma_test_data): New variable.
40445         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
40446         (trunc_test_data): New variable.
40447         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
40448         (y0_test_data): New variable.
40449         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
40450         (y1_test_data): New variable.
40451         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
40452         (significand_test_data): New variable.
40453         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
40455 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
40457         [BZ #12387]
40458         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
40460 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40462         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
40464 2013-05-10  Andreas Jaeger  <aj@suse.de>
40466         [BZ #15448]
40467         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
40468         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
40470 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40472         * math/gen-libm-test.pl (adjust_arg): New function.
40473         (special_functions): Handle generating output in both functions
40474         and arrays.
40475         (parse_args): Likewise.
40476         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
40477         $in_func argument to parse_args.
40478         * math/libm-test.inc (struct test_f_f_data): New type.
40479         (IF_ROUND_INIT_): New macro.
40480         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
40481         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40482         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40483         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40484         (ROUND_RESTORE_): Likewise.
40485         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
40486         (ROUND_RESTORE_FE_TONEAREST): Likewise.
40487         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
40488         (ROUND_RESTORE_FE_UPWARD): Likewise.
40489         (RUN_TEST_LOOP_f_f): New macro.
40490         (acos_test_data): New variable.
40491         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
40492         (acos_tonearest_test_data): New variable.
40493         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40495 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40497         * benchtests/bench-skeleton.c (startup): Fix coding style.
40499 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40501         [BZ #6809]
40502         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
40503         negative infinity argument.
40504         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
40505         negative infinity argument.
40506         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
40507         negative infinity argument.
40508         * math/libm-test.inc (tgamma_test): Expect errno to be set for
40509         domain errors.
40511 2013-05-10  Florian Weimer  <fweimer@redhat.com>
40513         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
40514         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
40515         * iconv/iconv_prog.c (main): Likewise.
40516         * locale/programs/charmap-dir.c (charmap_readdir)
40517         (fopen_uncompressed): Likewise.
40518         * locale/programs/locfile.c (siblings_uncached)
40519         (write_locale_data): Use lstat64 instead of lstat.
40520         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
40521         stat.
40523 2013-05-10  Andreas Jaeger  <aj@suse.de>
40525         [BZ #15395]
40526         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
40527         localization.
40528         Include <locale.h>.
40530 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
40532         * elf/dl-close.c (_dl_close_worker): Add comments.
40534 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
40536         [BZ #15359]
40537         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
40538         high part of pi/2.
40539         (__ieee754_rem_pio2l): Update comments.
40541         [BZ #15429]
40542         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
40543         high part of pi/2.
40544         (__ieee754_rem_pio2l): Update comments.
40546         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
40547         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
40549         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
40550         M_PI_4l.
40552         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
40553         (M_PI_34_LOG10El): Likewise.
40554         (M_PI2_LOG10El): Likewise.
40555         (M_PI4_LOG10El): Likewise.
40556         (M_PI_LOG10El): Likewise.
40558 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40562 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
40564         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
40565         (MINUS_ZERO_INIT): Likewise.
40566         (PLUS_INFTY_INIT): Likewise.
40567         (MINUS_INFTY_INIT): Likewise.
40568         (QNAN_VALUE_INIT): Likewise.
40569         (MAX_VALUE_INIT): Likewise.
40570         (MIN_VALUE_INIT): Likewise.
40571         (MIN_SUBNORM_VALUE_INIT): Likewise.
40572         (plus_zero): Initialize with PLUS_ZERO_INIT.
40573         (minus_zero): Initialize with MINUS_ZERO_INIT.
40574         (plus_infty): Initialize with PLUS_INFTY_INIT.
40575         (minus_infty): Initialize with MINUS_INFTY_INIT.
40576         (qnan_value): Initialize with QNAN_VALUE_INIT.
40577         (max_value): Initialize with MAX_VALUE_INIT.
40578         (min_value): Initialize with MIN_VALUE_INIT.
40579         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
40581         * math/libm-test.inc (RUN_TEST_if_f): New macro.
40582         (jn_test): Use TEST_if_f instead of TEST_ff_f.
40583         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
40584         (yn_test): Use TEST_if_f instead of TEST_ff_f.
40586         * math/libm-test.inc (RUN_TEST_f_f): New macro.
40587         (RUN_TEST_2_f): Likewise.
40588         (RUN_TEST_ff_f): Likewise.
40589         (RUN_TEST_fi_f): Likewise.
40590         (RUN_TEST_fl_f): Likewise.
40591         (RUN_TEST_fff_f): Likewise.
40592         (RUN_TEST_c_f): Likewise.
40593         (RUN_TEST_f_f1): Likewise.
40594         (RUN_TEST_fF_f1): Likewise.
40595         (RUN_TEST_fI_f1): Likewise.
40596         (RUN_TEST_ffI_f1): Likewise.
40597         (RUN_TEST_c_c): Likewise.
40598         (RUN_TEST_cc_c): Likewise.
40599         (RUN_TEST_f_i): Likewise.
40600         (RUN_TEST_f_i_tg): Likewise.
40601         (RUN_TEST_ff_i_tg): Likewise.
40602         (RUN_TEST_f_b): Likewise.
40603         (RUN_TEST_f_b_tg): Likewise.
40604         (RUN_TEST_f_l): Likewise.
40605         (RUN_TEST_f_L): Likewise.
40606         (RUN_TEST_sincos): Likewise.
40607         * math/gen-libm-test.pl (new_test): Take new argument to indicate
40608         whether to show exceptions.  Do not include ");\n" in return
40609         value.
40610         (special_functions): Output call to RUN_TEST_sincos instead of
40611         check_float calls.  Update calls to new_test.
40612         (parse_args): Output call to single RUN_TEST_* macro instead of
40613         check_* calls and other assignments.  Update calls to new_test.
40615         [BZ #2546]
40616         [BZ #2560]
40617         [BZ #5159]
40618         [BZ #15426]
40619         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
40620         input to result for tgamma overflow.
40621         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
40622         (gamma_coeff): New variable.
40623         (NCOEFF): New macro.
40624         (gamma_positive): New function.
40625         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
40626         underflow here.  Use gamma_positive instead of exp (lgamma) for
40627         other arguments.
40628         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
40629         (gamma_coeff): New variable.
40630         (NCOEFF): New macro.
40631         (gammaf_positive): New function.
40632         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
40633         underflow here.  Use gamma_positive instead of exp (lgamma) for
40634         other arguments.
40635         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
40636         (gamma_coeff): New variable.
40637         (NCOEFF): New macro.
40638         (gammal_positive): New function.
40639         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
40640         underflow here.  Use gamma_positive instead of exp (lgamma) for
40641         other arguments.
40642         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
40643         (gamma_coeff): New variable.
40644         (NCOEFF): New macro.
40645         (gammal_positive): New function.
40646         (__ieee754_gammal_r): Handle positive infinity, overflow and
40647         underflow here.  Handle NaN the same as positive infinity.  Remove
40648         check x < 0xffffffff for negative integers.  Use gamma_positive
40649         instead of exp (lgamma) for other arguments.
40650         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
40651         (gamma_coeff): New variable.
40652         (NCOEFF): New macro.
40653         (gammal_positive): New function.
40654         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
40655         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
40656         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
40657         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
40658         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
40659         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
40660         * sysdeps/generic/math_private.h (__gamma_productf): New
40661         prototype.
40662         (__gamma_product): Likewise.
40663         (__gamma_productl): Likewise.
40664         * math/Makefile (libm-calls): Add gamma_product.
40665         * math/libm-test.inc (tgamma_test): Add more tests.
40666         * sysdeps/i386/fpu/libm-test-ulps: Update.
40667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40669 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
40671         * benchtests/bench-skeleton.c (main): Preheat CPU.
40673 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
40675         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
40677 2013-05-07  Roland McGrath  <roland@hack.frob.com>
40679         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
40680         and _dl_skip_args_internal.
40682 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
40684         * manual/message.texi (Message Translation): Talk about users.
40685         Message to key mapping impacts design.
40687 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40689         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
40691         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
40693         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
40694         * sysdeps/wordsize-64/glob64.c: ... here.
40696         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
40697         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
40698         New macros.
40700         * debug/getlogin_r_chk.c: Moved to ...
40701         * login/getlogin_r_chk.c: ... here.
40702         * debug/Makefile (routines): Move getlogin_r_chk to ...
40703         * login/Makefile (routines): ... here.
40704         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
40705         * login/Versions (libc: GLIBC_2.4): ... here.
40707         * io/poll.c (__poll): Renamed from poll.
40708         Add libc_hidden_def.
40709         (poll): Define as weak alias.
40711         * debug/ptsname_r_chk.c: Moved to ...
40712         * login/ptsname_r_chk.c: ... here.
40713         * debug/Makefile (routines): Move ptsname_r_chk to ...
40714         * login/Makefile (routines): ... here.
40715         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
40716         * login/Versions (libc: GLIBC_2.4): ... here.
40718         * posix/getlogin.c: Moved to ...
40719         * login/getlogin.c: ... here.
40720         * posix/getlogin_r.c: Moved to ...
40721         * login/getlogin_r.c: ... here.
40722         * posix/getlogin_r.c: Moved to ...
40723         * login/getlogin_r.c: ... here.
40724         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
40725         * login/Makefile (routines): ... here.
40726         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
40727         * login/Versions (libc: GLIBC_2.0): ... here.
40729         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
40730         (setrlimit): Define as weak alias.
40732         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
40733         Call __ names for open, ftruncate, and close.
40734         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
40735         (truncate): Define as weak alias.
40737 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
40739         * math/gen-libm-test.pl (parse_args): Initialize x before each
40740         test of frexp, modf and remquo.
40742         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
40743         test signgam value.
40745 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40747         [BZ #15418]
40748         [BZ #15419]
40749         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
40750         internal tests.
40751         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40753 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40755         * elf/dl-writev.h: New file.
40756         * elf/dl-misc.c: Include it.
40757         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
40758         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
40760 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
40762         * math/libm-test.inc (noXFails): Remove variable.
40763         (noXPasses): Likewise.
40764         (BUILD_COMPLEX_INT): Remove macro.
40765         (print_screen): Remove xfail argument.
40766         (print_screen_max_error): Likewise.
40767         (update_stats): Likewise.
40768         (print_max_error): Likewise.  Update calls to other affected
40769         functions.
40770         (print_complex_max_error): Likewise.
40771         (test_single_exception): Update calls to print_screen.
40772         (test_single_errno): Likewise.
40773         (check_float_internal): Remove xfail argument.  Update calls to
40774         other affected functions.
40775         (check_float): Likewise.
40776         (check_complex): Likewise.
40777         (check_int): Likewise.
40778         (check_long): Likewise.
40779         (check_bool): Likewise.
40780         (check_longlong): Likewise.
40781         (main): Don't print noXFails and noXPasses.
40782         * math/gen-libm-test.pl (top level): Don't mention expected
40783         failure handling in comment.
40784         (new_test): Don't handle expected failures.
40785         (parse_args): Don't mention expected failure handling in comment.
40786         (generate_testfile): Don't handle expected failures.
40787         (parse_ulps): Likewise.
40788         (print_ulps_file): Likewise.
40789         (get_failure): Remove function.
40790         (output_test): Don't handle expected failures.
40791         * make/README.libm-test: Don't mention expected failure handling.
40793         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
40794         (minus_zero): Likewise.
40795         (plus_infty): Likewise.
40796         (minus_infty): Likewise.
40797         (qnan_value): Likewise.
40798         (max_value): Likewise.
40799         (min_value): Likewise.
40800         (min_subnorm_value): Likewise.
40801         (initialize): Do not initialize those variables dynamically.
40803 2013-05-03  Roland McGrath  <roland@hack.frob.com>
40805         * io/open.c (__open_2): Moved to ...
40806         * io/open_2.c: ... this new file.
40807         * io/open64.c (__open64_2): Moved to ...
40808         * io/open64_2.c: ... this new file.
40809         * io/openat.c (__openat_2): Moved to ...
40810         * io/openat_2.c: ... this new file.
40811         * io/openat64.c (__openat64_2): Moved to ...
40812         * io/openat64_2.c: ... this new file.
40813         * io/Makefile (routines): Add them.
40814         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
40815         * sysdeps/unix/sysv/linux/open_2.c: File removed.
40816         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
40817         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
40818         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
40819         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
40820         (__openat64): Add hidden_ver.
40821         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
40822         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
40824         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
40825         Separately conditionalize setting of GLRO(dl_sysinfo) so
40826         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
40827         as well, but the actual setting is only under [NEED_DL_SYSINFO].
40829 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40831         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
40832         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
40833         definition.
40834         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
40835         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40836         (_libc_vdso_platform_setup): Add __vdso_time initialization.
40837         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
40838         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
40840 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
40842         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
40843         test signgam value.
40845         * math/libm-test.inc (hypot_test): Do not use
40846         IGNORE_ZERO_INF_SIGN.
40848 2013-05-03  Andreas Jaeger  <aj@suse.de>
40850         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
40851         Linux 3.9.
40852         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
40853         (PF_MAX): Adjust for VSOCK change.
40855 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40859 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
40861         [BZ #15264]
40862         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
40863         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
40864         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
40866 2013-05-02  David S. Miller  <davem@davemloft.net>
40868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40870 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
40872         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
40874 2013-05-01  Roland McGrath  <roland@hack.frob.com>
40876         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
40878 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
40880         [BZ #14952]
40881         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
40882         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40883         Use __attribute__ ((__gnu_inline__)).
40884         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40885         Don't use __attribute__ ((__gnu_inline__)).
40887 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
40889         [BZ #15423]
40890         * math/s_catan.c (__catan): Handle small real or imaginary part of
40891         input specially to avoid spurious underflow.
40892         * math/s_catanf.c (__catanf): Likewise.
40893         * math/s_catanh.c (__catanh): Likewise.
40894         * math/s_catanhf.c (__catanhf): Likewise.
40895         * math/s_catanhl.c (__catanhl): Likewise.
40896         * math/s_catanl.c (__catanl): Likewise.
40897         * math/libm-test.inc (catan_test): Add more tests.
40898         (catanh_test): Likewise.
40899         * sysdeps/i386/fpu/libm-test-ulps: Update.
40900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40902 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40906 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
40908         [BZ #15416]
40909         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
40910         accurately for denominator in atan2.
40911         * math/s_catanf.c (__catanf): Likewise.
40912         * math/s_catanh.c (__catanh): Likewise.
40913         * math/s_catanhf.c (__catanhf): Likewise.
40914         * math/s_catanhl.c (__catanhl): Likewise.
40915         * math/s_catanl.c (__catanl): Likewise.
40916         * math/libm-test.inc (catan_test): Add more tests.
40917         (catanh_test): Likewise.
40918         * sysdeps/i386/fpu/libm-test-ulps: Update.
40919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40921 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40923         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
40925         * benchtests/Makefile (bench): Remove slow benchmarks.
40926         * benchtests/atan-inputs: Add slow benchmark inputs.
40927         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
40928         (BENCH_FUNC): Accept variant offset.
40929         (VARIANT): Define.
40930         * benchtests/bench-skeleton.c (main): Run benchmark for each
40931         variant.
40932         * benchtests/cos-inputs: Add slow benchmark inputs.
40933         * benchtests/exp-inputs: Likewise.
40934         * benchtests/pow-inputs: Likewise.
40935         * benchtests/sin-inputs: Likewise.
40936         * benchtests/slowatan-inputs: Remove.
40937         * benchtests/slowatan.c: Remove.
40938         * benchtests/slowcos-inputs: Remove.
40939         * benchtests/slowcos.c: Remove.
40940         * benchtests/slowexp-inputs: Remove.
40941         * benchtests/slowexp.c: Remove.
40942         * benchtests/slowpow-inputs: Remove.
40943         * benchtests/slowpow.c: Remove.
40944         * benchtests/slowsin-inputs: Remove.
40945         * benchtests/slowsin.c: Remove.
40946         * benchtests/slowtan-inputs: Remove.
40947         * benchtests/slowtan.c: Remove.
40948         * benchtests/tan-inputs: Add slow benchmark inputs.
40949         * scripts/bench.pl: Parse comments and directives.
40951         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
40952         in CPPFLAGS.
40953         ($(objpfx)bench-%.c): Remove *-ITER.
40954         * benchtests/bench-modf.c: Remove definition of ITER.
40955         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
40956         (main): Loop for DURATION seconds instead of fixed number of
40957         iterations.
40958         * scripts/bench.pl: Don't expect iterations in parameters.
40960 2013-04-29  Roland McGrath  <roland@hack.frob.com>
40962         * io/fchdir.c (__fchdir): Renamed from fchdir.
40963         (fchdir): Define as weak alias.
40965 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40967         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
40968         (ERRNO_EDOM): Likewise.
40969         (ERRNO_ERANGE): Likewise.
40970         (noErrnoTests): New variable.
40971         (init_max_error): Set errno to 0.
40972         (test_single_errno): New function.
40973         (test_errno): Likewise.
40974         (check_float_internal): Call test_errno.  Set errno to 0.
40975         (check_complex): Refer to errno tests in comment.
40976         (check_int): Call test_errno.  Set errno to 0.
40977         (check_long): Likewise.
40978         (check_bool): Likewise.
40979         (check_longlong): Likewise.
40980         (cos_test): Use ERRNO_* flags for errno tests instead of
40981         check_int.
40982         (expm1_test): Likewise.
40983         (fmod_test): Likewise.
40984         (ilogb_test): Likewise.
40985         (lgamma_test): Likewise.
40986         (pow_test): Likewise.
40987         (remainder_test): Likewise.
40988         (sin_test): Likewise.
40989         (tan_test): Likewise.
40990         (yn_test): Likewise.
40991         (initialize): Set errno to 0.
40992         (main): Print number of errno tests.
40993         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
40995 2013-04-29  Andreas Jaeger  <aj@suse.de>
40997         [BZ #15084]
40998         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
40999         and RES_USEVC.
41001         [BZ #15085]
41002         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
41003         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
41004         unimplemented.
41006         [BZ #15380]
41007         * stdlib/random.c (__initstate): Return NULL if
41008         __initstate fails.
41010         [BZ #15086]
41011         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
41012         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
41013         RES_SNGLKUPREOP.
41015 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41019 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
41021         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
41022         of individual tests.
41023         (casin_test): Likewise.
41024         (casinh_test): Likewise.
41026 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
41028         [BZ #15409]
41029         * math/s_catan.c (__catan): Handle arguments with large real or
41030         imaginary part separately without squaring.
41031         * math/s_catanf.c (__catanf): Likewise.
41032         * math/s_catanh.c (__catanh): Likewise.
41033         * math/s_catanhf.c (__catanhf): Likewise.
41034         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41035         and redefine.
41036         (__catanhl): Handle arguments with large real or imaginary part
41037         separately without squaring.
41038         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41039         and redefine.
41040         (__catanl): Handle arguments with large real or imaginary part
41041         separately without squaring.
41042         * math/libm-test.inc (catan_test): Add more tests.
41043         (catanh_test): Likewise.
41044         * sysdeps/i386/fpu/libm-test-ulps: Update.
41045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41047 2013-04-27  Andreas Jaeger  <aj@suse.de>
41049         [BZ #15007]
41050         * stdlib/stdlib.h: Update guards for qecvt.
41051         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
41052         <stdlib.h>.
41054 2013-04-27  Allan McRae  <allan@archlinux.org>
41056         * sysdeps/i386/fpu/libm-test-ulps: Update.
41058 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
41060         [BZ #15406]
41061         * math/s_catan.c: Include <float.h>.
41062         (__catan): Ensure underflow exception occurs for underflowed
41063         result.
41064         * math/s_catanf.c: Include <float.h>.
41065         (__catanf): Ensure underflow exception occurs for underflowed
41066         result.
41067         * math/s_catanh.c: Include <float.h>.
41068         (__catanh): Ensure underflow exception occurs for underflowed
41069         result.
41070         * math/s_catanhf.c: Include <float.h>.
41071         (__catanhf): Ensure underflow exception occurs for underflowed
41072         result.
41073         * math/s_catanhl.c: Include <float.h>.
41074         (__catanhl): Ensure underflow exception occurs for underflowed
41075         result.
41076         * math/s_catanl.c: Include <float.h>.
41077         (__catanl): Ensure underflow exception occurs for underflowed
41078         result.
41079         * math/libm-test.inc (catan_test): Add more tests.
41080         (catanh_test): Likewise.
41082         [BZ #15405]
41083         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
41084         underflowed result.
41085         * math/s_ccoshf.c (__ccoshf): Likewise.
41086         * math/s_ccoshl.c (__ccoshl): Likewise.
41087         * math/s_csin.c (__csin): Likewise.
41088         * math/s_csinf.c (__csinf): Likewise.
41089         * math/s_csinh.c (__csinh): Likewise.
41090         * math/s_csinhf.c (__csinhf): Likewise.
41091         * math/s_csinhl.c (__csinhl): Likewise.
41092         * math/s_csinl.c (__csinl): Likewise.
41093         * math/libm-test.inc (ccos_test): Add more tests.
41094         (ccosh_test): Likewise.
41095         (csin_test): Likewise.
41096         (csinh_test): Likewise.
41098 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41100         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
41101         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
41102         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
41103         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
41104         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
41105         powerpc/power5+/fpu folders.
41106         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
41109 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41113 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
41115         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
41116         additions to variable.
41117         [$(config-machine) = x86_64] (modules-names): Likewise.
41118         ($(objpfx)tst-audit3): Remove dependency.
41119         ($(objpfx)tst-audit3.out): Likewise.
41120         ($(objpfx)tst-audit4): Likewise.
41121         ($(objpfx)tst-audit4.out): Likewise.
41122         ($(objpfx)tst-audit5): Likewise.
41123         ($(objpfx)tst-audit5.out): Likewise.
41124         ($(objpfx)tst-audit6): Likewise.
41125         ($(objpfx)tst-audit6.out): Likewise.
41126         ($(objpfx)tst-audit7): Likewise.
41127         ($(objpfx)tst-audit7.out): Likewise.
41128         (tst-audit3-ENV): Remove variable.
41129         (tst-audit4-ENV): Likewise.
41130         (tst-audit5-ENV): Likewise.
41131         (tst-audit6-ENV): Likewise.
41132         (tst-audit7-ENV): Likewise.
41133         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
41134         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
41135         addition to variable.
41136         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
41137         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
41138         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
41139         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
41140         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
41141         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
41142         tst-audit3, tst-audit4 and tst-audit5.
41143         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
41144         tst-audit6 and tst-audit7.
41145         [$(subdir) = elf] (modules-names): Add audit modules for those
41146         tests.
41147         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
41148         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
41149         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
41150         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
41151         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
41152         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
41153         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
41154         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
41155         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
41156         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
41157         [$(subdir) = elf] (tst-audit3-ENV): New variable.
41158         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
41159         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
41160         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
41161         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
41162         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
41163         Likewise.
41164         [$(subdir) = elf && $(config-cflags-avx) = yes]
41165         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
41166         [$(subdir) = elf && $(config-cflags-avx) = yes]
41167         (CFLAGS-tst-auditmod4a.c): Likewise.
41168         [$(subdir) = elf && $(config-cflags-avx) = yes]
41169         (CFLAGS-tst-auditmod4b.c): Likewise.
41170         [$(subdir) = elf && $(config-cflags-avx) = yes]
41171         (CFLAGS-tst-auditmod6b.c): Likewise.
41172         [$(subdir) = elf && $(config-cflags-avx) = yes]
41173         (CFLAGS-tst-auditmod6c.c): Likewise.
41174         [$(subdir) = elf && $(config-cflags-avx) = yes]
41175         (CFLAGS-tst-auditmod7b.c): Likewise.
41176         * elf/tst-audit3.c: Move to ...
41177         * sysdeps/x86_64/tst-audit3.c: ... here.
41178         * elf/tst-audit4.c: Move to ...
41179         * sysdeps/x86_64/tst-audit4.c: ... here.
41180         * elf/tst-audit5.c: Move to ...
41181         * sysdeps/x86_64/tst-audit5.c: ... here.
41182         * elf/tst-audit6.c: Move to ...
41183         * sysdeps/x86_64/tst-audit6.c: ... here.
41184         * elf/tst-audit7.c: Move to ...
41185         * sysdeps/x86_64/tst-audit7.c: ... here.
41186         * elf/tst-auditmod3a.c: Move to ...
41187         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
41188         * elf/tst-auditmod3b.c: Move to ...
41189         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
41190         * elf/tst-auditmod4a.c: Move to ...
41191         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
41192         * elf/tst-auditmod4b.c: Move to ...
41193         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
41194         * elf/tst-auditmod5a.c: Move to ...
41195         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
41196         * elf/tst-auditmod5b.c: Move to ...
41197         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
41198         * elf/tst-auditmod6a.c: Move to ...
41199         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
41200         * elf/tst-auditmod6b.c: Move to ...
41201         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
41202         * elf/tst-auditmod6c.c: Move to ...
41203         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
41204         * elf/tst-auditmod7a.c: Move to ...
41205         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
41206         * elf/tst-auditmod7b.c: Move to ...
41207         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
41209 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
41211         [BZ #15366]
41212         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
41213         define unconditionally.
41214         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
41215         define unconditionally.
41216         (INT8_C, INT16_C, etc.): Likewise.
41218 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
41220         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
41221         __ehdr_start with hidden visibility.
41223         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
41225 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
41227         * math/libm-test.inc (cos_test): Use accurate hex constants.
41228         (sincost_test): Likewise.
41230 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
41232         * math/libm-test.inc (catan_test): Add more tests.
41233         (catanh_test): Likewise.
41235         * math/s_catanf.c (__catanf): Use suffixed floating-point
41236         constants.
41237         * math/s_catanhf.c (__catanhf): Likewise.
41238         * math/s_catanhl.c (__catanhl): Likewise.
41239         * math/s_catanl.c (__catanl): Likewise.
41241         [BZ #15394]
41242         * math/s_catan.c (__catan): Calculate imaginary part of result
41243         with log1p not log unless computing log of number close to 0.
41244         * math/s_catanf.c (__catanf): Likewise.
41245         * math/s_catanl.c (__catanl): Likewise.
41246         * math/s_catanh.c (__catanh): Calculate real part of result with
41247         log1p not log unless computing log of number close to 0.
41248         * math/s_catanhf.c (__catanhf): Likewise.
41249         * math/s_catanhl.c (__catanhl): Likewise.
41250         * math/libm-test.inc (catan_test): Add more tests.
41251         (catanh_test): Likewise.
41252         * sysdeps/i386/fpu/libm-test-ulps: Update.
41253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41255 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41257         * benchtests/Makefile: Mention files in which fast and slow
41258         paths of math functions are implemented.
41260 2013-04-23  Roland McGrath  <roland@hack.frob.com>
41262         * sysdeps/posix/timespec_get.c: New file.
41264 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41266         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
41267         POWER.
41268         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
41269         for POWER.
41270         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
41271         powerpc/power5/fpu folders.
41272         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
41273         * benchtests/Makefile: Add modf testcase.
41274         * benchtests/bench-modf.c: New file: Benchmark test for mo
41276 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41278         [BZ #14888]
41279         * time/Makefile (tests): Add tst-strptime-whitespace.
41280         * time/strptime_l.c (get_number): Use ISSPACE.
41281         (__strptime_internal): Likewise.
41282         * time/tst-strptime-whitespace.c: New test case.
41284 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
41286         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
41287         member.
41288         (_nss_files_init): Set it here.
41290 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
41292         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
41293         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
41294         unsigned.
41296 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
41298         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
41300 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41302         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
41303         size just once.
41305 2013-04-21  David S. Miller  <davem@davemloft.net>
41307         * po/ru.po: Update Russion translation from translation project.
41309 2013-04-17  Adam Conrad  <adconrad@0c3.net>
41311         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
41312         and setfsgid.
41314 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
41316         * configure.in: Remove i386 configure warning. Remove i386 case.
41317         * configure: Regenerate.
41318         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
41319         Add example to error message.
41320         * sysdeps/i386/configure: Regenerate.
41322 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41324         * benchtests/Makefile (bench): Add cos, tan, slowcos and
41325         slowtan.
41326         * benchtests/cos-inputs: New file.
41327         * benchtests/slowcos-inputs: New file.
41328         * benchtests/slowcos.c: New file.
41329         * benchtests/slowtan-inputs: New file.
41330         * benchtests/slowtan.c: New file.
41331         * benchtests/tan-inputs: New file.
41333 2013-04-16  Roland McGrath  <roland@hack.frob.com>
41335         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
41336         considered kosher.
41338 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41340         * benchtests/Makefile: Include cppflags-iterator.mk to add
41341         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
41343         * Makefile.in (bench-clean): New target.
41344         * benchtests/Makefile (bench-clean): Likewise.
41346 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
41348         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
41350 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
41352         * stdio-common/tstdiomisc.c: Fix coding-style violation.
41354 2013-04-15  Andreas Schwab  <schwab@suse.de>
41356         * nscd/grpcache.c (cache_addgr): Properly check for short write.
41357         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41358         * nscd/pwdcache.c (cache_addpw): Likewise.
41359         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
41360         more than recsize.
41362 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41364         * benchtests/Makefile (bench): Write all output to
41365         bench-out.tmp together.
41367 2013-04-15  Andreas Schwab  <schwab@suse.de>
41369         * nscd/nscd.c (main): Don't fork again after closing files.
41371 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41373         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
41375         * benchtests/Rules (bench-deps): Collect dependencies into a
41376         single variable.  Add Makefile to dependencies.
41377         ($(objpfx)bench-%.c): Depend on bench-deps.
41379 2013-04-12  Roland McGrath  <roland@hack.frob.com>
41380             Xavier Roche  <roche+kml2@exalead.com>
41382         [BZ #15361]
41383         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
41384         just that it's a file descriptor.
41385         * manual/llio.texi (Synchronizing AIO Operations): Update description
41386         for EBADF error from aio_fsync.
41388 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41390         * Rules (bench): Move target definition...
41391         * benchtests/Makefile: ... here.
41393 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
41395         * math/libm-test.inc (cos_test): Fix PI/2 test.
41396         (sincos_test): Likewise.
41397         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41398         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
41400 2013-04-11  Andreas Schwab  <schwab@suse.de>
41402         [BZ #13988]
41403         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
41404         accept exponent character only when digits were seen.
41405         * stdio-common/Makefile (tests): Add bug26.
41406         * stdio-common/bug26.c: New file.
41408         [BZ #14293]
41409         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
41410         non-freeable.
41412 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41414         * Makeconfig (rtld-prefix): Define built linker prefix.
41415         * Rules (run-bench): Use it.
41416         * math/Makefile (run-regen-ulps): Likewise.
41418         * Rules (bench): Remove eval.
41420 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41421             Roland McGrath  <roland@hack.frob.com>
41422             Ondrej Bilka  <neleai@seznam.cz>
41424         [BZ #15346]
41425         * time/getdate.c: Include ctype.h and alloca.h.
41426         (__getdate_r): Trim leading and trailing spaces of input.
41427         * time/tst-getdate.c (tests): Add tests with leading and
41428         trailing spaces.
41430 2013-04-08  Roland McGrath  <roland@hack.frob.com>
41432         [BZ #14280]
41433         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
41434         when computing value.
41436 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41438         * math/README.libm-test (How can I generate "libm-test-ulps"?):
41439         Use testrun.sh to run libm tests.
41441         [BZ #15309]
41442         * elf/dl-open.c (dl_open_worker): memset all of seen array.
41444 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
41446         [BZ #15264]
41447         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
41449 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41451         * Makefile.in (regen-ulps): New target.
41452         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
41453         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
41454         [ifneq (no,$(PERL)] (regen-ulps): New target.
41455         [ifeq (no,$(PERL)] (regen-ulps): New target.
41456         * math/libm-test.inc (ulps_file_name): Define.
41457         (output_dir): New variable.
41458         (options): Add "output-dir" option.
41459         (parse_opt): Handle 'o' case.
41460         (main): If output_dir is non-NULL use it as a prefix
41461         otherwise use "".
41462         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
41464 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41466         [BZ #10060, #10062]
41467         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
41468         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
41469         fail configure if __sync_val_compare_and_swap is not inlined.
41470         * sysdeps/i386/configure: Regenerate.
41471         * configure.in: Build for i686 when configured for i386.
41472         * configure: Regenerate.
41473         * README: Remove i386 reference.
41475 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41477         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
41478         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41480 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41482         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
41483         (lmsnanval): New variables.
41484         (F): Add conversion tests.
41485         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
41486         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
41488         * stdio-common/tstdiomisc.c (F): Properly collect individual
41489         tests' results.
41491         [BZ #14686, #15336]
41492         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
41493         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
41494         Instead, use input NaN values or generate a qNaN by arithmetic
41495         operation.  Also fix bugs to comply with the standard.
41496         * math/libm-test.inc (remainder_test): Add more tests.
41498         [BZ #15335, #15342]
41499         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
41500         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
41501         input NaN values or generate a qNaN by arithmetic operation.
41503         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
41504         unreachable code.
41506         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
41507         definitions.
41509 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
41511         [BZ #14478]
41512         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
41513         underflowed result.
41514         * math/s_cexpf.c (__cexpf): Likewise.
41515         * math/s_cexpl.c (__cexpl): Likewise.
41516         * math/libm-test.inc (cexp_test): Add more tests.
41518 2013-04-03  Andreas Schwab  <schwab@suse.de>
41520         [BZ #15330]
41521         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
41522         order arrays from heap if bigger than alloca cutoff.
41524 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
41526         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
41527         (SNAN_TESTS_double): Refer to GCC PR56831.
41528         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
41529         GCC PR56828.
41531 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41533         * Rules (bench): Move bench.out after the run is complete.
41535         * Rules (bench): Echo currently running benchmark.
41537         * benchtests/Makefile (bench): Add atan and slowatan.
41538         * benchtests/atan-inputs: New file.
41539         * benchtests/slowatan-inputs: New file.
41540         * benchtests/slowatan.c: New file.
41542         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
41543         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
41544         its value.
41546         [BZ #15305]
41547         * sysdeps/unix/sysv/linux/kernel-features.h
41548         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
41549         __ASSUME_XFS_RESTRICTED_CHOWN.
41550         * sysdeps/unix/sysv/linux/pathconf.c
41551         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41552         Save and restore errno.
41554 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
41556         [BZ #15327]
41557         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
41558         arguments using __kernel_casinh.
41559         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
41560         arguments using __kernel_casinhf.
41561         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
41562         arguments using __kernel_casinhl.
41563         * math/libm-test.inc (cacosh_test): Add more tests.
41564         * sysdeps/i386/fpu/libm-test-ulps: Update.
41565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41567 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41569         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
41570         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
41572         * bench/Makefile (bench): Add sin and slowsin.
41573         * benchtests/sin-inputs: New file.
41574         * benchtests/slowsin-inputs: New file.
41575         * benchtests/slowsin.c: New file.
41577         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
41578         (bench): Add slowexp and slowpow.
41579         (exp-ITER): Increase iterations.
41580         (pow-ITER): Likewise.
41581         * benchtests/exp-inputs: Change input.
41582         * benchtests/pow-inputs: Likewise.
41583         * benchtests/slowexp-inputs: New file.
41584         * benchtests/slowexp.c: New file.
41585         * benchtests/slowpow-inputs: New file.
41586         * benchtests/slowpow.c: New file.
41588 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41590         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
41591         instructions.
41592         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41593         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
41594         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41595         * benchtests/Makefile: Add rint benchtest.
41596         * benchtests/rint-inputs: Input for rint benchtest.
41598 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41600         * Versions.def (libm): Add GLIBC_2.18.
41601         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
41602         hidden libm prototypes.
41603         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
41604         * math/Makefile (libm-calls): Add s_issignaling.
41605         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
41606         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
41607         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
41608         declaration.
41609         * math/math.h [__USE_GNU] (issignaling): New macro.
41610         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
41611         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
41612         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
41613         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
41614         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
41615         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
41616         * manual/arith.texi (issignaling): New section.
41617         * manual/libm-err-tab.pl (@all_functions): Update comment.
41618         * math/gen-libm-test.pl (parse_args): Apply special handling for
41619         issignaling.
41620         * math/libm-test.inc (print_float, issignaling_test): New
41621         functions.
41622         (check_float_internal): Add issignaling checks.
41623         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
41624         default definition.
41625         * sysdeps/powerpc/math-tests.h: New file.
41626         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
41627         tests.
41628         * math/test-snan.c (TEST_FUNC): Likewise.
41630 2013-03-30  David S. Miller  <davem@davemloft.net>
41632         * po/de.po: Update from translation team.
41634 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
41636         [BZ #10357]
41637         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41638         imaginary part less than 1.0 and real part less than 0.5
41639         specially.
41640         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41641         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41642         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
41643         (cacos_test): Add more tests.
41644         (casin_test): Likewise.
41645         (casinh_test): Likewise.
41646         * sysdeps/i386/fpu/libm-test-ulps: Update.
41647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41649 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41651         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
41652         ONE with its value.
41654         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
41655         (__pow_mp): Replace ONE and MONE with their values.
41656         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41657         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
41658         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41659         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
41660         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41661         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41663         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
41665         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
41666         (__pow_mp): Replace ZERO and MZERO with their values.
41667         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41668         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41669         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41670         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41671         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41672         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
41673         (__sqr): Likewise.
41675         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
41677         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
41679 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41681         * include/stdlib.h [!SHARED] (__call_tls_dtors):
41682         Declare with __attribute__ ((weak)).
41683         * stdlib/exit.c (__libc_atexit) [!SHARED]:
41684         Call __call_tls_dtors only if it's not NULL.
41686 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41688         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
41689         didn't do it already, then set _dl_phdr and _dl_phnum based on the
41690         magic __ehdr_start linker symbol if it's defined.
41691         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
41692         them up here if it was already done.
41694         * elf/dl-support.c (_dl_phdr): Make pointer to const.
41695         (_dl_aux_init): Use const in cast when setting it.
41696         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
41697         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
41698         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
41700         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
41701         Declare them here.
41702         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
41703         * csu/libc-tls.c: Nor here.
41704         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
41706         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
41707         (__libc_message): Never call vsyslog.
41709 2013-03-28  Alan Modra  <amodra@gmail.com>
41711         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
41712         Define as empty.
41713         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
41714         Likewise.
41716 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41718         [BZ #15214]
41719         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
41720         underflow.
41721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41723 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41725         [BZ #15304]
41726         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41727         Don't add gid passed as argument.
41729         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
41731 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
41733         [BZ #15307]
41734         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41735         imaginary part between 1.0 and 1.5 and real part less than 0.5
41736         specially.
41737         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41738         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41739         * math/libm-test.inc (cacos_test): Add more tests.
41740         (casin_test): Likewise.
41741         (casinh_test): Likewise.
41742         * sysdeps/i386/fpu/libm-test-ulps: Update.
41743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41745 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41747         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
41748         constants.
41749         (norm): Likewise.
41750         (denorm): Likewise.
41751         (__dbl_mp): Likewise.
41752         (add_magnitudes): Likewise.
41753         (sub_magnitudes): Likewise.
41754         (__add): Likewise.
41755         (__sub): Likewise.
41756         (__mul): Likewise.
41757         (__sqr): Likewise.
41758         (__inv): Likewise.
41759         (__dvd): Likewise.
41761         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
41762         commented code.
41763         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
41764         (__dubcos): Likewise.
41765         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
41766         (__ieee754_acos): Likewise.
41767         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41768         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
41769         (__exp1): Likewise.
41770         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41771         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41772         (log1): Likewise.
41773         (my_log2): Likewise.
41774         (checkint): Likewise.
41775         * sysdeps/ieee754/dbl-64/e_remainder.c
41776         (__ieee754_remainder): Likewise.
41777         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41778         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
41779         (bsloww): Likewise.
41780         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41782         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41783         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
41784         MANTISSA_STORE_T to store computations on mantissa.  Use
41785         macros for rounding and division.
41786         (denorm): Likewise.
41787         (__dbl_mp): Likewise.
41788         (add_magnitudes): Likewise.
41789         (sub_magnitudes): Likewise.
41790         (__mul): Likewise.
41791         (__sqr): Likewise.
41792         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41793         powers of two in terms of TWOPOW macro.
41794         (mp_no): Make type of mantissa as MANTISSA_T.
41795         [!RADIXI]: Define RADIXI.
41796         [!TWO52]: Define TWO52.
41797         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41799 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41801         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
41802         llroundl symbol when building for PPC32.
41804 2013-03-24  Mark H Weaver  <mhw@netris.org>
41806         * manual/arith.texi (Normalization Functions): Fix prototypes for
41807         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
41809 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41811         [BZ #13889]
41812         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
41813         high value to check if expl overflow.
41814         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
41815         to check for underflow and overflow.
41816         * math/libm-test.inc: Add exp test.
41818 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
41820         [BZ #11120]
41821         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
41822         with NOT_IN_libc.
41824 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41826         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
41827         symbol.
41829 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41831         * math/gen-libm-test.pl (parse_args, special_functions): Properly
41832         wrap blocks consisting of several statements.
41834         * sysdeps/generic/math-tests.h: New file.
41835         * sysdeps/i386/fpu/math-tests.h: Likewise.
41836         * math/test-snan.c: Include it.
41837         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
41839 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41841         [BZ #15285]
41842         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
41843         (__ieee754_j0l): Do not improve calculations using cos of twice
41844         input for inputs above LDBL_MAX / 2.0L.
41845         (__ieee754_y0l): Likewise.
41846         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
41847         (__ieee754_j1l): Do not improve calculations using cos of twice
41848         input for inputs above LDBL_MAX / 2.0L.
41849         (__ieee754_y1l): Likewise.
41850         * math/libm-test.inc (j0_test): Add another test.
41851         (j1_test): Likewise.
41852         (y0_test): Likewise.
41853         (y1_test): Likewise.
41854         * sysdeps/i386/fpu/libm-test-ulps: Update.
41856 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41858         * Rules ($(objpfx)bench-%.c): Include code from a C source
41859         file.
41861 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41863         [BZ #15287]
41864         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41865         imaginary part 1.0 and real part less than 0.5 specially.
41866         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41867         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41868         * math/libm-test.inc (cacos_test): Add more tests.
41869         (casin_test): Likewise.
41870         (casinh_test): Likewise.
41871         * sysdeps/i386/fpu/libm-test-ulps: Update.
41872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41874 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41876         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
41877         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
41879 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
41881         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
41882         * config.make.in (config-cflags-sse4): Remove variable.
41883         (config-cflags-avx): Likewise.
41884         (config-cflags-sse2avx): Likewise.
41885         (config-cflags-novzeroupper): Likewise.
41886         (config-asflags-i686): Likewise.
41887         (have-mfma4): Likewise.
41888         (have-as-vis3): Likewise.
41889         (MIG): Likewise.
41890         * configure.in (MIG): Do not AC_SUBST.
41891         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
41892         (libc_cv_cc_sse4): Do not AC_SUBST.
41893         (libc_cv_cc_avx): Likewise.
41894         (libc_cv_cc_sse2avx): Likewise.
41895         (libc_cv_cc_novzeroupper): Likewise.
41896         (libc_cv_cc_fma4): Likewise.
41897         (libc_cv_as_i686): Likewise.
41898         (libc_cv_sparc_as_vis3): Likewise.
41899         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
41900         LIBC_CONFIG_VAR.
41901         (config-asflags-i686): Likewise.
41902         (config-cflags-avx): Likewise.
41903         (config-cflags-sse2avx): Likewise.
41904         (have-mfma4): Likewise.
41905         (config-cflags-novzeroupper): Likewise.
41906         * sysdeps/mach/configure.in (MIG): Likewise.
41907         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
41908         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
41909         LIBC_CONFIG_VAR.
41910         (config-cflags-avx): Likewise.
41911         (config-cflags-sse2avx): Likewise.
41912         (have-mfma4): Likewise.
41913         (config-cflags-novzeroupper): Likewise.
41914         * configure: Regenerated.
41915         * sysdeps/i386/configure: Likewise.
41916         * sysdeps/mach/configure: Likewise.
41917         * sysdeps/sparc/configure: Likewise.
41918         * sysdeps/x86_64/configure: Likewise.
41920 2013-03-20  Roland McGrath  <roland@hack.frob.com>
41922         [BZ #14812]
41923         * locale/programs/localedef.c (options): Put N_ translation marker
41924         on argument names, not just descriptions.
41926 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41928         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
41930 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
41932         [BZ #14176]
41933         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
41935 2013-03-19  Roland McGrath  <roland@hack.frob.com>
41937         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
41938         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
41939         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
41940         [!BEFORE_ABORT] (before_abort): New function.
41941         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
41942         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
41943         (writev_for_fatal): New function.
41944         (WRITEV_FOR_FATAL): New macro; call that.
41945         (backtrace_and_maps): New function.
41946         (BEFORE_ABORT): New macro; call that.
41947         (struct str_list): Type removed.
41948         (__libc_message, __libc_fatal): Functions removed.
41949         Include <sysdeps/posix/libc_fatal.c> instead.
41951 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
41953         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
41954         constants.
41955         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
41956         double constants.
41958 2013-03-19  Andreas Schwab  <schwab@suse.de>
41960         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
41961         * sysdeps/gnu/configure: Regenerate.
41963         * configure.in: Substitute libc_cv_rtlddir.
41964         * configure: Regenerate.
41965         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
41966         * Makeconfig (rtlddir, inst_rtlddir): New variables.
41967         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
41968         * elf/Makefile (install-others, CFLAGS-interp.c)
41969         (ldso_install, common-ldd-rewrite): Likewise.
41970         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
41971         $(inst_slibdir)/$(rtld-installed-name).
41972         * scripts/rellns-sh: Add -p option.
41973         * Makerules (make-shlib-link): Use rellns-sh to get relative name
41974         for source.
41976 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41978         * manual/nptl.texi: Renamed to ...
41979         * manual/threads.texi: ... this.
41980         * manual/Makefile (chapters): Update.
41982 2013-03-18  Roland McGrath  <roland@hack.frob.com>
41984         [BZ #14812]
41985         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
41986         on argument names, not just descriptions.
41987         * malloc/memusagestat.c (options): Likewise.
41988         * nss/getent.c (options): Likewise.
41990 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
41992         [BZ #14812]
41993         * iconv/iconv_prog.c (options): Put N_ translation marker
41994         on argument names, not just descriptions.
41995         * iconv/iconvconfig.c (options): Likewise.
41997 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
41999         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
42000         implementation which is faster on all x86_64 architectures.
42001         Tested on AMD, Intel Nehalem, SNB, IVB.
42002         * sysdeps/x86_64/strnlen.S: Likewise.
42004         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42005         Remove all multiarch strlen and strnlen versions.
42006         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42007         Remove strlen and strnlen related parts.
42009         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
42010         Inline strlen part.
42011         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42013         * sysdeps/x86_64/multiarch/strlen.S: Remove.
42014         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
42015         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
42016         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
42017         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42018         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
42020 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
42022         * manual/memory.texi (Malloc Tunable Parameters):
42023         Sort parameters alphabetically. Add comments for missing entries.
42025 2013-03-17  David S. Miller  <davem@davemloft.net>
42027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42029 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
42031         [BZ #15283]
42032         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
42033         for arguments at most half maximum finite value.
42034         * math/libm-test.inc (j0_test): Add more tests.
42035         (j1_test): Likewise.
42036         (y0_test): Likewise.
42037         (y1_test): Likewise.
42038         * sysdeps/i386/fpu/libm-test-ulps: Update.
42039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42041         [BZ #14155]
42042         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
42043         1 / x and functions P and Q for arguments above 0x1p256L.
42044         (__ieee754_y0l): Likewise.
42045         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
42046         (__ieee754_y1l): Likewise.
42047         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
42048         (j1_test): Likewise.
42049         (y0_test): Likewise.
42050         (y1_test): Likewise.
42052 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
42054         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
42055         variable.
42057 2013-03-15  Roland McGrath  <roland@hack.frob.com>
42059         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
42060         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
42061         zero since it's initialized to EXEC_PAGESIZE.
42063         * sysdeps/unix/sysv/linux/ldsodefs.h
42064         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
42065         * sysdeps/generic/ldsodefs.h: ... here.
42067 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
42069         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
42071         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
42072         math/test-snan.c.
42073         * math/test-snan.c: Renamed from
42074         sysdeps/powerpc/fpu/test-powerpc-snan.c.
42075         * math/Makefile (tests): Add test-snan.
42076         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
42077         test-powerpc-snan.
42079         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
42080         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
42081         functions.
42082         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
42083         __builtin_nan family of functions.
42084         * math/libm-test.inc (initialize): Initialize qnan_value with
42085         __builtin_nan family of functions.
42086         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
42087         Remove variables.
42088         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
42089         Remove functions.
42090         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
42091         storage class.  Initialize qNaN_var and sNaN_var with
42092         __builtin_nan and __builtin_nans families of functions,
42093         respectively.
42095         * math/libm-test.inc (acosh_test): Also test with qNaN input.
42096         (sqrt_test): Remove duplicate test with qNaN input.
42097         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
42098         (round_test, signbit_test, significand_test): Note missing +/-Inf
42099         as well as qNaN tests.
42101         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
42102         qNaN_var.  Fix a few strings, too.
42103         * math/libm-test.inc (nan_value): Rename to qnan_value.
42104         * math/gen-libm-test.pl (%beautify): Adjust to that.
42105         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
42106         * math/test-misc.c (main): Likewise.
42107         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
42108         to __qnan_bytes, and __qnan_union, respectively.
42109         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
42110         Likewise.
42111         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
42112         and lqnanval, respectively.
42113         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
42114         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
42115         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
42116         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
42118         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
42119         * math/test-misc.c (main) [__x86_64__]: Enable test for long
42120         doubles.
42122         * math/test-misc.c (main): Fix copy'n'pastos.
42123         * misc/tst-efgcvt.c (special): Likewise.
42125         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
42126         Remove declarations.
42128 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42130         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
42131         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
42132         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
42133         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
42135 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42137         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
42138         macro to return vdso values correctly in IFUNC implementations.
42139         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42140         Optimization by using IFUNC.
42142 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42143             Richard Henderson  <rth@redhat.com>
42144             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42146         * Makefile.in (bench): New target.
42147         * NEWS: Mention the benchmark framework.
42148         * Rules (bench): Likewise.
42149         (binaries-bench): Generate binaries for functions to
42150         benchmark.
42151         * benchtests/Makefile: New makefile for benchmark tests.
42152         * benchtests/bench-skeleton.c: New skeleton file for benchmark
42153         programs.
42154         * benchtests/exp-inputs: New input file for EXP function.
42155         * benchtests/pow-inputs: New input file for POW function.
42156         * scripts/bench.pl: New script to generate source files for
42157         benchmark programs.
42159 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42161         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
42162         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
42163         computations on mantissa.  Use macros for rounding and
42164         division.
42165         (denorm): Likewise.
42166         (__dbl_mp): Likewise.
42167         (add_magnitudes): Likewise.
42168         (sub_magnitudes): Likewise.
42169         (__mul): Likewise.
42170         (__sqr): Likewise.
42171         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
42172         powers of two in terms of TWOPOW macro.
42173         (mp_no): Make type of mantissa as MANTISSA_T.
42174         [!RADIXI]: Define RADIXI.
42175         [!TWO52]: Define TWO52.
42176         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
42178         * manual/nptl.texi (cindex): Modify threads to pthreads.
42180 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
42182         * sysdeps/x86_64/preconfigure: Regenerated.
42184 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
42186         [BZ #14155]
42187         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
42188         0x1p28 and above.
42189         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
42190         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
42191         0x1p28 and above.
42192         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
42193         * math/libm-test.inc (j0_test): Do not allow one spurious
42194         underflow exception.
42195         (y1_test): Likewise.
42197 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42199         * manual/Makefile (chapters): Add nptl.
42200         * manual/debug.texi (Debugging Support): Add link to Threads
42201         chapter.
42202         * manual/nptl.texi: New file.
42204         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
42206 2013-03-14  Petr Baudis  <pasky@ucw.cz>
42208         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
42209         for non-NULL pointer before the memory validity test. Pointed
42210         out by Holger Brunck <holger.brunck@keymile.com>.
42212 2013-03-13  Andreas Schwab  <schwab@suse.de>
42214         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
42215         instead of .os.
42217 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
42219         * timezone/zic.c: Update from tzcode 2013b.
42221 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
42223         * manual/install.texi (Configuring and compiling):
42224         Mention i686 and i586.
42225         * INSTALL: Regenerate.
42227 2013-03-12  Roland McGrath  <roland@hack.frob.com>
42229         * sysdeps/init_array/elf-init.c: New file.
42230         * csu/elf-init.c
42231         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
42232         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
42234         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
42235         __gmon_start__ as global, but as static with a .preinit_array pointer.
42236         * sysdeps/init_array/gmon-start.c: New file.  Use that.
42237         * sysdeps/init_array/crti.S: New file, empty except for comments.
42238         * sysdeps/init_array/crtn.S: Likewise.
42240 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
42242         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
42243         definining bcopy.
42244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42245         Remove Prefer_SSE_for_memop.
42246         * sysdeps/x86_64/multiarch/init-arch.h: Remove
42247         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
42248         HAS_PREFER_SSE_FOR_MEMOP.
42249         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
42250         memset-x86-64.
42251         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42252         Remove bzero, memset ifunc support.
42253         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
42254         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
42255         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42256         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42258 2013-03-11  Andreas Schwab  <schwab@suse.de>
42260         [BZ #15234]
42261         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
42262         by SHLIB_COMPAT.
42263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
42264         (GLIBC_2.16): Remove pthread_atfork.
42266 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
42268         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
42269         (ptestcases.h): Likewise.
42271 2013-03-08  Roland McGrath  <roland@hack.frob.com>
42273         * Makeconfig ($(common-objpfx)config.status): Depend on
42274         sysdeps/*/preconfigure{,.in} too.
42276 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
42278         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
42279         (__free_hook): Use void * instead of __malloc_ptr_t.
42280         (__malloc_hook): Likewise.
42281         (__realloc_hook): Likewise.
42282         (__memalign_hook): Likewise.
42283         (__after_morecore_hook): Likewise.
42284         * malloc/arena.c (save_malloc_hook): Likewise.
42285         (save_free_hook): Likewise.
42286         * malloc/hooks.c (malloc_hook_ini): Likewise.
42287         (realloc_hook_ini): Likewise.
42288         (memalign_hook_ini): Likewise.
42289         * malloc/malloc.c (malloc_hook_ini): Likewise.
42290         (realloc_hook_ini): Likewise.
42291         (memalign_hook_ini): Likewise.
42292         (__free_hook): Likewise.
42293         (__malloc_hook): Likewise.
42294         (__realloc_hook): Likewise.
42295         (__memalign_hook): Likewise.
42296         (__libc_malloc): Likewise.
42297         (__libc_free): Likewise.
42298         (__libc_realloc): Likewise.
42299         (__libc_memalign): Likewise.
42300         (__libc_valloc): Likewise.
42301         (__libc_pvalloc): Likewise.
42302         (__libc_calloc): Likewise.
42303         (__posix_memalign): Likewise.
42304         * malloc/morecore.c (__sbrk): Likewise.
42305         (__default_morecore): Likewise.
42307         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
42309         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
42310         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
42311         __malloc_ptrdiff_t.
42313         * malloc/malloc.h (__malloc_size_t): Remove macro.
42314         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
42315         __malloc_size_t.
42316         (old_memalign_hook): Likewise.
42317         (old_realloc_hook): Likewise.
42318         (struct hdr): Likewise.
42319         (flood): Likewise.
42320         (mallochook): Likewise.
42321         (memalignhook): Likewise.
42322         (reallochook): Likewise.
42323         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
42324         (tr_old_realloc_hook): Likewise.
42325         (tr_old_memalign_hook): Likewise.
42326         (tr_mallochook): Likewise.
42327         (tr_reallochook): Likewise.
42328         (tr_memalignhook): Likewise.
42330 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42332         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
42333         default_ldbl_pack and using as default implementation.
42334         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
42335         implementation.
42336         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
42337         redundant definition.
42338         (ldbl_insert_mantissa): Likewise.
42339         (ldbl_canonicalize): Likewise.
42340         (ldbl_nearbyint): Likewise.
42341         (ldbl_pack): Rename to ldbl_pack_ppc.
42342         (ldbl_unpack): Rename to ldbl_unpack_ppc.
42343         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
42344         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
42346 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
42349         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
42350         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
42351         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
42352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
42353         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
42354         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
42355         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
42357 2013-03-07  Andreas Jaeger  <aj@suse.de>
42359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42360         bits/mman-linux.h.
42362 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42364         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
42365         Include mpa.h and declare __MPEXP.
42366         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
42367         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42368         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42369         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
42370         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42371         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42372         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
42374         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
42375         (__slowpow): Use long double EXPL and LOGL functions to
42376         compute POW.
42377         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42378         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42379         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
42380         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42381         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42382         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
42384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
42385         intermediate variable to calculate exponent.
42386         (__sqr): Likewise.
42387         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
42388         Likewise.
42389         (__sqr): Likewise.
42391         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
42392         [!NO__SQR]: Define __sqr.
42393         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
42394         and NO__SQR.  Remove all code except __mul and __sqr.  Include
42395         sysdeps/ieee754/dbl-64/mpa.c.
42396         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42398         [BZ #12723]
42399         * posix/Makefile (tests): Add tst-pathconf.
42400         * posix/tst-pathconf.c: New test case.
42401         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
42402         _PC_PIPE_BUF.
42403         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
42405 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
42407         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
42409 2013-03-06  Andreas Jaeger  <aj@suse.de>
42411         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
42412         definition via __MAP_ANONYMOUS.
42414         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
42415         it's not part of Linux headers.
42417         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
42418         (MAP_HUGE_MASK): Define.
42420         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42421         Define.
42422         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42423         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42424         Define.
42425         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42426         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42427         Define.
42428         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42429         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
42430         Define.
42431         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42433         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
42434         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
42435         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
42436         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
42437         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
42438         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
42440         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42441         Handle f2fs.
42443         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42444         Handle f2fs and efivarfs.
42446         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
42447         f2fs.
42449         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
42450         (EFIVARFS_MAGIC): Add.
42451         (F2FS_LINK_MAX): Add.
42453 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42455         * stdio-common/vfprintf.c: Replace __builtin_expect with
42456         __glibc_unlikely.
42458 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
42460         [BZ #13550]
42461         * sysdeps/generic/bp-sym.h: Remove file.
42462         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
42463         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
42464         <bp-sym.h> and <bp-asm.h>.
42465         (__longjmp): Don't use BP_SYM.
42466         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
42467         and <bp-asm.h>.
42468         (memcpy): Don't use BP_SYM.
42469         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
42470         <bp-sym.h> and <bp-asm.h>.
42471         (memcpy): Don't use BP_SYM.
42472         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
42473         <bp-asm.h>.
42474         (memcpy): Don't use BP_SYM.
42475         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
42476         <bp-asm.h>.
42477         (memset): Don't use BP_SYM.
42478         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42479         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42480         (__bzero): Don't use BP_SYM.
42481         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42482         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42483         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
42484         <bp-sym.h> and <bp-asm.h>.
42485         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42486         pointers.
42487         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
42488         <bp-sym.h> and <bp-asm.h>.
42489         (memcpy): Don't use BP_SYM.
42490         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
42491         <bp-sym.h> and <bp-asm.h>.
42492         (memset): Don't use BP_SYM.
42493         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42494         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42495         (__bzero): Don't use BP_SYM.
42496         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42497         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42498         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
42499         <bp-sym.h> and <bp-asm.h>.
42500         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42501         pointers.
42502         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
42503         <bp-sym.h> and <bp-asm.h>.
42504         (memcpy): Don't use BP_SYM.
42505         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
42506         <bp-sym.h> and <bp-asm.h>.
42507         (memset): Don't use BP_SYM.
42508         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42509         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42510         (__bzero): Don't use BP_SYM.
42511         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42512         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42513         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
42514         <bp-sym.h> and <bp-asm.h>.
42515         (__memchr): Don't use BP_SYM.
42516         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
42517         <bp-sym.h> and <bp-asm.h>.
42518         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42519         pointers.
42520         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
42521         <bp-sym.h> and <bp-asm.h>.
42522         (memcpy): Don't use BP_SYM.
42523         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
42524         <bp-sym.h> and <bp-asm.h>.
42525         (__mempcpy): Don't use BP_SYM.
42526         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
42527         <bp-sym.h> and <bp-asm.h>.
42528         (__memrchr): Don't use BP_SYM.
42529         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
42530         <bp-sym.h> and <bp-asm.h>.
42531         (memset): Don't use BP_SYM.
42532         (__bzero): Likewise.
42533         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
42534         <bp-sym.h> and <bp-asm.h>.
42535         (__rawmemchr): Don't use BP_SYM.
42536         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
42537         <bp-sym.h> and <bp-asm.h>.
42538         (__STRCMP): Don't use BP_SYM.
42539         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
42540         <bp-sym.h> and <bp-asm.h>.
42541         (strchr): Don't use BP_SYM.
42542         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
42543         <bp-sym.h> and <bp-asm.h>.
42544         (__strchrnul): Don't use BP_SYM.
42545         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
42546         <bp-sym.h> and <bp-asm.h>.
42547         (strlen): Don't use BP_SYM.
42548         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
42549         <bp-sym.h> and <bp-asm.h>.
42550         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42551         pointers.
42552         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
42553         <bp-sym.h> and <bp-asm.h>.
42554         (__strnlen): Don't use BP_SYM.
42555         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
42556         <bp-sym.h> and <bp-asm.h>.
42557         (__GI__setjmp): Don't use BP_SYM.
42558         (_setjmp): Likewise.
42559         (__sigsetjmp): Likewise.
42560         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
42561         (L(start_addresses)): Don't use BP_SYM.
42562         (_start): Likewise.
42563         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
42564         <bp-asm.h>.
42565         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
42566         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
42567         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42568         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42569         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
42570         <bp-asm.h>.
42571         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
42572         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
42573         about bounded pointers.
42574         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42575         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42576         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
42577         <bp-asm.h>.
42578         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42579         about bounded pointers.  Remove GKM FIXME comments.
42580         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42581         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
42582         <bp-asm.h>.
42583         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
42584         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
42585         Remove GKM FIXME comments.
42586         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42587         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42588         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
42589         <bp-asm.h>.
42590         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42591         about bounded pointers.  Remove GKM FIXME comment.
42592         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
42593         and <bp-asm.h>.
42594         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42595         pointers.
42596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
42597         <bp-sym.h> and <bp-asm.h>.
42598         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
42600         <bp-sym.h> and <bp-asm.h>.
42601         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42602         comment.
42604 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42606         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
42607         call free(NULL).
42609 2013-03-05  David S. Miller  <davem@davemloft.net>
42611         * po/es.po: Update from translation team.
42613 2013-03-05  Andreas Jaeger  <aj@suse.de>
42615         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
42616         <bits/mman-linux.h>.
42617         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42618         is fine.
42619         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
42620         <bits/mman-linux.h> to end of file.
42621         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42622         is fine.
42623         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
42624         <bits/mman-linux.h> to end of file.
42625         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42626         is fine.
42627         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
42628         <bits/mman-linux.h> to end of file.
42630         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
42631         (MCL_CURRENT, MCL_FUTURE): Define here.
42633 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42635         [BZ #15232]
42636         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
42637         attribute_hidden.
42638         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42640 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42642         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
42643         fourth parameter needed for rt_sigprocmask syscall.
42644         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42645         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42646         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
42647         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42648         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42649         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
42651 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
42653         [BZ #13550]
42654         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
42655         comment about bounded pointers.
42656         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
42657         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
42659 2013-03-04  Andreas Jaeger  <aj@suse.de>
42661         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
42662         common definitions.
42664         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
42665         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
42666         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
42667         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42668         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42669         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42671 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42673         [BZ #15055]
42674         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
42675         __ieee754_sqrl instead of __sqrl.
42677 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
42679         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
42680         * sysdeps/powerpc/fpu_control.h: ... here.
42681         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
42682         * sysdeps/powerpc/bits/fenvinline.h: ... here.
42683         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
42684         * sysdeps/powerpc/bits/mathinline.h: ... here.
42686 2013-03-01  Roland McGrath  <roland@hack.frob.com>
42688         * elf/dl-hwcaps.c (_dl_important_hwcaps):
42689         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
42690         to just [NEED_DL_SYSINFO_DSO].
42691         * elf/dl-support.c: Likewise.
42692         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42693         * elf/rtld.c (dl_main): Likewise.
42694         * elf/setup-vdso.h (setup_vdso): Likewise.
42695         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
42696         * sysdeps/unix/sysv/linux/dl-sysdep.c
42697         (_dl_discover_osversion): Likewise.
42699 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
42701         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
42702         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42704 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42706         * NEWS: Mention libm performance improvements and non-x86 PI
42707         futex support.
42709         * csu/libc-start.c (__pthread_initialize_minimal): Change
42710         function arguments.
42711         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42713 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
42715         [BZ #13550]
42716         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
42717         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
42718         <bp-sym.h> and <bp-asm.h>.
42719         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42720         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
42721         and <bp-asm.h>.
42722         (memcpy): Don't use BP_SYM.
42723         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
42724         <bp-asm.h>.
42725         (__mpn_add_n): Don't use BP_SYM.
42726         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
42727         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
42728         and <bp-asm.h>.
42729         (__mpn_addmul_1): Don't use BP_SYM.
42730         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42731         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
42732         <bp-sym.h>.
42733         (_setjmp): Don't use BP_SYM.
42734         (__novmx_setjmp): Likewise.
42735         (__GI__setjmp): Likewise.
42736         (__vmx_setjmp): Likewise.
42737         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
42738         <bp-sym.h>.
42739         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
42740         (__bzero): Don't use BP_SYM.
42741         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42742         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42743         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
42744         <bp-sym.h> and <bp-asm.h>.
42745         (memcpy): Don't use BP_SYM.
42746         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
42747         <bp-sym.h> and <bp-asm.h>.
42748         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42749         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
42750         <bp-sym.h> and <bp-asm.h>.
42751         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42752         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
42753         <bp-asm.h>.
42754         (__mpn_lshift): Don't use BP_SYM.
42755         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42756         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
42757         <bp-asm.h>.
42758         (memset): Don't use BP_SYM.
42759         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42760         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42761         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
42762         <bp-asm.h>.
42763         (__mpn_mul_1): Don't use BP_SYM.
42764         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42765         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
42766         <bp-sym.h> and <bp-asm.h>.
42767         (memcmp): Don't use BP_SYM.
42768         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
42769         <bp-sym.h> and <bp-asm.h>.
42770         (memcpy): Don't use BP_SYM.
42771         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
42772         <bp-sym.h> and <bp-asm.h>.
42773         (memset): Don't use BP_SYM.
42774         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
42775         <bp-sym.h> and <bp-asm.h>.
42776         (strncmp): Don't use BP_SYM.
42777         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
42778         <bp-sym.h> and <bp-asm.h>.
42779         (memcpy): Don't use BP_SYM.
42780         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
42781         <bp-sym.h> and <bp-asm.h>.
42782         (memset): Don't use BP_SYM.
42783         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
42784         <bp-sym.h> and <bp-asm.h>.
42785         (__memchr): Don't use BP_SYM.
42786         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
42787         <bp-sym.h> and <bp-asm.h>.
42788         (memcmp): Don't use BP_SYM.
42789         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
42790         <bp-sym.h> and <bp-asm.h>.
42791         (memcpy): Don't use BP_SYM.
42792         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
42793         <bp-sym.h> and <bp-asm.h>.
42794         (__mempcpy): Don't use BP_SYM.
42795         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
42796         <bp-sym.h> and <bp-asm.h>.
42797         (__memrchr): Don't use BP_SYM.
42798         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
42799         <bp-sym.h> and <bp-asm.h>.
42800         (memset): Don't use BP_SYM.
42801         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
42802         <bp-sym.h> and <bp-asm.h>.
42803         (__rawmemchr): Don't use BP_SYM.
42804         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
42805         <bp-sym.h> and <bp-asm.h>.
42806         (__STRCMP): Don't use BP_SYM.
42807         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
42808         <bp-sym.h> and <bp-asm.h>.
42809         (strchr): Don't use BP_SYM.
42810         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
42811         <bp-sym.h> and <bp-asm.h>.
42812         (__strchrnul): Don't use BP_SYM.
42813         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
42814         <bp-sym.h> and <bp-asm.h>.
42815         (strlen): Don't use BP_SYM.
42816         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
42817         <bp-sym.h> and <bp-asm.h>.
42818         (strncmp): Don't use BP_SYM.
42819         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
42820         <bp-sym.h> and <bp-asm.h>.
42821         (__strnlen): Don't use BP_SYM.
42822         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
42823         <bp-asm.h>.
42824         (__mpn_rshift): Don't use BP_SYM.
42825         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42826         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
42827         <bp-sym.h> and <bp-asm.h>.
42828         (__sigsetjmp): Don't use BP_SYM.
42829         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
42830         (L(start_addresses)): Don't use BP_SYM.
42831         (_start): Likewise.
42832         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
42833         <bp-asm.h>.
42834         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
42835         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42836         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42837         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
42838         <bp-asm.h>.
42839         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
42840         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42841         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42842         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
42843         <bp-asm.h>.
42844         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42845         comments.
42846         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42847         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
42848         <bp-asm.h>.
42849         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
42850         FIXME comments.
42851         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42852         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42853         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
42854         <bp-asm.h>.
42855         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42856         comment.
42857         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
42858         and <bp-asm.h>.
42859         (strncmp): Don't use BP_SYM,
42860         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
42861         <bp-asm.h>.
42862         (__mpn_sub_n): Don't use BP_SYM.
42863         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42864         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
42865         and <bp-asm.h>.
42866         (__mpn_submul_1): Don't use BP_SYM.
42867         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
42869         <bp-sym.h> and <bp-asm.h>.
42870         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
42872         <bp-sym.h> and <bp-asm.h>.
42873         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42874         comment.
42876 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42878         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
42879         Use ZK to minimize writes to Z.
42880         (sub_magnitudes): Simplify code a bit.
42881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
42882         Use ZK to minimize writes to Z.
42883         (sub_magnitudes): Simplify code a bit.
42885 2013-02-27  Roland McGrath  <roland@hack.frob.com>
42887         * csu/gmon-start.c: Add special exception to license text.
42889 2013-02-27  Richard Henderson  <rth@redhat.com>
42891         * scripts/config.guess: Update from config.git.
42892         * scripts/config.sub: Likewise.
42894 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42896         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
42898         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
42900         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
42902         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
42904         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
42906 2013-02-26  Roland McGrath  <roland@hack.frob.com>
42908         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
42909         [$(build-shared = yes].
42911 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42913         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
42914         (__mul): Reduce iterations for calculating mantissa.
42916         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
42917         MPTWO.
42918         (__mpranred): Likewise.
42920         [BZ #15160]
42921         * malloc/memusagestat.c (main): Draw graphs for heap and stack
42922         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
42924 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
42926         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
42927         Define __attribute__.
42929 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42931         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
42932         unused.
42933         * posix/regex_internal.h (__attribute): Remove.
42934         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
42935         (re_string_context_at): Likewise.
42936         (bitset_not): Use __attribute__ and mark function as possibly
42937         unused.
42938         (bitset_merge): Likewise.
42939         (bitset_mask): Likewise.
42940         (re_string_char_size_at): Likewise.
42941         (re_string_wchar_at): Likewise.
42942         (re_string_elem_size_at): Likewise.
42944 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42946         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
42947         code.
42948         (cc32): Likewise.
42950         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
42951         (__acr): Likewise.
42952         (__cpy): Likewise.
42953         (norm): Likewise.
42954         (denorm): Likewise.
42955         (__dbl_mp): Likewise.
42956         (add_magnitudes): Likewise.
42957         (sub_magnitudes): Likewise.
42958         (__mul): Likewise.
42959         (__inv): Likewise.
42961         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
42962         style.
42964         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
42965         style.
42967         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
42968         code.
42970         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
42971         up changes with default code.
42972         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
42973         Likewise.
42975 2013-02-24  Allan McRae  <allan@archlinux.org>
42977         * manual/socket.texi (The Internet Namespace): Order menu items
42978         to match that in the file.
42980         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
42981         node listing of the info page menu.
42983 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
42985         [BZ #13550]
42986         * sysdeps/i386/bp-asm.h: Remove file.
42987         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42988         (PARMS): Do not use macros from bp-asm.h.
42989         (S1): Likewise.
42990         (S2): Likewise.
42991         (SIZE): Likewise.
42992         (__mpn_add_n): Do not use BP_SYM
42993         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
42994         "bp-asm.h".
42995         (PARMS): Do not use macros from bp-asm.h.
42996         (S1): Likewise.
42997         (SIZE): Likewise.
42998         (__mpn_addmul_1): Do not use BP_SYM
42999         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
43000         "bp-asm.h".
43001         (PARMS): Do not use macros from bp-asm.h.
43002         (SIGMSK): Likewise.
43003         (_setjmp): Likewise.  Do not use BP_SYM.
43004         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
43005         "bp-asm.h".
43006         (PARMS): Do not use macros from bp-asm.h.
43007         (SIGMSK): Likewise.
43008         (setjmp): Likewise.  Do not use BP_SYM.
43009         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
43010         "bp-asm.h".
43011         (PARMS): Do not use macros from bp-asm.h.
43012         (__frexp): Do not use BP_SYM.
43013         (frexp): Likewise.
43014         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
43015         "bp-asm.h".
43016         (PARMS): Do not use macros from bp-asm.h.
43017         (__frexpf): Do not use BP_SYM.
43018         (frexpf): Likewise.
43019         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
43020         "bp-asm.h".
43021         (PARMS): Do not use macros from bp-asm.h.
43022         (__frexpl): Do not use BP_SYM.
43023         (frexpl): Likewise.
43024         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
43025         "bp-asm.h".
43026         (PARMS): Do not use macros from bp-asm.h.
43027         (__remquo): Do not use BP_SYM.
43028         (remquo): Likewise.
43029         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
43030         "bp-asm.h".
43031         (PARMS): Do not use macros from bp-asm.h.
43032         (__remquof): Do not use BP_SYM.
43033         (remquof): Likewise.
43034         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
43035         "bp-asm.h".
43036         (PARMS): Do not use macros from bp-asm.h.
43037         (__remquol): Do not use BP_SYM.
43038         (remquol): Likewise.
43039         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
43040         "bp-asm.h".
43041         (PARMS): Do not use macros from bp-asm.h.
43042         (DEST): Likewise.
43043         (SRC): Likewise.
43044         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
43045         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
43046         "bp-asm.h".
43047         (PARMS): Do not use macros from bp-asm.h.
43048         (strlen): Do not use BP_SYM.
43049         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
43050         "bp-asm.h".
43051         (PARMS): Do not use macros from bp-asm.h.
43052         (S1): Likewise.
43053         (S2): Likewise.
43054         (SIZE): Likewise.
43055         (__mpn_add_n): Do not use BP_SYM.
43056         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
43057         "bp-asm.h".
43058         (PARMS): Do not use macros from bp-asm.h.
43059         (S1): Likewise.
43060         (SIZE): Likewise.
43061         (__mpn_addmul_1): Do not use BP_SYM.
43062         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
43063         weak_alias.
43064         (bzero): Likewise.
43065         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
43066         "bp-asm.h".
43067         (PARMS): Do not use macros from bp-asm.h.
43068         (S): Likewise.
43069         (SIZE): Likewise.
43070         (__mpn_lshift): Do not use BP_SYM.
43071         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
43072         "bp-asm.h".
43073         (PARMS): Do not use macros from bp-asm.h.
43074         (DEST): Likewise.
43075         (SRC): Likewise.
43076         (LEN): Likewise.
43077         (memcpy): Likewise.  Do not use BP_SYM.
43078         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
43079         libc_hidden_def and weak_alias.
43080         (mempcpy): Do not use BP_SYM in weak_alias.
43081         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
43082         "bp-asm.h".
43083         (PARMS): Do not use macros from bp-asm.h.
43084         (DEST): Likewise.
43085         (LEN): Likewise.
43086         [!BZERO_P] (CHR): Likewise.
43087         (memset): Likewise.  Do not use BP_SYM.
43088         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
43089         "bp-asm.h".
43090         (PARMS): Do not use macros from bp-asm.h.
43091         (S1): Likewise.
43092         (SIZE): Likewise.
43093         (__mpn_mul_1): Do not use BP_SYM.
43094         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
43095         "bp-asm.h".
43096         (PARMS): Do not use macros from bp-asm.h.
43097         (S): Likewise.
43098         (SIZE): Likewise.
43099         (__mpn_rshift): Do not use BP_SYM.
43100         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
43101         "bp-asm.h".
43102         (PARMS): Do not use macros from bp-asm.h.
43103         (STR): Likewise.
43104         (CHR): Likewise.
43105         (strchr): Likewise.  Do not use BP_SYM.
43106         (index): Do not use BP_SYM in weak_alias.
43107         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
43108         "bp-asm.h".
43109         (PARMS): Do not use macros from bp-asm.h.
43110         (DEST): Likewise.
43111         (SRC): Likewise.
43112         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
43113         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
43114         "bp-asm.h".
43115         (PARMS): Do not use macros from bp-asm.h.
43116         (strlen): Do not use BP_SYM.
43117         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
43118         "bp-asm.h".
43119         (PARMS): Do not use macros from bp-asm.h.
43120         (S1): Likewise.
43121         (S2): Likewise.
43122         (SIZE): Likewise.
43123         (__mpn_sub_n): Do not use BP_SYM.
43124         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
43125         "bp-asm.h".
43126         (PARMS): Do not use macros from bp-asm.h.
43127         (S1): Likewise.
43128         (SIZE): Likewise.
43129         (__mpn_submul_1): Do not use BP_SYM.
43130         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
43131         "bp-asm.h".
43132         (PARMS): Do not use macros from bp-asm.h.
43133         (S1): Likewise.
43134         (S2): Likewise.
43135         (SIZE): Likewise.
43136         (__mpn_add_n): Do not use BP_SYM.
43137         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
43138         weak_alias.
43139         (bzero): Likewise.
43140         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
43141         "bp-asm.h".
43142         (PARMS): Do not use macros from bp-asm.h.
43143         (BLK2): Likewise.
43144         (LEN): Likewise.
43145         (memcmp): Do not use BP_SYM.
43146         (bcmp): Do not use BP_SYM in weak_alias.
43147         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
43148         "bp-asm.h".
43149         (PARMS): Do not use macros from bp-asm.h.
43150         (DEST): Likewise.
43151         (SRC): Likewise.
43152         (LEN): Likewise.
43153         (memcpy): Likewise.  Do not use BP_SYM.
43154         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
43155         "bp-asm.h".
43156         (PARMS): Do not use macros from bp-asm.h.
43157         (DEST): Likewise.
43158         (SRC): Likewise.
43159         (LEN): Likewise.
43160         (memmove): Likewise.  Do not use BP_SYM.
43161         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
43162         "bp-asm.h".
43163         (PARMS): Do not use macros from bp-asm.h.
43164         (DEST): Likewise.
43165         (SRC): Likewise.
43166         (LEN): Likewise.
43167         (__mempcpy): Likewise.  Do not use BP_SYM.
43168         (mempcpy): Do not use BP_SYM in weak_alias.
43169         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
43170         "bp-asm.h".
43171         (PARMS): Do not use macros from bp-asm.h.
43172         (DEST): Likewise.
43173         (LEN): Likewise.
43174         [!BZERO_P] (CHR): Likewise.
43175         (memset): Likewise.  Do not use BP_SYM.
43176         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
43177         "bp-asm.h".
43178         (PARMS): Do not use macros from bp-asm.h.
43179         (STR2): Likewise.
43180         (strcmp): Do not use BP_SYM.
43181         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
43182         "bp-asm.h".
43183         (PARMS): Do not use macros from bp-asm.h.
43184         (STR): Likewise.
43185         (DELIM): Likewise.
43186         [USE_AS_STRTOK_R] (SAVE): Likewise.
43187         (FUNCTION): Likewise.  Do not use BP_SYM.
43188         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
43189         aliases.
43190         (strtok_r): Likewise.
43191         (__GI___strtok_r): Likewise.
43192         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43193         (PARMS): Do not use macros from bp-asm.h.
43194         (S): Likewise.
43195         (SIZE): Likewise.
43196         (__mpn_lshift): Do not use BP_SYM.
43197         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43198         (PARMS): Do not use macros from bp-asm.h.
43199         (STR): Likewise.
43200         (CHR): Likewise.
43201         (__memchr): Do not use BP_SYM.
43202         (memchr): Do not use BP_SYM in weak_alias.
43203         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43204         (PARMS): Do not use macros from bp-asm.h.
43205         (BLK2): Likewise.
43206         (LEN): Likewise.
43207         (memcmp): Do not use BP_SYM.
43208         (bcmp): Do not use BP_SYM in weak_alias.
43209         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
43210         (PARMS): Do not use macros from bp-asm.h.
43211         (S1): Likewise.
43212         (SIZE): Likewise.
43213         (__mpn_mul_1): Do not use BP_SYM.
43214         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
43215         "bp-asm.h".
43216         (PARMS): Do not use macros from bp-asm.h.
43217         (STR): Likewise.
43218         (CHR): Likewise.
43219         (__rawmemchr): Do not use BP_SYM.
43220         (rawmemchr): Do not use BP_SYM in weak_alias.
43221         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43222         (PARMS): Do not use macros from bp-asm.h.
43223         (S): Likewise.
43224         (SIZE): Likewise.
43225         (__mpn_rshift): Do not use BP_SYM.
43226         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43227         (PARMS): Do not use macros from bp-asm.h.
43228         (SIGMSK): Likewise.
43229         (__sigsetjmp): Likewise.  Do not use BP_SYM.
43230         * sysdeps/i386/start.S: Do not include "bp-sym.h".
43231         (_start): Do not use BP_SYM.
43232         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
43233         (PARMS): Do not use macros from bp-asm.h.
43234         (DEST): Likewise.
43235         (SRC): Likewise.
43236         (__stpcpy): Likewise.  Do not use BP_SYM.
43237         (stpcpy): Do not use BP_SYM in weak_alias.
43238         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
43239         "bp-asm.h".
43240         (PARMS): Do not use macros from bp-asm.h.
43241         (DEST): Likewise.
43242         (SRC): Likewise.
43243         (LEN): Likewise.
43244         (__stpncpy): Likewise.  Do not use BP_SYM.
43245         (stpncpy): Do not use BP_SYM in weak_alias.
43246         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43247         (PARMS): Do not use macros from bp-asm.h.
43248         (STR): Likewise.
43249         (CHR): Likewise.
43250         (strchr): Likewise.  Do not use BP_SYM.
43251         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
43252         "bp-asm.h".
43253         (PARMS): Do not use macros from bp-asm.h.
43254         (STR): Likewise.
43255         (CHR): Likewise.
43256         (__strchrnul): Likewise.  Do not use BP_SYM.
43257         (strchrnul): Do not use BP_SYM in weak_alias.
43258         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
43259         "bp-asm.h".
43260         (PARMS): Do not use macros from bp-asm.h.
43261         (STOP): Likewise.
43262         (strcspn): Do not use BP_SYM.
43263         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
43264         "bp-asm.h".
43265         (PARMS): Do not use macros from bp-asm.h.
43266         (STR): Likewise.
43267         (STOP): Likewise.
43268         (strpbrk): Likewise.  Do not use BP_SYM.
43269         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
43270         "bp-asm.h".
43271         (PARMS): Do not use macros from bp-asm.h.
43272         (STR): Likewise.
43273         (CHR): Likewise.
43274         (strrchr): Likewise.  Do not use BP_SYM.
43275         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
43276         (PARMS): Do not use macros from bp-asm.h.
43277         (SKIP): Likewise.
43278         (strspn): Do not use BP_SYM.
43279         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
43280         (PARMS): Do not use macros from bp-asm.h.
43281         (STR): Likewise.
43282         (DELIM): Likewise.
43283         (SAVE): Likewise.
43284         (FUNCTION): Likewise.  Do not use BP_SYM.
43285         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
43286         aliases.
43287         (strtok_r): Likewise.
43288         (__GI___strtok_r): Likewise.
43289         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
43290         (PARMS): Do not use macros from bp-asm.h.
43291         (S1): Likewise.
43292         (S2): Likewise.
43293         (SIZE): Likewise.
43294         (__mpn_sub_n): Do not use BP_SYM.
43295         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
43296         "bp-asm.h".
43297         (PARMS): Do not use macros from bp-asm.h.
43298         (S1): Likewise.
43299         (SIZE): Likewise.
43300         (__mpn_submul_1): Do not use BP_SYM.
43301         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
43302         <bp-sym.h>.
43303         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
43304         and <bp-asm.h>.
43305         (PARMS): Do not use macros from bp-asm.h.
43306         (FLAGS): Likewise.
43307         (PTID): Likewise.
43308         (TLS): Likewise.
43309         (CTID): Likewise.
43310         (__clone): Do not use BP_SYM.
43311         (clone): Do not use BP_SYM in weak_alias.
43312         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
43313         and <bp-asm.h>.
43314         (PARMS): Do not use macros from bp-asm.h.
43315         (LEN): Likewise.
43316         (__mmap64): Do not use BP_SYM.
43317         (mmap64): Do not use BP_SYM in weak_alias.
43318         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43319         <bp-sym.h> and <bp-asm.h>.
43320         (PARMS): Do not use macros from bp-asm.h.
43321         (__posix_fadvise64_l64): Do not use BP_SYM.
43322         * sysdeps/unix/sysv/linux/i386/semtimedop.S
43323         (PARMS): Do not use macros from bp-asm.h.
43324         (NSOPS): Likewise.
43325         (semtimedop): Do not use BP_SYM.
43326         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
43327         and <bp-asm.h>.
43329 2013-02-21  Allan McRae  <allan@archlinux.org>
43331         * manual/message.texi (Charset conversion in gettext):
43332         Move @end statement to beginning of line.
43334 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
43337         static.
43338         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
43339         Likewise.
43341         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
43342         (denorm): Likewise.
43343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
43344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
43346 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43348         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
43349         tail-call to the resolved function if pltexit isn't needed.
43351 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43353         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
43354         or Y being zero as being unlikely.
43355         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43356         Likewise.
43358 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
43360         * manual/nss.texi (System Databases and Name Service Switch):
43361         Remove frobnicate @pxref.
43363 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43365         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43366         __attribute__ ((unused)) to __attribute__ ((__unused__)).
43368 2013-02-20  Petr Machata  <pmachata@redhat.com>
43370         * elf/elf.h (R_ARM_TARGET1): New macro.
43371         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
43372         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
43373         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
43374         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
43375         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
43376         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
43377         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
43378         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
43379         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
43380         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
43381         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
43382         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
43383         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
43384         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
43385         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
43386         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
43387         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
43388         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
43389         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
43390         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
43391         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
43392         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
43393         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
43394         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
43395         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
43396         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
43397         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
43398         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
43399         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
43400         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
43401         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
43402         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
43403         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
43404         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
43405         (R_ARM_THM_GOT_BREL12): Likewise.
43406         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
43407         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
43408         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
43409         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
43410         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
43411         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
43412         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
43413         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
43414         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
43416 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43418         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43419         __attribute_used__ to __attribute__ ((unused)).
43421 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43423         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
43424         powerpc mpa.c.
43425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
43426         comment formatting.
43427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
43429 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
43431         [BZ #13550]
43432         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
43433         Remove macro.
43434         (ENTER): Remove both macro definitions.
43435         (LEAVE): Likewise.
43436         (CHECK_BOUNDS_LOW): Likewise.
43437         (CHECK_BOUNDS_HIGH): Likewise.
43438         (CHECK_BOUNDS_BOTH): Likewise.
43439         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
43440         (RETURN_BOUNDED_POINTER): Likewise.
43441         (RETURN_NULL_BOUNDED_POINTER): Likewise.
43442         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
43443         (POP_ERRNO_LOCATION_RETURN): Likewise.
43444         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
43445         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43446         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
43447         macros.
43448         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43449         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
43450         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
43451         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
43452         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
43453         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
43454         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
43455         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
43456         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
43457         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
43458         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
43459         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
43460         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43461         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
43462         removed macros.
43463         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43464         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
43465         macros.
43466         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43467         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
43468         * sysdeps/i386/i586/memset.S (memset): Likewise.
43469         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
43470         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43471         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
43472         macros.
43473         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43474         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
43475         Change uses of L(2) to L(out).
43476         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
43477         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
43478         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
43479         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43480         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
43481         removed macros.
43482         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43483         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
43484         macros.
43485         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43486         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
43487         (RETURN): Do not use macro LEAVE.
43488         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
43489         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
43490         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
43491         * sysdeps/i386/i686/memset.S (memset): Likewise.
43492         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
43493         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
43494         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43495         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
43496         Likewise.
43497         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43498         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
43499         L(1_2) and L(1_3) into L(1).
43500         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43501         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
43502         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43503         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
43504         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43505         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
43506         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
43507         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43508         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
43509         macros.
43510         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
43511         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43512         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
43513         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
43514         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
43515         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43516         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
43517         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
43518         * sysdeps/i386/strcspn.S (strcspn): Likewise.
43519         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
43520         * sysdeps/i386/strrchr.S (strrchr): Likewise.
43521         * sysdeps/i386/strspn.S (strspn): Likewise.
43522         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
43523         conditional code.
43524         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43525         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
43526         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43527         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
43528         L(1_3) into L(1_1).
43529         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
43530         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43531         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
43532         macros.
43533         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43535 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
43537         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
43538         macro.
43540 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43542         * math/atest-exp.c (exp_mpn): Remove ROUND.
43543         * math/atest-exp2.c (exp_mpn): Likewise.
43544         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
43546         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
43547         * stdlib/tst-tls-atexit-lib.c: Likewise.
43548         * stdlib/tst-tls-atexit.c: Likewise.
43550 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43552         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
43553         and __attribute_alloc_size__.
43555 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43557         * include/programs/xmalloc.h: Change __attribute_alloc_size to
43558         __attribute_alloc_size__.
43559         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
43560         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
43562 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43564         * include/programs/xmalloc.h: New file.
43565         * catgets/gencat.c: Include it.
43566         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
43567         * elf/pldd.c: Likewise.
43568         * iconv/iconv_charmap.c: Likewise.
43569         * iconv/iconvconfig.c: Likewise.
43570         * iconv/strtab.c: Likewise.
43571         * locale/programs/locale.c: Likewise.
43572         * locale/programs/localedef.h: Likewise.
43573         * locale/programs/simple-hash.c: Likewise.
43574         * nscd/nscd.h: Likewise.
43575         * nss/makedb.c: Likewise.
43576         * sysdeps/generic/ldconfig.h: Likewise.
43578 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43580         * Versions.def: Add GLIBC_2.18.
43581         * include/link.h (struct link_map): New member l_tls_dtor_count.
43582         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
43583         (__call_tls_dtors): Likewise.
43584         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
43585         __cxa_thread_atexit_impl.
43586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43587         Likewise.
43588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43589         Likewise.
43590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43591         Likewise.
43592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43593         Likewise.
43594         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
43596         Likewise.
43597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
43598         Likewise.
43599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43601         Likewise.
43602         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
43603         (tests): Add test case tst-tls-atexit.
43604         (modules-names): Add shared library for tst-tls-atexit.
43605         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
43606         (GLIBC_PRIVATE): Add __call_tls_dtors.
43607         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
43608         for libstdc++.
43609         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
43610         * stdlib/tst-tls-atexit.c: New test case.
43611         * stdlib/tst-tls-atexit-lib.c: New test case.
43613         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
43615         * elf/Versions (ld): Add _dl_find_dso_for_object.
43616         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
43617         * elf/dl-open.c (_dl_find_dso_for_object): New function.
43618         (dl_open_worker): Use _dl_find_dso_for_object.
43619         * elf/dl-sym.c (do_sym): Likewise.
43620         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
43622 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43624         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
43625         Syntactic changes only.
43626         (_dl_runtime_profile): Do a tail-call to the resolved function.
43628 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
43630         [BZ #13550]
43631         * sysdeps/x86_64/bp-asm.h: Remove file.
43632         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
43633         <bp-sym.h> and <bp-asm.h>.
43634         (__clone): Do not use BP_SYM.
43635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
43636         <bp-sym.h> and <bp-asm.h>.
43637         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43638         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
43639         "bp-asm.h".
43640         (_setjmp): Do not use BP_SYM.
43641         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
43642         "bp-asm.h".
43643         (setjmp): Do not use BP_SYM.
43644         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
43645         libc_hidden_def.
43646         (mempcpy): Do not use BP_SYM in weak_alias.
43647         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
43648         "bp-asm.h".
43649         (strchr): Do not use BP_SYM.
43650         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
43651         "bp-asm.h".
43652         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
43653         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
43654         (_start): Do not use BP_SYM.
43655         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
43656         "bp-asm.h".
43657         (strcat): Do not use BP_SYM.
43658         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
43659         "bp-asm.h".
43660         (STRCMP): Do not use BP_SYM.
43661         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
43662         "bp-asm.h".
43663         (STRCPY): Do not use BP_SYM.
43664         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
43665         "bp-asm.h".
43666         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
43667         "bp-asm.h".
43668         (FUNCTION): Do not use BP_SYM.
43669         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
43670         weak_alias.
43671         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
43673 2013-02-17  Andreas Jaeger  <aj@suse.de>
43675         * time/Versions: Sort entries.
43676         * string/Versions: Likewise.
43677         * resolv/Versions: Likewise.
43678         * posix/Versions: Likewise.
43679         * iconv/Versions: Likewise.
43680         * elf/Versions: Likewise.
43681         * wcsmbs/Versions: Likewise.
43683 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43685         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
43686         loop termination condition.
43688         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
43689         variable to calculate EZ.
43690         (__sqr): Likewise.
43692         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
43693         the lower precision input.
43695 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
43697         [BZ #13550]
43698         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
43699         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
43700         (run-via-rtld-prefix): Do not handle %-bp tests.
43701         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
43702         (all-object-suffixes): Remove .ob.
43703         (bppfx): Remove variable.
43704         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
43705         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
43706         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
43707         [$(build-bounded) = yes] (libtype.ob): Likewise.
43708         * Makerules (elide-routines.ob): Remove variable.
43709         (do-tests-clean): Do not handle *-bp.out.
43710         (common-mostlyclean): Do not handle *-bp and *-bp.out.
43711         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
43712         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
43713         (tests): Do not include $(tests-bp.out).
43714         (xtests): Do not include $(xtests-bp.out).
43715         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
43716         [$(build-bounded) = yes] ($(addprefix
43717         $(objpfx),$(binaries-bounded))): Remove rule.
43718         ($(objpfx)%-bp.out): Remove rule.
43719         * config.make.in (build-bounded): Remove variable.
43720         * crypt/Makefile [$(build-bounded) = yes]
43721         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
43722         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
43723         append to variable.
43724         [$(build-bounded) = yes] (install-lib): Likewise.
43725         [$(build-bounded) = yes] (generated): Likewise.
43726         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
43727         Remove rule.
43728         * intl/Makefile [$(build-bounded) = yes]
43729         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
43730         * math/Makefile [$(build-bounded) = yes]
43731         ($(tests:%=$(objpfx)%-bp): Likewise.
43732         * misc/Makefile [$(build-bounded) = yes]
43733         ($(objpfx)tst-tsearch-bp): Likewise.
43734         * nptl/Makeconfig (bounded-thread-library): Remove variable.
43735         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
43736         Remove dependency.
43737         * string/Makefile (o-objects.ob): Remove variable.
43738         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
43739         (CFLAGS-.ob): Remove variable.
43740         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
43741         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
43742         both definitions of variable.
43743         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
43744         (ASFLAGS-.ob): Remove variable.
43746 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
43748         [BZ #13550]
43749         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
43750         Remove __BOUNDED_POINTERS__ from condition.
43751         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
43752         * string/bits/string2.h [!__NO_STRING_INLINES &&
43753         !__BOUNDED_POINTERS__]: Likewise.
43754         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
43755         Likewise.
43756         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
43757         Remove conditional code.
43758         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
43759         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
43760         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
43761         condition.
43763         [BZ #13550]
43764         * csu/libc-start.c: Do not include <bp-sym.h>.
43765         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
43766         * elf/dl-open.c: Do not include <bp-sym.h>.
43767         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
43768         * math/fegetenv.c: Do not include <bp-sym.h>.
43769         (fegetenv): Do not use BP_SYM in versioned symbols.
43770         * nptl/sysdeps/pthread/bits/libc-lockP.h
43771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
43772         <bp-sym.h>.
43773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43774         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
43775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43776         (__pthread_mutex_destroy): Likewise.
43777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43778         (__pthread_mutex_lock): Likewise.
43779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43780         (__pthread_mutex_trylock): Likewise.
43781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43782         (__pthread_mutex_unlock): Likewise.
43783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43784         (__pthread_mutexattr_init): Likewise.
43785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43786         (__pthread_mutexattr_destroy): Likewise.
43787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43788         (__pthread_mutexattr_settype): Likewise.
43789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43790         (__pthread_rwlock_init): Likewise.
43791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43792         (__pthread_rwlock_destroy): Likewise.
43793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43794         (__pthread_rwlock_rdlock): Likewise.
43795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43796         (__pthread_rwlock_tryrdlock): Likewise.
43797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43798         (__pthread_rwlock_wrlock): Likewise.
43799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43800         (__pthread_rwlock_trywrlock): Likewise.
43801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43802         (__pthread_rwlock_unlock): Likewise.
43803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43804         (__pthread_key_create): Likewise.
43805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43806         (__pthread_setspecific): Likewise.
43807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43808         (__pthread_getspecific): Likewise.
43809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
43810         Likewise.
43811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43812         (_pthread_cleanup_push_defer): Likewise.
43813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43814         (_pthread_cleanup_pop_restore): Likewise.
43815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43816         (pthread_setcancelstate): Likewise.
43817         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
43818         <bp-sym.h>.
43819         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
43820         (memchr): Do not use BP_SYM in weak_alias.
43821         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
43822         (fegetenv): Do not use BP_SYM in versioned symbols.
43823         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
43824         (fesetenv): Do not use BP_SYM in versioned symbols.
43825         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43826         (feupdateenv): Do not use BP_SYM in versioned symbols.
43827         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43828         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43829         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
43830         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
43831         (open64): Do not use BP_SYM in weak_alias.
43832         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
43833         (fegetenv): Do not use BP_SYM in versioned symbols.
43834         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
43835         (fesetenv): Do not use BP_SYM in versioned symbols.
43836         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43837         (feupdateenv): Do not use BP_SYM in versioned symbols.
43838         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
43839         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
43840         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
43841         (feraiseexcept): Do not use BP_SYM in versioned symbols.
43842         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43843         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43844         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
43845         <bp-sym.h>.
43846         (__libc_start_main): Do not use BP_SYM.
43848 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
43851         redundant return line.
43852         (norm): Likewise.
43853         (denorm): Likewise.
43854         (dbl_mp): Likewise.
43855         (sub_magnitudes): Likewise.
43856         (__add): Likewise.
43857         (__sub): Likewise.
43858         (__mul): Likewise.
43859         (__inv): Likewise.
43860         (__dvd): Likewise.
43861         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
43862         (norm): Likewise.
43863         (denorm): Likewise.
43864         (dbl_mp): Likewise.
43865         (sub_magnitudes): Likewise.
43866         (__add): Likewise.
43867         (__sub): Likewise.
43868         (__mul): Likewise.
43869         (__inv): Likewise.
43870         (__dvd): Likewise.
43872         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
43873         instead of __mul.
43874         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43875         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
43876         (cc32): Likewise.
43878         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
43879         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
43880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
43881         of __mul for squares.
43882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
43883         function
43884         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
43885         Likewise.
43886         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
43887         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43889 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
43891         [BZ #13550]
43892         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
43893         code.
43894         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
43895         prototype or function definition.  Rename ubp_* variables and
43896         parameters.  Remove argv definitions conditional on
43897         [__BOUNDED_POINTERS__].
43898         * debug/backtrace.c (__backtrace): Do not use __unbounded.
43899         * elf/dl-runtime.c (_dl_fixup): Likewise.
43900         * include/set-hooks.h (RUN_HOOK): Likewise.
43901         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
43902         definition.
43903         * string/strcpy.c (strcpy): Do not use __unbounded.
43904         * sysdeps/generic/frame.h (struct layout): Likewise.
43905         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
43906         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
43907         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
43908         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
43909         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
43910         (__backtrace): Likewise.
43911         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
43912         use __ptrvalue.
43913         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
43914         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43915         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
43916         Likewise.
43917         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
43918         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
43919         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43920         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43921         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
43922         Do not use __unbounded.
43923         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
43924         Rename __unboundedrlimits parameter to rlimits in prototype.
43925         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
43926         Do not use __unbounded.
43927         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
43928         not use __ptrvalue.
43929         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43930         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
43931         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43932         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
43933         __ptrvalue or __unbounded.
43934         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
43935         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
43936         use __unbounded.
43937         (__new_msgctl): Do not use __ptrvalue.
43938         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
43939         __unbounded.
43940         (__libc_msgrcv): Do not use __ptrvalue.
43941         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
43942         startup_info): Do not use __unbounded.
43943         (__libc_start_main): Likewise.  Rename ubp_* variables and
43944         parameters.  Remove argv definitions conditional on
43945         [__BOUNDED_POINTERS__].
43946         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
43947         __ptrvalue.
43948         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
43949         use __unbounded.
43950         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
43951         or __ptrvalue.
43952         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
43953         use __unbounded.
43954         (__new_shmctl): Do not use __ptrvalue.
43955         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
43956         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
43957         Likewise.
43958         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
43959         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
43960         (__libc_sigaction): Likewise.
43961         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
43962         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
43963         Likewise.
43964         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43966 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
43968         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
43970         * string/mempcpy.c: Implement by calling memcpy.
43972 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43974         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
43976         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
43977         evaluation.
43979         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
43980         values in the mantissa.
43982         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
43983         minimize writes to Z.
43984         (sub_magnitudes): Simplify code a bit.
43986 2013-02-12  Roland McGrath  <roland@hack.frob.com>
43988         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
43989         from the message.  The linker prefixes all warnings with that already.
43991 2013-02-12  Andreas Schwab  <schwab@suse.de>
43993         [BZ #15078]
43994         * posix/regexec.c (extend_buffers): Add parameter min_len.
43995         (check_matching): Pass minimum needed length.
43996         (clean_state_log_if_needed): Likewise.
43997         (get_subexp): Likewise.
43998         * posix/Makefile (tests): Add bug-regex34.
43999         (bug-regex34-ENV): Define.
44000         * posix/bug-regex34.c: New file.
44002         [BZ #11561]
44003         * posix/regcomp.c (parse_bracket_exp): When looking up collating
44004         elements compare against the byte sequence of it, not its name.
44005         * posix/Makefile (tests): Add bug-regex35.
44006         (bug-regex35-ENV): Define.
44007         * posix/bug-regex35.c: New file.
44009 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44011         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
44012         comment.
44013         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
44014         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
44015         (CHECK_EOL): Add undef.
44017 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
44019         * bits/stdlib-bsearch.h: New file.
44020         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
44021         * stdlib/stdlib.h: Likewise.
44023 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44025         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
44026         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
44027         declaration.
44028         * manual/search.texi (Array Search Function): Add missing const in
44029         lfind prototype.
44030         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
44031         declaration to use rlim_t.
44032         (Basic Scheduling Functions): Remove erroneous const from
44033         sched_getparam prototype.  Remove erroneous * from
44034         sched_get_priority_max and sched_get_priority_min prototypes.
44035         (Resource Usage): Fix summary @comment on vtimes to refer to
44036         sys/vtimes.h rather than vtimes.h.
44037         Add missing *s in vtimes prototype.
44038         (Limits on Resources): Fix ulimit prototype to return long int.
44039         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
44040         prototypes to use long int rather than double.
44041         (BSD Random): Fix initstate and setstate to use char *, not void *.
44042         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
44043         prototype to make second argument 'struct aiocb64 *const[]'.
44044         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
44045         (Status of AIO Operations): Remove erroneous const in aio_return and
44046         aio_return64 prototypes.
44047         (Synchronizing I/O): Fix sync prototype to return void.
44048         * manual/startup.texi (Suboptions): Remove an erroneous const in
44049         getsubopt prototype.
44050         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
44051         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
44052         use size_t rather than int.
44053         (Scanning All Users): Likewise for getpwent_r.
44054         (Setting Groups): Add missing const to setgroups prototype.
44055         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
44056         * manual/socket.texi (Host Names): Fix gethostbyaddr and
44057         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
44058         'const void *' rather than 'const char *'.
44059         (Host Address Functions): Likewise for inet_ntop.
44060         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
44061         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
44062         ssize_t for return value.
44063         (Sending Data): Likewise for send, sendto, sendmsg.
44064         (Socket Option Functions): Add a missing const in setsockopt prototype.
44065         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
44066         use wchar_t for the argument.
44067         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
44068         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
44069         take no arguments.
44070         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
44071         double/float/long double for second argument.
44072         Fix return types of significand, significandf, significandl.
44073         * manual/filesys.texi (Setting Permissions): Use mode_t for second
44074         argument in fchmod prototype.
44075         (File Owner): Use uid_t and gid_t in fchown prototype.
44076         (File Times): Add const to utimes, futimes, and lutimes prototypes.
44077         (Making Special Files): Use mode_t and dev_t in mknod prototype.
44078         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
44079         use 'const struct dirent **' as argument types to CMP function pointer
44080         argument.
44081         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
44082         (File Times): Fix summary magic @comment for struct utimbuf and utime
44083         to refer to utime.h, not time.h.
44084         * manual/string.texi (Argz Functions): Add missing const in
44085         argz_extract and argz_next prototypes.
44086         (Finding Tokens in a String): Likewise for basename.
44087         (String/Array Comparison): Fix typo in wcscasecmp prototype.
44088         (Copying and Concatenation): Fix typo in wmemmove prototype.
44089         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
44090         (Signal Stack): Remove erroneous const in sigstack prototype.
44091         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
44092         prototype.
44093         (Simple Calendar Time): Likewise for stime.
44094         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
44095         prototype.
44096         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
44097         say sys/sysctl.h instead.
44098         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
44099         and vsyslog prototypes.
44101 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44103         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
44104         Remove.
44106 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44108         * misc/sys/mman.h: Fix typo in mremap comment.
44110 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44112         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
44113         the '\0' terminator.
44115 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44117         [BZ #13550]
44118         * debug/segfault.c: Don't include <bp-checks.h>.
44119         * sysdeps/generic/bp-checks.h: Remove file.
44120         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
44121         (__GETDENTS): Don't use CHECK_N.
44122         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
44123         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44124         (__getgroups): Don't use CHECK_N.
44125         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
44126         (setgroups): Don't use CHECK_N.
44127         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
44128         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
44129         (__libc_msgrcv): Don't use CHECK_N.
44130         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
44131         (__libc_msgsnd): Don't use CHECK_N.
44132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
44133         <bp-checks.h>.
44134         (__libc_pread): Don't use CHECK_N.
44135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
44136         include <bp-checks.h>.
44137         (__libc_pread64): Don't use CHECK_N.
44138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
44139         include <bp-checks.h>.
44140         (__libc_pwrite): Don't use CHECK_N.
44141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
44142         include <bp-checks.h>.
44143         (__libc_pwrite64): Don't use CHECK_N.
44144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
44145         <bp-checks.h>.
44146         (__libc_pread): Don't use CHECK_N.
44147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
44148         include <bp-checks.h>.
44149         (__libc_pread64): Don't use CHECK_N.
44150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
44151         include <bp-checks.h>.
44152         (__libc_pwrite): Don't use CHECK_N.
44153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
44154         include <bp-checks.h>.
44155         (__libc_pwrite64): Don't use CHECK_N.
44156         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
44157         (do_pread): Don't use CHECK_N.
44158         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
44159         (do_pread64): Don't use CHECK_N.
44160         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
44161         (do_pwrite): Don't use CHECK_N.
44162         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
44163         (do_pwrite64): Don't use CHECK_N.
44164         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
44165         (__libc_readv): Don't use CHECK_N.
44166         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
44167         (semop): Don't use CHECK_N.
44168         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
44169         <bp-checks.h>.
44170         (semtimedop): Don't use CHECK_N.
44171         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
44172         (__libc_pread): Don't use CHECK_N.
44173         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
44174         <bp-checks.h>.
44175         (__libc_pread64): Don't use CHECK_N.
44176         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
44177         <bp-checks.h>.
44178         (__libc_pwrite): Don't use CHECK_N.
44179         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
44180         <bp-checks.h>.
44181         (__libc_pwrite64): Don't use CHECK_N.
44182         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
44183         <bp-checks.h>.
44184         (__libc_msgrcv): Don't use CHECK_N.
44185         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
44186         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
44187         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
44188         (__libc_writev): Don't use CHECK_N.
44190 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44192         * string/strcpy.c: Removed unused variable.
44194         * Makeconfig (+sysdep-includes): Define with := rather than =.
44195         Use an existing include/ subdir of each sysdeps dir before it.
44197 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44199         * nscd/connection.c (register_traced_file): Comment function.
44200         [HAVE_INOTIFY] (union __inev): Define.
44201         [HAVE_INOTIFY] (inotify_check_files): New function.
44202         [HAVE_INOTIFY] (clear_db_cache): Likewise.
44203         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
44204         clear_db_cache.
44205         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
44207 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44209         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
44210         loaded if not already and that a failure is permanent.
44212 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44214         [BZ #15006]
44215         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
44216         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
44218 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44220         [BZ #13550]
44221         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
44222         (CHECK_1_NULL_OK): Likewise.
44223         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
44224         (__fxstat): Do not use CHECK_1.
44225         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
44226         <bp-checks.h>.
44227         (___fxstat64): Do not use CHECK_1.
44228         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44229         <bp-checks.h>.
44230         (__fxstatat): Do not use CHECK_1.
44231         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44232         <bp-checks.h>.
44233         (__fxstatat64): Do not use CHECK_1.
44234         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
44235         <bp-checks.h>.
44236         (__fxstat): Do not use CHECK_1.
44237         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44238         <bp-checks.h>.
44239         (__fxstatat): Do not use CHECK_1.
44240         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44241         <bp-checks.h>.
44242         (__getresgid): Do not use CHECK_1.
44243         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44244         <bp-checks.h>.
44245         (__getresuid): Do not use CHECK_1.
44246         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
44247         <bp-checks.h>.
44248         (__lxstat): Do not use CHECK_1.
44249         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44250         <bp-checks.h>.
44251         (__old_msgctl): Do not use CHECK_1.
44252         (__new_msgctl): Likewise.
44253         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
44254         <bp-checks.h>.
44255         (__new_setrlimit): Do not use CHECK_1.
44256         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44257         <bp-checks.h>.
44258         (__old_shmctl): Do not use CHECK_1.
44259         (__new_shmctl): Likewise.
44260         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
44261         <bp-checks.h>.
44262         (__xstat): Do not use CHECK_1.
44263         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
44264         (__lxstat): Do not use CHECK_1.
44265         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
44266         <bp-checks.h>.
44267         (___lxstat64): Do not use CHECK_1.
44268         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
44269         (__old_msgctl): Do not use CHECK_1.
44270         (__new_msgctl): Likewise.
44271         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
44272         <bp-checks.h>.
44273         (__gettimeofday): Do not use CHECK_1.
44274         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
44275         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
44276         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
44277         <bp-checks.h>.
44278         (__gettimeofday): Do not use CHECK_1.
44279         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
44280         (__old_shmctl): Do not use CHECK_1_NULL_OK.
44281         (__new_shmctl): Do not use CHECK_1.
44282         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
44283         <bp-checks.h>.
44284         (do_sigtimedwait): Do not use CHECK_1.
44285         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
44286         <bp-checks.h>.
44287         (do_sigwaitinfo): Do not use CHECK_1.
44288         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
44289         <bp-checks.h>.
44290         (msgctl): Do not use CHECK_1.
44291         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
44292         <bp-checks.h>.
44293         (shmctl): Do not use CHECK_1.
44294         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
44295         (ustat): Do not use CHECK_1.
44296         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
44297         <bp-checks.h>.
44298         (__fxstat): Do not use CHECK_1.
44299         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44300         <bp-checks.h>.
44301         (__fxstatat): Do not use CHECK_1.
44302         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
44303         <bp-checks.h>.
44304         (__lxstat): Do not use CHECK_1.
44305         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
44306         <bp-checks.h>.
44307         (__xstat): Do not use CHECK_1.
44308         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
44309         (__xstat): Do not use CHECK_1.
44310         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
44311         (___xstat64): Do not use CHECK_1.
44313         [BZ #13550]
44314         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
44315         definitions.
44316         (CHECK_BOUNDS_HIGH): Likewise.
44317         * string/strcpy.c: Do not include <bp-checks.h>.
44318         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
44320 2013-02-07  Roland McGrath  <roland@hack.frob.com>
44322         * nscd/nscd-client.h (__nscd_drop_map_ref):
44323         Add __attribute__ ((unused)).
44324         * nis/nss-nisplus.h (niserr2nss): Likewise.
44326         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
44327         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
44329         * csu/libc-tls.c (init_static_tls, init_slotinfo):
44330         Remove inline keyword.
44331         * include/rounding-mode.h (round_away): Likewise.
44332         * libio/wfileops.c (adjust_wide_data): Likewise.
44333         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
44334         (__m128i_strloadu_tolower): Likewise.
44335         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
44336         (__m128i_strloadu_tolower): Likewise.
44337         * time/mktime.c (ydhms_diff): Likewise.
44338         * locale/elem-hash.h (elem_hash): Likewise.
44339         * locale/setlocale.c (setdata): Likewise.
44340         * posix/regex_internal.h (re_string_char_size_at): Likewise.
44341         (re_string_wchar_at): Likewise.
44342         (bitset_not, bitset_merge, bitset_mask): Likewise.
44343         [!(__GNUC__ > 3)] (inline): Remove macro.
44344         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
44345         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
44346         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
44347         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
44348         * string/memcmp.c (memcmp_bytes): Likewise.
44349         * locale/programs/locarchive.c (compute_hashval): Likewise.
44350         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
44351         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
44352         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
44353         * nss/getent.c (print_rpc, print_protocols): Likewise.
44354         (print_passwd, print_group, print_aliases): Likewise.
44355         * nis/nss-nisplus.h (niserr2nss): Likewise.
44356         * nscd/connections.c (restart_p): Likewise.
44357         Change return type to bool.
44359 2013-02-05  Roland McGrath  <roland@hack.frob.com>
44361         * Makeconfig (all-Depend-files): Add existing
44362         $(sorted-subdirs:=/Depend) files.
44363         (all-subdirs): Remove nss.
44364         * sysdeps/unix/inet/Subdirs: Add it here instead.
44365         * hesiod/Depend: New file.
44367         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
44368         instead of calling alloca.
44370         * io/lseek.c (__lseek): Rename to __libc_lseek.
44371         Define __lseek as an alias.
44373         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
44375 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
44377         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
44378         else clause and remove check for non-standard endianness.
44380 2013-02-04  David S. Miller  <davem@davemloft.net>
44382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44384 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
44386         [BZ #13550]
44387         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
44388         (__ubp_memchr): Remove prototype.
44389         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
44390         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44391         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
44392         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44393         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
44394         Remove alias.
44395         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
44396         (__ubp_memchr): Likewise.
44397         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
44398         (__ubp_memchr): Likewise.
44399         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
44400         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
44401         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
44402         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
44403         CHECK_STRING.
44404         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44405         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
44406         (__getcwd): Do not use CHECK_STRING.
44407         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44408         <bp-checks.h>.
44409         (__real_chown): Do not use CHECK_STRING.
44410         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
44411         <bp-checks.h>.
44412         (fchownat): Do not use CHECK_STRING.
44413         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
44414         CHECK_STRING.
44415         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44416         <bp-checks.h>.
44417         (__lchown): Do not use CHECK_STRING.
44418         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
44419         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
44420         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
44421         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
44422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44423         include <bp-checks.h>.
44424         (truncate64): Do not use CHECK_STRING.
44425         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44426         <bp-checks.h>.
44427         (__real_chown): Do not use CHECK_STRING.
44428         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44429         <bp-checks.h>.
44430         (__lchown): Do not use CHECK_STRING.
44431         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44432         <bp-checks.h>.
44433         (__chown): Do not use CHECK_STRING.
44434         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
44435         <bp-checks.h>.
44436         (truncate64): Do not use CHECK_STRING.
44437         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
44438         Likewise.
44439         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
44440         (__xmknod): Do not use CHECK_STRING.
44441         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44442         <bp-checks.h>.
44443         (__xmknodat): Do not use CHECK_STRING.
44444         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
44445         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
44447 2013-02-04  Andreas Schwab  <schwab@suse.de>
44449         [BZ #14142]
44450         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
44451         * include/netdb.h: Likewise for h_errno.
44452         * elf/tst-stackguard1.c: Include <tls.h>.
44454 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
44456         * elf/link.h (struct link_map): Extend the l_addr comment.
44457         * include/link.h (struct link_map): Likewise.
44459 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
44461         [BZ #13550]
44462         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
44463         (BOUNDED_1): Remove macro.
44464         * debug/backtrace.c: Don't include <bp-checks.h>.
44465         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
44466         (__backtrace): Likewise.
44467         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
44468         <bp-checks.h>.
44469         (__backtrace): Don't use BOUNDED_1.
44470         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
44471         <bp-checks.h>.
44472         (__backtrace): Don't use BOUNDED_1.
44473         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
44474         (__backtrace): Don't use BOUNDED_1.
44475         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
44476         (shmat): Don't use BOUNDED_N.
44478 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
44480         [BZ #13550]
44481         * sysdeps/generic/bp-start.h: Remove file.
44482         * csu/libc-start.c: Don't include <bp-start.h>.
44483         (LIBC_START_MAIN): Set up __environ directly instead of using
44484         INIT_ARGV_and_ENVIRON.
44485         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
44486         <bp-start.h>.
44488         [BZ #13550]
44489         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
44490         definitions.
44491         (CHECK_FCNTL): Likewise.
44492         (CHECK_N_PAGES): Likewise.
44494         [BZ #13550]
44495         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
44496         definitions.
44497         (CHECK_SIGSET_NULL_OK): Likewise.
44498         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
44499         <bp-checks.h>.
44500         (sigpending): Don't use CHECK_SIGSET.
44501         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
44502         <bp-checks.h>.
44503         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44504         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
44505         <bp-checks.h>.
44506         (do_sigsuspend): Don't use CHECK_SIGSET.
44507         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
44508         use CHECK_SIGSET.
44509         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
44510         (do_sigwait): Don't use CHECK_SIGSET.
44511         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
44512         use CHECK_SIGSET.
44513         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
44514         include <bp-checks.h>.
44515         (sigpending): Don't use CHECK_SIGSET.
44516         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
44517         include <bp-checks.h>.
44518         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44519         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
44520         <bp-checks.h>.
44521         (sigpending): Don't use CHECK_SIGSET.
44522         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
44523         <bp-checks.h>.
44524         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44526         [BZ #13550]
44527         * sysdeps/generic/bp-semctl.h: Remove file.
44528         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
44529         <bp-checks.h> and <bp-semctl.h>.
44530         (__old_semctl): Don't use CHECK_SEMCTL.
44531         (__new_semctl): Likewise.
44532         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
44533         and <bp-semctl.h>.
44534         (__old_semctl): Don't use CHECK_SEMCTL.
44535         (__new_semctl): Likewise.
44536         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
44537         <bp-checks.h> and <bp-semctl.h>.
44538         (__old_semctl): Don't use CHECK_SEMCTL.
44539         (__new_semctl): Likewise.
44540         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
44541         <bp-checks.h> and <bp-semctl.h>.
44542         (semctl): Don't use CHECK_SEMCTL.
44544         [BZ #13550]
44545         * Makerules (elide-bp-thunks): Remove variable.
44546         (elide-routines.oS): Don't use $(elide-bp-thunks).
44547         (elide-routines.os): Likewise.
44548         (elide-routines.o): Likewise.
44549         (elide-routines.op): Likewise.
44550         (elide-routines.og): Likewise.
44551         (objects): Don't use $(bp-thunks).
44552         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
44553         include.
44554         (common-generated): Do not add s-proto-bp.d.
44555         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
44556         (int): Likewise.
44557         (typ): Likewise.
44558         Do not generate makefile rules for bounded-pointer thunks.
44559         * sysdeps/generic/bp-thunks.h: Remove file.
44560         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
44561         * sysdeps/unix/s-proto-bp.S: Likewise.
44563         [BZ #15062]
44564         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
44565         parts of result separately when argument is not close to line from
44566         -i to i and one part of argument is small.
44567         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44568         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44569         * math/libm-test.inc (cacos_test): Add more tests.
44570         (casin_test): Likewise.
44571         (casinh_test): Likewise.
44572         * sysdeps/i386/fpu/libm-test-ulps: Update.
44573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44575 2013-01-31  David S. Miller  <davem@davemloft.net>
44577         * po/de.po: Update from translation team.
44579 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
44581         * time/tzfile.c: Include stdint.h for SIZE_MAX.
44583 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
44585         * configure.in (_AC_PROG_CC_C89): New definition.
44586         * configure: Regenerate.
44588         * configure.in (AC_PROG_CPP): New definition.
44589         * configure: Regenerate.
44591 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44593         * debug/tst-backtrace.h: New file.
44594         * debug/tst-backtrace2.c: Include tst-backtrace.h.
44595         (ret): Remove variable.
44596         (x): Likewise.
44597         (FAIL): Remove macro.
44598         (NO_INLINE): Likewise.
44599         (fn1): Use match function instead of strstr.
44600         * debug/tst-backtrace3.c: Include tst-backtrace.h.
44601         (ret): Remove variable.
44602         (x): Likewise.
44603         (FAIL): Remove macro.
44604         (NO_INLINE): Likewise.
44605         (fn): Use match function instead of strstr.
44606         * debug/tst-backtrace4.c: Include tst-backtrace.h.
44607         (ret): Remove variable.
44608         (x): Likewise.
44609         (FAIL): Remove macro.
44610         (NO_INLINE): Likewise.
44611         (handle_signal): Use match function instead of strstr.
44612         * debug/tst-backtrace5.c: Include tst-backtrace.h.
44613         (ret): Remove variable.
44614         (x): Likewise.
44615         (FAIL): Remove macro.
44616         (NO_INLINE): Likewise.
44617         (handle_signal): Use match function instead of strstr.
44619 2013-01-23  Roland McGrath  <roland@hack.frob.com>
44621         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
44623 2013-01-23  David S. Miller  <davem@davemloft.net>
44625         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
44626         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
44627         argument of CAS if possible.
44628         * sysdeps/sparc/sparc64/bits/atomic.h
44629         (__arch_compare_and_exchange_val_32_acq): Likewise.
44630         (__arch_compare_and_exchange_val_64_acq): Likewise.
44632 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
44634         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
44635         * sysdeps/posix/ulimit.c: ... this.
44636         Include <limits.h>.
44637         * sysdeps/unix/bsd/ulimit.c: Remove file.
44639 2013-01-23  Adam Conrad  <adconrad@0c3.net>
44641         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
44642         (LDFLAGS-tst-array5): Likewise.
44644 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44646         [BZ #15036]
44647         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
44648         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
44649         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
44650         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
44652 2013-01-21  David S. Miller  <davem@davemloft.net>
44654         * sysdeps/sparc/backtrace.c: New file.
44655         * sysdeps/sparc/sparc32/backtrace.h: New file.
44656         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
44657         * sysdeps/sparc/sparc64/backtrace.h: New file.
44658         * sysdeps/sparc/sparc64/backtrace.c: Delete.
44659         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
44660         -funwind-tables.
44662 2013-01-21  Andreas Schwab  <schwab@suse.de>
44664         [BZ #15020]
44665         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
44666         closed its stdout.
44668 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
44670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
44671         "mpa2.h".
44672         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44674 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
44675             Mark Mitchell  <mark@codesourcery.com>
44676             Tom de Vries  <tom@codesourcery.com>
44677             Paul Pluzhnikov  <ppluzhnikov@google.com>
44679         * debug/tst-backtrace2.c: New file.
44680         * debug/tst-backtrace3.c: Likewise.
44681         * debug/tst-backtrace4.c: Likewise.
44682         * debug/tst-backtrace5.c: Likewise.
44683         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
44684         (CFLAGS-tst-backtrace3.c): Likewise.
44685         (CFLAGS-tst-backtrace4.c): Likewise.
44686         (CFLAGS-tst-backtrace5.c): Likewise.
44687         (LDFLAGS-tst-backtrace2): Likewise.
44688         (LDFLAGS-tst-backtrace3): Likewise.
44689         (LDFLAGS-tst-backtrace4): Likewise.
44690         (LDFLAGS-tst-backtrace5): Likewise.
44691         (tests): Add new tests tst-backtrace2, tst-backtrace3,
44692         tst-backtrace4 and tst-backtrace5.
44694 2013-01-18  Anton Blanchard  <anton@samba.org>
44695             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44697         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
44698         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
44699         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
44700         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
44701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
44702         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
44703         "+r" and remove output regs list as redundant.  Add explicit inline
44704         asm to specify register of return val to work around compiler codegen
44705         bug.  Remove (int) cast on return value.  Add return type parameter to
44706         use in macro so that this macro does not truncate return value for
44707         64-bit values.
44708         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
44709         pass to INTERNAL_VSYSCALL_NCS.
44710         (INLINE_VSYSCALL): Add 'long int' as return type to
44711         INTERNAL_VSYSCALL_NCS macro invocation.
44712         (INTERNAL_VSYSCALL): Add 'long int' as return type to
44713         INTERNAL_VSYSCALL_NCS macro invocation.
44714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44716 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44718         [BZ #14496]
44719         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
44720         Fix application of SIMD FP exception mask.
44722         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
44723         mp_no from a power of two.
44724         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
44725         __mpexp_twomm1.  Use __pow_mp.
44727         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
44728         multiplication.
44730 2013-01-17  David S. Miller  <davem@davemloft.net>
44732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44734 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44736         [BZ #15023]
44737         * include/complex.h: Condition contents on [!_COMPLEX_H].
44738         (__kernel_casinhf): New prototype.
44739         (__kernel_casinh): Likewise.
44740         (__kernel_casinhl): Likewise.
44741         * math/Makefile (libm_calls): Add k_casinh.
44742         * math/k_casinh.c: New file.
44743         * math/k_casinhf.c: Likewise.
44744         * math/k_casinhl.c: Likewise.
44745         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
44746         finite nonzero arguments.
44747         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
44748         finite nonzero arguments.
44749         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
44750         finite nonzero arguments.
44751         * math/s_casinh.c: Do not include <float.h>.
44752         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
44753         * math/s_casinhf.c: Do not include <float.h>.
44754         (__casinhf): Move code for finite nonzero arguments to
44755         k_casinhf.c.
44756         * math/s_casinhl.c: Do not include <float.h>.
44757         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
44758         redefine.
44759         (__casinhl): Move code for finite nonzero arguments to
44760         k_casinhl.c.
44761         * math/libm-test.inc (cacos_test): Add more tests.
44762         * sysdeps/i386/fpu/libm-test-ulps: Update.
44763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44765 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
44767         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
44768         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
44769         [!HAVE_MREMAP]: Remove [defined linux] case.
44770         * malloc/arena.c: Do not include <malloc-sysdep.h>.
44772 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44774         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
44776 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
44778         * elf/elf.h (R_386_SIZE32): New relocation.
44779         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
44780         R_386_SIZE32.
44781         (elf_machine_rela): Likewise.
44782         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44783         R_X86_64_SIZE64 and R_X86_64_SIZE32.
44785 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44787         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
44788         (FP_FAST_FMA): Do not define.
44789         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
44790         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
44791         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
44792         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
44793         !_SOFT_FLOAT]: Likewise.
44794         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
44795         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
44796         value.
44797         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
44798         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
44799         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
44800         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
44801         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
44802         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
44803         file.
44805 2013-01-16  Andreas Schwab  <schwab@suse.de>
44807         [BZ #14327]
44808         * include/stdlib.h (__mktemp): Add declaration.
44809         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
44810         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
44812 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44814         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
44815         definitions.
44816         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
44817         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
44818         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
44819         definitions here.
44820         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
44821         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
44822         definitions.
44823         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
44824         and ONE.
44825         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
44826         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
44827         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
44828         definitions.
44829         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
44830         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
44831         definitions.
44832         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
44834         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
44836 2013-01-15  David S. Miller  <davem@davemloft.net>
44838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44839         trunc{,f} to libm-sysdep_routes.
44840         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
44842         file.
44843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
44844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
44845         file.
44846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
44847         file.
44848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
44849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
44850         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
44851         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
44852         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
44853         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
44854         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
44855         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
44857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44858         nearbyint{,f} to libm-sysdep_routes.
44859         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
44861         New file.
44862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
44863         file.
44864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
44865         New file.
44866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
44867         file.
44868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
44869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
44870         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
44871         file.
44872         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
44873         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
44874         file.
44875         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
44876         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
44877         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
44879         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44880         libc_feholdexcept and libc_fesetenv.
44882 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
44884         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
44886 2013-01-14  David S. Miller  <davem@davemloft.net>
44888         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
44889         (SPARC_ASM_VIS2_IFUNC): Likewise.
44890         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
44891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
44892         use of 'siam' instruction.
44893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
44894         Likewise.
44895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
44896         Likewise.
44897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
44898         Likewise.
44899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
44900         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
44901         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
44902         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
44903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
44904         file.
44905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
44906         file.
44907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
44908         file.
44909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
44910         file.
44911         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
44912         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
44913         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
44914         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
44915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
44916         new VIS2 routines.
44917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44920         Likewise.
44921         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44922         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44923         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44924         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
44926         routines to libm-sysdep_routines.
44927         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44930         fdim/fdimf to libm-sysdep_routines.
44931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
44932         file.
44933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
44934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
44935         file.
44936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
44937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
44938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
44939         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
44940         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
44941         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
44942         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
44944 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44946         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
44947         to optimize copies.
44949         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
44950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
44954         local variable MPTWO.
44955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44956         Likewise.
44958 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44960         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
44961         GLOB_NOESCAPE.
44963 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44965         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
44967 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44969         * manual/pattern.texi (glob_t): Document gl_flags.
44970         (glob64_t): Likewise.
44972 2013-01-11  David S. Miller  <davem@davemloft.net>
44974         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
44975         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
44976         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
44977         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
44978         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
44979         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
44980         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
44981         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
44982         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
44983         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
44984         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
44985         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
44986         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
44988         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44989         sparc V9 rather than using V8 code.
44990         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44991         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44993         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44994         Move to...
44995         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
44996         Here.
44998 2013-01-11  Roland McGrath  <roland@hack.frob.com>
45000         [BZ #14941]
45001         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
45002         not in the main loop.
45003         * configure: Regenerated.
45005 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
45007         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
45008         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
45009         to just #else.
45010         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
45011         [!__GLIBC_HAVE_LONG_LONG] case.
45012         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
45013         condition to just #else.
45014         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
45015         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
45016         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
45017         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
45018         unconditional.
45019         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
45020         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45021         #elif condition to just #else.
45022         * sysdeps/unix/sysv/linux/sys/sysmacros.h
45023         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
45024         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45025         #elif condition to just #else.
45027 2013-01-11  Steve Ellcey  <sellcey@mips.com>
45029         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
45030         (EF_MIPS_ARCH_64): Fix value.
45031         (EF_MIPS_ARCH_32R2): New.
45032         (EF_MIPS_ARCH_64R2): New.
45034 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
45036         * Makeconfig (+link-pie-before-libc): New.
45037         (+link-pie-after-libc): Likewise.
45038         (+link-pie-tests): Likewise.
45039         (+link-pie): Rewritten.
45040         (link-before-libc): Remove $(config-LDFLAGS).
45041         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
45042         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
45043         (config-LDFLAGS): Renamed to ...
45044         (rtld-LDFLAGS): This.
45045         (rtld-tests-LDFLAGS): New macro.
45046         (link-libc-rpath-link): Likewise.
45047         (link-libc-tests-rpath-link): Likewise.
45048         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
45049         (link-libc): Prepand $(link-libc-rpath-link).
45050         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
45051         (test-program-prefix): New macro.
45052         (test-via-rtld-prefix): Likewise.
45053         (test-program-cmd): Likewise.
45054         (host-test-program-cmd): Likewise.
45055         * Makefile ($(common-objpfx)testrun.sh): Replace
45056         $(run-program-prefix) with $(test-program-prefix).
45057         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
45058         $(rtld-LDFLAGS).
45059         ($(common-objpfx)shlib.lds): Likewise.
45060         (build-module-helper): Likewise.
45061         ($(common-objpfx)format.lds): Likewise.
45062         * Rules (binaries-pie-tests): New.
45063         (binaries-pie-notests): Likewise.
45064         (binaries-pie): Rewritten.
45065         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
45066         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
45067         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
45068         (make-test-out): Replace $(host-built-program-cmd) with
45069         $(host-test-program-cmd).
45070         * config.make.in (build-hardcoded-path-in-tests): New variable.
45071         * configure.in (--enable-hardcoded-path-in-tests): New configure
45072         option.
45073         (hardcoded_path_in_tests): New AC_SUBST.
45074         * configure: Regenerated.
45075         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
45076         $(built-program-cmd) with $(test-program-cmd).
45077         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
45078         (test_program_cmd): This.
45079         * elf/Makefile ($(objpfx)order.out): Run test with
45080         $(test-program-prefix).
45081         ($(objpfx)order2.out): Likewise.
45082         ($(objpfx)tst-initorder.out): Likewise.
45083         ($(objpfx)tst-initorder2.out): Likewise.
45084         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
45085         $(test-program-cmd).
45086         ($(objpfx)tst-array1-static.out): Likewise.
45087         ($(objpfx)tst-array2.out): Likewise.
45088         ($(objpfx)tst-array3.out): Likewise.
45089         ($(objpfx)tst-array4.out): Likewise.
45090         ($(objpfx)tst-array5.out): Likewise.
45091         ($(objpfx)tst-array5-static.out): Likewise.
45092         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
45093         $(test-program-cmd).
45094         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
45095         $(run-program-prefix) with $(test-program-prefix).
45096         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
45097         (test_program_prefix): This.
45098         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
45099         $(run-program-prefix) with $(test-program-prefix).
45100         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
45101         (test_program_prefix): This.
45102         * iconvdata/tst-tables.sh: Likewise.
45103         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
45104         $(run-program-prefix) with $(test-program-prefix).
45105         ($(objpfx)tst-translit.out): Likewise.
45106         ($(objpfx)tst-gettext2.out): Likewise.
45107         ($(objpfx)tst-gettext4.out): Likewise.
45108         ($(objpfx)tst-gettext6.out): Likewise.
45109         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
45110         (test_program_prefix): This.
45111         * intl/tst-gettext2.sh: Likewise.
45112         * intl/tst-gettext4.sh  Likewise.
45113         * intl/tst-gettext6.sh: Likewise.
45114         * intl/tst-translit.sh: Likewise.
45115         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
45116         with $(test-program-cmd).
45117         * libio/Makefile ($(objpfx)test-freopen.out): Replace
45118         $(run-program-prefix) with $(test-program-prefix).
45119         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
45120         (test_program_prefix): This.
45121         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
45122         $(run-program-prefix) with $(test-program-prefix).
45123         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
45124         (test_program_prefix): This.
45125         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
45126         * posix/Makefile ($(objpfx)globtest.out): Replace
45127         $(run-via-rtld-prefix) and $(test-wrapper) with
45128         $(test-program-prefix) and $(test-via-rtld-prefix).
45129         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
45130         $(test-program-prefix).
45131         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
45132         $(host-test-program-cmd).
45133         (tst-spawn-ARGS): Likewise.
45134         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
45135         $(test-program-prefix).
45136         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
45137         (test_via_rtld_prefix): This.
45138         (test_wrapper): Renamed to ...
45139         (test_program_prefix): This.
45140         (run_program_prefix): Replaced by test_program_prefix.
45141         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
45142         (test_program_prefix): This.
45143         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
45144         with $(host-test-program-cmd).
45145         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
45146         $(run-program-prefix) with $(test-program-prefix).
45147         ($(objpfx)tst-printf.out): Likewise.
45148         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
45149         $(test-program-cmd).
45150         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
45151         (test_program_prefix): This.
45152         * stdio-common/tst-unbputc.sh: Likewise.
45153         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
45154         $(run-program-prefix) with $(test-program-prefix).
45155         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
45156         (test_program_prefix): This.
45157         * string/Makefile ($(objpfx)tst-svc.out):  Replace
45158         $(built-program-cmd) with $(test-program-cmd).
45160 2013-01-11  Andreas Jaeger  <aj@suse.de>
45162         [BZ #15003]
45163         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
45164         value. Sync with Linux 3.7.
45166 2013-01-10  David S. Miller  <davem@davemloft.net>
45168         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
45169         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45170         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45172 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45174         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
45175         never set.
45176         * configure: Regenerated.
45178 2013-01-10  David S. Miller  <davem@davemloft.net>
45180         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
45181         sparc V9 rather than using V8 code.
45182         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45183         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45185 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45187         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
45188         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
45189         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
45190         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
45191         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
45192         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
45193         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
45194         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
45195         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
45196         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
45197         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
45198         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
45199         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
45200         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
45201         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
45202         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
45203         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
45204         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
45205         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
45206         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
45207         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
45208         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
45209         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
45210         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
45211         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
45212         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
45213         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
45215 2013-01-10  David S. Miller  <davem@davemloft.net>
45217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45219 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45221         * posix/Makefile (tests-static): New variable.
45222         (tests): Add $(tests-static).
45223         (tst-exec-static-ARGS): New variable.
45224         (tst-spawn-static-ARGS): Likewise.
45225         * posix/tst-exec-static.c: New file.
45226         * posix/tst-spawn-static.c: Likewise.
45227         * posix/tst-exec.c: Support run directly.
45228         * posix/tst-spawn.c: Likewise.
45230 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
45232         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
45233         long.
45234         * math/bits/mathcalls.h (llrint): Likewise.
45235         (llround): Likewise.
45236         * stdlib/stdlib.h (struct drand48_data): Likewise.
45237         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
45238         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
45239         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
45240         Likewise.
45241         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
45242         Likewise.
45243         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
45244         (elf_greg_t): Likewise.
45245         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
45246         (__jmp_buf): Likewise.
45247         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
45248         definitions.
45249         (llrint): Likewise, for all definitions.
45250         (llrintl): Likewise.
45252         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
45253         Remove [__GNUC__] condition.
45254         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
45255         condition to just [__USE_ISOC99].
45256         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
45258 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45260         [BZ #14200]
45261         * sysdeps/unix/sysv/linux/x86/bits/environments.h
45262         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
45263         defined.
45264         (_POSIX_V6_ILP32_OFF32): Likewise.
45265         (_XBS5_ILP32_OFF32): Likewise.
45266         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
45267         (__ILP32_OFFBIG_LDFLAGS): Likewise.
45269 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45271         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
45273         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
45274         doubles __mpexp_twomm1.  Adjust usage.
45275         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
45276         Remove.
45278 2013-01-10  Andreas Schwab  <schwab@suse.de>
45280         [BZ #14964]
45281         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
45282         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
45284 2013-01-09  David S. Miller  <davem@davemloft.net>
45286         [BZ #15003]
45287         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
45288         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
45289         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
45290         (TCP_FASTOPEN): Define.
45291         (tcp_repair_opt): New structure.
45292         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
45293         enum values.
45294         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
45295         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
45296         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
45297         (tcp_cookie_transactions): New structure.
45299 2013-01-09  Anton Blanchard  <anton@samba.org>
45301         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
45302         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
45303         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
45304         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
45306 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
45308         * include/features.h (__USE_ANSI): Remove.
45310 2013-01-09  Roland McGrath  <roland@hack.frob.com>
45312         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
45314         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
45316 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45318         * sysdeps/s390/fpu/libm-test-ulps: Update.
45320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45322         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
45323         (__acr): Likewise.
45324         (__cpy): Likewise.
45325         (norm): Likewise.
45326         (denorm): Likewise.
45327         (__mp_dbl): Likewise.
45328         (__dbl_mp): Likewise.
45329         (add_magnitudes): Likewise.
45330         (sub_magnitudes): Likewise.
45331         (__add): Likewise.
45332         (__sub): Likewise.
45333         (__mul): Likewise.
45334         (__inv): Likewise.
45335         (__dvd): Likewise.
45336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
45337         (__acr): Likewise.
45338         (__cpy): Likewise.
45339         (norm): Likewise.
45340         (denorm): Likewise.
45341         (__mp_dbl): Likewise.
45342         (__dbl_mp): Likewise.
45343         (add_magnitudes): Likewise.
45344         (sub_magnitudes): Likewise.
45345         (__add): Likewise.
45346         (__sub): Likewise.
45347         (__mul): Likewise.
45348         (__inv): Likewise.
45349         (__dvd): Likewise.
45350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
45351         (__acr): Likewise.
45352         (__cpy): Likewise.
45353         (norm): Likewise.
45354         (denorm): Likewise.
45355         (__mp_dbl): Likewise.
45356         (__dbl_mp): Likewise.
45357         (add_magnitudes): Likewise.
45358         (sub_magnitudes): Likewise.
45359         (__add): Likewise.
45360         (__sub): Likewise.
45361         (__mul): Likewise.
45362         (__inv): Likewise.
45363         (__dvd): Likewise.
45365 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
45367         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
45368         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
45369         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
45370         2 && __USE_EXTERN_INLINES]: Likewise.
45372 2013-01-08  Andreas Jaeger  <aj@suse.de>
45374         [BZ# 14985]
45375         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
45376         Remove.
45377         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45378         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45380 2013-01-07  Anton Blanchard  <anton@samba.org>
45382         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
45383         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45384         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
45385         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45386         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45387         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45388         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
45389         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45391         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45392         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45393         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45394         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45395         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45396         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45397         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45398         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45399         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45400         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45401         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45402         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45403         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
45404         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45405         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45406         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
45407         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45408         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45409         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45410         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
45411         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45412         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45413         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45414         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45415         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45416         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45417         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45418         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45419         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45420         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
45421         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45422         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
45423         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45424         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45426 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
45428         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
45429         (__MALLOC_PMT): Likewise.
45430         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
45431         [__GNUC__], only on [_LIBC].
45432         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45433         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
45434         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45435         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
45436         forward declaration.
45437         (realloc_hook_ini): Likewise.
45438         (memalign_hook_ini): Likewise.
45439         (__libc_memalign): Do not use __MALLOC_PMT in variable
45440         declaration.
45441         (__libc_valloc): Likewise.
45442         (__libc_pvalloc): Likewise.
45443         (__libc_calloc): Likewise.
45444         (__posix_memalign): Likewise.
45446         [BZ #14996]
45447         * math/s_casinh.c: Include <float.h>.
45448         (__casinh): Do not do computation with squaring and square root
45449         for large arguments.
45450         * math/s_casinhf.c: Include <float.h>.
45451         (__casinhf): Do not do computation with squaring and square root
45452         for large arguments.
45453         * math/s_casinhl.c: Include <float.h>.
45454         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
45455         (__casinhl): Do not do computation with squaring and square root
45456         for large arguments.
45457         * math/libm-test.inc (casin_test): Add more tests.
45458         (casinh_test): Likewise.
45459         * sysdeps/i386/fpu/libm-test-ulps: Update.
45460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45462 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
45464         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
45465         (__x86_64_raw_data_cache_size): Likewise.
45466         (__x86_64_data_cache_size_half): Likewise.
45467         (__x86_64_raw_data_cache_size_half): Likewise.
45468         (__x86_64_shared_cache_size): Likewise.
45469         (__x86_64_raw_shared_cache_size): Likewise.
45470         (__x86_64_shared_cache_size_half): Likewise.
45471         (__x86_64_raw_shared_cache_size_half): Likewise.
45472         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
45473         to ...
45474         (__x86_data_cache_size): This.
45475         (__x86_64_raw_data_cache_size): Renamed to ...
45476         (__x86_raw_data_cache_size): This.
45477         (__x86_64_data_cache_size_half): Renamed to ...
45478         (__x86_data_cache_size_half): This.
45479         (__x86_64_raw_data_cache_size_half): Renamed to ...
45480         (__x86_raw_data_cache_size_half): This.
45481         (__x86_64_shared_cache_size): Renamed to ...
45482         (__x86_shared_cache_size): This.
45483         (__x86_64_raw_shared_cache_size): Renamed to ...
45484         (__x86_raw_shared_cache_size): This.
45485         (__x86_64_shared_cache_size_half): Renamed to ...
45486         (__x86_shared_cache_size_half): This.
45487         (__x86_64_raw_shared_cache_size_half): Renamed to ...
45488         (__x86_raw_shared_cache_size_half): This.
45489         * sysdeps/x86_64/memcpy.S: Updated.
45490         * sysdeps/x86_64/memset.S: Likewise.
45491         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45492         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45493         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45495 2013-01-04  David S. Miller  <davem@davemloft.net>
45497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45499 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
45501         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
45502         1 to avoid redefinition warning.
45503         (__USE_GNU): Don't define.
45504         (init_signaling_nan): Protoize.
45506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45508 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45510         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
45511         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
45512         (__cpymn): Likewise.
45513         (norm): Remove commented code.
45514         (denorm): Likewise.
45515         (__mp_dbl): Likewise.
45516         (__inv): Likewise.
45517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
45518         (__cpymn): Likewise.
45519         (norm): Remove commented code.
45520         (denorm): Likewise.
45521         (__mp_dbl): Likewise.
45522         (__inv): Likewise.
45524         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
45525         mp_no value for 1.0 and 2.0.
45526         (norm): Use RADIXI instead of radixi.d.
45527         (denorm): Likewise.
45528         (__mul): Use 0.0 instead of zero.d.
45529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
45530         mp_no value for 1.0 and 2.0.
45531         (norm): Use RADIXI instead of radixi.d.
45532         (denorm): Likewise.
45533         (__mul): Use 0.0 instead of zero.d.
45535 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
45537         [BZ #14994]
45538         * math/s_casinh.c (__casinh): Reduce finite argument to first
45539         quadrant then set signs of results at the end.
45540         * math/s_casinhf.c (__casinhf): Likewise.
45541         * math/s_casinhl.c (__casinhl): Likewise.
45542         * math/libm-test.inc (casin_test): Add more tests.
45543         (casinh_test): Likewise.
45544         * sysdeps/i386/fpu/libm-test-ulps: Update.
45545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45547 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45549         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
45551         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
45553         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
45554         declarations.
45555         (denorm): Likewise.
45556         (__mp_dbl): Likewise.
45557         (__inv): Likewise.
45559         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
45560         and adjust the header comment.
45562         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
45563         variable name from declaration.
45565 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
45567         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45568         Initialize COMMON_CPUID_INDEX_7 element.
45569         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
45570         (CPUID_RTM): Likewise.
45571         (HAS_RTM): Likewise.
45572         (COMMON_CPUID_INDEX_7): New enum.
45574 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
45576         [BZ #14981]
45577         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
45578         size is zero, record memory as freed.
45580 2013-01-03  Andreas Jaeger  <aj@suse.de>
45582         * po/ia.po: Add new Interlingua translation.
45584 2012-01-03  Allan McRae  <allan@archlinux.org>
45586         * locale/programs/localedef.c: Fix description of '--posix' flag.
45588 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
45590         * NEWS: Update dates in second copyright notice.
45591         * README: Update copyright dates in example.
45592         * manual/libc.texinfo: Update copyright dates.
45593         * scripts/test-installation.pl: Update copyright date in --version
45594         output.
45596         * hurd/ctty-input.c: Fix copyright notice formatting.
45597         * hurd/ctty-output.c: Likewise.
45598         * hurd/dtable.c: Likewise.
45599         * hurd/hurd-raise.c: Likewise.
45600         * hurd/hurdprio.c: Likewise.
45601         * hurd/msgportdemux.c: Likewise.
45602         * misc/sys/file.h: Likewise.
45603         * misc/sys/ioctl.h: Likewise.
45604         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45605         * sysdeps/mach/hurd/chdir.c: Likewise.
45606         * sysdeps/mach/hurd/fchdir.c: Likewise.
45607         * sysdeps/mach/hurd/rename.c: Likewise.
45608         * sysdeps/mach/hurd/rmdir.c: Likewise.
45609         * sysdeps/mach/hurd/seekdir.c: Likewise.
45610         * sysdeps/mach/hurd/setsid.c: Likewise.
45611         * sysdeps/posix/wait3.c: Likewise.
45613         * All files with FSF copyright notices: Update copyright dates
45614         using scripts/update-copyrights.
45615         * intl/plural.c: Regenerated.
45616         * locale/programs/charmap-kw.h: Likewise.
45617         * locale/programs/locfile-kw.h: Likewise.
45619 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45621         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
45622         four values.
45624         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
45625         calculation loop and add branch prediction.
45627         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
45628         check access beyond bounds of m1np.
45630         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45631         MPTWO.
45632         (__inv): Remove local variable MPTWO to use the global
45633         constant.
45634         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
45635         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45636         variable MPTWO.
45637         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
45638         MP3HALFS static const.
45640 2013-01-01  David S. Miller  <davem@davemloft.net>
45642         * po/ca.po: Update from translation team.
45644 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
45646         * scripts/update-copyrights: New file.
45647         * Makeconfig: Reformat copyright notice.
45648         * ctype/ctype.h: Likewise.
45649         * debug/swprintf_chk.c: Likewise.
45650         * elf/dl-cache.c: Likewise.
45651         * elf/dl-debug.c: Likewise.
45652         * elf/dl-object.c: Likewise.
45653         * grp/initgroups.c: Likewise.
45654         * hurd/Makefile: Likewise.
45655         * hurd/hurd/signal.h: Likewise.
45656         * hurd/hurdfault.c: Likewise.
45657         * hurd/hurdioctl.c: Likewise.
45658         * hurd/hurdlookup.c: Likewise.
45659         * hurd/intr-msg.c: Likewise.
45660         * iconv/gconv_open.c: Likewise.
45661         * libio/swprintf.c: Likewise.
45662         * locale/lc-ctype.c: Likewise.
45663         * locale/nl_langinfo.c: Likewise.
45664         * mach/Machrules: Likewise.
45665         * mach/Makefile: Likewise.
45666         * malloc/obstack.h: Likewise.
45667         * manual/Makefile: Likewise.
45668         * manual/tsort.awk: Likewise.
45669         * misc/bits/stab.def: Likewise.
45670         * nis/nis_print_group_entry.c: Likewise.
45671         * nis/nis_table.c: Likewise.
45672         * nis/nss_compat/compat-pwd.c: Likewise.
45673         * nis/nss_compat/compat-spwd.c: Likewise.
45674         * po/Makefile: Likewise.
45675         * posix/fnmatch.c: Likewise.
45676         * posix/regex.h: Likewise.
45677         * resolv/Makefile: Likewise.
45678         * resolv/nss_dns/dns-network.c: Likewise.
45679         * resolv/res_hconf.c: Likewise.
45680         * scripts/gen-sorted.awk: Likewise.
45681         * soft-fp/soft-fp.h: Likewise.
45682         * stdio-common/printf.h: Likewise.
45683         * stdlib/monetary.h: Likewise.
45684         * stdlib/random.c: Likewise.
45685         * stdlib/random_r.c: Likewise.
45686         * sysdeps/generic/Makefile: Likewise.
45687         * sysdeps/gnu/Makefile: Likewise.
45688         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45689         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45690         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45691         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45692         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45693         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45694         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45695         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45696         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45697         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45698         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45699         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45700         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45701         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45702         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
45703         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45704         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45705         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45706         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45707         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45708         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45709         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45710         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45711         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45712         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
45713         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45714         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45715         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
45716         * sysdeps/mach/hurd/errnos.awk: Likewise.
45717         * sysdeps/mach/hurd/fork.c: Likewise.
45718         * sysdeps/mach/hurd/getcwd.c: Likewise.
45719         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
45720         * sysdeps/mach/hurd/mmap.c: Likewise.
45721         * sysdeps/mach/hurd/utimes.c: Likewise.
45722         * sysdeps/mach/hurd/xmknod.c: Likewise.
45723         * sysdeps/posix/profil.c: Likewise.
45724         * sysdeps/posix/readdir_r.c: Likewise.
45725         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45726         * sysdeps/powerpc/bits/setjmp.h: Likewise.
45727         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
45728         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45729         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45730         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45731         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45732         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45734         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45735         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45736         * sysdeps/pthread/lio_listio.c: Likewise.
45737         * sysdeps/sparc/dl-procinfo.h: Likewise.
45738         * sysdeps/unix/i386/sysdep.S: Likewise.
45739         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
45740         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
45741         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
45742         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
45743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45744         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
45745         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
45746         * sysdeps/unix/sysv/linux/speed.c: Likewise.
45747         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45748         * sysdeps/wordsize-32/divdi3.c: Likewise.
45749         * time/sys/time.h: Likewise.
45750         * wcsmbs/Makefile: Likewise.
45752 2013-01-01  David S. Miller  <davem@davemloft.net>
45754         * po/fr.po: Update from translation team.
45756         * catgets/gencat.c: Update copyright year.
45757         * csu/version.c: Likewise.
45758         * debug/catchsegv.sh: Likewise.
45759         * debug/pcprofiledump.c: Likewise.
45760         * debug/xtrace.sh: Likewise.
45761         * elf/ldconfig.c: Likewise.
45762         * elf/ldd.bash.in: Likewise.
45763         * elf/pldd.c: Likewise.
45764         * elf/sotruss.ksh: Likewise.
45765         * elf/sprof.c: Likewise.
45766         * iconv/iconv_prog.c: Likewise.
45767         * iconv/iconvconfig.c: Likewise.
45768         * locale/programs/locale.c: Likewise.
45769         * locale/programs/localedef.c: Likewise.
45770         * login/programs/pt_chown.c: Likewise.
45771         * malloc/memusage.sh: Likewise.
45772         * malloc/memusagestat.c: Likewise.
45773         * malloc/mtrace.pl: Likewise.
45774         * nscd/nscd.c: Likewise.
45775         * nss/getent.c: Likewise.
45776         * nss/makedb.c: Likewise.
45777         * posix/getconf.c: Likewise.
45779 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45781         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
45782         numbers.
45784 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
45786         * math/bits/mathcalls.h (modf): Use __nonnull.
45788 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45790         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
45791         (split): Use macro CN instead of the bare value.
45792         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
45793         could be used.
45794         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
45795         instead of the bare value.
45796         (power1): Likewise.
45798 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45800         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
45801         __ATAN_TWOM.
45802         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45804         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
45805         their values.
45806         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45807         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45808         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
45809         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45811 2012-12-28  Andreas Jaeger  <aj@suse.de>
45813         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
45814         values are from Linux 3.7.
45816         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
45817         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
45819 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45821         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
45822         TRUE case.
45824         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
45825         (norm): Likewise.
45826         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
45827         variables with preprocessor constants.
45828         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45829         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45830         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45832 2012-12-27  Bruno Haible  <bruno@clisp.org>
45834         [BZ #14317]
45835         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
45836         only if needed.
45838 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45840         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
45841         and use variable directly.
45842         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
45844         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45845         MPONE.
45846         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
45847         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45848         variable MPONE.
45849         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45850         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45851         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
45852         include directive.  Remove local variable MPONE.
45853         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
45854         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
45855         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45857 2012-12-25  David S. Miller  <davem@davemloft.net>
45859         * version.h (RELEASE): Set to "development".
45860         (VERSION): Set to "2.17.90".
45861         * NEWS: Add 2.18 section.
45863 2012-12-21  David S. Miller  <davem@davemloft.net>
45865         * po/hr.po: Update from translation team.
45867 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45869         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
45871 2012-12-19  Steve Ellcey  <sellcey@mips.com>
45873         * NEWS:  Mention new memcpy for MIPS.
45875 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45877         * manual/contrib.texi (Contributors): Spelling correction.
45879 2012-12-15  David S. Miller  <davem@davemloft.net>
45881         * po/ru.po: Update from translation team.
45883 2012-12-13  David S. Miller  <davem@davemloft.net>
45885         * NEWS: Mention IFUNC testsuite enhancements.
45887         * po/pl.po: Update from translation team.
45888         * po/bg.po: Likewise.
45890         * manual/contrib.texi (Contributors): Update entries for Hongjiu
45891         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
45893 2012-12-11  David S. Miller  <davem@davemloft.net>
45895         * po/sv.po: Update from translation team.
45897         * po/vi.po: Update from translation team.
45899         * po/cs.po: Update from translation team.
45901         * po/de.po: Update from translation team.
45902         * po/eo.po: Likewise.
45903         * po/nl.po: Likewise.
45905 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45907         [BZ #14246]
45908         * manual/argp.texi (Argp Helper Functions): Move node to follow
45909         Argp Parsing State.
45911         [BZ #14872]
45912         * manual/conf.texi (Limits on File System Capacity): Mention if
45913         terminating null is included in the max size.
45915 2012-12-10  Andreas Jaeger  <aj@suse.de>
45917         * po/cs.po: Update from translation team.
45919 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45921         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
45922         void pointer and cast to uintptr_t.
45923         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
45924         path.
45925         * sysdeps/s390/s390-64/memcpy.S: Likewise.
45926         * sysdeps/s390/s390-64/memset.S: Likewise.
45928 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
45930         [BZ #14833]
45931         * menual/message.texi (Message Translation): Fix typos.
45932         (Helper programs for gettext): Likewise.
45934 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
45936         [BZ #14898]
45937         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
45938         Change to -1.
45940 2012-12-07  David S. Miller  <davem@davemloft.net>
45942         * po/libc.pot: Update.
45944 2012-12-07  Richard Henderson  <rth@redhat.com>
45946         [BZ #10114]
45947         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
45948         normal/normal case to before the switch.
45949         (_FP_DIV): Likewise.
45951 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
45952             Mike Frysinger  <vapier@gentoo.org>
45954         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
45955         check for __NR_fadvise64_64.
45957 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
45959         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
45960         0, not just to plain "0" as a statement.
45961         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
45962         with cw.
45964 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
45966         * NEWS: Use sourceware.org in Bugzilla URL.
45968 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
45971         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45973         * stdio-common/tst-put-error.c (do_test): Add newline to the
45974         padded test to ensure flush.
45976 2012-12-05  Jeff Law  <law@redhat.com>
45978         * sunrpc/etc.rpc (fedfs_admin): Add entry.
45980 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
45982         * README: Don't refer to ports add-on as distributed separately.
45983         Mention AArch64 in list of systems supported in the ports add-on.
45985         * LICENSES: Add more non-FSF copyright and license notices.
45987         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
45988         ((unused)).
45990         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
45992         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
45993         10000 as width of padded output.
45995 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
45997         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
45999         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
46000         variable LX with __attribute__ ((unused)).
46001         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46002         Likewise.
46003         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46004         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46005         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
46006         with __attribute__ ((unused)).
46008 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
46010         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
46012 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46014         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
46015         (CFLAGS-nldbl-acos.c): New variable.
46016         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
46017         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
46018         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
46019         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
46020         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
46021         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
46022         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
46023         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
46024         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
46025         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
46026         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
46027         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
46028         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
46029         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
46030         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
46031         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
46032         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
46033         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
46034         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
46035         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
46036         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
46037         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
46038         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
46039         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
46040         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
46041         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
46042         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
46043         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
46044         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
46045         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
46046         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
46047         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
46048         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
46049         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
46050         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
46051         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
46052         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
46053         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
46054         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
46055         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
46056         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
46057         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
46058         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
46059         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
46060         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
46061         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
46062         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
46063         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
46064         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
46065         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
46066         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
46067         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
46068         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
46069         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
46070         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
46071         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
46072         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
46073         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
46074         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
46075         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
46076         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
46077         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
46078         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
46079         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
46080         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
46081         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
46082         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
46083         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
46084         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
46085         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
46086         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
46087         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
46088         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
46089         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
46090         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
46091         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
46092         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
46093         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
46094         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
46095         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
46096         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
46097         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
46098         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
46099         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
46100         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
46101         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
46102         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
46103         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
46104         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
46105         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
46106         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
46107         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
46108         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
46109         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
46110         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
46111         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
46112         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
46114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46115         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
46117         [BZ #14914]
46118         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
46119         whole low double instead of just low 47 bits when splitting values
46120         into two parts.
46122 2012-12-03  Allan McRae  <allan@archlinux.org>
46124         * manual/stdio.texi (Predefined Printf Handlers): Remove
46125         @hsep and @vsep usage.
46127 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
46129         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
46130         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
46132 2012-12-03  Jeff Law  <law@redhat.com>
46134         * time/sys/time.h (settimeofday): Do not mark TV argument
46135         as __nonnull.
46137 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
46139         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
46140         when currently writing and seek to current position when not.
46141         * libio/Makefile (tests): Remove bug-fclose1.
46142         * libio/bug-fclose1.c: Delete.
46144 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
46146         * manual/arith.texi (feenableexcept): Fix typo.
46147         (fedisableexcept): Likewise.
46149 2012-11-30  Roland McGrath  <roland@hack.frob.com>
46151         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
46152         second, differently-typed declaration, rather than a cast.
46154 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46156         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
46157         * include/rpc/svc.h: ... here.
46159 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
46161         [BZ #13013]
46162         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
46163         depending n and resplen2 to catch cases where answer
46164         equals answerp2.
46166 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
46168         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
46169         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
46171 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
46173         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
46175 2012-11-29  Roland McGrath  <roland@hack.frob.com>
46177         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
46179 2012-11-28  Jeff Law  <law@redhat.com>
46181         [BZ #13761]
46182         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
46183         dataset_temporary.  Track alloca usage into alloca_used.
46184         If dataset is large allocate and release it via malloc/free.
46186 2012-06-04  Florian Weimer  <fweimer@redhat.com>
46188         [BZ #14197]
46189         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
46191 2012-11-28  David S. Miller  <davem@davemloft.net>
46193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46195 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46197         [BZ #14803]
46198         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
46199         of pi/2 rounded to nearest to 64 bits.
46200         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
46201         nearest to 64 bits.
46202         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
46203         bits.
46205 2012-11-28  Jeff Law <law@redhat.com>
46206             Martin Osvald <mosvald@redhat.com>
46208         [BZ #14889]
46209         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
46210         * sunrpc/svc.c: Include time.h.
46211         (__svc_accept_failed): New function.
46212         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
46213         any reason other than EINTR, call __svc_accept_failed.
46214         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
46215         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
46217 2012-11-28  Andreas Schwab  <schwab@suse.de>
46219         * scripts/abilist.awk: Also handle indirect functions in .opd
46220         section.
46222 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46224         [BZ #13881]
46225         * sysdeps/x86/fpu/powl_helper.c: New file.
46226         * sysdeps/x86/fpu/Makefile: Likewise.
46227         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
46228         (p3): New object.
46229         (__ieee754_powl): Use __powl_helper for finite arguments except
46230         integer exponents below 8.
46231         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
46232         (p3): New object.
46233         (__ieee754_powl): Use __powl_helper for finite arguments except
46234         integer exponents below 8.
46235         * math/libm-test.inc (pow_test): Add more tests and enable some
46236         previously disabled tests.
46237         * sysdeps/i386/fpu/libm-test-ulps: Update.
46238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46240 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46241             Carlos O'Donell  <carlos_odonell@mentor.com>
46243         * nss/makedb.c (is_prime): Assert that input is odd and greater
46244         than 4.  Note that fact in a comment too.
46245         (next_prime): Add 4 to input.
46247 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46249         [BZ #11741]
46250         * libio/Makefile (tests): Add test case tst-fwrite-error.
46251         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
46252         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
46253         * libio/tst-fwrite-error.c: New test case.
46255 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
46257         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
46258         before casting to void *.
46259         * include/libc-internal.h (__pointer_type): New macro.
46260         (__integer_if_pointer_type_sub): Likewise.
46261         (__integer_if_pointer_type): Likewise.
46262         (cast_to_integer): Likewise.
46263         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
46264         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
46265         before casting to atomic64_t.
46266         (atomic_exchange_acq): Likewise.
46267         (__arch_exchange_and_add_body): Likewise.
46268         (__arch_add_body): Likewise.
46269         (atomic_add_negative): Likewise.
46270         (atomic_add_zero): Likewise.
46272 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
46274         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
46275         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
46276         (add_fdes): Likewise.
46277         (linear_search_fdes): Likewise.
46278         (binary_search_unencoded_fdes): Likewise.
46280 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
46282         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
46284 2012-11-24  Adam Conrad  <adconrad@0c3.net>
46286         * configure.in: Autodetect C++ header directories.
46287         * configure: Regenerated.
46289 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
46291         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
46293 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
46295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46297 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
46299         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
46300         LDBL_MANT_DIG == 106]: Disable some tests.
46301         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46302         Likewise.
46303         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46304         Likewise.
46306         [BZ #14871]
46307         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
46308         input for small inputs.  Return +/- pi/2 for large inputs.
46309         * math/libm-test.inc (atan_test): Add more tests.
46311         * sysdeps/generic/unwind-dw2-fde-glibc.c
46312         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
46313         __attribute__ ((unused)).
46315         [BZ #14645]
46316         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
46317         x * y if x and y are nonzero and z is zero.
46319         [BZ #14811]
46320         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
46321         nonzero exponents with absolute value below 0x1p-117 to +/-
46322         0x1p-117.
46324         [BZ #14869]
46325         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
46326         up arguments below 2**-450, not just those below 2**-500.
46327         * math/libm-test.inc (hypot_test): Add another test.
46329         [BZ #14868]
46330         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
46331         Return a+b for ratio over 2**120, not 2**60.
46332         * math/libm-test.inc (hypot_test): Add another test.
46334         * math/libm-test.inc (clog_test): Use
46335         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
46336         (clog10_test): Likewise.
46338         [BZ #6778]
46339         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
46341 2012-11-22  Andreas Schwab  <schwab@suse.de>
46343         * sysdeps/i386/fpu/libm-test-ulps: Update.
46345 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
46347         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
46348         printf output with newline.
46350 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
46352         [BZ #14865]
46353         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
46354         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
46355         -z nodlopen, -z initfirst and -z execstack support.
46356         * configure: Regenerated.
46358         * elf/elf.h (DF_1_NODIRECT): New macro.
46359         (DF_1_IGNMULDEF): Likewise.
46360         (DF_1_NOKSYMS): Likewise.
46361         (DF_1_NOHDR): Likewise.
46362         (DF_1_EDITED): Likewise.
46363         (DF_1_NORELOC): Likewise.
46364         (DF_1_SYMINTPOSE): Likewise.
46365         (DF_1_GLOBAUDIT): Likewise.
46366         (DF_1_SINGLETON): Likewise.
46367         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
46368         DT_1_SUPPORTED_MASK bits.
46369         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
46371 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
46373         * sysdeps/unix/make-syscalls.sh: Document prefixes.
46375 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
46377         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
46378         macro.
46380         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
46381         (sendmmsg): Move declarations...
46382         * socket/sys/socket.h: ... here.
46383         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
46384         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
46385         include it from...
46386         * socket/recvmmsg.c: ... this new file.
46387         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
46388         (sendmmsg): Rename to __sendmmsg, create weak alias and make
46389         definition of __sendmmsg hidden.
46390         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
46391         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
46392         Move ENOSYS stub into and include it from...
46393         * socket/sendmmsg.c: ... this new file.
46394         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
46395         (sysdep_routines): Move recvmmsg and sendmmsg...
46396         * socket/Makefile (routines): ... here.
46397         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
46398         (GLIBC_PRIVATE): Add __sendmmsg.
46399         * include/sys/socket.h (__sendmmsg): Add declarations.
46400         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
46401         sendmmsg.
46403 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
46405         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
46406         variable I1 with __attribute__ ((unused)).
46407         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46409 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46411         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
46412         DUMMY variables with __attribute__ ((unused)).
46414         * bits/byteswap.h: Include <bits/types.h>.
46415         (__bswap_64): Use __uint64_t instead of unsigned long long int.
46417 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46419         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
46420         string_t.  Do not manually set errno.
46421         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
46422         length with __strnlen.  Make sure to both set errno and return it on
46423         failure.
46425 2012-11-19  David S. Miller  <davem@davemloft.net>
46427         With help from Joseph Myers.
46428         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
46429         very large arguments properly.
46430         * math/libm-test.inc (atan_test): New tests.
46431         (atan2_test): New tests.
46432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46435 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46437         [BZ #14856]
46438         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
46439         Define to 3.
46441         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
46442         [POSIX] (EADDRNOTAVAIL): Likewise.
46443         [POSIX] (EAFNOSUPPORT): Likewise.
46444         [POSIX] (EALREADY): Likewise.
46445         [POSIX] (ECONNABORTED): Likewise.
46446         [POSIX] (ECONNREFUSED): Likewise.
46447         [POSIX] (ECONNRESET): Likewise.
46448         [POSIX] (EDESTADDRREQ): Likewise.
46449         [POSIX] (EDQUOT): Likewise.
46450         [POSIX] (EHOSTUNREACH): Likewise.
46451         [POSIX] (EIDRM): Likewise.
46452         [POSIX] (EISCONN): Likewise.
46453         [POSIX] (ELOOP): Likewise.
46454         [POSIX] (EMULTIHOP): Likewise.
46455         [POSIX] (ENETDOWN): Likewise.
46456         [POSIX] (ENETUNREACH): Likewise.
46457         [POSIX] (ENOBUFS): Likewise.
46458         [POSIX] (ENODATA): Likewise.
46459         [POSIX] (ENOLINK): Likewise.
46460         [POSIX] (ENOMSG): Likewise.
46461         [POSIX] (ENOPROTOOPT): Likewise.
46462         [POSIX] (ENOSR): Likewise.
46463         [POSIX] (ENOSTR): Likewise.
46464         [POSIX] (ENOTCONN): Likewise.
46465         [POSIX] (ENOTSOCK): Likewise.
46466         [POSIX] (EOPNOTSUPP): Likewise.
46467         [POSIX] (EOVERFLOW): Likewise.
46468         [POSIX] (EPROTO): Likewise.
46469         [POSIX] (EPROTONOSUPPORT): Likewise.
46470         [POSIX] (EPROTOTYPE): Likewise.
46471         [POSIX] (ESTALE): Likewise.
46472         [POSIX] (ETIME): Likewise.
46473         [POSIX] (ETXTBSY): Likewise.
46474         [POSIX] (EWOULDBLOCK): Likewise.
46475         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
46476         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
46477         [POSIX] (SEEK_CUR): Likewise.
46478         [POSIX] (SEEK_END): Likewise.
46479         [POSIX || UNIX98] (mode_t): Do not require.
46480         [POSIX] (off_t): Likewise.
46481         [POSIX] (pid_t): Likewise.
46482         [POSIX] (sys/stat.h): Do not allow header.
46483         [POSIX] (unistd.h): Likewise.
46484         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
46485         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
46486         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
46487         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
46488         require.
46489         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
46490         sigevent): Specify elements.
46491         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
46492         entry.
46493         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
46494         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
46496         * conform/data/cpio.h-data [POSIX]: Disable whole file.
46497         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
46498         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
46499         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
46500         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
46501         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
46502         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
46503         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
46504         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
46505         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
46506         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
46507         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
46508         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
46509         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
46510         Likewise.
46511         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
46512         Likewise.
46513         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
46514         Likewise.
46515         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
46516         Likewise.
46517         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
46518         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
46519         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
46520         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
46521         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
46522         Specify lower bound on value.
46523         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
46524         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
46525         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
46526         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
46527         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
46528         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
46529         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
46530         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
46531         value.
46532         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
46533         as optional.
46534         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
46535         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
46536         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
46537         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
46538         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
46539         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
46540         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
46541         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
46542         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
46543         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
46544         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
46545         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
46546         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
46547         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
46548         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
46549         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
46550         entry.
46551         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
46552         optional.
46553         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
46554         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
46555         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
46556         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
46557         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
46558         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
46559         Likewise.
46560         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
46561         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
46562         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
46563         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
46564         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
46565         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
46566         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
46567         as optional.
46568         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
46569         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
46570         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
46571         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
46572         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
46573         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
46574         specify as optional.
46575         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
46576         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
46577         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
46578         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
46579         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
46580         [XPG3] (NL_LANGMAX): Likewise.
46581         [POSIX || XPG3] (NL_MSGMAX): Likewise.
46582         [POSIX || XPG3] (NL_NMAX): Likewise.
46583         [POSIX || XPG3] (NL_SETMAX): Likewise.
46584         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
46585         [XPG3] (NZERO): Likewise.
46586         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
46587         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
46588         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
46589         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
46590         (REG_ERANGE): Expect.
46591         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
46592         optional-constant.
46593         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
46594         Use (void) in prototype.
46595         [POSIX] (*_t): Allow.
46596         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
46597         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
46598         (WRDE_BADVAL): Expect.
46600         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
46601         expect.
46602         [XPG3 || XPG4] (O_RSYNC): Likewise.
46603         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
46604         Likewise.
46605         [XPG3 || XPG4] (pthread_sigmask): Likewise.
46606         [XPG3 || XPG4] (sigqueue): Likewise.
46607         [XPG3 || XPG4] (sigtimedwait): Likewise.
46608         [XPG3 || XPG4] (sigwaitinfo): Likewise.
46609         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
46610         [XPG3 || XPG4] (vsnprintf): Likewise.
46611         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
46612         Likewise.
46613         [XPG3 || XPG4] (blksize_t): Likewise.
46614         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
46615         Likewise.
46616         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
46617         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46618         [XPG3 || XPG4] (struct itimerspec): Likewise.
46619         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
46620         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
46621         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
46622         [XPG3 || XPG4] (clockid_t): Likewise.
46623         [XPG3 || XPG4] (timer_t): Likewise.
46624         [XPG3 || XPG4] (clock_getres): Likewise.
46625         [XPG3 || XPG4] (clock_gettime): Likewise.
46626         [XPG3 || XPG4] (clock_settime): Likewise.
46627         [XPG3 || XPG4] (nanosleep): Likewise.
46628         [XPG3 || XPG4] (timer_create): Likewise.
46629         [XPG3 || XPG4] (timer_delete): Likewise.
46630         [XPG3 || XPG4] (timer_gettime): Likewise.
46631         [XPG3 || XPG4] (timer_getoverrun): Likewise.
46632         [XPG3 || XPG4] (timer_settime): Likewise.
46633         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
46634         [XPG3 || XPG4] (getlogin_r): Likewise.
46635         [XPG3 || XPG4] (pread): Likewise.
46636         [XPG3 || XPG4] (pthread_atfork): Likewise.
46637         [XPG3 || XPG4] (pwrite): Likewise.
46639         [BZ #14835]
46640         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
46641         <bits/siginfo.h>.
46643 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46645         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
46646         finalizing MALLSTREAM.
46648         * sysdeps/mach/hurd/syncfs.c: New file.
46650 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46652         [BZ #14719]
46653         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
46654         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
46655         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
46656         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
46657         (_nss_dns_gethostbyname4_r): Likewise.
46658         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
46659         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
46661 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
46663         [BZ #13763]
46664         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
46666 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
46668         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
46669         * elf/cache.c (print_entry): Print ",AArch64" for
46670         FLAG_AARCH64_LIB64
46672         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
46673         * elf/cache.c (print_entry): Print ",hard-float" for
46674         FLAG_ARM_LIBHF.
46676 2012-11-18  David S. Miller  <davem@davemloft.net>
46678         With help from Joseph Myers.
46679         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
46680         cutoff to 2**-13.
46681         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
46682         cutoff to 2**-25.
46683         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
46684         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
46685         small.
46686         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
46687         * math/libm-test.inc (y0_test): New tests.
46688         (y1_test): New tests.
46689         * sysdeps/i386/fpu/libm-test-ulps: Update.
46690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46693 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
46695         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
46696         64-bit targets.
46697         * configure: Regenerated.
46699 2012-11-17  David S. Miller  <davem@davemloft.net>
46701         [BZ #14811]
46702         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
46703         nonzero exponents with absolute value below 0x1p-128 to +/-
46704         0x1p-128.
46706 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
46708         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
46710         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
46712         * posix/getconf-speclist.c: New file.
46713         * posix/posix-envs.def: Likewise.
46714         * posix/confstr.c (START_ENV_GROUP): New macro.
46715         (END_ENV_GROUP): Likewise.
46716         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46717         (KNOWN_PRESENT_ENV_STRING): Likewise.
46718         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46719         (UNKNOWN_ENVIRONMENT): Likewise.
46720         (confstr): Include posix-envs.def instead of handling
46721         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
46722         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
46723         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
46724         (END_ENV_GROUP): Likewise.
46725         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46726         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46727         (UNKNOWN_ENVIRONMENT): Likewise.
46728         (__sysconf): Include posix-envs.def instead of handling associated
46729         cases directly here.
46730         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
46731         preprocessing getconf-speclist.c rather than running getconf or
46732         generating empty file.
46734 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
46736         * scripts/check-local-headers.sh: Ignore 'mach' headers.
46738 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
46740         [BZ #14672]
46741         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
46743 2012-11-16  David S. Miller  <davem@davemloft.net>
46745         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
46746         smaller than LDBL_EPSILON/2.0L, just return xm1.
46748 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
46750         * elf/tst-array1.c (init): Set constructor priority to 1000.
46751         (fini): Set destructor priority to 1000.
46752         * elf/tst-array2dep.c: Likewise.
46754 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46756         [BZ #11741]
46757         * libio/fileops.c (_IO_new_file_write): Correctly return error.
46758         (_IO_new_file_xsputn): Also return EOF if none of the input
46759         data was written when overflow failed.
46760         * libio/iopadn.c (_IO_padn): Likewise.
46761         * libio/iowpadn.c (_IO_wpadn): Likewise.
46762         * stdio-common/tst-put-error.c: Add copyright notice.
46763         (do_test): Add case for printing padded string.
46764         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
46765         _IO_padn returned error.
46766         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
46767         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
46768         return EOF.
46770 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46772         * libio/libioP.h: Add comment note that the references to C++
46773         bits are now obsolete.
46775 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46777         * math/libm-test.inc (check_complex): Use asprintf.
46779 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
46781         * debug/pcprofiledump.c (print_version): Update copyright year.
46782         * malloc/memusagestat.c (print_version): Likewise.
46784 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
46786         [BZ #14831]
46787         * elf/Makefile (tests): Add tst-audit8.
46788         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
46789         ($(objpfx)tst-audit8.out): New target.
46790         (tst-audit8-ENV): New variable.
46791         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
46792         audit if l_reloc_result is NULL.
46793         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
46794         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
46795         * elf/tst-audit8.c: New file.
46797 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46799         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
46800         * misc/Makefile (CFLAGS-select.c): Define.
46801         * posix/Makefile (CFLAGS-pause.c): Define.
46803 2012-11-13  David S. Miller  <davem@davemloft.net>
46805         * crypt/Makefile: Move test targets after toplevel Rules
46806         inclusion.  Grab any necessary sysdep routines when linking.
46807         * crypt/md5.c (md5_process_block): Remove define, we will always
46808         name it __md5_process_block.
46809         (md5_finish_ctx): Update md5_process_block call.
46810         (md5_stream): Likewise.
46811         (md5_process_bytes): Likewise.
46812         (md5_process_block): Rename to __md5_process_block and move to ...
46813         * crypt/md5-block.c: ... here.
46814         * crypt/sha256.c (sha256_process_block): Move to ...
46815         * crypt/sha256-block.c: ... here.
46816         * crypt/sha512.c (sha512_process_block): Move to ...
46817         * crypt/sha512-block.c: ... here.
46818         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
46819         path.
46820         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
46821         * sysdeps/sparc/sparc64/multiarch/Makefile
46822         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
46823         crypt subdir.
46824         (localedef-aux): Add md5 crypto assembler when in locale subdir.
46825         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
46826         multiarch changes.
46827         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
46828         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
46829         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
46830         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
46831         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
46832         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
46833         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
46834         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
46835         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
46836         file.
46837         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
46838         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
46839         file.
46840         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
46842 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
46844         * timezone/tzselect.ksh: Update from tzcode git revision
46845         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
46846         * timezone/zdump.c: Likewise.
46847         * timezone/zic.c: Likewise.
46848         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
46849         in TZVERSION setting, not $(PKGVERSION).
46850         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
46851         REPORT_BUGS_TO settings.
46853         [BZ #14838]
46854         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
46855         macro.
46857 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46859         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
46860         detection to immediately after _FP_ROUND().
46861         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
46862         bits are 0.
46864 2012-11-11  David S. Miller  <davem@davemloft.net>
46866         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
46867         inttypes.h
46868         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
46869         __close rather than their public counterparts.
46871 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
46873         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
46874         file.
46875         [UNIX98] (sem_timedwait): Do not expect.
46876         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
46877         [XPG4 || UNIX98] (sockatmark): Do not expect.
46878         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
46879         (clock_getcpuclockid): Do not expect.
46880         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
46881         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
46882         Do not expect.
46883         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
46884         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
46885         [UNIX98] (vwscanf): Likewise.
46886         [UNIX98] (vswscanf): Likewise.
46888 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
46890         * timezone/version.h: Remove file.
46891         * timezone/README: Do not refer to version.h.
46892         * timezone/Makefile ($(objpfx)zic.o): New dependency on
46893         $(objpfx)version.h.
46894         ($(objpfx)zdump.o): Likewise.
46895         ($(objpfx)version.h): New target.
46897         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
46898         2012i.
46899         * timezone/README: Don't mention modification to tzselect.ksh.
46900         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
46901         work on unmodified tzselect.ksh.  Substitute version numbers in
46902         tzselect.ksh.
46904         * Makefile (format-me): Remove.
46905         (INSTALL): Adjust indentation.  Use commands directly instead of
46906         using $(format-me).
46908         * aclocal.m4 (ACX_PKGVERSION): New macro.
46909         (ACX_BUGURL): Likewise.
46910         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
46911         (PKGVERSION): New AC_DEFINE_UNQUOTED.
46912         (REPORT_BUGS_TO): Likewise.
46913         * configure: Regenerated.
46914         * config.h.in (PKGVERSION): New macro.
46915         (REPORT_BUGS_TO): Likewise.
46916         * config.make.in (PKGVERSION): New variable.
46917         (PKGVERSION_TEXI): Likewise.
46918         (REPORT_BUGS_TO): Likewise.
46919         (REPORT_BUGS_TEXI): Likewise.
46920         * Makefile (format-me): Use -I$(common-objpfx)manual.
46921         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
46922         ($(common-objpfx)manual/%): New target.
46923         (manual/%): Remove target.
46924         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
46925         (print_version): Use PKGVERSION.
46926         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
46927         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
46928         and REPORT_BUGS_TO.
46929         ($(objpfx)xtrace): Likewise.
46930         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
46931         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
46932         (print_version): Use PKGVERSION.
46933         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
46934         (do_version): Use PKGVERSION.
46935         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
46936         REPORT_BUGS_TO.
46937         (common-ldd-rewrite): Likewise.
46938         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
46939         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
46940         (print_version): Use PKGVERSION.
46941         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
46942         * elf/pldd.c (argp_program_bug_address): Remove variable.
46943         (more_help): New function.
46944         (argp): Use more_help.
46945         (print_version): Use PKGVERSION.
46946         * elf/sln.c (main): Use PKGVERSION.
46947         (usage): Use REPORT_BUGS_TO.
46948         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
46949         (top level): Use PKGVERSION.
46950         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
46951         (print_version): Use PKGVERSION.
46952         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
46953         (print_version): Use PKGVERSION.
46954         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
46955         (print_version): Use PKGVERSION.
46956         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
46957         (print_version): Use PKGVERSION.
46958         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
46959         (print_version): Use PKGVERSION.
46960         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
46961         (print_version): Use PKGVERSION.
46962         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
46963         and BUGURL.
46964         ($(objpfx)memusage): Likewise.
46965         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
46966         (do_version): Use PKGVERSION.
46967         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
46968         (print_version): Use PKGVERSION.
46969         * malloc/mtrace.pl ($PACKAGE): Remove variable.
46970         ($PKGVERSION): New variable.
46971         ($REPORT_BUGS_TO): Likewise.
46972         (usage): Use $REPORT_BUGS_TO.
46973         (top level): Use $PKGVERSION.
46974         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
46975         ($(objpfx)pkgvers.texi): New rule.
46976         ($(objpfx)stamp-pkgvers): Likewise.
46977         * manual/install.texi: Include pkgvers.texi.
46978         (--with-pkgversion): Document new configure option.
46979         (--with-bugurl): Likewise.
46980         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
46981         than necessarily for this particular distribution.  Use
46982         REPORT_BUGS_TO for where to report bugs.
46983         * INSTALL: Regenerated.
46984         * manual/libc.texinfo: Include pkgvers.texi.
46985         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
46986         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
46987         (print_version): Use PKGVERSION.
46988         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
46989         (print_version): Use PKGVERSION.
46990         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
46991         (print_version): Use PKGVERSION.
46992         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
46993         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
46994         macro.
46995         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
46996         (print_version): Use PKGVERSION.
46997         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
46998         (print_version): Use PKGVERSION.
46999         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
47000         and PKGVERSION.
47002         * timezone/checktab.awk: Update from tzcode 2012i.
47003         * timezone/ialloc.c: Likewise.
47004         * timezone/private.h: Likewise.
47005         * timezone/scheck.c: Likewise.
47006         * timezone/tzfile.h: Likewise.
47007         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
47008         (TZVERSION): Hardcode tzcode version number.
47009         * timezone/zdump.c: Update from tzcode 2012i.
47010         * timezone/zic.c: Likewise.
47011         * timezone/version.h: New file.
47012         * timezone/README: Describe version.h.  Update upstream location.
47014         [BZ #14824]
47015         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
47016         (mktemp): Enable declaration.
47017         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
47018         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
47019         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
47020         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
47021         Likewise.
47022         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
47023         Likewise.
47024         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
47025         Likewise.
47026         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
47027         Likewise.
47028         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
47029         Likewise.
47030         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
47031         Likewise.
47033         [BZ #14821]
47034         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
47035         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
47036         for copies of such integer values.
47037         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47038         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47040 2012-11-09  Andreas Jaeger  <aj@suse.de>
47042         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
47043         definitions and declarations that are provided by
47044         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
47046 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47048         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
47049         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
47050         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
47051         definition.
47053 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47055         * elf/elf.h: Update comment before AArch64 relocations.
47057 2012-11-07  David S. Miller  <davem@davemloft.net>
47059         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
47060         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47061         (__start_context): Declare.
47062         (__makecontext_ret): Delete.
47063         (__makecontext): Hook up __start_context instead of
47064         __makecontext_ret.
47065         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
47066         (sysdep_routines): Add __start_context when in stdlib.
47068 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47070         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
47071         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
47072         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
47073         hardcoded "nm".
47074         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
47075         (READELF): New variable.  Use it instead of hardcoded "readelf".
47077 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47079         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
47080         * sysdeps/x86/Makefile: Here.
47081         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
47082         * sysdeps/x86/tst-xmmymm.sh: This.
47084 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47086         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
47087         expectations.
47088         [UNIX98] (pthread_barrier_t): Do not expect.
47089         [UNIX98] (pthread_barrierattr_t): Likewise.
47090         [UNIX98] (pthread_spinlock_t): Likewise.
47091         [UNIX98] (pthread_barrier_destroy): Likewise.
47092         [UNIX98] (pthread_barrier_init): Likewise.
47093         [UNIX98] (pthread_barrier_wait): Likewise.
47094         [UNIX98] (pthread_barrierattr_destroy): Likewise.
47095         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
47096         [UNIX98] (pthread_barrierattr_init): Likewise.
47097         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
47098         [UNIX98] (pthread_getcpuclockid): Likewise.
47099         [UNIX98] (pthread_mutex_timedlock): Likewise.
47100         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
47101         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
47102         [UNIX98] (pthread_sigmask): Likewise.
47103         [UNIX98] (pthread_spin_destroy): Likewise.
47104         [UNIX98] (pthread_spin_init): Likewise.
47105         [UNIX98] (pthread_spin_lock): Likewise.
47106         [UNIX98] (pthread_spin_trylock): Likewise.
47107         [UNIX98] (pthread_spin_unlock): Likewise.
47108         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
47109         Do not expect.
47110         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
47111         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
47112         [XPG3 || XPG4] (pthread_cond_t): Likewise.
47113         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
47114         [XPG3 || XPG4] (pthread_key_t): Likewise.
47115         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
47116         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
47117         [XPG3 || XPG4] (pthread_once_t): Likewise.
47118         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
47119         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
47120         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
47121         [XPG3 || XPG4] (pthread_t): Likewise.
47123         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
47124         not expect.
47125         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
47127         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
47128         Change function return type to int.
47130         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
47131         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
47132         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
47133         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
47134         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
47135         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
47136         [!POSIX] (posix_madvise): Likewise.
47137         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
47138         && !UNIX98].
47139         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
47140         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
47141         (mode_t): Likewise.
47142         (posix_mem_offset): Likewise.
47143         (posix_typed_mem_get_info): Likewise.
47144         (posix_typed_mem_open): Likewise.
47146         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
47147         Change condition to [XOPEN2K8].
47149         * conform/conformtest.pl: Preprocess allow-header data with -x c
47150         instead of from stdin.
47151         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
47152         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
47153         [C99-based standards] (cerfc): Likewise.
47154         [C99-based standards] (cexp2): Likewise.
47155         [C99-based standards] (cexpm1): Likewise.
47156         [C99-based standards] (clog10): Likewise.
47157         [C99-based standards] (clog1p): Likewise.
47158         [C99-based standards] (clog2): Likewise.
47159         [C99-based standards] (clgamma): Likewise.
47160         [C99-based standards] (ctgamma): Likewise.
47161         [C99-based standards] (cerff): Likewise.
47162         [C99-based standards] (cerfcf): Likewise.
47163         [C99-based standards] (cexp2f): Likewise.
47164         [C99-based standards] (cexpm1f): Likewise.
47165         [C99-based standards] (clog10f): Likewise.
47166         [C99-based standards] (clog1pf): Likewise.
47167         [C99-based standards] (clog2f): Likewise.
47168         [C99-based standards] (clgammaf): Likewise.
47169         [C99-based standards] (ctgammaf): Likewise.
47170         [C99-based standards] (cerfl): Likewise.
47171         [C99-based standards] (cerfcl): Likewise.
47172         [C99-based standards] (cexp2l): Likewise.
47173         [C99-based standards] (cexpm1l): Likewise.
47174         [C99-based standards] (clog10l): Likewise.
47175         [C99-based standards] (clog1pl): Likewise.
47176         [C99-based standards] (clog2l): Likewise.
47177         [C99-based standards] (clgammal): Likewise.
47178         [C99-based standards] (ctgammal): Likewise.
47179         * conform/data/inttypes.h-data [C99-based standards]: Include
47180         stdint.h-data.  Remove all expectations for stdint.h contents.
47181         [C99-based standards] (PRI*): Do not allow.
47182         [C99-based standards] (SCN*): Likewise.
47183         [C99-based standards] (*_t): Likewise.
47184         [C99-based-standards] (PRId8): Expect macro.
47185         [C99-based-standards] (PRIi8): Likewise.
47186         [C99-based-standards] (PRIo8): Likewise.
47187         [C99-based-standards] (PRIu8): Likewise.
47188         [C99-based-standards] (PRIx8): Likewise.
47189         [C99-based-standards] (PRIX8): Likewise.
47190         [C99-based-standards] (SCNd8): Likewise.
47191         [C99-based-standards] (SCNi8): Likewise.
47192         [C99-based-standards] (SCNo8): Likewise.
47193         [C99-based-standards] (SCNu8): Likewise.
47194         [C99-based-standards] (SCNx8): Likewise.
47195         [C99-based-standards] (PRIdLEAST8): Likewise.
47196         [C99-based-standards] (PRIiLEAST8): Likewise.
47197         [C99-based-standards] (PRIoLEAST8): Likewise.
47198         [C99-based-standards] (PRIuLEAST8): Likewise.
47199         [C99-based-standards] (PRIxLEAST8): Likewise.
47200         [C99-based-standards] (PRIXLEAST8): Likewise.
47201         [C99-based-standards] (SCNdLEAST8): Likewise.
47202         [C99-based-standards] (SCNiLEAST8): Likewise.
47203         [C99-based-standards] (SCNoLEAST8): Likewise.
47204         [C99-based-standards] (SCNuLEAST8): Likewise.
47205         [C99-based-standards] (SCNxLEAST8): Likewise.
47206         [C99-based-standards] (PRIdFAST8): Likewise.
47207         [C99-based-standards] (PRIiFAST8): Likewise.
47208         [C99-based-standards] (PRIoFAST8): Likewise.
47209         [C99-based-standards] (PRIuFAST8): Likewise.
47210         [C99-based-standards] (PRIxFAST8): Likewise.
47211         [C99-based-standards] (PRIXFAST8): Likewise.
47212         [C99-based-standards] (SCNdFAST8): Likewise.
47213         [C99-based-standards] (SCNiFAST8): Likewise.
47214         [C99-based-standards] (SCNoFAST8): Likewise.
47215         [C99-based-standards] (SCNuFAST8): Likewise.
47216         [C99-based-standards] (SCNxFAST8): Likewise.
47217         [C99-based-standards] (PRId16): Likewise.
47218         [C99-based-standards] (PRIi16): Likewise.
47219         [C99-based-standards] (PRIo16): Likewise.
47220         [C99-based-standards] (PRIu16): Likewise.
47221         [C99-based-standards] (PRIx16): Likewise.
47222         [C99-based-standards] (PRIX16): Likewise.
47223         [C99-based-standards] (SCNd16): Likewise.
47224         [C99-based-standards] (SCNi16): Likewise.
47225         [C99-based-standards] (SCNo16): Likewise.
47226         [C99-based-standards] (SCNu16): Likewise.
47227         [C99-based-standards] (SCNx16): Likewise.
47228         [C99-based-standards] (PRIdLEAST16): Likewise.
47229         [C99-based-standards] (PRIiLEAST16): Likewise.
47230         [C99-based-standards] (PRIoLEAST16): Likewise.
47231         [C99-based-standards] (PRIuLEAST16): Likewise.
47232         [C99-based-standards] (PRIxLEAST16): Likewise.
47233         [C99-based-standards] (PRIXLEAST16): Likewise.
47234         [C99-based-standards] (SCNdLEAST16): Likewise.
47235         [C99-based-standards] (SCNiLEAST16): Likewise.
47236         [C99-based-standards] (SCNoLEAST16): Likewise.
47237         [C99-based-standards] (SCNuLEAST16): Likewise.
47238         [C99-based-standards] (SCNxLEAST16): Likewise.
47239         [C99-based-standards] (PRIdFAST16): Likewise.
47240         [C99-based-standards] (PRIiFAST16): Likewise.
47241         [C99-based-standards] (PRIoFAST16): Likewise.
47242         [C99-based-standards] (PRIuFAST16): Likewise.
47243         [C99-based-standards] (PRIxFAST16): Likewise.
47244         [C99-based-standards] (PRIXFAST16): Likewise.
47245         [C99-based-standards] (SCNdFAST16): Likewise.
47246         [C99-based-standards] (SCNiFAST16): Likewise.
47247         [C99-based-standards] (SCNoFAST16): Likewise.
47248         [C99-based-standards] (SCNuFAST16): Likewise.
47249         [C99-based-standards] (SCNxFAST16): Likewise.
47250         [C99-based-standards] (PRId32): Likewise.
47251         [C99-based-standards] (PRIi32): Likewise.
47252         [C99-based-standards] (PRIo32): Likewise.
47253         [C99-based-standards] (PRIu32): Likewise.
47254         [C99-based-standards] (PRIx32): Likewise.
47255         [C99-based-standards] (PRIX32): Likewise.
47256         [C99-based-standards] (SCNd32): Likewise.
47257         [C99-based-standards] (SCNi32): Likewise.
47258         [C99-based-standards] (SCNo32): Likewise.
47259         [C99-based-standards] (SCNu32): Likewise.
47260         [C99-based-standards] (SCNx32): Likewise.
47261         [C99-based-standards] (PRIdLEAST32): Likewise.
47262         [C99-based-standards] (PRIiLEAST32): Likewise.
47263         [C99-based-standards] (PRIoLEAST32): Likewise.
47264         [C99-based-standards] (PRIuLEAST32): Likewise.
47265         [C99-based-standards] (PRIxLEAST32): Likewise.
47266         [C99-based-standards] (PRIXLEAST32): Likewise.
47267         [C99-based-standards] (SCNdLEAST32): Likewise.
47268         [C99-based-standards] (SCNiLEAST32): Likewise.
47269         [C99-based-standards] (SCNoLEAST32): Likewise.
47270         [C99-based-standards] (SCNuLEAST32): Likewise.
47271         [C99-based-standards] (SCNxLEAST32): Likewise.
47272         [C99-based-standards] (PRIdFAST32): Likewise.
47273         [C99-based-standards] (PRIiFAST32): Likewise.
47274         [C99-based-standards] (PRIoFAST32): Likewise.
47275         [C99-based-standards] (PRIuFAST32): Likewise.
47276         [C99-based-standards] (PRIxFAST32): Likewise.
47277         [C99-based-standards] (PRIXFAST32): Likewise.
47278         [C99-based-standards] (SCNdFAST32): Likewise.
47279         [C99-based-standards] (SCNiFAST32): Likewise.
47280         [C99-based-standards] (SCNoFAST32): Likewise.
47281         [C99-based-standards] (SCNuFAST32): Likewise.
47282         [C99-based-standards] (SCNxFAST32): Likewise.
47283         [C99-based-standards] (PRId64): Likewise.
47284         [C99-based-standards] (PRIi64): Likewise.
47285         [C99-based-standards] (PRIo64): Likewise.
47286         [C99-based-standards] (PRIu64): Likewise.
47287         [C99-based-standards] (PRIx64): Likewise.
47288         [C99-based-standards] (PRIX64): Likewise.
47289         [C99-based-standards] (SCNd64): Likewise.
47290         [C99-based-standards] (SCNi64): Likewise.
47291         [C99-based-standards] (SCNo64): Likewise.
47292         [C99-based-standards] (SCNu64): Likewise.
47293         [C99-based-standards] (SCNx64): Likewise.
47294         [C99-based-standards] (PRIdLEAST64): Likewise.
47295         [C99-based-standards] (PRIiLEAST64): Likewise.
47296         [C99-based-standards] (PRIoLEAST64): Likewise.
47297         [C99-based-standards] (PRIuLEAST64): Likewise.
47298         [C99-based-standards] (PRIxLEAST64): Likewise.
47299         [C99-based-standards] (PRIXLEAST64): Likewise.
47300         [C99-based-standards] (SCNdLEAST64): Likewise.
47301         [C99-based-standards] (SCNiLEAST64): Likewise.
47302         [C99-based-standards] (SCNoLEAST64): Likewise.
47303         [C99-based-standards] (SCNuLEAST64): Likewise.
47304         [C99-based-standards] (SCNxLEAST64): Likewise.
47305         [C99-based-standards] (PRIdFAST64): Likewise.
47306         [C99-based-standards] (PRIiFAST64): Likewise.
47307         [C99-based-standards] (PRIoFAST64): Likewise.
47308         [C99-based-standards] (PRIuFAST64): Likewise.
47309         [C99-based-standards] (PRIxFAST64): Likewise.
47310         [C99-based-standards] (PRIXFAST64): Likewise.
47311         [C99-based-standards] (SCNdFAST64): Likewise.
47312         [C99-based-standards] (SCNiFAST64): Likewise.
47313         [C99-based-standards] (SCNoFAST64): Likewise.
47314         [C99-based-standards] (SCNuFAST64): Likewise.
47315         [C99-based-standards] (SCNxFAST64): Likewise.
47316         [C99-based-standards] (PRIdMAX): Likewise.
47317         [C99-based-standards] (PRIiMAX): Likewise.
47318         [C99-based-standards] (PRIoMAX): Likewise.
47319         [C99-based-standards] (PRIuMAX): Likewise.
47320         [C99-based-standards] (PRIxMAX): Likewise.
47321         [C99-based-standards] (PRIXMAX): Likewise.
47322         [C99-based-standards] (SCNdMAX): Likewise.
47323         [C99-based-standards] (SCNiMAX): Likewise.
47324         [C99-based-standards] (SCNoMAX): Likewise.
47325         [C99-based-standards] (SCNuMAX): Likewise.
47326         [C99-based-standards] (SCNxMAX): Likewise.
47327         [C99-based-standards] (PRIdPTR): Likewise.
47328         [C99-based-standards] (PRIiPTR): Likewise.
47329         [C99-based-standards] (PRIoPTR): Likewise.
47330         [C99-based-standards] (PRIuPTR): Likewise.
47331         [C99-based-standards] (PRIxPTR): Likewise.
47332         [C99-based-standards] (PRIXPTR): Likewise.
47333         [C99-based-standards] (SCNdPTR): Likewise.
47334         [C99-based-standards] (SCNiPTR): Likewise.
47335         [C99-based-standards] (SCNoPTR): Likewise.
47336         [C99-based-standards] (SCNuPTR): Likewise.
47337         [C99-based-standards] (SCNxPTR): Likewise.
47338         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
47339         allow.
47340         * conform/data/stdint.h-data: Update comments to clarify
47341         requirements.
47342         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
47343         type.
47344         [C99-based standards] (INT8_MAX): Likewise.
47345         [C99-based standards] (INT16_MIN): Likewise.
47346         [C99-based standards] (INT16_MAX): Likewise.
47347         [C99-based standards] (INT32_MIN): Likewise.
47348         [C99-based standards] (INT32_MAX): Likewise.
47349         [C99-based standards] (INT64_MIN): Likewise.
47350         [C99-based standards] (INT64_MAX): Likewise.
47351         [C99-based standards] (UINT8_MAX): Likewise.
47352         [C99-based standards] (UINT16_MAX): Likewise.
47353         [C99-based standards] (UINT32_MAX): Likewise.
47354         [C99-based standards] (UINT64_MAX): Likewise.
47355         [C99-based standards] (INT_LEAST8_MIN): Likewise.
47356         [C99-based standards] (INT_LEAST8_MAX): Likewise.
47357         [C99-based standards] (INT_LEAST16_MIN): Likewise.
47358         [C99-based standards] (INT_LEAST16_MAX): Likewise.
47359         [C99-based standards] (INT_LEAST32_MIN): Likewise.
47360         [C99-based standards] (INT_LEAST32_MAX): Likewise.
47361         [C99-based standards] (INT_LEAST64_MIN): Likewise.
47362         [C99-based standards] (INT_LEAST64_MAX): Likewise.
47363         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
47364         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
47365         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
47366         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
47367         [C99-based standards] (INT_FAST8_MIN): Likewise.
47368         [C99-based standards] (INT_FAST8_MAX): Likewise.
47369         [C99-based standards] (INT_FAST16_MIN): Likewise.
47370         [C99-based standards] (INT_FAST16_MAX): Likewise.
47371         [C99-based standards] (INT_FAST32_MIN): Likewise.
47372         [C99-based standards] (INT_FAST32_MAX): Likewise.
47373         [C99-based standards] (INT_FAST64_MIN): Likewise.
47374         [C99-based standards] (INT_FAST64_MAX): Likewise.
47375         [C99-based standards] (UINT_FAST8_MAX): Likewise.
47376         [C99-based standards] (UINT_FAST16_MAX): Likewise.
47377         [C99-based standards] (UINT_FAST32_MAX): Likewise.
47378         [C99-based standards] (UINT_FAST64_MAX): Likewise.
47379         [C99-based standards] (INTPTR_MIN): Likewise.
47380         [C99-based standards] (INTPTR_MAX): Likewise.
47381         [C99-based standards] (UINTPTR_MAX): Likewise.
47382         [C99-based standards] (INTMAX_MIN): Likewise.
47383         [C99-based standards] (INTMAX_MAX): Likewise.
47384         [C99-based standards] (UINTMAX_MAX): Likewise.
47385         [C99-based standards] (PTRDIFF_MIN): Likewise.
47386         [C99-based standards] (PTRDIFF_MAX): Likewise.
47387         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
47388         [C99-based standards] (SIZE_MAX): Likewise.
47389         [C99-based standards] (WCHAR_MAX): Likewise.
47390         [C99-based standards] (WINT_MAX): Likewise.
47391         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
47392         constraint on value.
47393         [C99-based standards] (WCHAR_MIN): Likewise.
47394         [C99-based standards] (WINT_MIN): Likewise.
47395         [C99-based standards] (*_t): Allow.
47396         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
47397         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
47398         Include math.h-data and complex.h-data.  Remove all expectations
47399         of math.h and complex.h contents.
47400         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
47401         at end of line.
47402         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
47403         (struct tm): Expect tag.
47404         [C99-based-standards] (wcstof): Expect function.
47405         [C99-based-standards] (wcstold): Likewise.
47406         [C99-based-standards] (wcstoll): Likewise.
47407         [C99-based-standards] (wcstoull): Likewise.
47408         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
47409         macro-int-constant.  Specify type.
47410         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
47411         constraint on value.
47412         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47413         Specify type.
47414         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
47415         Specify value.
47416         [ISO C standards]: Do not allow headers.
47417         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
47418         wcs[abcdefghijklmnopqrstuvwxyz]*.
47419         [ISO C standards] (*_t): Do not allow.
47420         * conform/data/wctype.h-data [C99-based standards] (iswblank):
47421         Expect function.
47422         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
47423         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47424         Specify type.
47425         [ISO C standards]: Do not allow headers.
47426         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
47427         is[abcdefghijklmnopqrstuvwxyz]*.
47428         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
47429         to[abcdefghijklmnopqrstuvwxyz]*.
47430         [ISO C standards] (*_t): Do not allow.
47431         * conform/data/stdalign.h-data: New file.
47432         * conform/data/stdbool.h-data: Likewise.
47433         * conform/data/stdnoreturn.h-data: Likewise.
47435 2012-11-07  Roland McGrath  <roland@hack.frob.com>
47437         [BZ #14815]
47438         * manual/filesys.texi (Directory Entries): Typo fix.
47439         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
47441 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47443         * elf/elf.h (EM_AARCH64): New macro.
47444         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
47445         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
47446         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
47447         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
47448         (R_AARCH64_TLSDESC): Likewise.
47449         (NT_ARM_TLS): Likewise.
47450         (NT_ARM_HW_BREAK): Likewise.
47451         (NT_ARM_HW_WATCH): Likewise.
47453 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47455         [BZ #14811]
47456         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
47457         (__ieee754_powl): Saturate nonzero exponents with absolute value
47458         below 0x1p-79 to +/- 0x1p-79.
47459         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
47460         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
47461         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
47462         nonzero exponents with absolute value below 0x1p-32 to +/-
47463         0x1p-32.
47464         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
47465         (__ieee754_powl): Saturate nonzero exponents with absolute value
47466         below 0x1p-79 to +/- 0x1p-79.
47467         * math/libm-test.inc (pow_test): Add more tests.
47469 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47471         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
47472         _dl_s390_cap_flags with kernel. Increase string length.
47473         (_dl_s390_platforms): Add z196 and zEC12.
47475 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47477         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
47478         Change XOPEN21K to XOPEN2K.
47480 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
47482         * string/memmove.c: Use memcpy when possible.
47484 2012-11-06  Andreas Jaeger  <aj@suse.de>
47486         * po/eo.po: Update from translation team.
47488 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
47490         [BZ #14793]
47491         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
47492         exponent and small x and y exponents, scale x or y up.  Increase
47493         by 2 the exponent used in scaling up.
47494         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47495         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47496         * math/libm-test.inc (fma_test): Add more tests.
47497         (fma_test_towardzero): Likewise.
47498         (fma_test_downward): Likewise.
47499         (fma_test_upward): Likewise.
47501 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
47503         [BZ #14805]
47504         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
47505         fenv_t *.
47507         [BZ #14801]
47508         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
47509         namespace for names of struct fields.
47510         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
47511         fenv_t fields.
47512         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
47513         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
47515 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47517         [BZ #3665]
47518         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
47520 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47522         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
47523         PTR_DEMANGLE.
47525         [BZ #5246]
47526         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
47527         PTR_DEMANGLE.
47529 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
47531         [BZ #14797]
47532         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
47533         definitely overflow as x * y not x * y + z.
47534         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47535         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47536         * math/libm-test.inc (fma_test): Add more tests.
47537         (fma_test_towardzero): Likewise.
47538         (fma_test_downward): Likewise.
47539         (fma_test_upward): Likewise.
47541 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47543         [BZ #157]
47545         * include/stub-tag.h: Remove file.
47546         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
47547         '#include' of it.
47548         * manual/maint.texi (Porting): Don't reference it.
47549         * Makerules ($(objpfx)stubs): Likewise.
47550         * dirent/closedir.c: Don't include <stub-tag.h>.
47551         * dirent/dirfd.c: Likewise.
47552         * dirent/fdopendir.c: Likewise.
47553         * dirent/getdents.c: Likewise.
47554         * dirent/getdents64.c: Likewise.
47555         * dirent/opendir.c: Likewise.
47556         * dirent/readdir.c: Likewise.
47557         * dirent/readdir64.c: Likewise.
47558         * dirent/readdir64_r.c: Likewise.
47559         * dirent/readdir_r.c: Likewise.
47560         * dirent/rewinddir.c: Likewise.
47561         * dirent/seekdir.c: Likewise.
47562         * dirent/telldir.c: Likewise.
47563         * gmon/profil.c: Likewise.
47564         * grp/setgroups.c: Likewise.
47565         * inet/if_index.c: Likewise.
47566         * io/access.c: Likewise.
47567         * io/chdir.c: Likewise.
47568         * io/chmod.c: Likewise.
47569         * io/chown.c: Likewise.
47570         * io/close.c: Likewise.
47571         * io/dup.c: Likewise.
47572         * io/dup2.c: Likewise.
47573         * io/dup3.c: Likewise.
47574         * io/euidaccess.c: Likewise.
47575         * io/faccessat.c: Likewise.
47576         * io/fchdir.c: Likewise.
47577         * io/fchmod.c: Likewise.
47578         * io/fchmodat.c: Likewise.
47579         * io/fchown.c: Likewise.
47580         * io/fchownat.c: Likewise.
47581         * io/fcntl.c: Likewise.
47582         * io/flock.c: Likewise.
47583         * io/fstatfs.c: Likewise.
47584         * io/fstatfs64.c: Likewise.
47585         * io/fstatvfs.c: Likewise.
47586         * io/fstatvfs64.c: Likewise.
47587         * io/futimens.c: Likewise.
47588         * io/fxstat.c: Likewise.
47589         * io/fxstat64.c: Likewise.
47590         * io/fxstatat.c: Likewise.
47591         * io/fxstatat64.c: Likewise.
47592         * io/getcwd.c: Likewise.
47593         * io/isatty.c: Likewise.
47594         * io/lchmod.c: Likewise.
47595         * io/lchown.c: Likewise.
47596         * io/link.c: Likewise.
47597         * io/linkat.c: Likewise.
47598         * io/lseek.c: Likewise.
47599         * io/lseek64.c: Likewise.
47600         * io/lxstat64.c: Likewise.
47601         * io/mkdir.c: Likewise.
47602         * io/mkdirat.c: Likewise.
47603         * io/mkfifo.c: Likewise.
47604         * io/mkfifoat.c: Likewise.
47605         * io/open.c: Likewise.
47606         * io/open64.c: Likewise.
47607         * io/openat.c: Likewise.
47608         * io/openat64.c: Likewise.
47609         * io/pipe.c: Likewise.
47610         * io/pipe2.c: Likewise.
47611         * io/poll.c: Likewise.
47612         * io/posix_fadvise.c: Likewise.
47613         * io/posix_fadvise64.c: Likewise.
47614         * io/posix_fallocate.c: Likewise.
47615         * io/posix_fallocate64.c: Likewise.
47616         * io/read.c: Likewise.
47617         * io/readlink.c: Likewise.
47618         * io/readlinkat.c: Likewise.
47619         * io/rmdir.c: Likewise.
47620         * io/sendfile.c: Likewise.
47621         * io/sendfile64.c: Likewise.
47622         * io/statfs.c: Likewise.
47623         * io/statfs64.c: Likewise.
47624         * io/statvfs.c: Likewise.
47625         * io/statvfs64.c: Likewise.
47626         * io/symlink.c: Likewise.
47627         * io/symlinkat.c: Likewise.
47628         * io/ttyname.c: Likewise.
47629         * io/ttyname_r.c: Likewise.
47630         * io/umask.c: Likewise.
47631         * io/unlink.c: Likewise.
47632         * io/unlinkat.c: Likewise.
47633         * io/utime.c: Likewise.
47634         * io/utimensat.c: Likewise.
47635         * io/write.c: Likewise.
47636         * io/xmknod.c: Likewise.
47637         * io/xmknodat.c: Likewise.
47638         * io/xstat.c: Likewise.
47639         * io/xstat64.c: Likewise.
47640         * login/getpt.c: Likewise.
47641         * login/grantpt.c: Likewise.
47642         * login/unlockpt.c: Likewise.
47643         * math/e_acoshl.c: Likewise.
47644         * math/e_acosl.c: Likewise.
47645         * math/e_asinl.c: Likewise.
47646         * math/e_atan2l.c: Likewise.
47647         * math/e_atanhl.c: Likewise.
47648         * math/e_coshl.c: Likewise.
47649         * math/e_expl.c: Likewise.
47650         * math/e_fmodl.c: Likewise.
47651         * math/e_gammal_r.c: Likewise.
47652         * math/e_hypotl.c: Likewise.
47653         * math/e_j0l.c: Likewise.
47654         * math/e_j1l.c: Likewise.
47655         * math/e_jnl.c: Likewise.
47656         * math/e_lgammal_r.c: Likewise.
47657         * math/e_log10l.c: Likewise.
47658         * math/e_log2l.c: Likewise.
47659         * math/e_logl.c: Likewise.
47660         * math/e_powl.c: Likewise.
47661         * math/e_rem_pio2l.c: Likewise.
47662         * math/e_sinhl.c: Likewise.
47663         * math/e_sqrtl.c: Likewise.
47664         * math/fclrexcpt.c: Likewise.
47665         * math/fedisblxcpt.c: Likewise.
47666         * math/feenablxcpt.c: Likewise.
47667         * math/fegetenv.c: Likewise.
47668         * math/fegetexcept.c: Likewise.
47669         * math/fegetround.c: Likewise.
47670         * math/feholdexcpt.c: Likewise.
47671         * math/fesetenv.c: Likewise.
47672         * math/fesetround.c: Likewise.
47673         * math/feupdateenv.c: Likewise.
47674         * math/fgetexcptflg.c: Likewise.
47675         * math/fraiseexcpt.c: Likewise.
47676         * math/fsetexcptflg.c: Likewise.
47677         * math/ftestexcept.c: Likewise.
47678         * math/k_cosl.c: Likewise.
47679         * math/k_rem_pio2l.c: Likewise.
47680         * math/k_sinl.c: Likewise.
47681         * math/k_tanl.c: Likewise.
47682         * math/s_asinhl.c: Likewise.
47683         * math/s_atanl.c: Likewise.
47684         * math/s_cbrtl.c: Likewise.
47685         * math/s_erfl.c: Likewise.
47686         * math/s_expm1l.c: Likewise.
47687         * math/s_log1pl.c: Likewise.
47688         * math/s_tanhl.c: Likewise.
47689         * misc/acct.c: Likewise.
47690         * misc/brk.c: Likewise.
47691         * misc/chflags.c: Likewise.
47692         * misc/chroot.c: Likewise.
47693         * misc/fchflags.c: Likewise.
47694         * misc/fgetxattr.c: Likewise.
47695         * misc/flistxattr.c: Likewise.
47696         * misc/fremovexattr.c: Likewise.
47697         * misc/fsetxattr.c: Likewise.
47698         * misc/fsync.c: Likewise.
47699         * misc/ftruncate.c: Likewise.
47700         * misc/futimes.c: Likewise.
47701         * misc/futimesat.c: Likewise.
47702         * misc/getdomain.c: Likewise.
47703         * misc/getdtsz.c: Likewise.
47704         * misc/gethostid.c: Likewise.
47705         * misc/gethostname.c: Likewise.
47706         * misc/getloadavg.c: Likewise.
47707         * misc/getpagesize.c: Likewise.
47708         * misc/getsysstats.c: Likewise.
47709         * misc/getxattr.c: Likewise.
47710         * misc/gtty.c: Likewise.
47711         * misc/ioctl.c: Likewise.
47712         * misc/lgetxattr.c: Likewise.
47713         * misc/listxattr.c: Likewise.
47714         * misc/llistxattr.c: Likewise.
47715         * misc/lremovexattr.c: Likewise.
47716         * misc/lsetxattr.c: Likewise.
47717         * misc/lutimes.c: Likewise.
47718         * misc/madvise.c: Likewise.
47719         * misc/mincore.c: Likewise.
47720         * misc/mlock.c: Likewise.
47721         * misc/mlockall.c: Likewise.
47722         * misc/mmap.c: Likewise.
47723         * misc/mprotect.c: Likewise.
47724         * misc/msync.c: Likewise.
47725         * misc/munlock.c: Likewise.
47726         * misc/munlockall.c: Likewise.
47727         * misc/munmap.c: Likewise.
47728         * misc/preadv.c: Likewise.
47729         * misc/preadv64.c: Likewise.
47730         * misc/ptrace.c: Likewise.
47731         * misc/pwritev.c: Likewise.
47732         * misc/pwritev64.c: Likewise.
47733         * misc/readv.c: Likewise.
47734         * misc/reboot.c: Likewise.
47735         * misc/remap_file_pages.c: Likewise.
47736         * misc/removexattr.c: Likewise.
47737         * misc/revoke.c: Likewise.
47738         * misc/select.c: Likewise.
47739         * misc/setdomain.c: Likewise.
47740         * misc/setegid.c: Likewise.
47741         * misc/seteuid.c: Likewise.
47742         * misc/sethostid.c: Likewise.
47743         * misc/sethostname.c: Likewise.
47744         * misc/setregid.c: Likewise.
47745         * misc/setreuid.c: Likewise.
47746         * misc/setxattr.c: Likewise.
47747         * misc/sstk.c: Likewise.
47748         * misc/stty.c: Likewise.
47749         * misc/swapoff.c: Likewise.
47750         * misc/swapon.c: Likewise.
47751         * misc/sync.c: Likewise.
47752         * misc/syncfs.c: Likewise.
47753         * misc/syscall.c: Likewise.
47754         * misc/truncate.c: Likewise.
47755         * misc/ualarm.c: Likewise.
47756         * misc/usleep.c: Likewise.
47757         * misc/ustat.c: Likewise.
47758         * misc/utimes.c: Likewise.
47759         * misc/vhangup.c: Likewise.
47760         * misc/writev.c: Likewise.
47761         * posix/_exit.c: Likewise.
47762         * posix/alarm.c: Likewise.
47763         * posix/execve.c: Likewise.
47764         * posix/fexecve.c: Likewise.
47765         * posix/fork.c: Likewise.
47766         * posix/fpathconf.c: Likewise.
47767         * posix/getaddrinfo.c: Likewise.
47768         * posix/getegid.c: Likewise.
47769         * posix/geteuid.c: Likewise.
47770         * posix/getgid.c: Likewise.
47771         * posix/getgroups.c: Likewise.
47772         * posix/getlogin.c: Likewise.
47773         * posix/getlogin_r.c: Likewise.
47774         * posix/getpgid.c: Likewise.
47775         * posix/getpid.c: Likewise.
47776         * posix/getppid.c: Likewise.
47777         * posix/getresgid.c: Likewise.
47778         * posix/getresuid.c: Likewise.
47779         * posix/getsid.c: Likewise.
47780         * posix/getuid.c: Likewise.
47781         * posix/glob64.c: Likewise.
47782         * posix/nanosleep.c: Likewise.
47783         * posix/pathconf.c: Likewise.
47784         * posix/pause.c: Likewise.
47785         * posix/posix_madvise.c: Likewise.
47786         * posix/pread.c: Likewise.
47787         * posix/pread64.c: Likewise.
47788         * posix/pwrite.c: Likewise.
47789         * posix/pwrite64.c: Likewise.
47790         * posix/sched_getaffinity.c: Likewise.
47791         * posix/sched_getp.c: Likewise.
47792         * posix/sched_gets.c: Likewise.
47793         * posix/sched_primax.c: Likewise.
47794         * posix/sched_primin.c: Likewise.
47795         * posix/sched_rr_gi.c: Likewise.
47796         * posix/sched_setaffinity.c: Likewise.
47797         * posix/sched_setp.c: Likewise.
47798         * posix/sched_sets.c: Likewise.
47799         * posix/sched_yield.c: Likewise.
47800         * posix/setgid.c: Likewise.
47801         * posix/setlogin.c: Likewise.
47802         * posix/setpgid.c: Likewise.
47803         * posix/setresgid.c: Likewise.
47804         * posix/setresuid.c: Likewise.
47805         * posix/setsid.c: Likewise.
47806         * posix/setuid.c: Likewise.
47807         * posix/sleep.c: Likewise.
47808         * posix/spawni.c: Likewise.
47809         * posix/sysconf.c: Likewise.
47810         * posix/times.c: Likewise.
47811         * posix/wait.c: Likewise.
47812         * posix/wait3.c: Likewise.
47813         * posix/wait4.c: Likewise.
47814         * posix/waitpid.c: Likewise.
47815         * resolv/gai_sigqueue.c: Likewise.
47816         * resource/getpriority.c: Likewise.
47817         * resource/getrlimit.c: Likewise.
47818         * resource/getrusage.c: Likewise.
47819         * resource/nice.c: Likewise.
47820         * resource/setpriority.c: Likewise.
47821         * resource/setrlimit.c: Likewise.
47822         * resource/ulimit.c: Likewise.
47823         * rt/aio_cancel.c: Likewise.
47824         * rt/aio_fsync.c: Likewise.
47825         * rt/aio_read.c: Likewise.
47826         * rt/aio_sigqueue.c: Likewise.
47827         * rt/aio_suspend.c: Likewise.
47828         * rt/aio_write.c: Likewise.
47829         * rt/clock_getres.c: Likewise.
47830         * rt/clock_gettime.c: Likewise.
47831         * rt/clock_nanosleep.c: Likewise.
47832         * rt/clock_settime.c: Likewise.
47833         * rt/lio_listio.c: Likewise.
47834         * rt/mq_close.c: Likewise.
47835         * rt/mq_getattr.c: Likewise.
47836         * rt/mq_notify.c: Likewise.
47837         * rt/mq_open.c: Likewise.
47838         * rt/mq_receive.c: Likewise.
47839         * rt/mq_send.c: Likewise.
47840         * rt/mq_setattr.c: Likewise.
47841         * rt/mq_timedreceive.c: Likewise.
47842         * rt/mq_timedsend.c: Likewise.
47843         * rt/mq_unlink.c: Likewise.
47844         * rt/shm_open.c: Likewise.
47845         * rt/shm_unlink.c: Likewise.
47846         * rt/timer_create.c: Likewise.
47847         * rt/timer_delete.c: Likewise.
47848         * rt/timer_getoverr.c: Likewise.
47849         * rt/timer_gettime.c: Likewise.
47850         * rt/timer_settime.c: Likewise.
47851         * setjmp/__longjmp.c: Likewise.
47852         * setjmp/setjmp.c: Likewise.
47853         * signal/kill.c: Likewise.
47854         * signal/killpg.c: Likewise.
47855         * signal/raise.c: Likewise.
47856         * signal/sigaction.c: Likewise.
47857         * signal/sigaltstack.c: Likewise.
47858         * signal/sigblock.c: Likewise.
47859         * signal/sigignore.c: Likewise.
47860         * signal/sigintr.c: Likewise.
47861         * signal/signal.c: Likewise.
47862         * signal/sigpause.c: Likewise.
47863         * signal/sigpending.c: Likewise.
47864         * signal/sigqueue.c: Likewise.
47865         * signal/sigreturn.c: Likewise.
47866         * signal/sigset.c: Likewise.
47867         * signal/sigsetmask.c: Likewise.
47868         * signal/sigstack.c: Likewise.
47869         * signal/sigsuspend.c: Likewise.
47870         * signal/sigtimedwait.c: Likewise.
47871         * signal/sigvec.c: Likewise.
47872         * signal/sigwait.c: Likewise.
47873         * signal/sigwaitinfo.c: Likewise.
47874         * signal/sysv_signal.c: Likewise.
47875         * socket/accept.c: Likewise.
47876         * socket/accept4.c: Likewise.
47877         * socket/bind.c: Likewise.
47878         * socket/connect.c: Likewise.
47879         * socket/getpeername.c: Likewise.
47880         * socket/getsockname.c: Likewise.
47881         * socket/getsockopt.c: Likewise.
47882         * socket/isfdtype.c: Likewise.
47883         * socket/listen.c: Likewise.
47884         * socket/recv.c: Likewise.
47885         * socket/recvfrom.c: Likewise.
47886         * socket/recvmsg.c: Likewise.
47887         * socket/send.c: Likewise.
47888         * socket/sendmsg.c: Likewise.
47889         * socket/sendto.c: Likewise.
47890         * socket/setsockopt.c: Likewise.
47891         * socket/shutdown.c: Likewise.
47892         * socket/sockatmark.c: Likewise.
47893         * socket/socket.c: Likewise.
47894         * socket/socketpair.c: Likewise.
47895         * stdio-common/ctermid.c: Likewise.
47896         * stdio-common/cuserid.c: Likewise.
47897         * stdio-common/remove.c: Likewise.
47898         * stdio-common/rename.c: Likewise.
47899         * stdio-common/renameat.c: Likewise.
47900         * stdio-common/tempname.c: Likewise.
47901         * stdlib/getcontext.c: Likewise.
47902         * stdlib/makecontext.c: Likewise.
47903         * stdlib/setcontext.c: Likewise.
47904         * stdlib/swapcontext.c: Likewise.
47905         * stdlib/system.c: Likewise.
47906         * streams/fattach.c: Likewise.
47907         * streams/fdetach.c: Likewise.
47908         * streams/getmsg.c: Likewise.
47909         * streams/getpmsg.c: Likewise.
47910         * streams/putmsg.c: Likewise.
47911         * streams/putpmsg.c: Likewise.
47912         * sysdeps/unix/bsd/getpt.c: Likewise.
47913         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
47914         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
47915         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47917         Likewise.
47918         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
47919         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47920         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47921         * sysvipc/msgctl.c: Likewise.
47922         * sysvipc/msgget.c: Likewise.
47923         * sysvipc/msgrcv.c: Likewise.
47924         * sysvipc/msgsnd.c: Likewise.
47925         * sysvipc/semctl.c: Likewise.
47926         * sysvipc/semget.c: Likewise.
47927         * sysvipc/semop.c: Likewise.
47928         * sysvipc/semtimedop.c: Likewise.
47929         * sysvipc/shmat.c: Likewise.
47930         * sysvipc/shmctl.c: Likewise.
47931         * sysvipc/shmdt.c: Likewise.
47932         * sysvipc/shmget.c: Likewise.
47933         * termios/tcdrain.c: Likewise.
47934         * termios/tcflow.c: Likewise.
47935         * termios/tcflush.c: Likewise.
47936         * termios/tcgetattr.c: Likewise.
47937         * termios/tcgetpgrp.c: Likewise.
47938         * termios/tcsendbrk.c: Likewise.
47939         * termios/tcsetattr.c: Likewise.
47940         * termios/tcsetpgrp.c: Likewise.
47941         * time/adjtime.c: Likewise.
47942         * time/clock.c: Likewise.
47943         * time/getitimer.c: Likewise.
47944         * time/gettimeofday.c: Likewise.
47945         * time/setitimer.c: Likewise.
47946         * time/settimeofday.c: Likewise.
47947         * time/stime.c: Likewise.
47948         * time/time.c: Likewise.
47950 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
47952         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
47953         /usr/old/bin.
47955         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
47956         instead of spaces.
47957         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
47959 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
47961         [BZ #14796]
47962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
47963         FE_TONEAREST before applying Dekker multiplication and Knuth
47964         addition.  Clear inexact exceptions and check for exact zero
47965         results afterwards.
47966         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47967         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47968         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47969         * math/libm-test.inc (fma_test): Add more tests.
47970         (fma_test_towardzero): Likewise.
47971         (fma_test_downward): Likewise.
47972         (fma_test_upward): Likewise.
47973         * sysdeps/generic/math_private.h (default_libc_fesetround): New
47974         function.
47975         (libc_fesetround): New macro.
47976         (libc_fesetroundf): Likewise.
47977         (libc_fesetroundl): Likewise.
47978         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
47979         function.
47980         (libc_fesetround_387): Likewise.
47981         (libc_fesetroundf): New macro.
47982         (libc_fesetround): Likewise.
47983         (libc_fesetroundl): Likewise.
47984         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
47985         function.
47986         (libc_fesetroundf): New macro.
47987         (libc_fesetround): Likewise.
47988         (libc_fesetroundl): Likewise.
47989         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
47990         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
47991         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
47992         libm_hidden_ver.
47993         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
47994         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
47995         libm_hidden_def.
47996         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
47997         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
47998         libm_hidden_ver.
47999         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
48000         libm_hidden_def.
48002         [BZ #3439]
48003         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
48004         integer constant usable in #if and use that to give value to enum
48005         constant.
48006         (FE_DIVBYZERO): Likewise.
48007         (FE_UNDERFLOW): Likewise.
48008         (FE_OVERFLOW): Likewise.
48009         (FE_INVALID): Likewise.
48010         (FE_INVALID_SNAN): Likewise.
48011         (FE_INVALID_ISI): Likewise.
48012         (FE_INVALID_IDI): Likewise.
48013         (FE_INVALID_ZDZ): Likewise.
48014         (FE_INVALID_IMZ): Likewise.
48015         (FE_INVALID_COMPARE): Likewise.
48016         (FE_INVALID_SOFTWARE): Likewise.
48017         (FE_INVALID_SQRT): Likewise.
48018         (FE_INVALID_INTEGER_CONVERSION): Likewise.
48019         (FE_TONEAREST): Likewise.
48020         (FE_TOWARDZERO): Likewise.
48021         (FE_UPWARD): Likewise.
48022         (FE_DOWNWARD): Likewise.
48023         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
48024         (FE_DIVBYZERO): Likewise.
48025         (FE_OVERFLOW): Likewise.
48026         (FE_UNDERFLOW): Likewise.
48027         (FE_INEXACT): Likewise.
48028         (FE_TONEAREST): Likewise.
48029         (FE_DOWNWARD): Likewise.
48030         (FE_UPWARD): Likewise.
48031         (FE_TOWARDZERO): Likewise.
48032         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
48033         (FE_UNDERFLOW): Likewise.
48034         (FE_OVERFLOW): Likewise.
48035         (FE_DIVBYZERO): Likewise.
48036         (FE_INVALID): Likewise.
48037         (FE_TONEAREST): Likewise.
48038         (FE_TOWARDZERO): Likewise.
48039         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
48040         (FE_OVERFLOW): Likewise.
48041         (FE_UNDERFLOW): Likewise.
48042         (FE_DIVBYZERO): Likewise.
48043         (FE_INEXACT): Likewise.
48044         (FE_TONEAREST): Likewise.
48045         (FE_TOWARDZERO): Likewise.
48046         (FE_UPWARD): Likewise.
48047         (FE_DOWNWARD): Likewise.
48048         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
48049         (FE_DIVBYZERO): Likewise.
48050         (FE_OVERFLOW): Likewise.
48051         (FE_UNDERFLOW): Likewise.
48052         (FE_INEXACT): Likewise.
48053         (FE_TONEAREST): Likewise.
48054         (FE_DOWNWARD): Likewise.
48055         (FE_UPWARD): Likewise.
48056         (FE_TOWARDZERO): Likewise.
48058 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
48060         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
48062 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
48064         * scripts/cross-test-ssh.sh (command): Use newlines to separate
48065         commands.  Quote $PWD.
48066         (blacklist_exports): Don't use remove_newlines.  Replace "declare
48067         -x" by "export".
48068         (remove_newlines): Remove.
48070 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
48072         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
48073         * stdlib/stdlib.h (atof): Moved to ...
48074         * include/bits/stdlib-float.h: Here.  New file.
48075         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
48076         * stdlib/bits/stdlib-float.h: New file.
48077         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
48078         -mno-sse -mno-mmx.
48079         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
48080         <xmmintrin.h>.
48082 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48084         * conform/conformtest.pl (@headers): Add fenv.h.
48085         * conform/data/fenv.h-data: New file.
48086         * include/fenv.h [_ISOMAC]: Disable all contents of file except
48087         include of <math/fenv.h>.
48089         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
48090         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
48091         && !UNIX98].  Enables tests for XOPEN2K8.
48092         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
48093         POSIX2008]: Likewise.
48095         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
48096         (struct rusage): Do not expect type or its members.
48098         [BZ #3439]
48099         * math/math.h (FP_NAN): Define macro to integer constant usable in
48100         #if and use that to give value to enum constant.
48101         (FP_INFINITE): Likewise.
48102         (FP_ZERO): Likewise.
48103         (FP_SUBNORMAL): Likewise.
48104         (FP_NORMAL): Likewise.
48106 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
48108         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
48109         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
48110         arguments.
48112 2012-11-02  Roland McGrath  <roland@hack.frob.com>
48114         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
48115         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
48116         autoconf-time if not.
48117         * configure.in: Remove AC_PREREQ.
48119 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48121         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
48122         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
48123         of the internal implementation.
48125 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48127         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
48128         except include of <misc/sys/syslog.h>.
48130 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
48133         function returns with a NULL context exit with zero.
48135 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48137         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
48139 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
48141         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
48142         (run_program_cmd): This.
48143         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
48144         (tst_langinfo): New variable.  Use it.
48146 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
48148         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
48149         floating point opcodes.
48151 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48153         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
48154         variable.
48156         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
48158         * sysdeps/mach/hurd/powerpc: Remove directory.
48159         * sysdeps/mach/powerpc: Likewise.
48161 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48163         * scripts/check-local-headers.sh: Ignore c++ headers.
48165 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48167         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
48168         __libc_cleanup_region_start argument.
48170 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
48172         [BZ #14784]
48173         [BZ #14785]
48174         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
48175         x * y using scaling, not as x * y + z.
48176         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48177         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48178         * math/libm-test.inc (fma_test): Add more tests.
48179         (fma_test_towardzero): Likewise.
48180         (fma_test_downward): Likewise.
48181         (fma_test_upward): Likewise.
48183 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48185         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
48187 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48189         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
48190         New variable.
48192 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
48194         * rt/tst-shm.c (worker): Correct checking for mmap failure.
48196 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48199         Fix sort order.
48200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48201         Likewise.
48203 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48206         Fix the order of the list for glibc 2.17.
48207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48208         Likewise.
48210 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48214 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48216         [BZ #14610]
48217         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
48218         for low part of x being zero before using __atanl (y).
48219         * math/libm-test.inc (atan2_test): Add another test.
48221         * manual/install.texi (Configuring and compiling): Document
48222         general use of test-wrapper and test-wrapper-env.
48223         * INSTALL: Regenerated.
48225         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
48226         (__fma): Do not extract and scale down low bits on after-rounding
48227         systems when result rounded to normal precision would have normal
48228         exponent.
48229         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
48230         (__fmal): Do not extract and scale down low bits on after-rounding
48231         systems when result rounded to normal precision would have normal
48232         exponent.
48233         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
48234         (__fmal): Do not extract and scale down low bits on after-rounding
48235         systems when result rounded to normal precision would have normal
48236         exponent.
48237         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
48238         macro.
48239         (fma_test): Add more tests.
48240         (fma_test_towardzero): Likewise.
48241         (fma_test_downward): Likewise.
48242         (fma_test_upward): Likewise.
48244 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
48246         * sysdeps/i386/tininess.h: Renamed to ...
48247         * sysdeps/x86/tininess.h: This.
48248         * sysdeps/x86_64/tininess.h: Removed.
48250 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48252         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
48253         input.  Use $(build-program-cmd).
48254         ($(objpfx)tst-array1-static.out): Likewise.
48255         ($(objpfx)tst-array2.out): Likewise.
48256         ($(objpfx)tst-array3.out): Likewise.
48257         ($(objpfx)tst-array4.out): Likewise.
48258         ($(objpfx)tst-array5.out): Likewise.
48259         ($(objpfx)tst-array5-static.out): Likewise.
48261 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
48263         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
48264         if defined.
48266         * nss/nsswitch.h (nss_interface_function): Provide new
48267         macro for use with NSS functions.
48268         * grp/initgroups.c: Use new macro.
48269         * nss/getXXbyYY.c: Likewise.
48270         * nss/getXXbyYY_r.c: Likewise.
48271         * nss/getXXent.c: Likewise.
48272         * nss/getXXent_r.c: Likewise.
48273         * sysdeps/posix/getaddrinfo.c: Likewise.
48275 2012-10-30  Andreas Jaeger  <aj@suse.de>
48277         * po/ru.po: Update Russion translation from translation project.
48279 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48281         [BZ #14152]
48282         [BZ #14783]
48283         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
48284         result and shift together with sticky bit instead of replicating
48285         round-to-nearest rounding.
48286         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48287         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48288         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
48289         missing underflow exceptions.
48290         (fma_test_towardzero): Add more tests.
48291         (fma_test_downward): Likewise.
48292         (fma_test_upward): Likewise.
48294         [BZ #14047]
48295         * sysdeps/generic/tininess.h: New file.
48296         * sysdeps/i386/tininess.h: Likewise.
48297         * sysdeps/sh/tininess.h: Likewise.
48298         * sysdeps/x86_64/tininess.h: Likewise.
48299         * stdlib/tst-strtod-underflow.c: Likewise.
48300         * stdlib/tst-tininess.c: Likewise.
48301         * stdlib/strtod_l.c: Include <tininess.h>.
48302         (round_and_return): Do not set errno for exact underflow cases.
48303         Force an underflow exception when setting errno for underflow.
48304         Determine underflow based on rounding to normal precision if
48305         TININESS_AFTER_ROUNDING.
48306         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
48307         ERANGE for exact underflow cases.
48308         * stdlib/Makefile (tests): Add tst-tininess and
48309         tst-strtod-underflow.
48310         ($(objpfx)tst-tininess): Use $(link-libm).
48311         ($(objpfx)tst-strtod-underflow): Likewise.
48313 2012-10-30  Andreas Jaeger  <aj@suse.de>
48315         [BZ#14767]
48316         * elf/Makefile (tests): Remove conditional for have-initfini-array
48317         since this is now always required and the variable does not exist
48318         anymore.
48319         (tests-static): Likewise.
48320         (modules-names): Likewise.
48322         * po/eo.po: Add Esperanto translation from translation project.
48324         * elf/tst-array1.c (fini_array): Make writeable so that it can be
48325         merged with constructor/destructor.
48326         (init_array): Likewise.
48327         * elf/tst-array2dep.c (fini_array): Likewise.
48328         (init_array): Likewise.
48330 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
48332         * manual/message.texi: Delete @cartouche tags.
48334 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
48336         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
48337         EOPNOTSUPP.
48338         * sysdeps/mach/hurd/fsync.c: Likewise.
48340         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
48341         [_POSIX_REALTIME_SIGNALS]: Change condition to
48342         [_POSIX_REALTIME_SIGNALS > 0].
48344 2012-10-27  Andreas Jaeger  <aj@suse.de>
48346         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
48347         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
48348         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
48349         [__WORDSIZE != 64]: Likewise.
48351 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
48353         *  iconvdata/tst-table.sh: Remove ${SHELL}.
48354         *  iconvdata/tst-tables.sh: Likewise.
48356 2012-10-25  David S. Miller  <davem@davemloft.net>
48358         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48359         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
48360         of strtoull.
48362         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
48363         ifunc-impl-list.c
48364         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48365         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
48366         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
48367         file.
48369 2012-10-25  Roland McGrath  <roland@hack.frob.com>
48371         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48372         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
48373         __getdirentries.
48375 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48376             Jim Blandy  <jimb@codesourcery.com>
48378         * scripts/cross-test-ssh.sh: New file.
48379         * manual/install.texi (Configuring and compiling): Document use of
48380         cross-test-ssh.sh.
48381         * INSTALL: Regenerated.
48383 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
48385         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
48386         EOPNOTSUPP.
48388 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48390         * Makeconfig (run-program-prefix): Fix comment.
48392 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48393             Jim Blandy  <jimb@codesourcery.com>
48395         * Makeconfig (test-wrapper): New variable,
48396         (test-wrapper-env): Likewise.
48397         [$(cross-compiling) = yes && $(test-wrapper) != ""]
48398         (run-built-tests): Define to yes.
48399         (run-program-prefix): Use $(test-wrapper).
48400         (built-program-cmd): Likewise.
48401         * Rules (make-test-out): Use $(test-wrapper-env) and
48402         $(host-built-program-cmd).
48403         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
48404         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
48405         tst-pathopt.sh.
48406         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
48407         $(test-wrapper-env) to tst-rtld-load-self.sh.
48408         ($(objpfx)order2.out): Use $(test-wrapper).
48409         ($(objpfx)tst-initorder.out): Likewise.
48410         ($(objpfx)tst-initorder2.out): Likewise.
48411         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
48412         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
48413         (test_wrapper_env): New variable.  Use it to run ld.so.
48414         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
48415         Use it to run ld.so.
48416         (test_wrapper_env): Likewise.
48417         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
48418         $(test-wrapper) to run-iconv-test.sh.
48419         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
48420         (ICONV): Use $test_wrapper.
48421         * posix/Makefile ($(objpfx)globtest.out): Pass
48422         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
48423         globtest.sh, not $(run-program-prefix).
48424         * posix/globtest.sh (run_via_rtld_prefix): New variable.
48425         (test_wrapper): Likewise.
48426         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
48427         set together with run_via_rtld_prefix.
48428         (run_program_prefix): Define in terms of test_wrapper and
48429         run_via_rtld_prefix.
48431 2012-10-24  Roland McGrath  <roland@hack.frob.com>
48433         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
48434         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
48435         Targets removed.
48437         [BZ #14743]
48438         * include/time.h: Remove librt_hidden_proto (clock_gettime).
48439         Declare __clock_getres, __clock_gettime, __clock_settime,
48440         __clock_nanosleep, and __clock_getcpuclockid.
48441         * rt/clock_gettime.c: Define __clock_gettime as an alias.
48442         Remove librt_hidden_def (clock_gettime).
48443         * sysdeps/unix/clock_gettime.c: Likewise.
48444         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
48445         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48446         * rt/clock_getres.c: Define __clock_getres as an alias.
48447         * sysdeps/posix/clock_getres.c: Likewise.
48448         * rt/clock_settime.c: Define __clock_settime as an alias.
48449         * sysdeps/unix/clock_settime.c: Likewise.
48450         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
48451         * sysdeps/unix/clock_nanosleep.c: Likewise.
48452         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48453         * rt/clock-compat.c: New file.
48454         * rt/Makefile (librt-routines): Add clock-compat and move
48455         $(clock-routines) to ...
48456         (routines): ... here, new variable.
48457         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
48458         Don't add get_clockfreq here.
48459         * rt/Versions (libc: GLIBC_2.17): New version set.
48460         Add clock_* symbols here.
48461         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
48462         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
48463         (GLIBC_2.17): Add clock_* symbols.
48464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48466         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48468         Likewise.
48469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48470         Likewise.
48471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48475         * NEWS: Mention the move.
48477         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
48478         Use __open, __read, __close rather than their public counterparts.
48479         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48480         (__get_clockfreq_via_cpuinfo): Likewise.
48481         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
48482         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
48484         * config.h.in (HAVE_IFUNC): New #undef.
48485         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
48486         was successful.
48487         * configure: Regenerated.
48489 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48491         * configure.in: Move READELF check to start of file.
48492         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
48493         libc_cv_asm_gnu_indirect_function in the process.
48494         * configure: Regenerated.
48496 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48498         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
48499         send the output to /dev/null.
48500         (libc_cv_cc_with_libunwind): Likewise.
48501         (libc_cv_as_noexecstack): Likewise.
48502         * configure: Regenerate.
48504 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48506         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
48508         * posix/globtest.sh (TMPDIR): Do not set.
48509         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
48510         (testout): Likewise.
48512 2012-10-24  Andreas Jaeger  <aj@suse.de>
48514         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
48515         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
48516         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
48517         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
48518         posix_fadvise64, posix_fallocate64.
48520         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
48521         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
48522         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
48523         Likewise.
48524         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
48525         Likewise.
48526         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
48528         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
48529         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
48530         <bits/fcntl-linux.h>.
48531         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
48533         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
48534         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
48535         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
48536         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
48537         [__WORDSIZE != 64]: Likewise.
48539 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48541         * Makeconfig (run-built-tests): New variable.
48542         * Rules [$(cross-compiling) = yes]: Change condition to
48543         [$(run-built-tests) = no].
48544         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
48545         to [$(run-built-tests) = yes].
48546         * elf/Makefile [$(cross-compiling) = no]: Likewise
48547         * grp/Makefile [$(cross-compiling) = no]: Likewise.
48548         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
48549         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
48550         * intl/Makefile [$(cross-compiling) = no]: Likewise.
48551         * io/Makefile [$(cross-compiling) = no]: Likewise.
48552         * libio/Makefile [$(cross-compiling) = no]: Likewise.
48553         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
48554         * misc/Makefile [$(cross-compiling) = no]: Likewise.
48555         * posix/Makefile [$(cross-compiling) = no]: Likewise.
48556         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
48557         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
48558         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
48559         * string/Makefile [$(cross-compiling) = no]: Likewise.
48561         * posix/Makefile ($(objpfx)globtest.out): Pass
48562         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
48563         $(rtld-installed-name).
48564         * posix/globtest.sh (elf_objpfx): Remove variable.
48565         (rtld_installed_name): Likewise.
48566         (library_path): Likewise.
48567         (run_program_prefix): New variable.  Use for running globtest
48568         binary.
48570 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
48571             Joseph Myers  <joseph@codesourcery.com>
48573         * Makeconfig (host-built-program-cmd): New variable.
48574         * elf/Makefile (tst-stackguard1-ARGS): Use
48575         $(host-built-program-cmd).
48576         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
48577         (tst-spawn-ARGS): Likewise.
48578         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
48580 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48581             Jim Blandy  <jimb@codesourcery.com>
48583         * Makeconfig (run-via-rtld-prefix): New variable.
48584         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
48585         (built-program-cmd): Likewise.
48587 2012-10-22  Andreas Jaeger  <aj@suse.de>
48589         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
48590         __O_RSYNC if it exists, otherwise to O_SYNC.
48592 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
48593             Joseph Myers  <joseph@codesourcery.com>
48595         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
48596         /dev/null.
48597         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
48598         from /dev/null
48599         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
48600         /dev/null.
48602 2012-10-22  Andreas Jaeger  <aj@suse.de>
48604         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
48605         Define always.
48606         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
48608         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48609         bits/fcntl-linux.h.
48611         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
48612         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
48614         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
48615         to __O_LARGEFILE.
48616         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
48617         to __O_LARGEFILE.
48619 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
48620             Joseph Myers  <joseph@codesourcery.com>
48622         * config.make.in (NM): New variable.
48624 2012-10-21  Andreas Jaeger  <aj@suse.de>
48626         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
48627         definitions and declarations that are provided by
48628         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48630 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48632         [BZ #14683]
48633         * elf/Makefile (tests-static): Add tst-leaks1-static.
48634         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
48635         ($(objpfx)tst-leaks1-static): New rule.
48636         ($(objpfx)tst-leaks1-static-mem): Likewise.
48637         (tst-leaks1-static-ENV): New macro.
48638         * elf/dl-open.c (dl_open_worker): Check the main application
48639         only if SHARED is defined.
48640         * elf/tst-leaks1-static.c: New file.
48642 2012-10-20  Andreas Jaeger  <aj@suse.de>
48644         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
48645         generic values for Linux.
48646         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
48647         and declarations that are provided by <bits/fcntl-linux.h> and
48648         include <bits/fcntl-linux.h>.
48649         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48650         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48652 2012-10-20  Roland McGrath  <roland@hack.frob.com>
48654         * io/fcntl.h: Move include of <bits/types.h> to the top and
48655         include it unconditionally.
48657 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48659         * wcsmbs/Makefile (tests-ifunc): New variable.
48660         (tests): Add $(tests-ifunc).
48661         * wcsmbs/test-wcschr-ifunc.c: New file.
48662         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
48663         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
48664         * wcsmbs/test-wcslen-ifunc.c: Likewise.
48665         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
48666         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
48668         * string/Makefile (tests-ifunc): New variable.
48669         (tests): Add $(tests-ifunc).
48670         * string/test-memccpy.c (TEST_NAME): New macro.
48671         * string/test-memchr.c (TEST_NAME): Likewise.
48672         * string/test-memcmp.c (TEST_NAME): Likewise.
48673         * string/test-memcpy.c (TEST_NAME): Likewise.
48674         * string/test-memmem.c (TEST_NAME): Likewise.
48675         * string/test-memmove.c (TEST_NAME): Likewise.
48676         * string/test-memset.c (TEST_NAME): Likewise.
48677         * string/test-rawmemchr.c (TEST_NAME): Likewise.
48678         * string/test-stpcpy.c (TEST_NAME): Likewise.
48679         * string/test-stpncpy.c (TEST_NAME): Likewise.
48680         * string/test-strcasecmp.c (TEST_NAME): Likewise.
48681         * string/test-strcasestr.c (TEST_NAME): Likewise.
48682         * string/test-strcat.c (TEST_NAME): Likewise.
48683         * string/test-strchr.c (TEST_NAME): Likewise.
48684         * string/test-strcmp.c(TEST_NAME): Likewise.
48685         * string/test-strcpy.c (TEST_NAME): Likewise.
48686         * string/test-strcspn.c (TEST_NAME): Likewise.
48687         * string/test-strlen.c (TEST_NAME): Likewise.
48688         * string/test-strncasecmp.c (TEST_NAME): Likewise.
48689         * string/test-strncmp.c (TEST_NAME): Likewise.
48690         * string/test-strncpy.c (TEST_NAME): Likewise.
48691         * string/test-strnlen.c (TEST_NAME): Likewise.
48692         * string/test-strpbrk.c (TEST_NAME): Likewise.
48693         * string/test-strrchr.c (TEST_NAME): Likewise.
48694         * string/test-strspn.c (TEST_NAME): Likewise.
48695         * string/test-strstr.c (TEST_NAME): Likewise.
48696         * string/test-bcopy-ifunc.c: New file.
48697         * string/test-bzero-ifunc.c: Likewise.
48698         * string/test-memccpy-ifunc.c: Likewise.
48699         * string/test-memchr-ifunc.c: Likewise.
48700         * string/test-memcmp-ifunc.c: Likewise.
48701         * string/test-memcpy-ifunc.c: Likewise.
48702         * string/test-memmem-ifunc.c: Likewise.
48703         * string/test-memmove-ifunc.c: Likewise.
48704         * string/test-mempcpy-ifunc.c: Likewise.
48705         * string/test-memset-ifunc.c: Likewise.
48706         * string/test-rawmemchr-ifunc.c: Likewise.
48707         * string/test-stpcpy-ifunc.c: Likewise.
48708         * string/test-stpncpy-ifunc.c: Likewise.
48709         * string/test-strcasecmp-ifunc.c: Likewise.
48710         * string/test-strcasestr-ifunc.c: Likewise.
48711         * string/test-strcat-ifunc.c: Likewise.
48712         * string/test-strchr-ifunc.c: Likewise.
48713         * string/test-strchrnul-ifunc.c: Likewise.
48714         * string/test-strcmp-ifunc.c: Likewise.
48715         * string/test-strcpy-ifunc.c: Likewise.
48716         * string/test-strcspn-ifunc.c: Likewise.
48717         * string/test-strlen-ifunc.c: Likewise.
48718         * string/test-strncasecmp-ifunc.c: Likewise.
48719         * string/test-strncat-ifunc.c: Likewise.
48720         * string/test-strncmp-ifunc.c: Likewise.
48721         * string/test-strncpy-ifunc.c: Likewise.
48722         * string/test-strnlen-ifunc.c: Likewise.
48723         * string/test-strpbrk-ifunc.c: Likewise.
48724         * string/test-strrchr-ifunc.c: Likewise.
48725         * string/test-strspn-ifunc.c: Likewise.
48726         * string/test-strstr-ifunc.c: Likewise.
48728         * debug/Makefile (tests-ifunc): New variable.
48729         (tests): Add $(tests-ifunc).
48730         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
48731         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
48732         * debug/test-stpcpy_chk-ifunc.c: New file.
48733         * debug/test-strcpy_chk-ifunc.c: Likewise.
48735 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48737         [BZ #13601]
48738         * elf/dl-load.c (open_verify): Retry read if the entire ELF
48739         header is not read in.
48741 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
48743         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
48744         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
48745         directly.  Pass built executable to script as
48746         $(built-program-cmd).
48747         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
48748         $testprogram without using LD_LIBRARY_PATH and $ldso.
48750         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
48751         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
48752         $(rtld-installed-name).
48753         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
48754         (rtld_installed_name): Likewise.
48755         (library_path): Likewise.
48756         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
48757         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
48758         $(run-program-prefix) to tst-tables.sh.
48759         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
48760         it to run tst-table-from and tst-table-to.
48761         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
48762         Pass it to tst-table.sh.
48763         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
48764         $(run-program-prefix) to tst-gettext.sh.
48765         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
48766         tst-translit.sh.
48767         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
48768         tst-gettext2.sh.
48769         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
48770         to run tst-gettext.
48771         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
48772         to run tst-gettext2.
48773         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
48774         to run tst-translit.
48775         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
48776         $(run-program-prefix) to tst-mtrace.sh.
48777         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
48778         to run tst-mtrace.
48779         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
48780         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
48781         $(rtld-installed-name).
48782         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
48783         (rtld_installed_name): Likewise.
48784         (run_program_prefix): New variable.  Use it to run wordexp-test.
48786         * Makeconfig (ARCH): Remove all definitions.
48787         (machine): Likewise.
48788         [ARCH]: Remove conditional code.
48789         [!objdir]: Give error.
48790         [!objdir] (objpfx): Remove.
48791         [!objdir] (common-objpfx): Likewise.
48792         [!objdir] (common-objdir): Likewise.
48793         * configure.in (config_makefile): Remove.  Hardcode Makefile in
48794         AC_CONFIG_FILES call.
48795         * configure: Regenerated.
48797         [BZ #13888]
48798         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
48799         or TMPDIR.
48800         (testout): Likewise.
48802         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
48803         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
48804         $(rtld-installed-name).
48805         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
48806         (rtld_installed_name): Likwise.
48807         (runit): Remove function.
48808         (run_getconf): New variable,  Use it for running getconf binary.
48810 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
48812         [BZ #14716]
48813         * string/test-memmem.c (check_result): New function.
48814         (do_one_test): Use it.
48815         (check1): New function.
48816         (test_main): Use it.
48818 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
48820         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
48822 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
48824         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
48825         (_G_LSEEK64): Likewise.
48826         (_G_MMAP64): Likewise.
48827         (_G_FSTAT64): Likewise.
48828         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
48829         (_G_LSEEK64): Likewise.
48830         (_G_MMAP64): Likewise.
48831         (_G_FSTAT64): Likewise.
48832         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
48833         unconditional.  Call __mmap64 directly.
48834         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
48835         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
48836         __lseek64 directly.
48837         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
48838         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
48839         __mmap64 directly.
48840         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
48841         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48842         __lseek64 directly.
48843         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
48844         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48845         __lseek64 directly.
48846         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
48847         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
48848         __lseek64 directly.
48849         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
48850         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
48851         __fxstat64 directly.
48852         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
48853         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
48854         unconditional.
48855         (freopen64) [!_G_OPEN64]: Remove conditional code.
48856         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
48857         unconditional.
48858         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
48859         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
48860         unconditional.
48861         (ftello64) [!_G_LSEEK64]: Remove conditional code.
48862         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
48863         unconditional.
48864         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48865         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
48866         unconditional.
48867         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
48868         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
48869         unconditional.
48870         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48871         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
48872         unconditional.
48873         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48874         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
48875         unconditional.
48876         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48878 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48880         [BZ #12140]
48881         * manual/memory.texi (Malloc Tunable Parameters): Add note
48882         about free list pointers overwriting some perturb bytes.
48883         Wording suggested by Roland McGrath.
48885 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
48887         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
48888         (lgamma_test): Likewise.
48889         (tgamma_test): Likewise.
48891 2012-10-16  Florian Weimer  <fweimer@redhat.com>
48893         [BZ #14700]
48894         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
48895         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
48897 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
48899         * NEWS: Mention BZ #14716.
48900         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
48901         when removing AVAILABLE1_USES_J macro.
48903 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
48905         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
48906         (__bswap_64): __uint64_t for unsigned 64-bit int.
48908 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
48910         * include/string.h (memmem): Declare libc hidden alias.
48911         * string/memmem.c (memmem): Define libc hidden alias.
48912         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
48913         __read, __close instead of open, read, close.
48915 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
48917         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
48918         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
48919         global and hidden.
48920         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
48921         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
48922         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
48923         Likewise.
48924         (__rawmemchr_sse2): Likewise.
48925         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
48926         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
48927         (__strchr_sse2): Likewise.
48928         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
48929         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
48930         (__strcasecmp_sse2): Likewise.
48931         (__strncasecmp_sse2): Likewise.
48932         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
48933         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
48934         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
48935         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
48936         (__strrchr_sse2): Likewise.
48937         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
48938         ifunc-impl-list.c.
48939         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
48940         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
48941         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
48942         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48943         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
48944         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
48945         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48946         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48947         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
48948         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
48949         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
48950         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
48951         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
48952         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
48953         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
48954         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48955         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
48956         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
48957         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
48958         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
48959         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
48960         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
48961         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
48962         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48963         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
48964         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48965         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
48966         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48967         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
48968         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
48970         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
48971         global and hidden.
48972         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
48973         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
48974         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
48975         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
48976         Likewise.
48977         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
48978         Likewise.
48979         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
48980         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
48981         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
48982         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
48983         ifunc-impl-list.c.
48984         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48985         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48986         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48987         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48988         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48989         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48990         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48991         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48992         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48993         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48994         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48995         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48996         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48997         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
48998         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
48999         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49000         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
49001         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
49002         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49003         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49004         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49005         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49006         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49007         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49008         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49009         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
49010         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
49011         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
49012         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
49013         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49014         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
49015         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49016         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49017         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
49018         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49019         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49020         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49021         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49022         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49023         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49024         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
49026         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
49027         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
49028         * include/ifunc-impl-list.h: New file.
49029         * misc/ifunc-impl-list.c: Likewise.
49030         * misc/Makefile (routines): Add ifunc-impl-list.
49031         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
49032         * string/test-string.h: Include <ifunc-impl-list.h>.
49033         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
49034         TEST_NAME]: New variables.
49035         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
49036         are defined.
49037         (test_init): Call __libc_ifunc_impl_list to initialize
49038         func_list if TEST_IFUNC and TEST_NAME are defined.
49040         * string/Makefile (strop-tests): Add bcopy and bzero.
49041         * string/test-bcopy.c: New file.
49042         * string/test-bzero.c: Likewise.
49043         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
49044         defined.
49045         * string/test-memset.c: Support bzero test if TEST_BZERO is
49046         defined.
49047         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
49048         __libc_memmove.
49049         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
49050         __libc_memset.
49051         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
49052         of memset.
49054 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
49056         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
49057         * configure: Regenerated.
49059         * Makeconfig (+link-static-before-libc): Don't include
49060         $(link-static-libc).
49062         * libio/libio.h (_IO_pos_t): Remove.
49064 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49066         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
49067         McGrath.
49069 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49071         * crypt/crypt-entry.c: Include fips-private.h.
49072         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
49073         * crypt/md5c-test.c (main): Tolerate disabled MD5.
49074         * sysdeps/unix/sysv/linux/fips-private.h: New file.
49075         * sysdeps/generic/fips-private.h: New file, dummy fallback.
49077 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49079         * crypt/crypt-private.h: Include stdbool.h.
49080         (_ufc_setup_salt_r): Return bool.
49081         * crypt/crypt-entry.c: Include errno.h.
49082         (__crypt_r): Return NULL with EINVAL for bad salt.
49083         * crypt/crypt_util.c (bad_for_salt): New.
49084         (_ufc_setup_salt_r): Check that salt is long enough and within
49085         the specified alphabet.
49086         * crypt/badsalttest.c: New file.
49087         * crypt/Makefile (tests): Add it.
49088         ($(objpfx)badsalttest): New.
49090 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
49092         * NEWS: Add entry for BZ #14602.
49094 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49096         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
49097         type-generic.
49098         * math/libm-test.inc: Update comment listing what functions and
49099         macros are tested.
49100         (isgreater_test): New function.
49101         (isgreaterequal_test): Likewise.
49102         (isless_test): Likewise.
49103         (islessequal_test): Likewise.
49104         (islessgreater_test): Likewise.
49105         (isunordered_test): Likewise.
49106         (main): Call the new functions.
49108 2012-10-09  Roland McGrath  <roland@hack.frob.com>
49110         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
49111         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
49112         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
49113         * sysdeps/i386/configure: Regenerated.
49114         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
49115         * sysdeps/mach/configure: Regenerated.
49116         * sysdeps/mach/hurd/configure: Regenerated.
49117         * sysdeps/powerpc/configure: Regenerated.
49118         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49119         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49120         * sysdeps/s390/s390-32/configure: Regenerated.
49121         * sysdeps/s390/s390-64/configure: Regenerated.
49122         * sysdeps/sh/configure: Regenerated.
49123         * sysdeps/sparc/configure: Regenerated.
49124         * sysdeps/unix/sysv/linux/configure: Regenerated.
49125         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49126         * sysdeps/x86_64/configure: Regenerated.
49128         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
49129         defined.  Don't check if MAP is NULL.
49131 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49133         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
49134         (_G_stat64): Likewise.
49135         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
49136         (_G_stat64): Likewise.
49137         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
49138         instead of struct _G_stat64.
49139         * libio/fileops.c (mmap_remap_check): Likewise.
49140         (decide_maybe_mmap): Likewise.
49141         (_IO_new_file_seekoff): Likewise.
49142         (_IO_file_stat): Likewise.
49143         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
49144         _G_off64_t.
49145         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
49146         instead of struct _G_stat64.
49147         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49149 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
49151         [BZ #14602]
49152         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49153         Replace with ...
49154         (CHECK_EOL): New macro.
49155         (two_way_short_needle): Check beginning of haystack for EOL.  Use
49156         CHECK_EOL.
49157         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49158         Replace with CHECK_EOL.
49159         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49160         Replace with CHECK_EOL.
49162 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
49164         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
49165         type-generic.
49166         * math/libm-test.inc: Update comment listing what functions and
49167         macros are tested.
49168         (finite_test): New function.
49169         (isinf_test): Likewise.
49170         (isnan_test): Likewise.
49171         (fpclassify_test): Test subnormal input.
49172         (isfinite_test): Likewise.
49173         (isnormal_test): Likewise.
49174         (main): Call the new functions.
49176 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
49178         [BZ #14660]
49179         * Makerules (%.dynsym): Force C locale when running
49180         $(OBJDUMP) --dynamic-syms.
49182 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
49184         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
49185         <stdint.h>.
49187 2012-10-06  David S. Miller  <davem@davemloft.net>
49189         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
49190         upper 32-bits of the length value in %o2 since we use branch-on-register
49191         tests which consider the entire 64-bit register.
49193 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
49195         * string/test-strstr.c (check2): Add a test for page boundary.
49197 2012-10-05  David S. Miller  <davem@davemloft.net>
49199         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
49200         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
49201         file.
49202         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49203         sysdep_routines.
49204         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49205         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
49206         and bzero when HWCAP_SPARC_CRYPTO is present.
49208 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
49210         [BZ #14602]
49211         * string/test-strstr.c (check2): New function.
49212         (test_main): Call check2.
49214         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
49215         and bug-strchr1.
49216         * string/bug-strcasestr1.c (do_test): Moved to ...
49217         * string/test-strcasestr.c (check1): Here.  New function.
49218         (do_one_test): Break out result checking code into ...
49219         (check_result): This.  New function.
49220         (do_one_test): Call check_result.
49221         (test_main): Call check1.
49222         * string/bug-strchr1.c (do_test): Moved to ...
49223         * string/test-strchr.c (check1): Here.  New function.
49224         (do_one_test): Break out result checking code into ...
49225         (check_result): This.  New function.
49226         (do_one_test): Call check_result.
49227         (test_main): Call check1.
49228         * string/bug-strstr1.c (main): Moved to ...
49229         * string/test-strstr.c (check1): Here.  New function.
49230         (do_one_test): Break out result checking code into ...
49231         (check_result): This.  New function.
49232         (do_one_test): Call check_result.
49233         (test_main): Call check1.
49234         * string/bug-strcasestr1.c: Removed.
49235         * string/bug-strchr1.c: Likewise.
49236         * string/bug-strstr1.c: Likewise.
49238         * elf/Makefile (dl-routines): Add hwcaps.
49239         * elf/dl-support.c (_dl_important_hwcaps): Removed.
49240         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
49241         (_dl_important_hwcaps): Moved to ...
49242         * elf/dl-hwcaps.c: Here.  New file.
49243         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
49245         [BZ #14557]
49246         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
49247         if IS_IN_rtld isn't defined.
49249         * elf/dl-support.c (_dl_sysinfo_map): New.
49250         Include "get-dynamic-info.h" and "setup-vdso.h".
49251         (_dl_non_dynamic_init): Call setup_vdso.
49252         * elf/dynamic-link.h: Don't include <assert.h>.
49253         (elf_get_dynamic_info): Moved to ...
49254         * elf/get-dynamic-info.h: Here.  New file.
49255         * elf/dynamic-link.h: Include "get-dynamic-info.h".
49256         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
49257         * elf/setup-vdso.h: Here.  New file.
49258         * elf/rtld.c: Include "setup-vdso.h".
49259         (dl_main): Call setup_vdso.
49261 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
49263         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
49264         creal in comment listing functions tested.  List finite, isinf,
49265         isnan, isless, islessequal, isgreater, isgreaterequal,
49266         islessgreater, isunordered, lgamma_r and pow10 as functions and
49267         macros not tested.  Mention which functions not tested are aliases
49268         for other functions.  Fix typo.  Note that signs of NaNs are not
49269         tested.
49271         * scripts/config.guess: Update from config.git.
49272         * scripts/config.sub: Likewise.
49274 2012-10-04  Roland McGrath  <roland@hack.frob.com>
49276         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
49277         * misc/madvise.c (madvise): Renamed to __madvise.
49278         Make madvise a weak alias.
49279         * include/sys/mman.h: Declare __madvise.
49280         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
49281         * sysdeps/unix/syscalls.list
49282         (madvise): Make __madvise the strong name, and madvise a weak alias.
49283         * sysdeps/unix/sysv/linux/syscalls.list
49284         (madvise, mmap): Remove redundant entries.
49285         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
49286         * malloc/malloc.c (mtrim): Likewise.
49287         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
49289 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49291         * sysdeps/mach/hurd/dl-cache.c: File removed.
49292         * config.h.in (USE_LDCONFIG): New #undef.
49293         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
49294         * configure: Regenerated.
49295         * elf/Makefile (dl-routines): Add dl-cache only under
49296         [$(use-ldconfig) = yes].
49297         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
49298         cache on [USE_LDCONFIG].
49299         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
49300         [USE_LDCONFIG].
49301         * elf/rtld.c (dl_main): Likewise.
49303 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
49305         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
49306         _SC_LEVEL4_CACHE_LINESIZE.
49308 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49310         * sysdeps/unix/bsd/confstr.h: File removed.
49312 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
49314         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
49315         sys/sdt-config.h.
49317 2012-10-02  Roland McGrath  <roland@hack.frob.com>
49319         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
49320         Make 'mapoff' field ElfW(Off) rather than off_t.
49322 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
49324         * nscd/Makefile: Remove nscd-cflags and all its users.
49325         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
49326         (CFLAGS-nonlib): Add compiler flags for nscd modules.
49328         [BZ #10631]
49329         * malloc.c (malloc_printerr): Clarify error message.
49331 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
49333         [BZ #14648]
49334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49335         Set bit_FMA_Usable if FMA is supported.
49336         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
49337         macro.
49338         (bit_FMA4_Usable): Updated.
49339         (index_FMA_Usable): New macro.
49340         (CPUID_FMA): Likewise
49341         (HAS_FMA): Defined with bit_FMA_Usable.
49343 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49345         * bits/types.h (__swblk_t): Type removed.
49346         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
49347         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
49348         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49349         (__SWBLK_T_TYPE): Likewise.
49350         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
49351         (__SWBLK_T_TYPE): Likewise.
49352         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49353         (__SWBLK_T_TYPE): Likewise.
49354         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49355         (__SWBLK_T_TYPE): Likewise.
49357 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
49358             Honza Horak <hhorak@redhat.com>
49360         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
49361         (xdr_mapname): Use YPMAXMAP as maxsize.
49362         (xdr_peername): Use YPMAXPEER as maxsize.
49363         (xdr_keydat): Use YPAXRECORD as maxsize.
49364         (xdr_valdat): Use YPMAXRECORD as maxsize.
49366 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49368         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
49370         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
49371         * csu/init-first.c: ... here.
49372         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
49373         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
49374         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
49375         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
49376         * sysdeps/i386/init-first.c: File removed.
49377         * sysdeps/sh/init-first.c: File removed.
49379 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
49381         [BZ #14645]
49382         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
49383         if x * y might underflow to zero and z is zero.
49384         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49385         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49386         * math/libm-test.inc (min_subnorm_value): New variable.
49387         (fma_test): Add more tests.
49388         (fma_test_towardzero): Likewise.
49389         (fma_test_downward): Likewise
49390         (fma_test_upward): Likewise.
49391         (initialize): Set min_subnorm_value.
49393 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
49395         [BZ #14638]
49396         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
49397         0 + 0.
49398         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
49399         mode for addition resulting in exact zero.
49400         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
49401         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
49402         exact 0 + 0.
49403         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49404         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49405         * math/libm-test.inc (fma_test): Add more tests.
49406         (fma_test_towardzero): New function.
49407         (fma_test_downward): Likewise.
49408         (fma_test_upward): Likewise.
49409         (main): Call the new functions.
49411 2012-09-28  David S. Miller  <davem@davemloft.net>
49413         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
49415 2012-09-28  Roland McGrath  <roland@hack.frob.com>
49417         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
49418         instead of SIGALRM.
49420         * sysdeps/gnu/_G_config.h: Moved to ...
49421         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
49422         * sysdeps/mach/hurd/_G_config.h: Moved to ...
49423         * sysdeps/generic/_G_config.h: ... here.
49425         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
49427         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
49429         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
49430         Conditionalize target on [libnss_test1.so-version].
49432         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
49434         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
49435         (elfobjdir): Move out of conditionals.
49437         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
49438         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
49439         (__nss_lookup_function): Conditionalize label remove_from_tree on
49440         [!DO_STATIC_NSS || SHARED], matching its only use.
49442 2012-09-28  David S. Miller  <davem@davemloft.net>
49444         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
49445         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
49446         file.
49447         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49448         sysdep_routines.
49449         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49450         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
49451         when HWCAP_SPARC_CRYPTO is present.
49453 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49455         * io/tst-mknodat.c: Create a FIFO instead of a socket.
49457 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
49459         [BZ #6530]
49460         * stdio-common/vfprintf.c (process_string_arg): Revert
49461         2000-07-22 change.
49463 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
49465         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
49466         for testcase.
49467         * stdio-common/tst-sprintf.c: Include <locale.h>
49468         (main): Test sprintf's handling of incomplete multibyte
49469         characters.
49471 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
49473         * elf/dl-runtime.c (VERSYMIDX): Removed.
49474         * elf/dl-version.c (VERSYMIDX): Likewise.
49475         * elf/do-rel.h (VERSYMIDX): Likewise.
49476         (VALIDX): Likewise.
49477         * elf/dynamic-link.h (VERSYMIDX): Likewise.
49478         * elf/rtld.c (VALIDX): Likewise.
49479         (ADDRIDX): Likewise.
49480         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
49481         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
49482         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
49483         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
49484         (VALIDX): Likewise.
49485         (ADDRIDX): Likewise.
49487 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49489         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
49491 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
49493         [BZ #11438]
49494         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
49495         to global scope.
49496         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
49497         addresses are in the same scope as 192.0.2/24.
49498         * posix/gai.conf: Document new scope table defaults.
49500 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49502         [BZ #5298]
49503         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
49504         for ftell.  Compute offsets from write pointers instead.
49505         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49507 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49509         [BZ #14543]
49510         * libio/Makefile (tests): New test case tst-fseek.
49511         * libio/tst-fseek.c: New test case to verify that fseek/ftell
49512         combination works in wide mode.
49513         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
49514         state when the external buffer state changes.
49516 2012-09-27  David S. Miller  <davem@davemloft.net>
49518         [BZ #14376]
49519         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
49520         pass reloc->r_addend in as the 'high' argument to
49521         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
49523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49525 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49527         * rt/tst-aio2.c: Include <pthread.h>.
49528         * rt/tst-aio3.c: Likewise.
49530 2012-09-27  Steve Ellcey  <sellcey@mips.com>
49532         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
49534 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
49536         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
49537         contents on [SHARED].
49539 2012-09-26  Marek Polacek  <polacek@redhat.com>
49541         [BZ #14530]
49542         [BZ #13741]
49543         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
49544         for C++ and GCC <4.3 as well as for non GCC compilers.
49546 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49548         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49550 2012-09-25  Roland McGrath  <roland@hack.frob.com>
49552         * Makefile.in (all, install): Declare with .PHONY.
49553         Reported by Michael Hope <michael.hope@linaro.org>.
49555 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49557         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
49558         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
49559         system header.
49560         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
49561         Likewise.
49562         (sydep_routines): Add the new and the internal functions.
49563         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
49564         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
49565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
49566         (GLIBC_2.17): Add the new function.
49567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49568         (GLIBC_2.17): Likewise.
49569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
49570         (GLIBC_2.17): Likewise.
49571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
49572         (GLIBC_2.17): Likewise.
49573         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
49575 2012-09-25  Alan Modra  <amodra@gmail.com>
49577         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
49578         Add release barrier before setting once_control to say
49579         initialisation is done.  Add hints on lwarx.  Use macro in
49580         place of isync.
49581         (clear_once_control): Add release barrier.
49583 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49585         [BZ #13629]
49586         * math/s_clog.c (__clog): Handle more values close to |z| = 1
49587         specially.
49588         * math/s_clog10.c (__clog10): Likewise.
49589         * math/s_clog10f.c (__clog10f): Likewise.
49590         * math/s_clog10l.c (__clog10l): Likewise.
49591         * math/s_clogf.c (__clogf): Likewise.
49592         * math/s_clogl.c (__clogl): Likewise.
49593         * math/Makefile (libm-calls): Add x2y2m1.
49594         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
49595         (__x2y2m1): Likewise.
49596         (__x2y2m1l): Likewise.
49597         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
49598         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
49599         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
49600         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49601         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
49602         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
49603         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
49604         * sysdeps/i386/fpu/libm-test-ulps: Update.
49605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49607         [BZ #14621]
49608         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
49609         int as type of variable DEPTH.
49610         (glob): Use size_t instead of int as type of variables NEWCOUNT
49611         and OLD_PATHC.
49613 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49615         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49616         Add s_sincosf-sse2.
49617         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
49618         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
49619         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
49620         macros for using routine as __sincosf_ia32.
49621         Use macro for function declaration and weak_alias.
49622         * sysdeps/i386/fpu/libm-test-ulps: Update.
49624         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
49625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49627         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
49628         subnormal argument.
49629         * math/s_cexpf.c (__cexpf): Likewise.
49630         * math/s_csinf.c (__csinf): Likewise.
49631         * math/s_csinhf.c (__csinhf): Likewise.
49632         * math/s_ctanf.c (__ctanf): Likewise.
49633         * math/s_ctanhf.c (__ctanhf): Likewise.
49634         * math/s_ccosh.c (__ccoshf): Likewise.
49635         * math/s_cexp.c (__cexpl): Likewise.
49636         * math/s_csin.c (__csin): Likewise.
49637         * math/s_csinh.c (__csinh): Likewise.
49638         * math/s_ctan.c (__ctan): Likewise.
49639         * math/s_ctanh.c (ctanh): Likewise.
49640         * math/s_ccoshl.c (__ccoshl): Likewise.
49641         * math/s_cexpl.c (__cexpl): Likewise.
49642         * math/s_csinl.c (__csinl): Likewise.
49643         * math/s_csinhl.c (__csinhl): Likewise.
49644         * math/s_ctanl.c (__ctanl): Likewise.
49645         * math/s_ctanhl.c (__ctanhl): Likewise.
49647 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49649         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
49650         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
49651         (_IO_off_t): Define to __off_t, not _G_off_t.
49652         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
49653         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
49654         (_IO_wint_t): Define to wint_t, not _G_wint_t.
49655         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
49656         type of __dummy and __dummy2 fields.
49657         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
49658         (_G_ssize_t): Likewise.
49659         (_G_off_t): Likewise.
49660         (_G_pid_t): Likewise.
49661         (_G_uid_t): Likewise.
49662         (_G_wchar_t): Likewise.
49663         (_G_wint_t): Likewise.
49664         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
49665         (_G_ssize_t): Likewise.
49666         (_G_off_t): Likewise.
49667         (_G_pid_t): Likewise.
49668         (_G_uid_t): Likewise.
49669         (_G_wchar_t): Likewise.
49670         (_G_wint_t): Likewise.
49671         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
49672         (_G_ssize_t): Likewise.
49673         (_G_off_t): Likewise.
49674         (_G_pid_t): Likewise.
49675         (_G_uid_t): Likewise.
49676         (_G_wchar_t): Likewise.
49677         (_G_wint_t): Likewise.
49679 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49681         * malloc/arena.c: Include malloc-sysdep.h.
49682         (shrink_heap): Use check_may_shrink_heap to decide if madvise
49683         is sufficient to shrink the heap or an unmap is needed.
49684         * sysdeps/generic/malloc-sysdep.h: New file.  Define
49685         new function check_may_shrink_heap.
49686         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
49687         new function check_may_shrink_heap.
49689 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49691         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
49692         comments.
49694 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
49696         * catgets/test-gencat.sh: Add "set -e".
49697         * elf/tst-pathopt.sh: Likewise.
49698         * grp/tst_fgetgrent.sh: Likewise.
49699         * iconvdata/run-iconv-test.sh: Likewise.
49700         * intl/tst-gettext.sh: Likewise.
49701         * intl/tst-gettext2.sh: Likewise.
49702         * intl/tst-gettext4.sh: Likewise.
49703         * intl/tst-gettext6.sh: Likewise.
49704         * intl/tst-translit.sh: Likewise.
49705         * io/ftwtest-sh: Likewise.
49706         * libio/test-freopen.sh: Likewise.
49707         * malloc/tst-mtrace.sh: Likewise.
49708         * posix/globtest.sh: Likewise.
49709         * posix/tst-getconf.sh: Likewise.
49710         * posix/wordexp-tst.sh: Likewise.
49711         * stdio-common/tst-printf.sh: Likewise.
49712         * stdio-common/tst-unbputc.sh: Likewise.
49713         * stdlib/tst-fmtmsg.sh: Likewise.
49714         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49715         * catgets/Makefile: Do not specify -e option when running
49716         testsuite shell scripts.
49717         * elf/Makefile: Likewise.
49718         * grp/Makefile: Likewise.
49719         * iconvdata/Makefile: Likewise.
49720         * intl/Makefile: Likewise.
49721         * io/Makefile: Likewise.
49722         * libio/Makefile: Likewise.
49723         * malloc/Makefile: Likewise.
49724         * posix/Makefile: Likewise.
49725         * stdio-common/Makefile: Likewise.
49726         * stdlib/Makefile: Likewise.
49727         * sysdeps/x86_64/Makefile: Likewise.
49729         * io/ftwtest-sh: Add copyright header.
49730         * posix/globtest.sh: Likewise.
49731         * posix/tst-getconf.sh: Likewise.
49732         * posix/wordexp-tst.sh: Likewise.
49733         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49735 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
49737         [BZ #13679]
49738         * Makeconfig (+link): Defined as $(+link-static) if
49739         $(build-shared) isn't yes.
49740         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
49741         isn't yes.
49742         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
49744         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
49746         [BZ #14562]
49747         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
49748         new chunk size with MALLOC_ALIGN_MASK.
49750 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
49752         [BZ #5044]
49753         * stdio-common/printf_fphex.c: Include <stdbool.h> and
49754         <rounding-mode.h>.
49755         (__printf_fphex): Determine rounding using get_rounding_mode and
49756         round_away.
49757         * stdio-common/tst-printf-round.c (struct hex_test): New
49758         structure.
49759         (hex_tests): New variable.
49760         (test_hex_in_one_mode): New function.
49761         (do_test): Also run tests for hex float output.
49763 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
49765         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49766         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49767         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
49768         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49769         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49770         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
49771         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49772         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49774 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
49776         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
49777         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
49778         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
49779         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
49781 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
49783         [BZ #14579]
49784         * elf/rtld.c (dl_main): Limit the check for self loading to normal
49785         mode only.
49786         * elf/tst-rtld-load-self.sh: New test.
49787         * elf/Makefile: Run it.
49789 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
49791         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
49792         (tst-writev-ENV): Remove.
49793         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
49795 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
49797         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
49799 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
49801         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
49802         unconditional.
49803         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
49804         Likewise.
49805         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
49806         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
49807         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
49808         Likewise.
49810 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
49812         [BZ #14587]
49813         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
49814         * config.make.in (have-cpp-asm-debuginfo): Removed.
49815         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
49816         * configure: Regenerated.
49818 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
49820         [BZ #5044]
49821         * stdio-common/printf_fp.c: Include <stdbool.h> and
49822         <rounding-mode.h>.
49823         (___printf_fp): Determine rounding using get_rounding_mode and
49824         round_away.
49825         * stdio-common/tst-printf-round.c: New file.
49826         * stdio-common/Makefile (tests): Add tst-printf-round.
49827         (link-libm): New variable.
49828         ($(objpfx)tst-printf-round): Depend in $(link-libm).
49830 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
49832         [BZ #14576]
49833         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
49834         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
49835         Likewise.
49836         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
49837         Likewise.
49839 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
49841         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
49842         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49843         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49844         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49846 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
49848         [BZ #14518]
49849         * include/rounding-mode.h: New file.
49850         * sysdeps/generic/get-rounding-mode.h: Likewise.
49851         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
49852         * stdlib/strtod_l.c: Include <rounding-mode.h>.
49853         (MAX_VALUE): New macro.
49854         (MIN_VALUE): Likewise.
49855         (overflow_value): New function.
49856         (underflow_value): Likewise.
49857         (round_and_return): Use overflow_value and underflow_value to
49858         determine return values in overflow and underflow cases.  Use
49859         round_away to determine rounding depending on rounding mode.
49860         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
49861         determine return values in overflow and underflow cases.
49862         * stdlib/tst-strtod-round.c: Include <fenv.h>.
49863         (struct test_results): New structure.
49864         (struct test): Use struct test_results to store expected results
49865         for all rounding modes.
49866         (TEST): Include expected results for all rounding modes.
49867         (test_in_one_mode): New function.
49868         (do_test): Use test_in_one_mode to compute and check results.
49869         Check results for all rounding modes.
49870         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
49871         $(link-libm).
49873 2012-12-09  Allan McRae  <allan@archlinux.org>
49875         * sysdeps/i386/fpu/libm-test-ulps: Update
49877 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
49879         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
49880         (_G_int32_t): Likewise.
49881         (_G_uint16_t): Likewise.
49882         (_G_uint32_t): Likewise.
49883         (_G_HAVE_BOOL): Likewise.
49884         (_G_HAVE_ATEXIT): Likewise.
49885         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49886         (_G_HAVE_IO_FILE_OPEN): Likewise.
49887         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
49888         (_G_int32_t): Likewise.
49889         (_G_uint16_t): Likewise.
49890         (_G_uint32_t): Likewise.
49891         (_G_HAVE_BOOL): Likewise.
49892         (_G_HAVE_ATEXIT): Likewise.
49893         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49894         (_G_HAVE_IO_FILE_OPEN): Likewise.
49895         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
49896         (_G_int32_t): Likewise.
49897         (_G_uint16_t): Likewise.
49898         (_G_uint32_t): Likewise.
49899         (_G_HAVE_BOOL): Likewise.
49900         (_G_HAVE_ATEXIT): Likewise.
49901         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49902         (_G_HAVE_IO_FILE_OPEN): Likewise.
49904 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
49906         * csu/libc-tls.c: Update copyright years.
49908 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
49910         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
49911         [!_G_USING_THUNKS]: Remove conditional code.
49912         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
49913         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
49915         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
49916         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
49917         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49918         (_G_VTABLE_LABEL_PREFIX): Likewise.
49919         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49920         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49921         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49922         (_G_VTABLE_LABEL_PREFIX): Likewise.
49923         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49924         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49925         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49926         (_G_VTABLE_LABEL_PREFIX): Likewise.
49927         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49929 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
49931         * libio/Makefile: Include ../Makeconfig before tests.
49932         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
49933         only if $(build-shared) is yes.
49935         * iconv/gconv_db.c: Update copyright years.
49937 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49939         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
49940         unwind info if defined PIC. Fix special cases description.
49941         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
49943         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
49944         DP_HI_MASK entry.
49945         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
49947 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
49949         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
49951         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
49952         is NULL.
49954         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
49955         (LDLIBS-tst-chk4): This.
49956         (LDFLAGS-tst-chk5): Renamed to ...
49957         (LDLIBS-tst-chk5): This.
49958         (LDFLAGS-tst-chk6): Renamed to ...
49959         (LDLIBS-tst-chk6): This.
49960         (LDFLAGS-tst-lfschk4): Renamed to ...
49961         (LDLIBS-tst-lfschk4): This.
49962         (LDFLAGS-tst-lfschk5): Renamed to ...
49963         (LDLIBS-tst-lfschk5): This.
49964         (LDFLAGS-tst-lfschk6): Renamed to ...
49965         (LDLIBS-tst-lfschk6): This.
49967         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
49968         on $(common-objpfx)soversions.mk.
49970 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
49972         [BZ #10014]
49973         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
49974         example host name.
49976 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49978         * malloc/arena.c (arena_get_retry): New function that gets
49979         another arena for the caller to try its request on.
49980         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
49981         current arena cannot fulfill the request.
49982         (__libc_memalign): Likewise.
49983         (__libc_memalign): Likewise.
49984         (__libc_pvalloc): Likewise.
49985         (__libc_calloc): Likewise.
49987 2012-09-05  John Tobey  <john.tobey@gmail.com>
49989         [BZ #13542]
49990         * manual/arith.texi (Operations on Complex): Fix description
49991         of carg branch cut.
49993 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
49995         [BZ #10014]
49996         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
49997         host name.
49999         [BZ #10038]
50000         * manual/memory.texi (Memory): Make order of menu items match
50001         order of sections.
50003 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50005         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
50006         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
50007         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
50009 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50011         * csu/libc-tls.c (static_dtv): Renamed to ...
50012         (_dl_static_dtv): This.  Make it global.
50013         (_dl_initial_dtv): Removed.
50014         (__libc_setup_tls): Updated.
50015         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
50016         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
50017         DL_INITIAL_DTV.
50019 2012-09-06  Petr Machata  <pmachata@redhat.com>
50021         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
50022         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
50023         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
50024         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
50026 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50028         [BZ #14545]
50029         * csu/libc-tls.c (_dl_initial_dtv): New variable.
50030         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
50031         freeing dtv[-1].
50033 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50035         [BZ #14544]
50036         * Makeconfig (link-static-before-libc): Replace $(+prector)
50037         with $(+prectorT).
50038         (link-static-after-libc): Replace $(+postctor) with
50039         $(+postctorT).
50040         (link-bounded): Replace $(+prector)/$(+postctor) with
50041         $(+prectorT)/$(+postctorT).
50042         (+prectorT): New macro.
50043         (+postctorT): Likewise.
50045 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50047         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
50048         (round_str): Handle values above the maximum for IBM long double
50049         as inexact.
50050         * stdlib/tst-strtod-round.c (tests): Regenerated.
50052 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50054         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
50055         assembler flag.
50056         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
50057         zarch_nohighgprs around the zarch optimized routines.
50058         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
50059         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
50060         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
50061         for zarch.
50063 2012-09-05  David S. Miller  <davem@davemloft.net>
50065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50067         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
50068         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
50069         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
50070         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50071         entries.
50073 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50075         * malloc/arena.c: Fold copyright years.
50076         * malloc/mcheck.c, malloc/memusage.c: Likewise.
50078 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50080         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
50082 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50084         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
50086 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50088         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
50089         change internal state upon failure.
50091 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50093         * malloc/mcheck.c (mcheck_check_all): Fix typo.
50094         * malloc/memusage.c (mmap): Likewise.
50095         (mmap64, mremap): Likewise.  Adjust name in comment.
50097 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50099         * libio/fileops.c: Fix typos in comments.
50100         * libio/oldfileops.c: Likewise.
50101         * libio/wfileops.c: Likewise.
50103 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50105         [BZ #1349]
50106         * malloc/Makefile (tests): Add tst-malloc-usable test case.
50107         (tst-malloc-usable-ENV): Set environment for test case.
50108         * malloc/hooks.c (malloc_check_get_size): New function to get
50109         requested size.
50110         * malloc/malloc.c (musable): Use malloc_check_get_size.
50111         * malloc/tst-malloc-usable.c: New test case.
50113 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50115         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
50117 2012-09-05  Allan McRae  <allan@archlinux.org>
50119         [BZ #13966]
50120         * configure.in (CXX_SYSINCLUDES): Use compiler output to
50121         determine header location.
50122         * configure: Regenerated.
50124 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50126         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
50127         float format.
50128         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
50129         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
50130         format.
50131         (test): Regenerate.
50133 2012-09-04  David S. Miller  <davem@davemloft.net>
50135         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
50136         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
50137         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
50139 2012-09-04  Florian Weimer  <fweimer@redhat.com>
50141         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
50142         failures.
50144         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
50146 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
50148         [BZ #9914]
50149         * libio/iogetdelim.c: Include <limits.h>.
50150         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
50151         + len + 1 would overflow.
50153 2012-09-03  Andreas Jaeger  <aj@suse.de>
50155         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50156         * sysdeps/i386/fpu/libm-test-ulps: Update.
50158 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50160         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50161         Add s_sinf-sse2, s_conf-sse2.
50163         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
50164         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
50165         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
50166         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
50168         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
50169         for using routine as __sinf_ia32.
50170         Use macro for function declaration and weak_alias.
50171         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
50172         for using routine as __cosf_ia32.
50173         Use macro for function declaration and weak_alias.
50175         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
50176         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
50178         * sysdeps/x86_64/fpu/s_sinf.S: New file.
50179         * sysdeps/x86_64/fpu/s_cosf.S: New file.
50180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50182         * math/libm-test.inc (cos_test): Add more test cases.
50183         (sin_test): Likewise.
50184         (sincos_test): Likewise.
50186 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50188         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
50189         (IFUNC_RESOLVE): Make pointers to the specialized implementations
50190         hidden.
50191         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50193 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
50195         [BZ #14538]
50196         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
50197         first element of the GOT.
50198         (elf_machine_load_address): Return the difference between
50199         the runtime address of _DYNAMIC and elf_machine_dynamic ().
50201 2012-09-01  Allan McRae  <allan@archlinux.org>
50203         [BZ #13412]
50204         * configure.in (AWK): Require gawk version 3.0 or later.
50205         * configure: Regenerated.
50207 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
50209         * sysdeps/unix/sysv/linux/kernel-features.h
50210         (__ASSUME_POSIX_CPU_TIMERS): Remove.
50211         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50212         [__NR_clock_getres]: Make code unconditional.
50213         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
50214         (clock_getcpuclockid): Remove code left unreachable by removal of
50215         conditionals.
50216         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
50217         code unconditional.
50218         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50219         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50220         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
50221         Make code unconditional.
50222         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50223         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50224         * sysdeps/unix/sysv/linux/clock_settime.c
50225         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
50226         conditional code.
50227         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
50228         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50230 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
50232         [BZ #14476]
50233         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
50234         scripts/test-installation.pl.
50236         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
50237         and $ld_so_version if it is set.
50239 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50241         [BZ #14516]
50242         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
50243         failure if reading from procfs failed.
50244         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
50246 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50248         * sysdeps/unix/sysv/linux/kernel-features.h
50249         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
50250         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50251         Remove conditional code.
50252         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50253         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
50254         Remove conditional code.
50255         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50256         * sysdeps/unix/sysv/linux/i386/fxstat.c
50257         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50258         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50259         * sysdeps/unix/sysv/linux/i386/fxstatat.c
50260         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50261         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50262         * sysdeps/unix/sysv/linux/i386/lxstat.c
50263         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50264         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50265         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
50266         Remove conditional code.
50267         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50268         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50269         Remove conditional code.
50270         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50271         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
50272         <kernel-features.h>.
50273         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
50274         Remove.
50275         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
50276         Remove conditional code.
50277         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50278         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
50279         Remove conditional.
50281 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
50283         [BZ #5400]
50284         * NEWS: Add fixed bug number.
50286 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50288         [BZ #14519]
50289         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
50290         underflowing exponent in case of negative sign.
50291         * stdlib/tst-strtod-round-data: Add more tests.
50292         * stdlib/tst-strtod-round.c (tests): Regenerated.
50294         [BZ #3479]
50295         * stdlib/strtod_l.c (NDIG): Remove.
50296         (HEXNDIG): Likewise.
50297         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
50298         smallest representable value.
50299         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
50300         lie within an exact representation of 1/2 ulp of the result.
50301         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
50302         unconditionally.
50303         (TENS_P9_IDX): Define unconditionally.
50304         (TENS_P9_SIZE): Likewise.
50305         (TENS_P10_IDX): Likewise.
50306         (TENS_P10_SIZE): Likewise.
50307         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
50308         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
50309         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
50310         entries for 10^2^13 and 10^2^14.
50311         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
50312         (TENS_P13_IDX): Define.
50313         (TENS_P13_SIZE): Likewise.
50314         (TENS_P14_IDX): Likewise.
50315         (TENS_P14_SIZE): Likewise.
50316         (_fpioconst_pow10): Change array size to
50317         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
50318         unconditional.
50319         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
50320         1024]: Add entries for 10^2^13 and 10^2^14.
50321         [LAST_POW10 > _LAST_POW10]: Remove #error.
50322         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
50323         (_fpioconst_pow10): Change array size to
50324         FPIOCONST_POW10_ARRAY_SIZE.
50325         * stdlib/gen-fpioconst.c: New file.
50326         * stdlib/gen-tst-strtod-round.c: Likewise.
50327         * stdlib/tst-strtod-round-data: Likewise.
50328         * stdlib/tst-strtod-round.c: Likewise.
50329         * stdlib/Makefile (tests): Add tst-strtod-round.
50331         [BZ #14459]
50332         * stdlib/strtod_l.c: Include <stdint.h>.
50333         (NDEBUG): Do not define.
50334         (round_and_return): Change EXPONENT parameter to type intmax_t.
50335         Rearrange calculations to avoid internal overflow possibilities.
50336         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
50337         Rearrange calculations to avoid internal overflow possibilities.
50338         Assert that number fits inside MPNSIZE limbs.
50339         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
50340         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
50341         calculations and add assertions to avoid internal overflow
50342         possibilities.  Add casts to avoid signed/unsigned operations.
50343         * stdlib/tst-strtod-overflow.c: New file.
50344         * stdlib/Makefile (tests): Add tst-strtod-overflow.
50346 2012-08-25  Marek Polacek  <polacek@redhat.com>
50348         * time/time.h: Fix some typos in comments.
50350 2012-08-23  Roland McGrath  <roland@hack.frob.com>
50352         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
50353         * posix/tst-rfc3484-2.c: Likewise.
50354         * posix/tst-rfc3484-3.c: Likewise.
50356 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
50358         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
50359         (EF_ARM_ABI_FLOAT_HARD): Likewise.
50361 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
50363         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
50364         #include of fxstatat64.c.
50366 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50368         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
50369         * shadow/getspent_r.c: Likewise.
50370         * shadow/getspnam.c: Likewise.
50371         * shadow/getspnam_r.c: Likewise.
50372         * gshadow/getsgent.c: Likewise.
50373         * gshadow/getsgent_r.c: Likewise.
50374         * gshadow/getsgnam.c: Likewise.
50375         * gshadow/getsgnam_r.c: Likewise.
50376         * inet/getnetbyad.c: Likewise.
50377         * inet/getnetbyad_r.c: Likewise.
50378         * inet/getnetbynm.c: Likewise.
50379         * inet/getnetbynm_r.c: Likewise.
50380         * inet/getnetent.c: Likewise.
50381         * inet/getnetent_r.c: Likewise.
50382         * inet/getproto.c: Likewise.
50383         * inet/getproto_r.c: Likewise.
50384         * inet/getprtent.c: Likewise.
50385         * inet/getprtent_r.c: Likewise.
50386         * inet/getprtname.c: Likewise.
50387         * inet/getprtname_r.c: Likewise.
50388         * inet/getrpcbyname.c: Likewise.
50389         * inet/getrpcbyname_r.c: Likewise.
50390         * inet/getrpcbynumber.c: Likewise.
50391         * inet/getrpcbynumber_r.c: Likewise.
50392         * inet/getrpcent.c: Likewise.
50393         * inet/getrpcent_r.c: Likewise.
50394         * inet/getaliasent.c: Likewise.
50395         * inet/getaliasent_r.c: Likewise.
50396         * inet/getaliasname.c: Likewise.
50397         * inet/getaliasname_r.c: Likewise.
50398         * nscd/getgrgid_r.c: Likewise.
50399         * nscd/getgrnam_r.c: Likewise.
50400         * nscd/gethstbyad_r.c: Likewise.
50401         * nscd/gethstbynm3_r.c: Likewise.
50402         * nscd/getpwnam_r.c: Likewise.
50403         * nscd/getpwuid_r.c: Likewise.
50404         * nscd/getsrvbynm_r.c: Likewise.
50405         * nscd/getsrvbypt_r.c: Likewise.
50406         * nscd/gai.c: Likewise.
50408         * configure.in (build_nscd): New substituted variable, set
50409         by --disable-build-nscd and defaults to $use_nscd.
50410         * configure: Regenerated.
50411         * config.make.in (build-nscd): New substituted variable.
50412         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
50413         Change conditional to require [$(build-nscd) = yes] as well.
50414         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
50416         [BZ# 13696]
50417         * configure.in (use_nscd): New substituted variable, set by
50418         --disable-nscd.  If enabled, define USE_NSCD.
50419         * configure: Regenerated.
50420         * config.h.in: Add USE_NSCD.
50421         * config.make.in (use-nscd): New substituted variable.
50422         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
50423         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
50424         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
50425         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
50426         (CFLAGS-getgrnam_r.c): Likewise.
50427         (CFLAGS-initgroups.c): Likewise.
50428         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
50429         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
50430         Variables removed.
50431         * inet/getnetgrent_r.c
50432         (nscd_setnetgrent): New function, broken out of ...
50433         (setnetgrent): ... here.  Call it.
50434         (innetgr): Conditionalize nscd bits on [USE_NSCD].
50435         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
50436         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
50437         * nscd/Makefile (routines, aux): Move definitions after include of
50438         Makeconfig.  Conditionalize on [$(use-nscd) != no].
50439         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
50440         Conditionalize on [USE_NSCD].
50441         (is_nscd, nscd_init_cb): Likewise.
50442         (nss_load_library): Conditionalize init callback on [USE_NSCD].
50443         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
50444         * nss/nss_db/db-init.c: Likewise.
50445         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
50446         [USE_NSCD].
50447         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
50448         (make_request): Use it.
50449         (cache_valid_p): New function.
50450         (__check_pf): Use it.
50451         * NEWS: Add item for --disable-nscd.
50453 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
50455         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
50456         to support sed >= 4.2.1-20-ga9bf076.
50457         * configure: Regenerated.
50459 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50461         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
50462         Conditionalize whole body on [IREL].
50464 2012-08-22  Jeff Law <law@redhat.com>
50466         [BZ #14505]
50467         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
50468         if the family is PF_UNSPEC.
50470 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
50472         * Makerules (lib-version): Rename from V.
50473         (install-lib-nosubdir): Change V to lib-version.
50475 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
50477         [BZ #14252]
50478         * powerpc32/power6/wcschr.c: New file.
50479         * powerpc32/power6/wcscpy.c: New file.
50480         * powerpc32/power6/wcsrchr.c: New file.
50481         * powerpc64/power6/wcschr.c: New file.
50482         * powerpc64/power6/wcscpy.c: New file.
50483         * powerpc64/power6/wcsrchr.c: New file.
50485 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50487         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
50488         (two_way_short_needle): Use it.
50489         * string/strstr.c (AVAILABLE1_USES_J): Define.
50490         * string/strcasestr.c: Likewise.
50492         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
50493         array references.
50494         * string/strcasestr.c (TOLOWER): Make side-effect safe.
50496         [BZ #11607]
50497         * NEWS: Add an entry.
50498         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
50499         define their defaults.
50500         (two_way_short_needle): Detect end-of-string on-the-fly.
50501         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
50502         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
50503         * string/bug-strcasestr1.c: New test.
50504         * string/Makefile: Run it.
50506 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50508         [BZ #11607]
50509         * string/str-two-way.h (two_way_short_needle): Optimize matching of
50510         the first character.
50512 2012-08-21  Roland McGrath  <roland@hack.frob.com>
50514         * csu/elf-init.c (__libc_csu_irel): Function removed.
50515         * csu/libc-start.c (apply_irel): New function.
50516         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
50518 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
50520         * sysdeps/unix/sysv/linux/kernel-features.h
50521         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
50522         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50523         <kernel-features.h>.
50524         [__NR_fadvise64_64]: Make code unconditional.
50525         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
50526         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50527         !__NR_fadvise64_64)]: Likewise.
50528         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50529         !__NR_fadvise64_64))]: Likewise.
50530         [__NR_fadvise64]: Make code unconditional.
50531         [!__NR_fadvise64]: Remove conditional code.
50532         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
50533         <kernel-features.h>.
50534         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50535         unconditional.
50536         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50537         conditional code.
50538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
50539         not include <kernel-features.h>.
50540         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50541         unconditional.
50542         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50543         conditional code.
50544         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
50545         include <kernel-features.h>.
50546         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50547         unconditional.
50548         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50549         conditional code.
50551 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50553         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
50554         slight instruction rearrangements per scrollpipe analysis.
50555         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50557 2012-08-20  Roland McGrath  <roland@hack.frob.com>
50559         * manual/syslog.texi (syslog; vsyslog, closelog):
50560         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
50561         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
50563         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
50564         DSOCAPS to match condition on defining it.
50566 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
50568         * sysdeps/unix/sysv/linux/kernel-features.h
50569         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
50570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
50571         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50572         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
50574         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50575         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
50577         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50578         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50580         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
50581         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
50583         * sysdeps/unix/sysv/linux/kernel-features.h
50584         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
50585         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
50586         unconditional.
50587         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50588         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
50589         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50590         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50591         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
50592         Make code unconditional.
50593         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50594         (__mmap64) [!__NR_mmap2]: Likewise.
50595         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
50596         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50597         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50598         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
50599         [__NR_mmap2]: Make code unconditional.
50600         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50601         (__mmap64) [!__NR_mmap2]: Likewise.
50603 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50605         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
50607 2012-08-18  Andreas Jaeger  <aj@suse.de>
50609         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
50611 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50613         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
50614         * include/unistd.h (__have_sock_cloexec): Likewise.
50615         (__have_pipe2): Likewise.
50616         (__have_dup3): Likewise.
50618 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50620         [BZ #9685]
50621         * include/unistd.h (__have_pipe2): Change define into an extern int.
50622         (__have_dup3): Likewise.
50623         * socket/have_sock_cloexec.c: Include fcntl.h.
50624         (__have_pipe2): New variable.
50625         (__have_dup3): Likewise.
50627 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
50629         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
50631 2012-08-17  Marek Polacek  <polacek@redhat.com>
50633         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
50634         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
50636 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50638         * configure.in: Add AC_SUBST for sysheaders.
50639         * configure: Regenerated.
50640         * config.make.in (sysheaders): New substituted variable.
50642         * sysdeps/unix/mkfifo.c: Moved ...
50643         * sysdeps/posix/mkfifo.c: ... here.
50644         * sysdeps/unix/mkfifoat.c: Moved ...
50645         * sysdeps/posix/mkfifoat.c: ... here.
50647         * sysdeps/unix/utime.c: Moved ...
50648         * sysdeps/posix/utime.c: ... here.
50650         * sysdeps/unix/time.c: Moved ...
50651         * sysdeps/posix/time.c: ... here.
50652         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
50653         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
50655         * sysdeps/unix/nice.c: Moved ...
50656         * sysdeps/posix/nice.c: ... here.
50658         * sysdeps/unix/alarm.c: Moved ...
50659         * sysdeps/posix/alarm.c: ... here.
50661         * intl/Makefile ($(codeset_mo)): Depend on the input file.
50663 2012-08-17  Jeff Law <law@redhat.com>
50665         * intl/Makefile (codeset_mo): New variable.
50666         ($(codeset_mo)): New target.
50667         (tst-codeset.out): Depend on that.  Remove explicit rule.
50668         (tst-gettext3.out, tst-gettext5.out): Likewise.
50669         (LOCPATH-ENV, tst-codeset-ENV): New variables.
50670         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
50671         * intl/tst-codeset.sh: Remove.
50672         * intl/tst-gettext3.sh: Likewise.
50673         * intl/tst-gettext5.sh: Likewise.
50675 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50677         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
50678         * sysdeps/unix/syscalls.list: ... here.
50680         * sysdeps/posix/getaddrinfo.c
50681         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
50682         (gaiconf_init, gaiconf_reload): Use them.
50683         [!_STATBUF_ST_NSEC]
50684         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
50685         Define using time_t rather than struct timespec.
50687         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
50688         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
50689         Macros removed.
50690         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
50691         [!NO_THREADS].
50692         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
50693         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
50694         Likewise.
50696         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
50697         __libc_cleanup_push argument.
50699         * bits/param.h: New file.
50700         * misc/sys/param.h: New file.
50701         * include/sys/param.h: New file.
50702         * misc/Makefile (headers): Add bits/param.h.
50703         * sysdeps/generic/sys/param.h: File removed.
50704         * sysdeps/unix/sysv/linux/bits/param.h: New file.
50705         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
50706         * sysdeps/mach/hurd/bits/param.h: New file.
50707         * sysdeps/mach/hurd/sys/param.h: File removed.
50709         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
50710         last change.
50712         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
50713         [_IO_MTSAFE_IO].
50714         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
50715         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
50716         New macros.
50718         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
50719         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
50720         rather than -D_IO_MTSAFE_IO conditionally.
50721         * stdio-common/Makefile (CPPFLAGS): Likewise.
50722         * wcsmbs/Makefile (CPPFLAGS): Likewise.
50723         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
50724         Use $(libio-mtsafe).
50725         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
50726         of -D_IO_MTSAFE_IO.
50727         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
50728         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
50729         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
50730         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
50731         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
50732         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
50733         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
50734         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
50735         (CFLAGS-fread_u_chk.c): Likewise.
50736         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
50737         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
50738         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
50739         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
50740         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
50741         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
50742         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
50743         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
50744         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
50746         * libio/Makefile: Test [$(libc-reentrant) = yes]
50747         instead of [$(filter %REENTRANT, $(defines)) nonempty].
50749         * Makeconfig
50750         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
50751         * sysdeps/pthread/configure: File removed.
50752         * sysdeps/pthread/Makeconfig: New file.
50753         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
50754         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
50756 2012-08-16  Gary Benson  <gbenson@redhat.com>
50758         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
50759         unmapping the first object in a namespace.
50761 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50763         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
50764         (__internal_setnetgrent): ... this.  Add internal_function to
50765         definition.  Add libc_hidden_def.
50766         (setnetgrent): Update caller.
50767         (internal_endnetgrent): Renamed to ...
50768         (__internal_endnetgrent): ... this.  Add internal_function to
50769         definition.  Add libc_hidden_def.
50770         (endnetgrent): Update caller.
50771         (internal_getnetgrent_r): Renamed to ...
50772         (__internal_getnetgrent_r): ... this.  Add internal_function to
50773         definition.  Add libc_hidden_def.
50774         (__getnetgrent_r): Update caller.
50775         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
50777 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50779         * stdlib/longlong.h: Update from GCC.
50781 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50783         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
50784         on _QL, which is set by umul_ppmm but never used.
50785         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
50786         variables, which are set by GMP macros but never used.
50787         * stdio-common/_itowa.c (_itowa): Likewise.
50788         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
50789         * stdlib/mod_1.c (mpn_mod_1): Likewise.
50791 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
50793         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
50794         struct La_sh_regs is not constant.
50795         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
50796         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
50797         and struct La_sparc64_regs are not constant.
50799 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50801         * sysdeps/unix/sysv/linux/kernel-features.h
50802         (__ASSUME_POSIX_TIMERS): Remove.
50803         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50804         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50805         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
50806         Make code unconditional.
50807         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50808         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
50809         Make code unconditional.
50810         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50811         * sysdeps/unix/sysv/linux/clock_nanosleep.c
50812         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
50813         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50814         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
50815         Make code unconditional.
50816         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50817         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
50818         (__libc_missing_posix_timers): Remove.
50820 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50822         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
50823         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
50825         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
50827         * elf/dl-sym.c: Include <stdlib.h>.
50829         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
50830         constants, which avoids warnings in 32-bit builds.
50832         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
50833         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
50835         * misc/lseek.c: File moved to ...
50836         * io/lseek.c: ... here.
50838         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
50840         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
50841         shifting LEN more than 31 bits at once.
50843 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50845         [BZ #14195]
50846         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
50847         segmentation fault for a case of two empty input strings.
50848         * string/test-strncasecmp.c (check1): Renamed to...
50849         (bz12205): ...this.
50850         (bz14195): Add new testcase for two empty input strings and N > 0.
50851         (test_main): Call new testcase, adapt for renamed function.
50853 2012-08-15  Andreas Jaeger  <aj@suse.de>
50855         [BZ #14090]
50856         * crypt/md5test2.c: New test, based on test supplied by Serge
50857         Belyshev <belyshev@depni.sinp.msu.ru>.
50858         * crypt/Makefile (xtests): Add md5test-giant..
50859         * crypt/Makefile ($(objpfx)md5test-giant): Add.
50861 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
50863         [BZ #14090]
50864         * crypt/md5.c (md5_process_block): Don't assume the buffer
50865         length is less than 2**32.
50866         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
50867         length is less than 2**64.
50869 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50871         * string/str-two-way.h: Include <sys/param.h>.
50872         (MAX): Macro removed.
50874         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
50875         Move #define and #undef of memmove to just before and after
50876         including <string.h>.
50878         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
50879         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
50880         and after including <string.h>.  Move declarations of
50881         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
50882         to before #include "string/memmove.c".
50884         * include/dirent.h: Declare __getdirentries.
50886         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
50887         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
50889 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
50891         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
50892         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
50893         * sysdeps/i386/configure: Regenerated.
50894         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
50895         STABS_CURRENT_FILE, and STABS_FUN.
50896         (END): Remove call to STABS_FUN_END.
50897         (STABS_CURRENT_FILE1): Delete.
50898         (STABS_CURRENT_FILE): Likewise.
50899         (STABS_FUN): Likewise.
50900         (STABS_FUN_END): Likewise.
50901         (STABS_FUN2): Likewise.
50902         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
50903         * sysdeps/x86_64/configure: Regenerated.
50905 2012-08-14  Roland McGrath  <roland@hack.frob.com>
50907         * elf/dl-open.c: Include <atomic.h>.
50908         * elf/dl-lookup.c: Likewise.
50910 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
50912         * sysdeps/unix/sysv/linux/kernel-features.h
50913         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
50914         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
50915         unconditionally.
50916         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
50917         unconditionally.
50918         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
50919         condition on __ASSUME_CLONE_THREAD_FLAGS.
50921 2012-08-14  Andreas Jaeger  <aj@suse.de>
50923         * sysdeps/i386/fpu/libm-test-ulps: Update.
50925 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
50927         * include/atomic.h (atomic_exchange_and_add): Split into ...
50928         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
50929         New atomic macros.
50931 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
50933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50935 2012-08-13  Jeff Law <law@redhat.com>
50937         * manual/stdio.texi (snprintf): Clarify handling of the trailing
50938         null byte in the output string.
50940 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
50942         * sysdeps/unix/sysv/linux/kernel-features.h
50943         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
50944         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
50945         (__ASSUME_ARG_MAX_STACK_BASED): Define.
50946         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50947         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
50948         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
50949         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
50951 2012-08-09  Jeff Law <law@redhat.com>
50953         [BZ #13939]
50954         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
50955         When avoid_arena is set, don't retry in the that arena.  Pick the
50956         next one, whatever it might be.
50957         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
50958         (arena_lock): Pass in new parameter to arena_get2.
50959         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
50960         arena_get2.
50961         (__libc_malloc): Unify retrying after main arena failure with
50962         __libc_memalign version.
50963         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
50965 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
50967         [BZ #14166]
50968         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
50969         to __redirect_strstr.
50970         (__strstr_sse42): Use typeof __redirect_strstr.
50971         (__strstr_ia32): Likewise.
50972         (__libc_strstr): New prototype.
50973         (strstr): Renamed to ...
50974         (__libc_strstr): This.
50975         (strstr): New strong alias of __libc_strstr.
50976         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50977         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
50978         __redirect_time.
50979         Include <time.h>.
50980         (__libc_time): New prototype.
50981         (time_ifunc): Replace time with __libc_time.
50982         (time): New strong alias and hidden definition of __libc_time.
50983         (__GI_time): Remove strong alias.
50984         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
50985         Include <stddef.h>.
50986         (memmove): Redefined to __redirect_memmove.
50987         (__memmove_sse2): Use typeof __redirect_memmove.
50988         (__memmove_ssse3): Likewise.
50989         (__memmove_ssse3_back): Likewise.
50990         (__libc_memmove): New prototype.
50991         (memmove): Renamed to ...
50992         (__libc_memmove): This.
50993         (memmove): New strong alias of __libc_memmove.
50995 2012-08-08  Mark Salter  <msalter@redhat.com>
50997         * elf/elf.h
50998         (R_MN10300_TLS_GD): Define.
50999         (R_MN10300_TLS_LD): Likewise.
51000         (R_MN10300_TLS_LDO): Likewise.
51001         (R_MN10300_TLS_GOTIE): Likewise.
51002         (R_MN10300_TLS_IE): Likewise.
51003         (R_MN10300_TLS_LE): Likewise.
51004         (R_MN10300_TLS_DTPMOD): Likewise.
51005         (R_MN10300_TLS_DTPOFF): Likewise.
51006         (R_MN10300_TLS_TPOFF): Likewise.
51007         (R_MN10300_SYM_DIFF): Likewise.
51008         (R_MN10300_ALIGN): Likewise.
51009         (R_MN10300_NUM): Update.
51011 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
51013         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
51014         Remove.
51016 2012-08-08  Roland McGrath  <roland@hack.frob.com>
51018         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
51020         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
51021         sysdeps/unix -> sysdeps/posix move.
51022         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51024 2012-08-07      Allan McRae     <allan@archlinux.org>
51026         [BZ #14303]
51027         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
51028         (SUNOS_CPP): Likewise.
51029         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
51030         not found.
51031         (open_input): Call CPP using execvp.
51033 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51035         * sysdeps/unix/sysv/linux/kernel-features.h
51036         (__ASSUME_PROT_GROWSUPDOWN): Remove.
51037         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51038         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51039         (__ASSUME_WAITID_SYSCALL): Likewise.
51040         * sysdeps/unix/sysv/linux/dl-execstack.c
51041         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
51042         code unconditional.
51043         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
51044         conditional code.
51045         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
51046         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
51047         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
51048         code.
51049         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
51050         unconditional.
51051         [__ASSUME_WAITID_SYSCALL]: Likewise.
51052         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
51054 2012-08-07  Roland McGrath  <roland@hack.frob.com>
51056         * sysdeps/unix/closedir.c: Renamed to ...
51057         * sysdeps/posix/closedir.c: ... here.
51058         * sysdeps/unix/dirfd.c: Renamed to ...
51059         * sysdeps/posix/dirfd.c: ... here.
51060         * sysdeps/unix/dirstream.h: Renamed to ...
51061         * sysdeps/posix/dirstream.h: ... here.
51062         * sysdeps/unix/fdopendir.c: Renamed to ...
51063         * sysdeps/posix/fdopendir.c: ... here.
51064         * sysdeps/unix/opendir.c: Renamed to ...
51065         * sysdeps/posix/opendir.c: ... here.
51066         * sysdeps/unix/readdir.c: Renamed to ...
51067         * sysdeps/posix/readdir.c: ... here.
51068         * sysdeps/unix/readdir_r.c: Renamed to ...
51069         * sysdeps/posix/readdir_r.c: ... here.
51070         * sysdeps/unix/rewinddir.c: Renamed to ...
51071         * sysdeps/posix/rewinddir.c: ... here.
51072         * sysdeps/unix/seekdir.c: Renamed to ...
51073         * sysdeps/posix/seekdir.c: ... here.
51074         * sysdeps/unix/telldir.c: Renamed to ...
51075         * sysdeps/posix/telldir.c: ... here.
51076         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
51077         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
51078         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
51079         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
51081         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
51082         * bits/fcntl.h: ... here.
51084         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
51085         not 0.
51086         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
51087         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
51088         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
51089         (struct flock): Move l_start, l_len to the beginning.
51090         Use __pid_t for l_pid.
51091         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
51092         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
51093         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
51094         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
51095         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
51096         [__USE_LARGEFILE64] (struct flock64): New type.
51097         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
51099         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
51100         * bits/dirent.h: ... here.
51102         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
51103         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
51105 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51107         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51108         Change from 2.6.0 to 2.6.16.
51109         * sysdeps/unix/sysv/linux/configure: Regenerated.
51110         * sysdeps/unix/sysv/linux/kernel-features.h
51111         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
51112         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
51113         version.
51114         (__ASSUME_UTIMES): Likewise.
51115         (__ASSUME_CLONE_STOPPED): Remove.
51116         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
51117         architectures, not kernel version.
51118         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
51119         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51120         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51121         (__ASSUME_WAITID_SYSCALL): Likewise.
51122         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
51123         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
51124         * README: State 2.6.16 as minimum Linux kernel version.  Do not
51125         refer to older versions.
51127 2012-08-06  Roland McGrath  <roland@hack.frob.com>
51129         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
51130         Define alphasort64 as an alias.
51131         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
51132         Define versionsort64 as an alias.
51133         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
51134         Define scandir64 as an alias.
51135         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
51136         Define scandirat64 as an alias.
51137         * dirent/alphasort64.c (alphasort64):
51138         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
51139         * dirent/versionsort64.c: Likewise.
51140         * dirent/scandir64.c: Likewise.
51141         * dirent/scandirat64.c: Likewise.
51142         * sysdeps/wordsize-64/alphasort.c: File removed.
51143         * sysdeps/wordsize-64/alphasort64.c: File removed.
51144         * sysdeps/wordsize-64/scandir.c: File removed.
51145         * sysdeps/wordsize-64/scandir64.c: File removed.
51146         * sysdeps/wordsize-64/scandirat.c: File removed.
51147         * sysdeps/wordsize-64/scandirat64.c: File removed.
51148         * sysdeps/wordsize-64/versionsort.c: File removed.
51149         * sysdeps/wordsize-64/versionsort64.c: File removed.
51150         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
51151         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
51152         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
51153         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
51154         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
51155         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
51156         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
51157         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
51159         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
51160         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51161         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
51162         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51163         [defined __arch64__ || defined __sparcv9]
51164         (__INO_T_MATCHES_INO64_T): New macro.
51165         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51166         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
51167         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
51168         * sysdeps/unix/sysv/linux/bits/dirent.h
51169         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
51170         (_DIRENT_MATCHES_DIRENT64): New macro.
51172         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
51173         Define lockf64 as an alias.
51174         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
51175         Define fseeko64 as an alias.
51176         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
51177         Define ftello64 as an alias.
51178         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
51179         Define _IO_fgetpos64 and fgetpos64 as aliases.
51180         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
51181         Define _IO_fsetpos64 and fsetpos64 as aliases.
51182         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
51183         Conditionalize body on this.
51184         * libio/fseeko64.c: Likewise.
51185         * libio/ftello64.c: Likewise.
51186         * libio/iofgetpos64.c: Likewise.
51187         * libio/iofsetpos64.c: Likewise.
51188         * sysdeps/wordsize-64/lockf.c: File removed.
51189         * sysdeps/wordsize-64/lockf64.c: File removed.
51190         * sysdeps/wordsize-64/fseeko.c: File removed.
51191         * sysdeps/wordsize-64/fseeko64.c: File removed.
51192         * sysdeps/wordsize-64/ftello.c: File removed.
51193         * sysdeps/wordsize-64/ftello64.c: File removed.
51194         * sysdeps/wordsize-64/iofgetpos.c: File removed.
51195         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
51196         * sysdeps/wordsize-64/iofsetpos.c: File removed.
51197         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
51198         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
51199         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
51200         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
51201         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
51202         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
51203         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
51204         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
51205         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
51206         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
51207         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
51209         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51210         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51211         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
51212         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51213         [defined __arch64__ || defined __sparcv9]
51214         (__OFF_T_MATCHES_OFF64_T): New macro.
51215         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51216         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51217         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51218         (__OFF_T_MATCHES_OFF64_T): New macro.
51220 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51222         * stdlib/secure-getenv.c (__secure_getenv): Replace
51223         GLIBC_2_16 with GLIBC_2_17.
51225 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51227         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
51228         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51230 2012-08-03  David S. Miller  <davem@davemloft.net>
51232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51234 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51236         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
51237         Remove.
51238         (__ASSUME_CORRECT_SI_PID): Likewise.
51239         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
51240         (__ASSUME_TMPFS_NAME): Likewise.
51241         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
51242         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
51243         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
51244         (HAVE_AUX_SECURE): Make definition unconditional.
51245         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
51246         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
51248 2012-08-03  Roland McGrath  <roland@hack.frob.com>
51250         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
51251         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
51252         * sysdeps/mach/hurd/eloop-threshold.h: New file.
51253         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51254         __eloop_threshold instead of SYMLOOP_MAX.
51256         * sysdeps/generic/eloop-threshold.h: New file.
51257         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
51258         of MAXSYMLINKS.
51259         * elf/chroot_canon.c (chroot_canon): Likewise.
51261 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51263         [BZ #13717]
51264         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51265         Change to 2.6.0 everywhere.
51266         * sysdeps/unix/sysv/linux/configure: Regenerated.
51267         * sysdeps/unix/sysv/linux/kernel-features.h
51268         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
51269         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
51270         kernel versions.
51271         (__ASSUME_POSIX_TIMERS): Define unconditionally.
51272         (__ASSUME_FUTEX_REQUEUE): Remove.
51273         (__ASSUME_STATFS64): Define unconditionally.
51274         (__ASSUME_AT_SECURE): Likewise.
51275         (__ASSUME_CORRECT_SI_PID): Likewise.
51276         (__ASSUME_TGKILL): Define without depending on kernel version for
51277         i386.
51278         (__ASSUME_UTIMES): Likewise.
51279         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
51280         kernel version.
51281         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
51282         (__ASSUME_TMPFS_NAME): Likewise.
51283         * README: Update reference to Linux kernel versions.
51285 2012-08-02  Marek Polacek  <polacek@redhat.com>
51287         [BZ# 14150]
51288         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
51289         libc_cv_asm_type_prefix with %.
51290         * configure: Regenerated.
51291         * include/libc-symbols.h: Remove comment about
51292         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51293         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
51294         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
51295         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
51296         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
51297         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51298         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
51299         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
51300         * elf/tst-unique2mod1.c: Likewise.
51301         * elf/tst-unique1mod2.c: Likewise.
51302         * elf/tst-unique1mod1.c: Likewise.
51303         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
51304         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
51305         Replace ASM_TYPE_DIRECTIVE with .type.
51306         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51307         * sysdeps/i386/sysdep.h: Likewise.
51308         * sysdeps/x86_64/sysdep.h: Likewise.
51309         * sysdeps/sh/sysdep.h: Likewise.
51310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51311         Do not define ASM_TYPE_DIRECTIVE.
51312         * sysdeps/powerpc/sysdep.h: Likewise.
51313         * sysdeps/powerpc/powerpc32/sysdep.h:
51314         Replace ASM_TYPE_DIRECTIVE with .type.
51315         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51316         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51317         * sysdeps/i386/fpu/e_powf.S: Likewise.
51318         * sysdeps/i386/fpu/e_expl.S: Likewise.
51319         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51320         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51321         * sysdeps/i386/fpu/e_pow.S: Likewise.
51322         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51323         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51324         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51325         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51326         * sysdeps/i386/fpu/e_log2.S: Likewise.
51327         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51328         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51329         * sysdeps/i386/fpu/e_powl.S: Likewise.
51330         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51331         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51332         * sysdeps/i386/fpu/e_logl.S: Likewise.
51333         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51334         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51335         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51336         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51337         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51338         * sysdeps/i386/fpu/e_log.S: Likewise.
51339         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51340         * sysdeps/i386/fpu/e_logf.S: Likewise.
51341         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51342         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51343         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51344         * sysdeps/i386/fpu/e_log10.S: Likewise.
51345         * sysdeps/i386/fpu/s_frexp.S: Likewise.
51346         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51347         * sysdeps/i386/fpu/s_asinh.S: Likewise.
51348         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51349         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51350         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
51351         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51352         * sysdeps/i386/i686/strtok.S: Likewise.
51353         * sysdeps/i386/i386-mcount.S: Likewise.
51354         * sysdeps/i386/strtok.S: Likewise.
51355         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
51356         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51357         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51358         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51359         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51360         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51361         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51362         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51363         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51364         * sysdeps/x86_64/_mcount.S: Likewise.
51365         * sysdeps/x86_64/strtok.S: Likewise.
51366         * sysdeps/sh/_mcount.S: Likewise.
51368 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51370         * libio/iofopen.c: Include <fcntl.h>.
51371         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
51372         (_IO_fopen64, fopen64): Define as aliases.
51373         * libio/iofopen64.c: Include <fcntl.h>.
51374         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
51375         Conditionalize body on this.
51376         * sysdeps/wordsize-64/iofopen.c: File removed.
51377         * sysdeps/wordsize-64/iofopen64.c: File removed.
51379 2012-08-01  Marek Polacek  <polacek@redhat.com>
51381         * libc/Makeconfig: Use elf in place of binfmt-subdir.
51382         Use dlfcn directly instead of a variable.
51383         (binfmt-subdir): Do not define.
51384         (dlfcn): Likewise.
51386 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
51388         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
51389         Remove all definitions.
51390         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
51391         <kernel-features.h>.
51392         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51393         (miss_F_GETOWN_EX): Remove all definitions.
51394         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
51395         macro definition.
51396         [!__ASSUME_FCNTL64]: Remove conditional code.
51397         [__ASSUME_FCNTL64]: Make code unconditional.
51398         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
51399         <kernel-features.h>.
51400         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51401         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
51402         (lockf64) [__NR_fcntl64]: Make code unconditional.
51403         (lockf64) [__ASSUME_FCNTL64]: Likewise.
51405         * sysdeps/unix/sysv/linux/kernel-features.h
51406         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
51407         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
51408         Make code unconditional.
51409         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51410         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
51412         [__NR_vfork]: Make code unconditional.
51413         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51414         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
51416         [__NR_vfork]: Make code unconditional.
51417         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51418         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51420 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51422         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
51423         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
51425         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51426         Define mkstemp64 as an alias.
51427         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51428         Define mkstemps64 as an alias.
51429         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51430         Define mkostemp64 as an alias.
51431         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51432         Define mkostemps64 as an alias.
51433         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
51434         Conditionalize body on this.
51435         * misc/mkostemp64.c: Likewise.
51436         * misc/mkostemps64.c: Likewise.
51437         * misc/mkstemps64.c: Likewise.
51438         * sysdeps/wordsize-64/mkstemp64.c: File removed.
51439         * sysdeps/wordsize-64/mkostemp64.c: File removed.
51440         * sysdeps/wordsize-64/mkostemp.c: File removed.
51441         * sysdeps/wordsize-64/mkstemp.c: File removed.
51442         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
51443         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
51444         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
51445         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
51447         [BZ #14138]
51448         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
51449         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
51450         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
51451         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
51453         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
51454         compat_symbol macros from <shlib-compat.h> rather than the underlying
51455         default_symbol_version and symbol_version macros, so that DEFAULT
51456         lines in shlib-versions are respected.
51457         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
51459 2012-08-01  Florian Weimer  <fweimer@redhat.com>
51461         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
51462         Declare with warn_unused_result.
51463         (setgid, setregid, setegid, setresgid): Likewise.
51464         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
51465         Likewise.
51466         * WUR-REPORT: Remove set*id functions.
51468 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
51470         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
51472 2012-07-31  Roland McGrath  <roland@hack.frob.com>
51474         [BZ #10191]
51475         * include/sys/socket.h (__libc_accept, __libc_accept4):
51476         Add attribute_hidden.
51477         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
51479         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
51480         use of PTR_MANGLE.
51481         * inet/getnetgrent_r.c (setup): Likewise.
51483         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
51485 2012-07-31  David S. Miller  <davem@davemloft.net>
51487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51489 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
51491         [BZ #13629]
51492         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
51493         value between 1.0 and 2.0 and smaller part has absolute value less
51494         than 1.0.
51495         * math/s_clog10.c (__clog10): Likewise.
51496         * math/s_clog10f.c (__clog10f): Likewise.
51497         * math/s_clog10l.c (__clog10l): Likewise.
51498         * math/s_clogf.c (__clogf): Likewise.
51499         * math/s_clogl.c (__clogl): Likewise.
51500         * math/libm-test.inc (clog_test): Add more tests.
51501         (clog10_test): Likewise.
51502         * sysdeps/i386/fpu/libm-test-ulps: Update.
51503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51505 2012-07-31  Florian Weimer  <fweimer@redhat.com>
51507         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
51508         Exit with zero in case no suitable GID is found, and write a
51509         message to standard error.
51511 2012-07-30  Roland McGrath  <roland@hack.frob.com>
51513         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
51514         rather than to 1.
51515         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
51516         (MAXPATHLEN): Removed.
51517         (NOGROUP, NODEV): New macros.
51518         (setbit, clrbit, isset, isclr): New macros.
51519         (howmany, roundup, powerof2): New macros.
51520         (DEV_BSIZE): New macro.
51522         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
51523         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
51525         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
51526         definition on [!__NO_LONG_DOUBLE_MATH].
51528         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
51529         PTR_MANGLE and PTR_DEMANGLE.
51531         * socket/accept4.c (accept4): Rename to __libc_accept4.
51532         Define accept4 as a weak alias.
51534         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
51535         on [_DIRENT_HAVE_D_TYPE].
51536         * io/ftw.c (ftw_dir): Likewise.
51538         * io/xmknod.c (__xmknod): Don't check PATH for being null.
51540         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
51542         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
51543         Use the BSD numbers rather than the arbitrary ones we had.
51544         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
51545         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
51546         (SIGXCPU, SIGXFSZ): New macros.
51547         (_NSIG): Now 32.
51549         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
51550         initializer on [_LIBC_REENTRANT].
51552         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
51553         definitions inside [_POSIX_MAPPED_FILES].
51555         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
51557         * dirent/opendir.c: Include <fcntl.h>.
51559         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
51560         (__libc_getspecific): Likewise.
51561         (__libc_key_create): Likewise.
51563         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
51564         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
51565         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
51566         (tmpfile64): Define as alias.
51567         * sysdeps/wordsize-64/tmpfile.c: File removed.
51568         * sysdeps/wordsize-64/tmpfile64.c: File removed.
51569         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
51570         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
51572         * stdio-common/vfscanf.c: Include <stdbool.h>.
51573         * nss/makedb.c: Likewise.
51574         * stdio-common/_i18n_number.h: Likewise.
51575         * argp/argp-help.c: Likewise.
51576         * posix/wordexp.c: Likewise.
51577         * sysdeps/posix/spawni.c: Likewise.
51578         * nss/nss_files/files-initgroups.c: Likewise.
51579         * stdio-common/reg-modifier.c: Include <stdlib.h>.
51580         * nss/nss_files/files-initgroups.c: Likewise.
51581         * nss/nss_db/db-netgrp.c: Likewise.
51582         * nss/nss_db/db-initgroups.c: Likewise.
51583         * io/fchmodat.c: Include <sys/stat.h>.
51585         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
51586         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
51588         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
51589         [HAVE_MMAP].
51591         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
51592         Add multiple inclusion protection.
51594 2012-07-27  David S. Miller  <davem@davemloft.net>
51596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51598 2012-07-27  Gary Benson  <gbenson@redhat.com>
51600         [BZ #14298]
51601         * elf/rtld.c: Include <stap-probe.h>.
51602         (dl_main): Added static probes "init_start" and "init_complete".
51603         * elf/dl-load.c: Include <stap-probe.h>.
51604         (lose): Take new parameter "nsid".
51605         Added static probe "map_failed".
51606         (_dl_map_object_from_fd): Pass namespace id to lose.
51607         Added static probe "map_start".
51608         (open_verify): Pass namespace id to lose.
51609         * elf/dl-open.c: Include <stap-probe.h>.
51610         (dl_open_worker) Added static probes "map_complete", "reloc_start"
51611         and "reloc_complete".
51612         * elf/dl-close.c: Include <stap-probe.h>.
51613         (_dl_close_worker): Added static probes "unmap_start" and
51614         "unmap_complete".
51615         * elf/rtld-debugger-interface.txt: New file documenting the above.
51617 2012-07-26  Roland McGrath  <roland@hack.frob.com>
51619         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
51620         rather than a string variable.
51621         * sunrpc/rpc_main.c (h_output): Likewise.
51622         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
51624 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
51626         * inet/check_native.c: New file.
51628 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
51630         [BZ #13629]
51631         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
51632         if larger part has absolute value 1.0.
51633         * math/s_clog10.c (__clog10): Likewise.
51634         * math/s_clog10f.c (__clog10f): Likewise.
51635         * math/s_clog10l.c (__clog10l): Likewise.
51636         * math/s_clogf.c (__clogf): Likewise.
51637         * math/s_clogl.c (__clogl): Likewise.
51638         * math/libm-test.inc (clog_test): Add more tests.
51639         (clog10_test): Likewise.
51640         * sysdeps/i386/fpu/libm-test-ulps: Update.
51641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51643         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
51644         (pltexit): Likewise.
51645         (La_regs): Likewise.
51646         (La_retval): Likewise.
51647         (int_retval): Likewise.
51648         Update #error for removed macros to refer only to definitions in
51649         tst-audit.h.
51650         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
51651         macro.
51652         (pltexit): Likewise.
51653         (La_regs): Likewise.
51654         (La_retval): Likewise.
51655         (int_retval): Likewise.
51656         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
51657         macro.
51658         (pltexit): Likewise.
51659         (La_regs): Likewise.
51660         (La_retval): Likewise.
51661         (int_retval): Likewise.
51662         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
51663         macro.
51664         (pltexit): Likewise.
51665         (La_regs): Likewise.
51666         (La_retval): Likewise.
51667         (int_retval): Likewise.
51668         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
51669         macro.
51670         (pltexit): Likewise.
51671         (La_regs): Likewise.
51672         (La_retval): Likewise.
51673         (int_retval): Likewise.
51674         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
51675         macro.
51676         (pltexit): Likewise.
51677         (La_regs): Likewise.
51678         (La_retval): Likewise.
51679         (int_retval): Likewise.
51680         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
51681         macro.
51682         (pltexit): Likewise.
51683         (La_regs): Likewise.
51684         (La_retval): Likewise.
51685         (int_retval): Likewise.
51686         * sysdeps/generic/tst-audit.h: Update comment to refer only to
51687         macro definitions in tst-audit.h.
51688         * sysdeps/i386/tst-audit.h: New file.
51689         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
51690         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
51691         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
51692         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
51693         * sysdeps/sh/tst-audit.h: Likewise.
51694         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
51695         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
51696         * sysdeps/x86_64/tst-audit.h: Likewise.
51698 2012-07-26  Andreas Jaeger  <aj@suse.de>
51700         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
51701         ptrace.
51703         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
51704         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
51705         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
51706         PTRACE_O_MASK.
51707         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
51708         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
51709         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
51711         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
51712         value.
51714         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
51715         _sigsys.
51716         (si_call_addr, si_syscall, si_arch): Define new macro.
51717         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
51718         _sigsys.
51719         (si_call_addr, si_syscall, si_arch): Define new marcro.
51720         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
51721         _sigsys.
51722         (si_call_addr, si_syscall, si_arch): Define new macro.
51723         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
51724         _sigsys.
51725         (si_call_addr, si_syscall, si_arch): Define new macro.
51727 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51729         [BZ #13717]
51730         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51731         Change to 2.4.21 where previously 2.4.1.
51732         * sysdeps/unix/sysv/linux/configure: Regenerated.
51733         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
51734         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
51735         Linux kernel version.
51736         (__ASSUME_STD_AUXV): Remove.
51737         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
51738         kernel version.
51739         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
51740         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
51741         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
51742         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
51743         (__ASSUME_NETLINK_SUPPORT): Likewise.
51744         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
51745         (__no_netlink_support): Remove conditional definition.
51746         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
51747         Remove.
51748         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51749         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
51750         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
51751         (if_nameindex_ioctl): Remove.
51752         (if_nameindex_netlink): Do not handle __no_netlink_support.
51753         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51754         code.
51755         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
51756         Remove conditional code.
51757         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51758         code.
51759         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
51760         unconditional.
51761         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51762         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
51763         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
51764         Remove.
51765         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
51766         [!__ASSUME_STD_AUXV]: Remove conditional code.
51767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
51768         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
51769         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
51770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
51771         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
51772         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51773         code.
51774         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51776         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
51777         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51778         conditional code.
51779         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51781         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51782         code.
51783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51784         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51785         conditional code.
51786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
51787         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51788         code unconditional.
51789         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51790         conditional code.
51791         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51792         unconditional.
51793         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51794         conditional code.
51795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51796         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51797         unconditional.
51798         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51799         conditional code.
51800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
51801         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51802         code unconditional.
51803         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51804         conditional code.
51805         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51806         unconditional.
51807         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51808         conditional code.
51809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
51810         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51811         code unconditional.
51812         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51813         conditional code.
51814         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51815         unconditional.
51816         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51817         conditional code.
51819 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
51821         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
51822         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
51823         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51824         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
51825         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
51826         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
51827         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
51828         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
51829         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
51830         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
51831         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
51832         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
51833         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
51834         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
51835         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
51836         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
51837         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
51838         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
51839         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
51840         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
51841         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
51842         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
51843         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51845 2012-07-25  Florian Weimer  <fweimer@redhat.com>
51847         * Versions.def: Add GLIBC_2.17.
51848         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
51849         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
51850         Introduce __libc_secure_getenv.
51851         * stdlib/Versions (2.17): Add secure_getenv
51852         (GLIBC_PRIVATE): Add __libc_secure_getenv.
51853         * stdlib/secure-getenv.c: Rename __secure_getenv to
51854         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
51855         symbol __secure_getenv for GLIBC_2.0.
51856         * stdlib/tst-secure-getenv.c: New.
51857         * stdlib/Makefile (tests): Add testcase.
51858         * manual/startup.texi (Environment Access): Document
51859         secure_getenv.
51860         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
51861         __libc_secure_getenv.
51862         * inet/ruserpass.c (ruserpass): Likewise.
51863         * malloc/mtrace.c (mtrace): Likewise.
51864         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
51865         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
51866         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
51867         * sysdeps/posix/tempname.c: Likewise.  Evaluate
51868         HAVE_SECURE_GETENV.
51869         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
51870         __secure_getenv to __libc_secure_getenv.
51871         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
51872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51873         Likewise.
51874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51875         Likewise.
51876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51878         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51884 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51886         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
51887         (struct La_i86_retval): Likewise.
51888         (struct La_x86_64_regs): Likewise.
51889         (struct La_x86_64_retval): Likewise.
51890         (struct La_x32_regs): Likewise.
51891         (struct La_x32_retval): Likewise.
51892         (struct La_ppc32_regs): Likewise.
51893         (struct La_ppc32_retval): Likewise.
51894         (struct La_ppc64_regs): Likewise.
51895         (struct La_ppc64_retval): Likewise.
51896         (struct La_sh_regs): Likewise.
51897         (struct La_sh_retval): Likewise.
51898         (struct La_s390_32_regs): Likewise.
51899         (struct La_s390_32_retval): Likewise.
51900         (struct La_s390_64_regs): Likewise.
51901         (struct La_s390_64_retval): Likewise.
51902         (struct La_sparc32_regs): Likewise.
51903         (struct La_sparc32_retval): Likewise.
51904         (struct La_sparc64_regs): Likewise.
51905         (struct La_sparc64_retval): Likewise.
51906         (struct audit_ifaces): Remove architecture-specific pltenter and
51907         pltexit members.
51908         * sysdeps/i386/ldsodefs.h: New file.
51909         * sysdeps/powerpc/ldsodefs.h: Likewise.
51910         * sysdeps/s390/ldsodefs.h: Likewise.
51911         * sysdeps/sh/ldsodefs.h: Likewise.
51912         * sysdeps/sparc/ldsodefs.h: Likewise.
51913         * sysdeps/x86_64/ldsodefs.h: Likewise.
51915 2012-07-25  Marek Polacek  <polacek@redhat.com>
51917         [BZ #6808]
51918         * math/libm-test.inc (yn_test): Add another test.
51919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
51920         to ERANGE when the result is +-Inf.
51921         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51922         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
51923         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
51924         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
51926 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
51928         * conform/data/time.h-data (NULL): Use macro-constant.  Require
51929         equal to 0.
51930         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
51931         clock_t.
51932         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
51934 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
51936         * configure.in <sysdeps resolving>: Correct printing
51937         Implies_before.
51938         * configure: Regenerate.
51940 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
51942         * math/w_ilogb.c: Include <limits.h>.
51943         * math/w_ilogbl.c: Likewise.
51945 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51947         * manual/lang.texi (__va_copy): Document primarily as ISO C99
51948         va_copy.  Document allowing for unavailable va_copy only as
51949         pre-C99 compatibility.
51950         * manual/string.texi (Copying and Concatenation): Use va_copy
51951         instead of __va_copy in concat example.
51953 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
51955         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
51956         (__sendto): Use create_address_port.  Initialize APORT and deallocate
51957         it if not null.
51959         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
51960         with O_NOLINK passed to __file_name_lookup.
51962         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
51963         with O_NOLINK passed to __file_name_lookup.
51965         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
51966         negative N or less than NGIDS.
51968         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
51969         type to string_t.  Set ERANGE as errno and return it if NAME is not big
51970         enough.  Use memcpy instead of strncpy.
51972 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51974         * elf/Makefile (check-data): Remove.
51975         (localplt.data): New vpath directive.
51976         ($(objpfx)check-localplt.out): Use localplt.data from vpath
51977         instead of $(check-data).
51978         * scripts/data/localplt-generic.data: Move to ...
51979         * sysdeps/generic/localplt.data: ... here.
51980         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
51981         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
51982         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
51983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
51984         ... here.
51985         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
51986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
51987         ... here.
51988         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
51989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
51990         ... here.
51991         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
51992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
51993         ... here.
51994         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
51995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
51996         ... here.
51997         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
51998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
51999         ... here.
52001 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52003         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
52004         PPC32 and PPC64 files.
52005         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
52006         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
52008 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52010         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
52011         __makecontext_ret to ...
52012         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
52013         ... here and call exit if uc_link is NULL.  New file.
52014         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
52015         __makecontext_ret.S.
52016         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
52017         __makecontext_ret to ...
52018         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
52019         ... here and call exit if uc_link is NULL.  New file.
52020         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
52021         __makecontext_ret.S.
52023 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52025         * elf/elf.h (R_390_IRELATIVE): New definition.
52026         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
52027         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
52028         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
52029         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52030         (elf_machine_lazy_rel): Likewise.
52031         * sysdeps/s390/dl-irel.h: New file.
52032         * sysdeps/s390/s390-64/memcpy.S: New asm code.
52033         * sysdeps/s390/s390-64/memset.S: New asm code.
52034         * sysdeps/s390/s390-64/memcmp.S: New asm code.
52035         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
52036         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
52037         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
52038         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
52039         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
52040         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
52041         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
52042         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
52043         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
52044         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
52045         * sysdeps/s390/s390-32/memcpy.S: New asm code.
52046         * sysdeps/s390/s390-32/memset.S: New asm code.
52047         * sysdeps/s390/s390-32/memcmp.S: New asm code.
52049 2012-07-17  Marek Polacek  <polacek@redhat.com>
52051         [BZ #14349]
52052         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
52053         * sysdeps/s390/s390-64/configure.in: Likewise.
52054         * sysdeps/sparc/configure.in: Likewise.
52055         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
52056         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
52057         * sysdeps/i386/configure.in: Likewise.
52058         * sysdeps/x86_64/configure.in: Likewise.
52059         * sysdeps/sh/configure.in: Likewise.
52060         * sysdeps/s390/s390-32/configure: Regenerated.
52061         * sysdeps/s390/s390-64/configure: Likewise.
52062         * sysdeps/x86_64/configure: Likewise.
52063         * sysdeps/sh/configure: Likewise.
52064         * sysdeps/powerpc/powerpc64/configure: Likewise.
52065         * sysdeps/powerpc/powerpc32/configure: Likewise.
52066         * sysdeps/sparc/configure: Likwise.
52067         * sysdeps/i386/configure: Likewise.
52069         * elf/dl-open.c: Comment fixes.
52071 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
52073         * Makefile [CXX] (check-data): Remove.
52074         [CXX] (c++-types.data): New vpath directive.
52075         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
52076         vpath.  Do not allow for C++ type data being missing.
52077         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
52078         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
52079         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
52080         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
52081         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
52082         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
52083         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
52084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
52085         ... here.
52086         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
52087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
52088         ... here.
52089         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
52090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
52091         ... here.
52092         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
52093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
52094         ... here.
52095         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
52096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
52097         ... here.
52098         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
52099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
52100         ... here.
52101         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
52102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
52103         ... here.
52104         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
52105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
52107         * elf/tls-macros.h (TLS_LE): Move architecture-specific
52108         definitions to architecture-specific files.
52109         (TLS_IE): Likewise.
52110         (TLS_LD): Likewise.
52111         (TLS_GD): Likewise.
52112         * sysdeps/i386/tls-macros.h: New file.
52113         * sysdeps/powerpc/tls-macros.h: Likewise.
52114         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
52115         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
52116         * sysdeps/sh/tls-macros.h: Likewise.
52117         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
52118         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
52119         * sysdeps/x86_64/tls-macros.h: Likewise.
52121 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52123         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
52124         zero value for regular exit case.
52126         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
52127         (__start_context): Preserve zero value for regular exit case.
52129 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52130             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52132         * manual/setjmp.texi (setcontext): Clarify normal process
52133         termination when uc_link is the null pointer.
52134         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
52135         exit call.
52137 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
52139         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
52140         preprocessor.  Test for each exception mask separately.
52142 2012-07-16  Andreas Jaeger  <aj@suse.de>
52144         * po/ru.po: Update from translation team.
52146 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
52148         * conform/data/string.h-data (NULL): Use macro-constant.  Require
52149         equal to 0.
52150         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
52151         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
52152         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
52153         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
52154         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52156 2012-07-13  Andreas Jaeger  <aj@suse.de>
52158         * po/fr.po: Update from translation team.
52160 2012-07-12  Marek Polacek  <polacek@redhat.com>
52162         [BZ #14173]
52163         * math/libm-test.inc (yn_test): Add test for BZ #14173.
52164         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
52165         loop condition.
52167 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
52169         [BZ #13717]
52170         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52171         Change to 2.4.1 where previously 2.4.0.
52172         * sysdeps/unix/sysv/linux/configure: Regenerated.
52173         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
52174         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
52175         version.
52176         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
52177         (__ASSUME_AT_CLKTCK): Remove.
52178         (__ASSUME_AT_PAGESIZE): Likewise.
52179         (__ASSUME_AT_XID): Likewise.
52180         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
52181         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
52182         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
52183         unconditionally.
52184         (HAVE_AUX_PAGESIZE): Likewise.
52185         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
52186         [__ASSUME_AT_CLKTCK]: Make code unconditional.
52187         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
52189 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
52191         [BZ #14307]
52192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
52193         the temporary buffer used to invoke __gethostbyname2_r,
52194         __gethostbyaddr_r and gethostbyname4_r to make room for struct
52195         host_data / struct gaih_addrtuple.
52196         * resolv/nss_dns/dns-host.c (global scope): Move definition of
52197         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
52198         header file nss/nsswitch.h.
52199         * nss/nsswitch.h (global scope): Add definition of implementation
52200         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
52201         resolv/nss_dns/dns-host.c).
52203 2012-07-11  Andreas Jaeger  <aj@suse.de>
52205         * po/fr.po: Update from translation team.
52207         * po/sv.po: Update from translation team
52208         * po/fr.po: Another update from translation team.
52210 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52212         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
52213         for subnormals or multiply small sinh result by itself.
52214         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52217 2012-07-11  David S. Miller  <davem@davemloft.net>
52219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52221 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
52223         [BZ #14347]
52224         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
52225         (INTERNAL_MARK): Shift it here.
52227 2012-07-10  Marek Polacek  <polacek@redhat.com>
52229         [BZ #14151]
52230         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
52231         libc_cv_asm_global_directive with .globl.
52232         * configure: Regenerated.
52233         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
52234         with .globl.
52235         * sysdeps/i386/configure: Regenerated.
52236         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
52237         with .globl.
52238         * sysdeps/x86_64/configure: Regenerated.
52239         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
52240         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
52241         * elf/tst-unique2mod2.c: Likewise.
52242         * elf/tst-unique2mod1.c: Likewise.
52243         * elf/tst-unique1mod2.c: Likewise.
52244         * elf/tst-unique1mod1.c: Likewise.
52245         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52246         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52247         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52248         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52249         * sysdeps/mach/sysdep.h: Likewise.
52250         * sysdeps/i386/sysdep.h: Likewise.
52251         * sysdeps/i386/i386-mcount.S: Likewise.
52252         * sysdeps/x86_64/_mcount.S: Likewise.
52253         * sysdeps/x86_64/sysdep.h: Likewise.
52254         * sysdeps/sh/_mcount.S: Likewise.
52255         * sysdeps/sh/sysdep.h: Likewise.
52256         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
52257         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
52258         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
52259         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52260         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
52261         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
52262         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
52263         * locale/localeinfo.h: Likewise.
52264         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
52265         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
52267 2012-07-09  Roland McGrath  <roland@hack.frob.com>
52269         [BZ #14336]
52270         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
52271         system".
52272         * manual/message.texi (The Uniforum approach): Likewise.
52273         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
52274         (glibc iconv Implementation): Likewise.
52276 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
52278         [BZ #14337]
52279         * math/s_clog.c (__clog): Avoid scaling a value down where that
52280         could result in underflow.
52281         * math/s_clog10.c (__clog10): Likewise.
52282         * math/s_clog10f.c (__clog10f): Likewise.
52283         * math/s_clog10l.c (__clog10l): Likewise.
52284         * math/s_clogf.c (__clogf): Likewise.
52285         * math/s_clogl.c (__clogl): Likewise.
52286         * math/libm-test.inc (clog_test): Add more tests.
52287         (clog10_test): Likewise.
52288         * sysdeps/i386/fpu/libm-test-ulps: Update.
52289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52291 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
52293         [BZ #14283]
52294         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
52295         by 7 not 8 to examine high bit of fractional part.
52297         [BZ #14042]
52298         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
52299         for call to __mcount_internal.
52300         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
52301         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
52302         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
52304 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
52306         [BZ #14154]
52307         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
52308         approximation for values within 0x1p-13f of an odd multiple of
52309         pi/4.
52310         * math/libm-test.inc (tan_test): Do not allow spurious underflow
52311         exception.  Add more tests.
52312         * sysdeps/i386/fpu/libm-test-ulps: Update.
52314         [BZ #6778]
52315         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
52316         inputs and return -1 for them.  Do not check for +Inf in case not
52317         reachable for +Inf.
52318         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52319         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
52320         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52321         and return -1 for them.  Do not check for +Inf in case not
52322         reachable for +Inf.
52323         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
52324         define.
52325         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52326         and return -1 for them.  Do not check for +Inf in case not
52327         reachable for +Inf.
52328         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
52329         spurious underflow.
52330         * sysdeps/i386/fpu/libm-test-ulps: Update.
52331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52333 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
52335         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
52337 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
52339         [BZ #14157]
52340         [BZ #14331]
52341         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
52342         could result in spurious underflow.  Scale down values above
52343         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
52344         * math/s_csqrtf.c (__csqrtf): Likewise.
52345         * math/s_csqrtl.c (__csqrtl): Likewise.
52346         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
52347         spurious underflow.
52348         * sysdeps/i386/fpu/libm-test-ulps: Update.
52349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52351 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
52353         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
52354         xopen-msg.sed.
52355         * catgets/xopen-msg.awk: New file.
52356         * catgets/xopen-msg.sed: Removed.
52358         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
52359         po2text.sed.
52360         * intl/po2test.awk: New file.
52361         * intl/po2test.sed: Removed.
52363 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
52365         [BZ #14328]
52366         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
52367         or multiply small sinh result by itself.
52368         * math/s_ctanf.c (__ctanf): Likewise.
52369         * math/s_ctanh.c (__ctanh): Likewise.
52370         * math/s_ctanhf.c (__ctanhf): Likewise.
52371         * math/s_ctanhl.c (__ctanhl): Likewise.
52372         * math/s_ctanl.c (__ctanl): Likewise.
52373         * math/libm-test.inc (ctan_test_tonearest): New function.
52374         (ctan_test_towardzero): Likewise.
52375         (ctan_test_downward): Likewise.
52376         (ctan_test_upward): Likewise.
52377         (ctanh_test_tonearest): Likewise.
52378         (ctanh_test_towardzero): Likewise.
52379         (ctanh_test_downward): Likewise.
52380         (ctanh_test_upward): Likewise.
52381         (main): Call these new functions.
52382         * sysdeps/i386/fpu/libm-test-ulps: Update.
52383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52385 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
52387         * .gitignore: Delete /ports entry.
52389 2012-07-03  Andreas Jaeger  <aj@suse.de>
52391         * po/bg.po: Update from translation team.
52392         * po/cs.po: Likewise.
52393         * po/de.po: Likewise.
52394         * po/hr.po: Likewise.
52395         * po/nl.pl: Likewise.
52396         * po/pl.po: Likewise.
52397         * po/vi.po: Likewise.
52399 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
52401         * Makeconfig [!+link] (+link-before-libc): New variable.
52402         [!+link] (+link-after-libc): Likewise.
52403         [!+link] (+link-tests): Likewise.
52404         [!+link] (+link): Define in terms of $(+link-before-libc) and
52405         $(+link-after-libc).
52406         [!+link-static] (+link-static-before-libc): New variable.
52407         [!+link-static] (+link-static-after-libc): Likewise.
52408         [!+link-static] (+link-static-tests): Likewise.
52409         [!+link-static] (+link-static): Define in terms of
52410         $(+link-static-before-libc) and $(+link-static-after-libc).
52411         [build-shared] (link-libc-before-gnulib): New variable.
52412         [build-shared] (link-libc-tests): Likewise.
52413         [build-shared] (link-libc): Define in terms of
52414         $(link-libc-before-gnulib).
52415         [!build-shared] (link-libc-tests): New variable.
52416         (link-libc-static-tests): New variable.
52417         [!gnulib] (gnulib-arch): New variable.
52418         [!gnulib] (gnulib-tests): Likewise.
52419         [!gnulib] (static-gnulib-arch): Likewise.
52420         [!gnulib] (static-gnulib-tests): Likewise.
52421         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
52422         Define with "=" instead of ":=".
52423         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
52424         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
52425         * Rules (binaries-all-notests): New variable.
52426         (binaries-all-tests): Likewise.
52427         (binaries-static-notests): Likewise.
52428         (binaries-static-tests): Likewise.
52429         (binaries-all): Define using $(binaries-all-notests) and
52430         $(binaries-all-tests).
52431         (binaries-static): Define using $(binaries-static-notests) and
52432         $(binaries-static-tests).
52433         (binaries-shared-tests): New variable.
52434         (binaries-shared-notests): Likewise.
52435         (binaries-shared): Remove variable.
52436         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
52437         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
52438         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
52439         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
52440         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
52441         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
52442         * elf/Makefile (sln-modules): New variable.
52443         (extra-objs): Add $(sln-modules:=.o).
52444         (ldconfig-modules): Add static-stubs.
52445         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
52446         * elf/static-stubs.c: New file.
52448         [BZ #14283]
52449         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
52450         by 7 not 8 to examine high bit of fractional part.  Use volatile
52451         variables when splitting into final array of floats if
52452         __FLT_EVAL_METHOD__ != 0.
52453         * math/libm-test.inc (cos_test): Add another test.
52454         (sin_test): Likewise.
52455         * sysdeps/i386/fpu/libm-test-ulps: Update.
52457         [BZ #14273]
52458         * math/libm-test.inc (cosh_test): Add more tests.
52460         * version.h (RELEASE): Set to "development".
52461         (VERSION): Set to "2.16.90".
52463 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
52465         * NEWS: Update copyright. Remove last-updated date.
52466         Mention math library bug fixes and timezone data changes.
52467         * README: Mention GNU/Hurd, x32, and HPPA support status.
52469 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
52471         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
52473 2012-06-27  Andreas Jaeger  <aj@suse.de>
52475         * manual/contrib.texi (Contributors): Add Samuel Thibault.
52477 2012-06-25  Andreas Jaeger  <aj@suse.de>
52479         * sysdeps/s390/fpu/libm-test-ulps: Update.
52481 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
52482             Thomas Schwinge  <thomas@codesourcery.com>
52484         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
52485         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
52486         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
52487         fanotify_mark.
52489 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
52491         * sysdeps/mach/start.c: Remove file.
52492         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
52493         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
52494         * sysdeps/sh/init-first.c: Likewise.
52496         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
52497         registers for frame unwinding purposes, add CFI directives.
52498         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52499         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
52500         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
52501         Likewise.
52503         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
52504         __fortify_fail returning.
52505         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52507         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
52508         sysdeps/sh/____longjmp_chk.S.
52509         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
52510         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
52511         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
52512         (gen-as-const-headers): Append sigaltstack-offsets.sym.
52514         * sysdeps/sh/abort-instr.h: New file.
52515         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
52516         process in case exit returns.
52518         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
52519         initialize the GOT register before use.
52521         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
52522         calculation of ARGC > 4.
52524         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
52525         meaningful names to some local labels.
52527 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52528             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52530         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
52531         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
52532         (__arch_compare_and_exchange_val_16_acq): Likewise.
52533         (__arch_compare_and_exchange_val_32_acq): Likewise.
52534         (atomic_exchange_and_add): Fix gUSA sequence.
52535         (atomic_add): Likewise.
52536         (atomic_add_negative): Likewise.
52537         (atomic_add_zero): Likewise.
52538         (atomic_bit_test_set): Likewise.
52540 2012-06-22  Andreas Schwab  <schwab@redhat.com>
52542         [BZ #13579]
52543         * include/link.h (struct link_map): Add l_free_initfini.
52544         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
52545         l_initfini.
52546         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
52547         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
52548         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
52549         set.
52551 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
52553         * configure.in: Use AC_LANG_SOURCE.
52554         * configure: Regenerate.
52556 2012-06-22  Roland McGrath  <roland@hack.frob.com>
52558         * configure.in (libc_cv_localstatedir): New substituted variable.
52559         * configure: Regenerated.
52560         * config.make.in (localstatedir): New variable, substituted from
52561         libc_cv_localstatedir.
52562         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
52563         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
52564         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
52565         * sysdeps/gnu/configure: Regenerated.
52567 2012-06-21  Jeff Law  <law@redhat.com>
52569         [BZ #14277]
52570         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
52571         free.  Simplify list management for _LIBC case.
52573 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
52575         [BZ #14273]
52576         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
52577         Clear sign bit of 64-bit integer value before comparing against
52578         overflow value.
52580         * sysdeps/mach/configure: Regenerated.
52582 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
52584         [BZ #14278]
52585         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
52587 2012-06-21  Jeff Law  <law@redhat.com>
52589         [BZ #13882]
52590         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
52591         uint16_t for elements in the "seen" array to avoid char overflows.
52592         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52593         * elf/dl-open.c (dl_open_worker): Likewise.
52595 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
52597         * scripts/list-sources.sh: Scan PORTS for translations.
52598         * po/libc.pot: Regenerated.
52600 2012-06-21  Andreas Jaeger  <aj@suse.de>
52602         [BZ #12194]
52603         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
52604         warning.
52605         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
52606         * bits/byteswap-16.h (__bswap_16): Likewise.
52607         * bits/byteswap.h (__bswap_constant_16): Likewise.
52609 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
52611         [BZ #14117]
52612         * sysdeps/i386/fpu_control.h: Removed.
52613         * sysdeps/x86_64/fpu_control.h: Moved to ...
52614         * sysdeps/x86/fpu_control.h: Here.
52616         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
52617         (_FPU_SETCW): Likewise.
52619 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
52621         [BZ #14117]
52622         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
52623         * sysdeps/x86/fpu/bits/mathinline.h: This.
52624         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
52626         [BZ #14050]
52627         [BZ #14117]
52628         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
52629         functions if __x86_64__ is defined.
52631 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
52633         * string/endian.h: Add !__ASSEMBLER__ condition for including
52634         conversion interfaces.
52636 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
52638         [BZ #14241]
52639         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
52640         of ABS(x) in calculating zero to negative powers other than odd
52641         integers.
52642         * math/libm-test.inc (pow_test): Add more tests.
52644 2012-06-15  Andreas Jaeger  <aj@suse.de>
52646         * manual/contrib.texi (Contributors): Update entry of Liubov
52647         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
52648         Machado Filho.
52650 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
52652         * string/string.h: Add __wur to GNU version of strerror_r.
52654 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
52656         [BZ #14229]
52657         * string/Makefile (tests): Add tst-strtok_r.
52658         * string/tst-strtok_r.c: New file.
52659         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
52660         RAX_LP/RDX_LP on SAVE_PTR.
52662 2012-06-14  Roland McGrath  <roland@hack.frob.com>
52664         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
52666 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
52668         * libm_test.inc (csqrt_test): Allow more spurious underflow
52669         exceptions.
52670         (j0_test): Likewise.
52671         (j1_test): Likewise.
52672         (y0_test): Likewise.
52673         (y1_test): Likewise.
52675 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
52677         * po/Makefile (libc.pot): Use UTF-8 charset.
52679 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
52681         [BZ #14210]
52682         Suppress sign-conversion warning from FD_SET.
52683         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
52684         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
52685         not unsigned long int.
52686         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
52688 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
52690         [BZ #14050]
52691         [BZ #14117]
52692         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
52693         __extern_always_inline instead of __extern_inline.
52694         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
52695         (__signbit): Likewise.
52696         (__signbitl): Support C++ namespace.
52697         (lrintf): New inline function.
52698         (lrint): Likewise.
52699         (llrintf): Likewise.
52700         (llrint): Likewise.
52701         (fmaxf): Likewise.
52702         (fmax): Likewise.
52703         (fminf): Likewise.
52704         (fmin): Likewise.
52705         (rint): Likewise.
52706         (rintf): Likewise.
52707         (ceil): Likewise.
52708         (ceilf): Likewise.
52709         (floor): Likewise.
52710         (floorf): Likewise.
52711         (nearbyint): Likewise.
52712         (nearbyintf): Likewise.
52714 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
52716         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
52717         non-default versions.
52719 2012-06-11  Roland McGrath  <roland@hack.frob.com>
52721         [BZ #14218]
52722         * manual/argp.texi (Argp): Reword argp_parse description slightly.
52724 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
52726         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
52727         (FE_UPWARD, FE_DOWNWARD): Don't define.
52728         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
52729         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52731         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
52732         reading it.
52733         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52734         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52736 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52738         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52739         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
52740         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
52741         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
52743 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
52745         [BZ #14117]
52746         * sysdeps/i386/fpu/bits/fenv.h: Removed.
52747         * sysdeps/i386/fpu/Implies: New file.
52748         * sysdeps/x86_64/fpu/Implies: Likewise.
52749         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
52750         * sysdeps/x86/fpu/bits/fenv.h: This.
52752         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
52753         __SSE_MATH__.
52755 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52757         [BZ #14134]
52758         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
52759         character 0xffff that matches the last element of the
52760         conversion table.
52762 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52764         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
52765         fmodl commit.
52767 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52769         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
52770         values higher than 25.6283.
52772 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52774         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
52775         subnormal exponent extraction and add some __builtin_expect.
52776         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
52777         Fix for subnormal mantissa calculation.
52779 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
52781         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
52782         cpu2 is -1 and errno is not ENOSYS.
52784 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
52786         [BZ #14117]
52787         * sysdeps/i386/i486/bits/string.h: Renamed to ...
52788         * sysdeps/x86/bits/string.h: This.
52789         * sysdeps/x86_64/bits/string.h: Removed.
52791         * sysdeps/i386/i486/bits/string.h: Define inline functions only
52792         if not compiling for x86-64, but compiling for >= i486.
52794         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
52795         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
52797         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
52798         New macro from Linux kernel 3.4.0.
52799         (FP_XSTATE_MAGIC2): Likewise.
52800         (FP_XSTATE_MAGIC2_SIZE): Likewise.
52801         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
52802         (struct _fpx_sw_bytes): New struct.
52803         (struct _xsave_hdr): Likewise.
52804         (struct _ymmh_state): Likewise.
52805         (struct _xstate): Likewise.
52807         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
52808         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
52809         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
52810         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
52811         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
52812         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
52814         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
52815         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
52816         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
52817         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
52818         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
52819         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
52821 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52823         [BZ #13743]
52824         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
52825         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
52826         (sysdep_headers): Include sys/platform/ppc.h.
52827         * sysdeps/powerpc/test-gettimebase.c: Test for
52828         __ppc_get_timebase() to catch future ISA opcode/insn changes.
52829         * manual/Makefile (appendices): Include platform.texi.
52830         * manual/contrib.texi (Contributors): Update @node pointers.
52831         * manual/maint.texi (Maintenance): Likewise.
52832         (Platform): New node.
52833         * manual/platform.texi: New file.  Document the new features.
52835 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52836             Jakub Jelinek  <jakub@redhat.com>
52838         [BZ #14188]
52839         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
52840         where __builtin_expect is unavailable.
52842 2012-06-03  David S. Miller  <davem@davemloft.net>
52844         * stdlib/longlong.h: Updated from GCC.
52846 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
52848         [BZ #14042]
52849         * sysdeps/powerpc/powerpc32/mcount.c: New file.
52850         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
52851         __mcount_internal.
52852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52853         (GLIBC_2.16): Likewise.
52855 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52857         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
52859 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
52862         (default-abi): New variable.
52863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
52864         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
52865         variable.
52866         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
52867         Likewise.
52868         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
52869         Likewise.
52870         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
52871         Likewise.
52873         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
52874         definition.  Document in comment.
52876 2012-06-01  David S. Miller  <davem@davemloft.net>
52878         * stdlib/longlong.h: Updated from GCC.
52880 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52882         [BZ #14117]
52883         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
52884         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
52885         sys/debugreg.h sys/io.h here.
52886         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
52887         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
52888         sys/io.h.
52889         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
52890         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
52891         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
52892         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
52893         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
52894         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
52896         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
52897         Define only if __x86_64__ is defined.
52899 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52901         [BZ #14048]
52902         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
52903         Use int64_t for variable i.
52904         * math/libm-test.inc (fmod_test): Add more tests.
52906         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
52907         z computation is not scheduled after fetestexcept.
52908         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
52909         Use math_force_eval instead of asm to ensure calculation scheduled
52910         before exception test.
52911         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
52912         Ensure a1 + u.d computation is not scheduled after fetestexcept.
52914 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
52916         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
52917         computation is not scheduled after fetestexcept.
52919 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52921         [BZ #14117]
52922         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
52923         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
52925 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52927         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
52928         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52930 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52932         [BZ #14117]
52933         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
52934         <bits/wordsize.h>.
52935         (__WCHAR_MIN): Support __WORDSIZE == 64.
52936         (__WCHAR_MAX): Likewise.
52938         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
52939         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
52941         [BZ #14183]
52942         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
52943         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
52945         [BZ #14117]
52946         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
52947         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
52949         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
52950         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
52952         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
52953         Defined to 1 if __x86_64__ isn't defined.
52954         (_STAT_VER_LINUX_OLD): New.
52955         (st_atime): Remove duplicate.
52956         (st_mtime): Likewise.
52957         (st_ctime): Likewise.
52959 2012-05-31  David S. Miller  <davem@davemloft.net>
52961         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
52962         entries.
52964 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
52966         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
52967         gen-libm-test.pl.
52969         [BZ #14132]
52970         * elf/dl-reloc.c: Include <_itoa.h>.
52971         (_dl_reloc_bad_type): Remove use of INTUSE.
52972         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
52973         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
52974         * stdio-common/psiginfo.c (psiginfo): Likewise.
52975         * stdio-common/psignal.c (psignal): Likewise.
52976         * string/strsignal.c (strsignal): Likewise.
52977         * include/signal.h (_sys_siglist): Declare hidden proto.
52978         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
52979         INTVARDEF with libc_hidden_data_def.
52980         * stdio-common/itoa-udigits.c: Likewise.
52981         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
52982         (_itoa_lower_digits_internal): Remove declaration.
52983         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
52984         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
52985         (_sys_sigabbrev_internal): Remove aliases.
52986         (_sys_siglist): Define hidden alias.
52988 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
52990         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52991         bits/sysctl.h.
52993 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52995         [BZ #14117]
52996         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
52997         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
52999         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
53000         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
53001         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
53002         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
53003         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
53004         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
53006         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
53007         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
53008         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
53010         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
53011         with __addr.
53012         (insw): Likewise.
53013         (insl): Likewise.
53014         (outsb): Likewise.
53015         (outsw): Likewise.
53016         (outsl): Likewise.
53018         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
53019         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
53020         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
53022         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
53023         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
53024         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
53025         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
53026         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
53027         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
53029         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
53030         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
53032         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
53033         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
53035         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
53036         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
53037         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
53039         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
53040         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
53041         to ...
53042         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
53044         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
53045         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
53046         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
53048         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
53049         for x86-64.
53050         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
53052 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
53054         * math/math.h (M_El): Use two more decimal places.
53055         (M_LOG2El): Likewise.
53056         (M_LOG10El): Likewise.
53057         (M_LN2l): Likewise.
53058         (M_LN10l): Likewise.
53059         (M_PIl): Likewise.
53060         (M_PI_2l): Likewise.
53061         (M_PI_4l): Likewise.
53062         (M_1_PIl): Likewise.
53063         (M_2_PIl): Likewise.
53064         (M_2_SQRTPIl): Likewise.
53065         (M_SQRT2l): Likewise.
53066         (M_SQRT1_2l): Likewise.
53068 2012-05-31  David S. Miller  <davem@davemloft.net>
53070         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
53071         values between float registers.
53072         * sysdeps/sparc/sparc64/memset.S: Likewise.
53073         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53075 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
53077         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
53078         -D_FORTIFY_SOURCE=1.
53079         (CPPFLAGS-tst-longjmp_chk.c): Define.
53080         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
53081         (CPPFLAGS-tst-longjmp_chk2.c): Define.
53082         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
53083         CFLAGS-tst-wchar-h.c.
53085 2012-05-31  Marek Polacek  <polacek@redhat.com>
53087         [BZ #14132]
53088         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
53089         __endmntent_internal): Remove declaration.
53090         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
53091         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
53092         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
53094 2012-05-30  David S. Miller  <davem@davemloft.net>
53096         * sysdeps/sparc/sparc32/soft-fp/q_util.c
53097         (___Q_simulate_exceptions): Use real FP ops rather than writing
53098         into the %fsr.
53099         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
53100         Likewise.
53102 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53104         [BZ #14117]
53105         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
53106         * sysdeps/x86/bits/xtitypes.h: This.
53108         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
53109         * sysdeps/x86/bits/wordsize.h: This.
53111         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
53112         * sysdeps/x86/bits/huge_vall.h: This.
53114         * sysdeps/i386/bits/select.h: Removed.
53115         * sysdeps/x86_64/bits/select.h: Renamed to ...
53116         * sysdeps/x86/bits/select.h: This.
53118         * sysdeps/i386/bits/setjmp.h: Removed.
53119         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
53120         * sysdeps/x86/bits/setjmp.h: This.
53122         * sysdeps/i386/bits/mathdef.h: Removed.
53123         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
53124         * sysdeps/x86/bits/mathdef.h: This.
53126 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
53128         [BZ #14132]
53129         * include/sys/socket.h (__connect_internal)
53130         (__libc_sa_len_internal): Remove declaration.
53131         (__connect, __libc_sa_len): Declare hidden_proto.
53132         (SA_LEN): Remove use of INTUSE.
53133         * socket/connect.c: Add libc_hidden_def.
53134         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
53135         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
53136         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
53137         alias.
53138         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
53139         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
53140         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
53141         of adding _internal alias.
53143 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53145         [BZ #14117]
53146         * sysdeps/i386/bits/link.h: Removed.
53147         * sysdeps/i386/bits/linkmap.h: Likewise.
53148         * sysdeps/x86_64/bits/link.h: Renamed to ...
53149         * sysdeps/x86/bits/link.h: This.
53150         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
53151         * sysdeps/x86/bits/linkmap.h: This.
53153         * sysdeps/i386/bits/endian.h: Removed.
53154         * sysdeps/x86_64/bits/endian.h: Renamed to ...
53155         * sysdeps/x86/bits/endian.h: This.
53157         * sysdeps/i386/bits/byteswap.h: Removed.
53158         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53159         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
53160         * sysdeps/x86/bits/byteswap.h: This.
53161         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
53162         * sysdeps/x86/bits/byteswap-16.h: This.
53163         * sysdeps/i386/Implies: Add x86.
53164         * sysdeps/x86_64/Implies: Likewise.
53166 2012-05-30  David S. Miller  <davem@davemloft.net>
53168         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
53169         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
53170         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53171         (FP_TRAPPING_EXCEPTIONS): Define.
53172         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53173         (FP_TRAPPING_EXCEPTIONS): Define.
53174         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
53175         subnormals only when inexact has been signalled or underflow
53176         exceptions are enabled.
53177         (_FP_PACK_CANONICAL): Likewise.
53179 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53181         [BZ #14183]
53182         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
53183         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
53185 2012-05-30  Richard Henderson  <rth@twiddle.net>
53187         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
53188         with #ifndef NOT_IN_libc.
53190         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
53191         marked to avoid plt entry.
53193 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53195         [BZ #14112]
53196         * Makeconfig (default-abi): New macro.
53197         (abi-includes): Likewise.
53198         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
53199         $(abi-$(default-abi)-lib-soname) for soname if defined.
53200         ($(common-objpfx)gnu/lib-names.stmp): Generate from
53201         abi-variants.
53202         * Makefile (installed-stubs): Likewise.
53203         * include/stubs-biarch.h: Removed.
53204         * scripts/lib-names.awk: Only handle one library at a time.
53205         * scripts/soversions.awk: Remove WORDSIZE support.
53206         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
53207         entries.
53208         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
53209         Removed.
53210         (syscall-list-default-condition): Likewise.
53211         (syscall-list-default-condition): Likewise.
53212         (syscall-list-includes): Likewise.
53213         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
53214         syscall-list-* with abi-*.  Handle undefined abi-variants.
53215         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
53216         * sysdeps/unix/sysv/linux/i386/Implies: New file.
53217         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
53218         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
53219         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
53220         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
53221         Removed.
53222         (syscall-list-32-options): Likewise.
53223         (syscall-list-32-condition): Likewise.
53224         (syscall-list-64-options): Likewise.
53225         (syscall-list-64-condition): Likewise.
53226         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
53227         macro.
53228         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
53229         Renamed to ...
53230         (abi-*): This.
53231         (abi-64-ld-soname): New macro.
53232         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
53233         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
53234         Renamed to ...
53235         (abi-*): This.
53236         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
53237         * sysdeps/x86_64/x32/shlib-versions: Likewise.
53239 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
53241         * sysdeps/unix/sysv/linux/kernel-features.h
53242         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
53243         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
53244         include <kernel-features.h>.
53245         [!__NR_ftruncate64]: Remove conditional code.
53246         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53247         [__NR_ftruncate64]: Make code unconditional.
53248         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53249         * sysdeps/unix/sysv/linux/truncate64.c: Do not
53250         include <kernel-features.h>.
53251         [!__NR_ftruncate64]: Remove conditional code.
53252         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53253         [__NR_ftruncate64]: Make code unconditional.
53254         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
53256         include <kernel-features.h>.
53257         [!__NR_ftruncate64]: Remove conditional code.
53258         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53259         [__NR_ftruncate64]: Make code unconditional.
53260         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53262         include <kernel-features.h>.
53263         [!__NR_ftruncate64]: Remove conditional code.
53264         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53265         [__NR_ftruncate64]: Make code unconditional.
53266         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53268         * configure.in (libc_cv_fpie): Weaken to a compile test using
53269         LIBC_TRY_CC_OPTION.
53270         * configure: Regenerated.
53272 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
53275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
53276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
53277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53278         Refreshed.
53279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
53280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
53281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
53282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
53283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
53284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53285         Refreshed.
53287 2012-05-27  David S. Miller  <davem@davemloft.net>
53289         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
53290         (___Q_zero): New.
53291         (__Q_simulate_exceptions): Return void.  Change to simulate
53292         exceptions by writing into the %fsr.
53293         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
53294         (__Qp_handle_exceptions): Likewise.
53295         (numbers): Delete.
53296         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
53297         __Qp_handle_exceptions.
53298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
53299         __Qp_handle_exceptions.
53300         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53301         as unused and give dummy FP_RND_NEAREST initializer.
53302         (FP_INHIBIT_RESULTS): Define.
53303         (___Q_simulate_exceptions): Update declaration.
53304         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
53305         formatting.
53306         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53307         as unused and give dummy FP_RND_NEAREST initializer.
53308         (__Qp_handle_exceptions): Update declaration.
53309         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
53310         formatting.
53312 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
53314         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
53315         the temporary FPU control word.
53316         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53317         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
53318         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
53319         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
53320         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53321         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
53322         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
53323         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53324         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
53325         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
53326         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53328 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53330         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
53331         fields.
53333 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
53335         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
53336         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
53337         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
53338         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
53339         Likewise.
53340         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
53341         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
53342         Likewise.
53344 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
53346         * po/h.po: Update from translation team.
53348 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
53350         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
53352         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
53353         handling of denormals.
53354         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53355         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53356         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53357         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53358         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53359         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
53360         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
53361         Likewise.
53363 2012-05-26  Marek Polacek  <polacek@redhat.com>
53365         [BZ #14152]
53366         * math/libm-test.inc (fma_test): Don't always expect underflow
53367         exception.
53369 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53371         [BZ #12416]
53372         * elf/tst-execstack.c: Include stackinfo.h.
53373         (do_test): Adjust test case to ensure that pthread_getattr_np
53374         behaviour remains the same after marking stack executable.
53376 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53378         * sysdeps/unix/sysv/linux/kernel-features.h
53379         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
53380         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
53381         kernel-features.h.
53382         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53383         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53384         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
53385         kernel-features.h.
53386         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53387         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53389 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
53391         * configure.in: Define the default includes to being none.
53392         * configure: Regenerated.
53394 2012-05-25  Roland McGrath  <roland@hack.frob.com>
53396         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
53397         * sysdeps/x86_64/setjmp.S: Likewise.
53398         * sysdeps/i386/bsd-setjmp.S: Likewise.
53399         * sysdeps/i386/bsd-_setjmp.S: Likewise.
53400         * sysdeps/i386/setjmp.S: Likewise.
53401         * sysdeps/i386/__longjmp.S: Likewise.
53402         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
53403         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
53405         * include/stap-probe.h: New file.
53406         * configure.in: Handle --enable-systemtap.
53407         * configure: Regenerated.
53408         * config.h.in (USE_STAP_PROBE): New #undef.
53409         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
53410         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
53411         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
53413 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53415         [BZ #13717]
53416         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
53417         to 2.4.0 where earlier.
53418         * sysdeps/unix/sysv/linux/configure: Regenerated.
53419         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53420         <kernel-features.h>.
53421         [__ASSUME_32BITUIDS]: Make code unconditional.
53422         [!__ASSUME_32BITUIDS]: Remove conditional code.
53423         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
53424         <kernel-features.h>.
53425         [__ASSUME_32BITUIDS]: Make code unconditional.
53426         [!__ASSUME_32BITUIDS]: Remove conditional code.
53427         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
53428         [__ASSUME_32BITUIDS]: Make code unconditional.
53429         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
53430         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
53431         <kernel-features.h>.
53432         [__ASSUME_32BITUIDS]: Make code unconditional.
53433         [!__ASSUME_32BITUIDS]: Remove conditional code.
53434         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
53435         <kernel-features.h>.
53436         [__ASSUME_32BITUIDS]: Make code unconditional.
53437         [!__ASSUME_32BITUIDS]: Remove conditional code.
53438         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
53439         <kernel-features.h>.
53440         [__ASSUME_32BITUIDS]: Make code unconditional.
53441         [!__ASSUME_32BITUIDS]: Remove conditional code.
53442         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
53443         <kernel-features.h>.
53444         [__ASSUME_32BITUIDS]: Make code unconditional.
53445         [!__ASSUME_32BITUIDS]: Remove conditional code.
53446         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53447         <kernel-features.h>.
53448         [__ASSUME_32BITUIDS]: Make code unconditional.
53449         [!__ASSUME_32BITUIDS]: Remove conditional code.
53450         * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
53471         <kernel-features.h>.
53472         [__NR_setresgid] (__setresgid): Do not declare.
53473         [__ASSUME_32BITUIDS]: Make code unconditional.
53474         [!__ASSUME_32BITUIDS]: Remove conditional code.
53475         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
53476         <kernel-features.h>.
53477         [__NR_setresuid] (__setresuid): Do not declare.
53478         [__ASSUME_32BITUIDS]: Make code unconditional.
53479         [!__ASSUME_32BITUIDS]: Remove conditional code.
53480         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
53481         <kernel-features.h>.
53482         [__ASSUME_32BITUIDS]: Make code unconditional.
53483         [!__ASSUME_32BITUIDS]: Remove conditional code.
53484         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
53485         <kernel-features.h>.
53486         [__ASSUME_32BITUIDS]: Make code unconditional.
53487         [!__ASSUME_32BITUIDS]: Remove conditional code.
53488         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
53489         <kernel-features.h>.
53490         [__ASSUME_32BITUIDS]: Make code unconditional.
53491         [!__ASSUME_32BITUIDS]: Remove conditional code.
53492         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
53493         <kernel-features.h>.
53494         [__ASSUME_32BITUIDS]: Make code unconditional.
53495         [!__ASSUME_32BITUIDS]: Remove conditional code.
53496         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
53497         <kernel-features.h>.
53498         [__ASSUME_32BITUIDS]: Make code unconditional.
53499         [!__ASSUME_32BITUIDS]: Remove conditional code.
53500         * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
53521         (__ASSUME_SETRESUID_SYSCALL): Remove.
53522         (__ASSUME_SETRESGID_SYSCALL): Likewise.
53523         (__ASSUME_32BITUIDS): Likewise.
53524         (__ASSUME_LDT_WORKS): Likewise.
53525         (__ASSUME_O_DIRECTORY): Likewise.
53526         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
53527         architecture but not kernel version.
53528         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
53529         (__ASSUME_MMAP2_SYSCALL): Likewise.
53530         (__ASSUME_STAT64_SYSCALL): Likewise.
53531         (__ASSUME_IPC64): Likewise.
53532         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
53533         <kernel-features.h>.
53534         [__ASSUME_32BITUIDS]: Make code unconditional.
53535         [!__ASSUME_32BITUIDS]: Remove conditional code.
53536         * sysdeps/unix/sysv/linux/opendir.c: Do not include
53537         <kernel-features.h>.
53538         [__ASSUME_O_DIRECTORY]: Make code unconditional.
53539         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
53540         132096]: Remove conditional code.
53541         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
53542         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53543         <kernel-features.h>.
53544         [__ASSUME_32BITUIDS]: Make code unconditional.
53545         [!__ASSUME_32BITUIDS]: Remove conditional code.
53546         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53547         <kernel-features.h>.
53548         [__ASSUME_32BITUIDS]: Make code unconditional.
53549         [!__ASSUME_32BITUIDS]: Remove conditional code.
53550         * sysdeps/unix/sysv/linux/setegid.c: Do not include
53551         <kernel-features.h>.
53552         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
53553         unconditional.
53554         (__setresgid): Do not declare.
53555         [__ASSUME_32BITUIDS]: Make code unconditional.
53556         [!__ASSUME_32BITUIDS]: Remove conditional code.
53557         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
53558         <kernel-features.h>.
53559         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
53560         unconditional.
53561         (__setresuid): Do not declare.
53562         [__ASSUME_32BITUIDS]: Make code unconditional.
53563         [!__ASSUME_32BITUIDS]: Remove conditional code.
53564         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53565         <kernel-features.h>.
53566         [__ASSUME_32BITUIDS]: Make code unconditional.
53567         [!__ASSUME_32BITUIDS]: Remove conditional code.
53568         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
53569         <kernel-features.h>.
53570         [__ASSUME_32BITUIDS]: Make code unconditional.
53571         [!__ASSUME_32BITUIDS]: Remove conditional code.
53573 2012-05-25  Richard Henderson  <rth@twiddle.net>
53575         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
53576         dl_hwcap to ifunc resolver.
53577         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
53578         elf_ifunc_invoke.
53579         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
53580         dl_hwcap to ifunc resolver.
53581         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
53583 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53585         [BZ #14153]
53586         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
53587         for |x| <= 2**-26, not 2**-57.
53588         * math/libm-test.inc (acos_test): Do not allow spurious underflow
53589         exception.
53591 2012-05-24  Jeff Law  <law@redhat.com>
53593         * stdio-common/Makefile (tests): Add bug25.
53594         * stdio-common/bug25.c: New test.
53596 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53598         [BZ #13576]
53599         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
53600         multiple of MALLOC_ALIGNMENT in size.
53601         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
53603 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53605         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
53606         Require >= 256.
53607         (FILENAME_MAX): Use macro-int-constant.
53608         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
53609         (_IOFBF): Use macro-int-constant.
53610         (_IOLBF): Likewise.
53611         (_IONBF): Likewise.
53612         (SEEK_CUR): Likewise.
53613         (SEEK_END): Likewise.
53614         (SEEK_SET): Likewise.
53615         (TMP_MAX): Likewise.
53616         (EOF): Use macro-int-constant.  Require < 0.
53617         (NULL): Use macro-constant.  Require == 0.
53618         (stdin): Require type to be FILE *.
53619         (stdout): Likewise.
53620         (stderr): Likewise.
53621         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
53622         macro-int-constant.
53623         (EXIT_SUCCESS): Likewise.
53624         (NULL): Use macro-constant.  Require == 0.
53625         (RAND_MAX): Use macro-int-constant.
53626         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
53627         [C99-based standards] (strtof): Require function.
53628         [C99-based standards] (strtold): Likewise.
53629         [C99-based standards] (strtoll): Likewise.
53630         [C99-based standards] (strtoull): Likewise.
53631         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53632         [ISO || ISO99 || ISO11] (limits.h): Likewise.
53633         [ISO || ISO99 || ISO11] (math.h): Likewise.
53634         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
53635         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53636         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53638 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
53640         [BZ #14132]
53641         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
53642         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
53643         * intl/dgettext.c (DCGETTEXT): Likewise.
53644         * intl/gettext.c (DCGETTEXT): Likewise.
53645         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
53646         * posix/regex_internal.h (gettext): Likewise.
53647         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
53648         Remove declaration.
53649         * include/argz.h (__argz_count_internal)
53650         (__argz_stringify_internal): Remove declaration.
53651         (__argz_count, __argz_stringify): Declare hidden proto.
53652         * intl/dcgettext.c: Remove use of INTDEF.
53653         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
53654         * string/argz-stringify.c: Likewise.
53655         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53656         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53657         Declare hidden proto.
53658         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53659         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53660         Declare hidden proto.
53661         * include/stdio.h (__asprintf_internal): Don't declare.
53662         (__asprintf): Don't define as macro.  Declare hidden proto.
53663         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
53664         (__fsetlocking): Declare hidden proto.
53665         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
53666         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
53667         hidden proto.
53668         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
53669         (_IO_setlinebuf): Remove use of INTUSE.
53670         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
53671         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
53672         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
53673         Remove declaration.
53674         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
53675         (_IO_do_flush): Remove use of INTUSE.
53676         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
53677         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
53678         (_IO_adjust_column, _IO_least_wmarker)
53679         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
53680         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
53681         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
53682         (_IO_default_doallocate, _IO_wdefault_doallocate)
53683         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
53684         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
53685         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
53686         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
53687         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
53688         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
53689         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
53690         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
53691         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
53692         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
53693         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
53694         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
53695         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
53696         proto.
53697         (_IO_flush_all_internal, _IO_adjust_column_internal)
53698         (_IO_default_uflow_internal, _IO_default_finish_internal)
53699         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
53700         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
53701         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
53702         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
53703         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
53704         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
53705         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
53706         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
53707         (_IO_file_close_internal, _IO_file_close_it_internal)
53708         (_IO_file_underflow_internal, _IO_file_overflow_internal)
53709         (_IO_file_init_internal, _IO_file_attach_internal)
53710         (_IO_file_fopen_internal, _IO_file_read_internal)
53711         (_IO_file_sync_internal, _IO_file_seek_internal)
53712         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
53713         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
53714         (_IO_str_underflow_internal, _IO_str_overflow_internal)
53715         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
53716         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
53717         (_IO_list_all_internal, _IO_link_in_internal)
53718         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
53719         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
53720         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
53721         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
53722         (_IO_do_write_internal, _IO_padn_internal)
53723         (_IO_getline_info_internal, _IO_getline_internal)
53724         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
53725         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
53726         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
53727         (_IO_vfscanf_internal, _IO_vfprintf_internal)
53728         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
53729         (_IO_init_internal, _IO_un_link_internal): Don't declare.
53730         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
53731         with libc_hidden_ver, remove use of INTUSE.
53732         * libio/genops.c: Likewise.
53733         * libio/freopen.c: Likewise.
53734         * libio/freopen64.c: Likewise.
53735         * libio/iofclose.c: Likewise.
53736         * libio/iofdopen.c: Likewise.
53737         * libio/iofflush.c: Likewise.
53738         * libio/iofflush_u.c: Likewise.
53739         * libio/iofgets.c: Likewise.
53740         * libio/iofgets_u.c: Likewise.
53741         * libio/iofopen.c: Likewise.
53742         * libio/iofopncook.c: Likewise.
53743         * libio/iofread.c: Likewise.
53744         * libio/iofread_u.c: Likewise.
53745         * libio/ioftell.c: Likewise.
53746         * libio/iofwrite.c: Likewise.
53747         * libio/iogetline.c: Likewise.
53748         * libio/iogets.c: Likewise.
53749         * libio/iogetwline.c: Likewise.
53750         * libio/iopadn.c: Likewise.
53751         * libio/iopopen.c: Likewise.
53752         * libio/ioseekoff.c: Likewise.
53753         * libio/ioseekpos.c: Likewise.
53754         * libio/iosetbuffer.c: Likewise.
53755         * libio/iosetvbuf.c: Likewise.
53756         * libio/ioungetc.c: Likewise.
53757         * libio/ioungetwc.c: Likewise.
53758         * libio/iovdprintf.c: Likewise.
53759         * libio/iovsprintf.c: Likewise.
53760         * libio/iovsscanf.c: Likewise.
53761         * libio/memstream.c: Likewise.
53762         * libio/obprintf.c: Likewise.
53763         * libio/oldfileops.c: Likewise.
53764         * libio/oldiofclose.c: Likewise.
53765         * libio/oldiofdopen.c: Likewise.
53766         * libio/oldiofopen.c: Likewise.
53767         * libio/oldiopopen.c: Likewise.
53768         * libio/oldstdfiles.c: Likewise.
53769         * libio/putc.c: Likewise.
53770         * libio/setbuf.c: Likewise.
53771         * libio/setlinebuf.c: Likewise.
53772         * libio/stdfiles.c: Likewise.
53773         * libio/strops.c: Likewise.
53774         * libio/vasprintf.c: Likewise.
53775         * libio/vscanf.c: Likewise.
53776         * libio/vsnprintf.c: Likewise.
53777         * libio/vswprintf.c: Likewise.
53778         * libio/wfiledoalloc.c: Likewise.
53779         * libio/wfileops.c: Likewise.
53780         * libio/wgenops.c: Likewise.
53781         * libio/wmemstream.c: Likewise.
53782         * libio/wstrops.c: Likewise.
53783         * libio/__fpurge.c: Likewise.
53784         * libio/__fsetlocking.c: Likewise.
53785         * assert/assert.c: Likewise.
53786         * debug/fgets_chk.c: Likewise.
53787         * debug/fgets_u_chk.c: Likewise.
53788         * debug/fread_chk.c: Likewise.
53789         * debug/fread_u_chk.c: Likewise.
53790         * debug/gets_chk.c: Likewise.
53791         * debug/obprintf_chk.c: Likewise.
53792         * debug/vasprintf_chk.c: Likewise.
53793         * debug/vdprintf_chk.c: Likewise.
53794         * debug/vsnprintf_chk.c: Likewise.
53795         * debug/vsprintf_chk.c: Likewise.
53796         * malloc/mtrace.c: Likewise.
53797         * misc/error.c: Likewise.
53798         * misc/syslog.c: Likewise.
53799         * stdio-common/asprintf.c: Likewise.
53800         * stdio-common/fxprintf.c: Likewise.
53801         * stdio-common/getw.c: Likewise.
53802         * stdio-common/isoc99_fscanf.c: Likewise.
53803         * stdio-common/isoc99_scanf.c: Likewise.
53804         * stdio-common/isoc99_vfscanf.c: Likewise.
53805         * stdio-common/isoc99_vscanf.c: Likewise.
53806         * stdio-common/isoc99_vsscanf.c: Likewise.
53807         * stdio-common/printf-prs.c: Likewise.
53808         * stdio-common/printf_fp.c: Likewise.
53809         * stdio-common/printf_fphex.c: Likewise.
53810         * stdio-common/printf_size.c: Likewise.
53811         * stdio-common/putw.c: Likewise.
53812         * stdio-common/scanf.c: Likewise.
53813         * stdio-common/sprintf.c: Likewise.
53814         * stdio-common/tmpfile.c: Likewise.
53815         * stdio-common/vfprintf.c: Likewise.
53816         * stdio-common/vfscanf.c: Likewise.
53817         * stdlib/strfmon_l.c: Likewise.
53818         * sunrpc/openchild.c: Likewise.
53819         * sunrpc/xdr_stdio.c: Likewise.
53820         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
53821         * sysdeps/mach/hurd/tmpfile.c: Likewise.
53823 2012-05-24  Roland McGrath  <roland@hack.frob.com>
53825         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53827         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
53828         in the third column, to generate for the shared library an IFUNC
53829         that uses _dl_vdso_vsym.
53830         * Makerules (COMPILE.c, compile-stdin.c): New variables.
53831         * Makeconfig (object-suffixes-noshared): New variable.
53833         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
53834         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
53835         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
53836         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
53838         [BZ #14132]
53839         * include/sys/time.h (__gettimeofday): Remove macro.
53840         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
53841         * time/gettimeofday.c (__gettimeofday): Remove #undef.
53842         Remove INTDEF.
53843         (__gettimeofday): Add libc_hidden_def.
53844         (gettimeofday): Add libc_hidden_weak.
53845         * sysdeps/mach/gettimeofday.c: Likewise.
53846         * sysdeps/posix/gettimeofday.c: Likewise.
53847         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
53848         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
53849         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
53850         (__gettimeofday_internal): Remove strong_alias.
53851         (__gettimeofday): Add libc_hidden_def.
53852         (gettimeofday): Add libc_hidden_weak.
53853         * sysdeps/unix/syscalls.list (gettimeofday):
53854         Remove __gettimeofday_internal alias.
53856 2012-05-24  Daniel Jacobowitz  <drow@false.org>
53857             H.J. Lu  <hongjiu.lu@intel.com>
53859         [BZ #12495]
53860         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
53861         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
53862         (largebin_index_32_big): New.
53863         (largebin_index): Use it for 16-byte alignment.
53864         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
53865         correction with front_misalign.
53867 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
53870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
53871         Likewise.
53872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
53873         Likewise.
53874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53875         Likewise.
53876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
53877         Likewise.
53878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
53879         Likewise.
53880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
53881         Likewise.
53882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
53883         Likewise.
53884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53885         Likewise.
53886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
53887         Likewise.
53888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
53889         Likewise.
53890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
53891         Likewise.
53892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
53893         Likewise.
53895         * scripts/data/c++-types-x32-linux-gnu.data: New file.
53896         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
53898 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53900         [BZ #10846]
53901         [BZ #14036]
53902         * math/libm-test.inc (exp_test): Add test from bug 14036.
53903         (pow_test): Add test from bug 10846.
53905         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
53906         and other flags.
53907         (special_function): Do not include flags in test name.
53908         (parse_args): Likewise.
53909         * sysdeps/i386/fpu/libm-test-ulps: Update.
53910         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53911         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53912         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53915         * math/gen-libm-test.pl (%beautify): Add entries for underflow
53916         exceptions.
53917         * math/libm-test.inc ("Philosophy"): Update comment about
53918         exception testing.
53919         (UNDERFLOW_EXCEPTION): New macro.
53920         (UNDERFLOW_EXCEPTION_OK): Likewise.
53921         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
53922         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
53923         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
53924         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
53925         (INVALID_EXCEPTION_OK): Update value.
53926         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53927         (OVERFLOW_EXCEPTION_OK): Likewise.
53928         (IGNORE_ZERO_INF_SIGN): Likewise.
53929         (test_exceptions): Handle underflow exceptions.
53930         (acos_test): Update for underflow exception expectations.
53931         (cexp_test): Likewise.
53932         (clog_test): Likewise.
53933         (clog10_test): Likewise.
53934         (csqrt_test): Likewise.
53935         (ctan_test): Likewise.
53936         (ctanh_test): Likewise.
53937         (exp_test): Likewise.
53938         (exp10_test): Likewise.
53939         (exp2_test): Likewise.
53940         (expm1_test): Likewise.
53941         (fma_test): Likewise.
53942         (j0_test): Likewise.
53943         (jn_test): Likewise.
53944         (nexttoward_test): Likewise.
53945         (pow_test): Likewise.
53946         (scalbn_test): Likewise.
53947         (scalbln_test): Likewise.
53948         (tan_test): Likewise.
53949         (y1_test): Likewise.
53950         * sysdeps/i386/fpu/libm-test-ulps: Update.
53951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53953 2012-05-23  David S. Miller  <davem@davemloft.net>
53955         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
53956         (__libc_sigaction): Remove unused local variables.
53958 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53960         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
53962 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
53964         mktime: avoid signed integer overflow
53965         * time/mktime.c (__mktime_internal): Do not mishandle the case
53966         where diff == INT_MIN.
53968         mktime: simplify computation of average
53969         * time/mktime.c (ranged_convert): Use new time_t_avg function
53970         instead of rolling our own (probably-slower) code.
53972         mktime: do not assume signed right shift propagates sign bit
53973         * time/mktime.c (isdst_differ): New static function.
53974         (__mktime_internal): No need to normalize tm_isdst now.
53975         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
53976         tm_isdst values.
53978         mktime: merge another wrapv change from gnulib
53979         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
53980         from some compilers.
53982         mktime: remove incorrect attempt at unusual arithmetics
53983         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
53984         The code didn't really work on such machines anyway.
53985         (TYPE_MINIMUM): Assume two's complement.
53986         (twos_complement_arithmetic): Verify that long_int and time_t
53987         are two's complement (or unsigned, in the latter case).
53989         mktime: check signed shifts on long_int and time_t, too
53990         * time/mktime.c (SHR): Check that shifts work as desired
53991         on the types long_int and time_t too, as SHR is used on
53992         such types.
53994         mktime: do not assume 'long' is wide enough
53995         * time/mktime.c (verify): Move decl up.
53996         (long_int): New type.
53997         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
53998         to remove assumption in the code that 'long' is wide enough to
53999         store year values.  This assumption is not true on x32 and on
54000         some non-glibc platforms.
54002         mktime: merge wrapv change from gnulib
54003         * time/mktime.c (WRAPV): New macro.
54004         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
54005         (guess_time_tm, __mktime_internal): Do not assume that signed
54006         integer overflow wraps around; modern compilers generate code
54007         where this assumption is no longer valid.
54009 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54011         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54012         Replace "jmp L(pseudo_end)" with "ret".
54013         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
54014         Likewise.
54016 2012-05-23  Andreas Jaeger  <aj@suse.de>
54018         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
54019         * sysdeps/unix/sysv/linux/poll.c: Remove file.
54021 2012-05-23  Andreas Jaeger  <aj@suse.de>
54022             Maximilian Attems  <max@stro.at>
54024         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
54025         New macros.
54027 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54029         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
54030         code so that pseudo_end is just ret and the stack pointer is
54031         correct also for static library in error case.
54033 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
54035         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
54036         move to syscalls.list.
54037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
54038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
54039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
54040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
54042         * manual/install.texi (Running make install): Do not mention Linux
54043         kernel version for which pt_chown is not needed.
54044         (Linux): Do not mention problems with nscd with 2.0 kernels.
54045         * INSTALL: Regenerated.
54047 2012-05-23  Andreas Jaeger  <aj@suse.de>
54049         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
54050         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
54051         macro.
54052         * sysdeps/unix/sysv/linux/s390/bits/mman.h
54053         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54054         * sysdeps/unix/sysv/linux/sh/bits/mman.h
54055         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54056         * sysdeps/unix/sysv/linux/i386/bits/mman.h
54057         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54058         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
54059         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54060         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
54061         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54062         * sysdeps/unix/sysv/linux/bits/in.h
54063         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
54065 2012-05-22  Roland McGrath  <roland@hack.frob.com>
54067         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
54068         (PREPARE_VERSION): Just use assert instead, it will be elided
54069         under [NDEBUG] anyway.
54071 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54073         * sysdeps/unix/sysv/linux/Makefile: Include
54074         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
54075         (sysdep_routines): Remove sysctl.
54076         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
54077         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
54078         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
54079         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
54080         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
54082 2012-05-22  Andreas Jaeger  <aj@suse.de>
54084         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
54085         that pseudo_end is just ret and the stack pointer is correct also
54086         for static library in error case.
54088 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
54090         [BZ #14122]
54091         * nss/nsswitch.c (defconfig_entries): New variable.
54092         (__nss_database_lookup): Don't leak defconfig entries.
54093         (nss_parse_service_list): Don't leak on error paths.
54094         (free_database_entries): New function.
54095         (free_defconfig): New function.
54096         (free_mem): Move common code to free_database_entries.
54098 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54100         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
54101         Add arch_prctl.
54102         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
54104         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54105         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
54106         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
54107         New macro.
54108         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
54109         (INTERNAL_SYSCALL_TYPES): Likewise.
54110         (LOAD_ARGS_TYPES_[1-6]): Likewise.
54111         (LOAD_REGS_TYPES_[1-6]): Likewise.
54112         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
54113         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
54115 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54117         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
54118         copysignl for GLIBC_2_0.
54119         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
54120         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
54121         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
54122         logbl for GLIBC_2_0.
54123         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
54124         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
54126 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54128         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
54129         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54131         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54132         Use "neg %eax".
54134         * time/mktime.c: Update copyright years.
54136 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
54138         mktime: merge comment-quoting-style change from gnulib
54139         * time/mktime.c: Quote 'like this' in comments.
54140         The GNU coding standards suggest that we no longer quote `like this',
54141         as "`" and "'" are typically rendered asymmetrically nowadays.
54142         The typical gnulib style is to quote 'like this' when quoting
54143         code, and "like this" when quoting English.
54145         * time/mktime.c (compile-command): Add "-I.".
54147         mktime: merge mktime-internal.h change from gnulib
54148         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
54150         mktime: merge time_r change from gnulib
54151         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
54153         mktime: merge DEBUG change from gnulib
54154         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
54155         case system <time.h> has a #define.
54157         mktime: merge <sys/types.h> change from gnulib
54158         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
54159         since <time.t> is now guaranteed to define time_t.
54161         mktime: merge HAVE_CONFIG_H change from gnulib
54162         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
54164 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54167         Use "neg %eax".
54169         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
54170         __rlim_t cast.
54171         (struct rusage): Use anonymous union to pad each field to
54172         __syscall_slong_t.
54174 2012-05-21  David S. Miller  <davem@davemloft.net>
54176         * Makefules (o-iterator): Remove .s cases.
54177         (compile-command.s): Delete.
54178         (COMPILE.s): Delete.
54179         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
54181 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
54183         * configure.in (libc_cv_predef_stack_protector): Only consider
54184         "foobar" and "__stack_chk_fail" lines in libc_undefs.
54185         * configure: Regenerated.
54187 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54189         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54190         New macro.  Use R*LP on int and pointer.
54191         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
54192         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
54193         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
54194         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
54196         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
54197         [__WORDSIZE_TIME64_COMPAT32] instead of
54198         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
54199         (struct utmp): Likewise.
54200         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
54201         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
54202         Renamed to ...
54203         (__WORDSIZE_TIME64_COMPAT32): This.
54204         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
54205         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
54206         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
54207         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
54208         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
54209         (__WORDSIZE_TIME64_COMPAT32): New macro.
54211 2012-05-21  Andreas Jaeger  <aj@suse.de>
54213         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
54214         only if [SHARED]. Add prototype for __wcschr_ia32.
54216 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54218         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
54219         of %rbp unmolested in the jmp_buf while mangling the low bits.
54220         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
54221         unmolested high bits of %rbp while demangling the low bits.
54222         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54224 2012-05-21  Andreas Jaeger  <aj@suse.de>
54226         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
54227         * sunrpc/svc_simple.c: Use it for registerrpc.
54228         * sunrpc/xcrypt.c: Use it for passwd2des.
54230         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
54232 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54234         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
54235         Don't define if [__SYSCALL_WORDSIZE != 32].
54236         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
54237         New macro.
54239 2012-05-21  Bruno Haible  <bruno@clisp.org>
54240             Andreas Jaeger  <aj@suse.de>
54242         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
54243         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
54244         inptr and inend for must_buffer_ch.
54245         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
54246         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
54247         * stdio-common/Makefile (tests): Remove bug15.
54248         (bug15-ENV): Remove macro.
54249         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
54250         anymore.
54252 2012-05-19  Andreas Jaeger  <aj@suse.de>
54253             Roland McGrath  <roland@hack.frob.com>
54255         * manual/contrib.texi: Completely rewritten. It contains now an
54256         alphabetical list of contributors and their contributions.
54258 2012-05-21  Richard Henderson  <rth@twiddle.net>
54260         * misc/getauxval.c (__getauxval): Use unsigned long int.
54261         * misc/sys/auxv.h: Include <sys/cdefs.h>.
54262         (getauxval): Use unsigned long int.
54264 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54266         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
54268 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54270         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
54271         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
54272         __alignof__ (long double).
54274 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54278 2012-05-20  Richard Henderson  <rth@twiddle.net>
54280         * misc/getauxval.c: New file.
54281         * misc/sys/auxv.h: New file.
54282         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
54283         (routines): Add getauxval.
54284         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
54285         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
54286         * elf/dl-sysdep.c (_dl_auxv): Remove.
54287         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
54288         * elf/dl-support.c (_dl_auxv): New variable.
54289         (_dl_aux_init): Initialize it.
54290         * manual/startup.texi (Auxiliary Vector): New node.
54291         * sysdeps/generic/bits/hwcap.h: New file.
54292         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
54293         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
54294         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
54295         * sysdeps/sparc/sysdep.h: ... here.  Include it.
54296         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
54297         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
54298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54299         Update.
54300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
54301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
54302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
54303         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
54304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
54307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
54309 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54313 2012-05-19  David S. Miller  <davem@davemloft.net>
54315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54317 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54319         [BZ #14123]
54320         * math/s_ccosh.c: Include <float.h>
54321         (__ccosh): Avoid internal overflow calculating sinh and cosh
54322         values before multiplying by sin and cos values.
54323         * math/s_ccoshf.c: Likewise.
54324         * math/s_ccoshl.c: Likewise.
54325         * math/s_csin.c: Likewise.
54326         * math/s_csinf.c: Likewise.
54327         * math/s_csinl.c: Likewise.
54328         * math/s_csinh.c: Likewise.
54329         * math/s_csinhf.c: Likewise.
54330         * math/s_csinhl.c: Likewise.
54331         * math/libm-test.inc (ccos_test): Add more tests.
54332         (ccosh_test): Likewise.
54333         (csin_test): Likewise.
54334         (csinh_test): Likewise.
54335         * sysdeps/i386/fpu/libm-test-ulps: Update.
54336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54338 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
54340         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
54341         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
54343         * sysdeps/x86_64/x32/_itoa.h: Add comment.
54345 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54347         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
54348         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
54349         * sysdeps/powerpc/soft-fp/Versions: Likewise.
54350         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
54351         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
54352         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
54353         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
54354         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
54355         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
54356         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
54357         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
54358         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
54359         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
54360         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
54361         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
54362         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
54363         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
54364         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
54365         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
54366         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
54367         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
54368         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
54369         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
54370         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
54371         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
54372         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
54373         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
54374         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
54375         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
54376         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
54377         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
54379 2012-05-18  Andreas Jaeger  <aj@suse.de>
54381         * csu/.gitignore: Delete.
54383 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54385         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
54386         (timex): Use __syscall_slong_t.
54388 2012-05-18  Andreas Jaeger  <aj@suse.de>
54389             Carlos O'Donell  <carlos_odonell@mentor.com>
54391         * manual/install.texi (Configuring and compiling): Update
54392         description about files modified in the source directory.
54393         * INSTALL: Regenerated.
54395 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54397         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
54398         value.  Use "or" to set return value to -1.
54399         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
54400         negate return value.
54402 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54404         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
54405         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
54406         failure if the compiler has Graphite support disabled.
54407         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
54408         Likewise.
54409         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
54410         (CFLAGS-memmove.c): Likewise.
54411         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
54412         Likewise.
54414 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54416         * sysdeps/x86_64/x32/_itoa.h: New file.
54418         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
54419         getdents system call only if kernel and user dirents have the
54420         same d_ino and d_off.
54422         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54423         LLONG_MAX != LONG_MAX.
54424         (_itoa_word): Use _ITOA_WORD_TYPE on value.
54425         (_fitoa_word): Likewise.
54427         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
54428         years.
54429         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
54430         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
54431         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
54433         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
54434         include <bits/wordsize.h>.  Check __x86_64__ instead of
54435         __WORDSIZE.
54436         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
54437         if __x86_64__ is defined.  Use anonymous union on fpstate.
54439         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
54440         anonymous union.
54442 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
54444         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
54445         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
54446         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
54447         Refer to _rtld_local_ro instead of _rtld_global_ro.
54448         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
54449         Likewise.
54450         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
54451         Likewise.
54452         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
54453         Likewise.
54454         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
54455         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
54456         of _rtld_global, and rtld_progname instead of _dl_argv[0].
54458         [BZ #10882]
54459         * sysdeps/powerpc/powerpc32/dl-machine.c
54460         (__elf_machine_runtime_setup) [PROF]: Don't reference
54461         _dl_prof_resolve.
54463 2012-05-18  Andreas Jaeger  <aj@suse.de>
54465         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
54466         function only available for GCCs before 3.4 since GCC 3.4
54467         introduced a builtin.
54468         (lrint): Likewise.
54469         (llrintf): Likewise.
54470         (llrint): Likewise.
54471         (fmaxf): Likewise.
54472         (fmax): Likewise.
54473         (fminf): Likewise.
54474         (fmin): Likewise.
54475         (rint): Likewise.
54476         (rintf): Likewise.
54477         (nearbyint): Likewise.
54478         (nearbyintf): Likewise.
54479         (ceil): Likewise.
54480         (ceilf): Likewise.
54481         (floor): Likewise.
54482         (floorf): Likewise.
54484 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54486         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
54487         on both fields and cast pointer to __syscall_ulong_t.
54489         * bits/types.h (__fsword_t): New type.
54490         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
54491         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
54492         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54493         (__FSWORD_T_TYPE): Likewise.
54494         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54495         (__FSWORD_T_TYPE): Likewise.
54496         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54497         (__FSWORD_T_TYPE): Likewise.
54498         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
54499         (__FSWORD_T_TYPE): Likewise.
54500         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
54501         __SWORD_TYPE with __fsword_t.
54502         (statfs64): Likewise.
54504 2012-05-17  David S. Miller  <davem@davemloft.net>
54506         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
54508 2012-05-17  Andreas Jaeger  <aj@suse.de>
54510         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
54511         warning.
54513 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54515         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
54517 2012-05-17  Andreas Jaeger  <aj@suse.de>
54519         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
54520         when it is used.
54522 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54524         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
54526 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54528         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
54529         * sysdeps/x86_64/tst-mallocalign1.c: New file.
54531 2012-05-17  Andreas Jaeger  <aj@suse.de>
54532             Carlos O'Donell  <carlos_odonell@mentor.com>
54534         [BZ #14059]
54535         * sysdeps/x86_64/multiarch/init-arch.h
54536         (bit_YMM_Usable): Rename to...
54537         (bit_AVX_Usable): ... this.
54538         (bit_FMA4_Usable): New macro.
54539         (bit_XMM_state): New macro.
54540         (bit_YMM_state): New macro.
54541         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
54542         [__ASSEMBLER__] (index_AVX_Usable): ... this.
54543         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
54544         (CPUID_OSXSAVE): New macro.
54545         (CPUID_AVX): New macro.
54546         (CPUID_FMA4): New macro.
54547         (index_YMM_Usable): Rename to...
54548         (index_AVX_Usable): ... this.
54549         (HAS_AVX): Use HAS_ARCH_FEATURE.
54550         (HAS_FMA4): Likewise.
54551         (HAS_YMM_USABLE): Remove.
54552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54553         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
54554         are present.
54555         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
54556         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
54557         * sysdeps/x86_64/multiarch/Makefile: Likewise.
54558         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
54559         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
54561 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54563         * math/libm-test.c: Support platforms without multiple rounding modes.
54564         * math/bug-nextafter.c: Support platforms without FP exceptions.
54565         * math/bug-nexttoward.c: Likewise.
54566         * math/test-fenv.c: Likewise.
54567         * math/test-misc.c: Likewise.
54568         * stdlib/bug-getcontext.c: Likewise.
54570 2012-05-17  Andreas Jaeger  <aj@suse.de>
54572         * manual/examples/search.c (critter_cmp): Change signature to
54573         avoid warnings.
54574         * manual/string.texi (Collation Functions): Likewise.
54576 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54578         * bits/types.h: Fold copyright years.
54579         * bits/typesizes.h: Likewise.
54580         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
54581         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54582         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
54583         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
54584         * time/time.h: Likewise.
54586 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
54588         [BZ #208]
54589         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
54590         in instead of returning them.  Return void.
54591         (__libc_mallinfo): Accumulate over all arenas.
54592         (__malloc_stats): Adjust for change in int_mallinfo interface.
54594 2012-05-16  Roland McGrath  <roland@hack.frob.com>
54596         [BZ #10375]
54597         * configure.in (NM): Add AC_CHECK_TOOL for it.
54598         (libc_extra_cflags): New substituted variable.
54599         Check for -fstack-protector being used implicitly.
54600         * configure: Regenerated.
54601         * config.make.in (config-extra-cflags): New variable,
54602         gets @libc_extra_cflags@.
54603         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
54605         [BZ #10375]
54606         * configure.in: Check for _FORTIFY_SOURCE being predefined.
54607         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
54608         * configure: Regenerated.
54609         * config.make.in (CPPUNDEFS): New substituted variable.
54610         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
54611         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
54612         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
54614 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54616         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
54617         (mq_attr): Use __syscall_slong_t.
54619 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54621         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
54622         Check __x86_64__ instead of __WORDSIZE.
54623         (_STAT_VER_LINUX): Likewise.
54624         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
54625         __syscall_ulong_t and __syscall_slong_t.
54626         (stat64): Likewise.
54628 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54630         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
54632 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54634         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
54636 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54638         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
54639         __syscall_ulong_t.
54641         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
54642         include <bits/wordsize.h>.  Check __x86_64__ instead of
54643         __WORDSIZE.
54644         (greg_t): Use "__extension__ long long int" if __x86_64__ is
54645         defined.
54646         (mcontext_t): Replace "unsigned long" with "unsigned long long".
54648         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
54649         include <bits/wordsize.h>.  Check __x86_64__ instead of
54650         __WORDSIZE.
54651         (user_regs_struct): Use "__extension__ unsigned long long"
54652         instead of "unsigned long" if __x86_64__ is defined.
54653         (user): Likewise.  Pad after pointer field if __ILP32__ is
54654         defined.
54656 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
54658         * configure.in (makeinfo): Require version 4.5 or later.  Allow
54659         versions 5 to 9.
54660         * configure: Regenerated.
54661         * manual/install.texi (texinfo): Increase version requirement to
54662         4.5 or later.
54663         * INSTALL: Regenerated.
54665         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
54667 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54669         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
54671         * sysdeps/x86_64/x32/ffs.c: New file.
54673         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
54674         __syscall_ulong_t.
54675         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
54676         defined.  Use __syscall_ulong_t.
54677         (shminfo): Use __syscall_ulong_t.
54678         (shm_info): Likewise.
54680         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
54681         __syscall_ulong_t.
54683         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
54684         <bits/wordsize.h>.
54685         (msgqnum_t): Use __syscall_ulong_t.
54686         (msglen_t): Likewise.
54687         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
54688         __syscall_ulong_t.
54690         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
54691         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54693         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
54695         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
54696         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
54698         * sysvipc/sys/msg.h (msgbuf): Replace long int with
54699         __syscall_slong_t.
54701         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
54702         include <bits/wordsize.h>.  Check __x86_64__ instead of
54703         __WORDSIZE.
54705         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
54706         "unsigned long long int" if __x86_64__ is defined.
54707         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
54709         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
54710         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54711         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
54713         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
54714         <stdint.h>.
54715         (GET_PC): Cast to uintptr_t first.
54716         (GET_FRAME): Likewise.
54717         (GET_STACK): Likewise.
54719         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
54720         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
54721         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
54722         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
54723         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
54724         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
54725         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
54726         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
54727         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
54728         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
54729         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
54730         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
54731         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54732         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
54733         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
54734         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
54735         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
54736         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
54737         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
54738         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
54739         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
54740         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
54741         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
54742         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
54743         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
54744         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
54745         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
54746         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
54747         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
54749 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
54751         * Makerules (+depfiles): Also collect depfiles from .oS in
54752         $(extra-objs).
54753         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
54754         .oS, $(libnldbl-routines)).
54756         * Makerules (native-compile-mkdep-flags): Define.
54757         * sunrpc/Makefile (extra-objs): Add $(addprefix
54758         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
54759         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
54760         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
54761         calling $(make-target-directory).
54763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54765         * bits/types.h (__snseconds_t): Removed.
54766         * time/time.h (struct timespec): Replace __snseconds_t with
54767         __syscall_slong_t.
54768         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
54769         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
54770         Likewise.
54771         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54772         (__SNSECONDS_T_TYPE): Likewise.
54773         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54774         (__SNSECONDS_T_TYPE): Likewise.
54775         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54776         (__SNSECONDS_T_TYPE): Likewise.
54778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54780         * sysdeps/mach/hurd/bits/typesizes.h
54781         (__SYSCALL_SLONG_TYPE): New macro.
54782         (__SYSCALL_ULONG_TYPE): Likewise.
54784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54786         * bits/types.h (__syscall_slong_t): New type.
54787         (__syscall_ulong_t): Likewise.
54789         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
54790         (__SYSCALL_ULONG_TYPE): Likewise.
54791         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54792         (__SYSCALL_SLONG_TYPE): Likewise.
54793         (__SYSCALL_ULONG_TYPE): Likewise.
54794         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54795         (__SYSCALL_SLONG_TYPE): Likewise.
54796         (__SYSCALL_ULONG_TYPE): Likewise.
54797         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54798         (__SYSCALL_SLONG_TYPE): Likewise.
54799         (__SYSCALL_ULONG_TYPE): Likewise.
54801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54803         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
54804         Add sigaltstack-offsets.sym.
54805         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
54806         <sigaltstack-offsets.h>.
54807         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
54808         longjmp_msg pointer.
54809         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
54810         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
54811         signal stack.
54812         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
54814 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54816         * elf/stackguard-macros.h: Remove file.
54817         * sysdeps/generic/stackguard-macros.h: New file.
54818         * sysdeps/i386/stackguard-macros.h: Likewise.
54819         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54820         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54821         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54822         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54823         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54824         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54825         * sysdeps/x86_64/stackguard-macros.h: Likewise.
54826         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
54827         <elf/stackguard-macros.h>.
54829         [BZ #14109]
54830         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
54831         __aligned__ in attribute.
54832         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
54833         (gregset_t): Likewise.
54835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54837         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
54838         * sysdeps/x86_64/64/Implies-after: Here.  New file.
54839         * sysdeps/x86_64/x32/Implies-after: New file.
54841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54843         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
54844         and access return value for _dl_profile_fixup.  Use R10_LP to
54845         load frame size.
54847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54849         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
54851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54853         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
54854         * sysdeps/x86_64/x32/sysdep.h: New file.
54856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54858         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
54859         * sysdeps/x86_64/setjmp.S: Likewise.
54861 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54863         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
54864         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
54865         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
54866         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
54867         remove unused global constant.
54869 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
54871         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
54872         include of <not-cancel.h>.
54874 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54876         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
54878 2012-05-15  Jeff Law  <law@redhat.com>
54879             Andreas Jaeger  <aj@suse.de>
54881         [BZ #13594]
54882         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
54883         out from...
54884         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
54885         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
54886         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
54887         code changing __hst_map_handle.map.
54889 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54891         * configure.in (sysnames): Look for Implies-before and Implies-after
54892         files.
54893         * configure: Regenerated.
54895 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54897         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
54898         8-byte data alignment with LP_SIZE alignment.
54900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54902         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
54903         into R10_LP.
54905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54907         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
54909 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54911         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
54912         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
54913         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
54914         Likewise.
54915         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54919         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
54920         (stackinfo_sub_sp): Likewise.
54922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54924         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
54925         RAX_LP.
54927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54929         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
54930         into R*_LP.
54932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54934         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
54935         sizes into R*_LP.
54937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54939         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
54941 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54943         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
54944         into R11_LP and load __x86_64_shared_cache_size_half into
54945         R8_LP.
54947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54949         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
54950         R8_LP.
54952 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54954         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
54955         logb for POWER7.
54956         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
54957         logbf for POWER7.
54958         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
54959         logbl for POWER7.
54960         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
54961         powerpc32/power7/fpu/s_logb.c via #include.
54962         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
54963         powerpc32/power7/fpu/s_logbf.c via #include.
54964         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
54965         powerpc32/power7/fpu/s_logbl.c via #include.
54967 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54969         * README.libm: Remove file.
54971 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54973         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
54974         count for x32.  Use R*_LP and omit operand-size suffix.
54976 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54978         * shlib-versions: Move x86_64-.*-linux.* entries to ...
54979         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
54980         * sysdeps/x86_64/x32/shlib-versions: New file.
54982 2012-05-14  Roland McGrath  <roland@hack.frob.com>
54984         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
54985         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
54986         Use _dl_fatal_printf instead.
54988 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54990         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
54991         set if not set by the user.  Do not allow for being unset.
54992         * sysdeps/unix/sysv/linux/configure: Regenerated.
54994 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54996         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
54997         the `q' suffix from lea and replace .quad with ASM_ADDR.
54999 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55001         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
55002         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
55003         instead of $17.
55004         (PTR_DEMANGLE): Likewise.
55006 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55008         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
55009         (LP_OP): Likewise.
55010         (ASM_ADDR): Likewise.
55011         (RAX_LP): Likewise.
55012         (RBP_LP): Likewise.
55013         (RBX_LP): Likewise.
55014         (RCX_LP): Likewise.
55015         (RDI_LP): Likewise.
55016         (RSI_LP): Likewise.
55017         (RSP_LP): Likewise.
55018         (R8_LP): Likewise.
55019         (R9_LP): Likewise.
55020         (R10_LP): Likewise.
55021         (R10_LP): Likewise.
55022         (R11_LP): Likewise.
55023         (R12_LP): Likewise.
55024         (R13_LP): Likewise.
55025         (R14_LP): Likewise.
55026         (R15_LP): Likewise.
55028 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55030         * sysdeps/x86_64/x32/dl-machine.h: New file.
55032 2012-05-14  Andreas Jaeger  <aj@suse.de>
55034         * manual/Makefile (subdir): Remove export of subdir.
55035         (all): Remove target.
55036         (.PHONY): Remove all from list.
55037         (mkinstalldirs): Remove.
55038         (.PHONY): Remove installdirs from list.
55039         ($(inst_infodir)/libc.info): Use make-target-directory.
55040         (installdirs): Remove.
55041         (subdir_%): Remove.
55042         (glibc-targets): Remove.
55043         (lib): Remove.
55044         (stubs): Remove.
55045         ($(objpfx)stubs ../po/manual.pot): Remove.
55046         ($(objpfx)stamp%): Remove.
55047         (make-target-directory): Remove.
55048         (subdir_install): Remove.
55049         (routines): Remove.
55050         (aux): Remove.
55051         (sources): Remove.
55052         (objects): Remove.
55053         (headers): Remove.
55055         [BZ #13750]
55056         * manual/.gitignore: Remove, it's not needed anymore.
55057         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
55058         all files in it.
55059         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
55060         directory.
55061         (texis): Renamed to $(objpfx)texis.
55062         (texis-path): New, contains path to generated files.
55063         (chapters.%): Use texis-path for complete path, add extra argument
55064         libc-texinfo.sh.
55065         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
55066         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
55067         (summary,texi, stamp-summary): Use complete path of
55068         files. Generate files in build dir.
55069         (dir-add.texi): Build in build dir.
55070         (libm-err.texi,stamp-libm-err): Likewise.
55071         (version.texi, stamp-version): Likewise.
55072         (.%c.texi): Likewise.
55073         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
55074         (mostlyclean): Remove target.
55075         (realclean): Remove target.
55076         (generated): Add new variable with contents from mostlyclean and
55077         realclean, remove entries duplicated in common-mostlyclean, add
55078         stamp-libm-err and stamp-version.
55079         (generated-dirs): Add libc directory.
55080         ($(inst_infodir)/libc.info): Install files from build dir.
55082         * manual/install.texi (Configuring and compiling): Adjust since
55083         the info files are not part of the tar ball anymore.
55085 2012-05-14  Andreas Jaeger  <aj@suse.de>
55087         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
55088         variable.
55090 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
55092         [BZ #13717]
55093         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55094         to 2.2.0 where earlier.
55095         * sysdeps/unix/sysv/linux/configure: Regenerated.
55096         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
55097         Remove conditional code.
55098         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
55099         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
55100         Remove conditional code.
55101         [!__NR_lchown]: Likewise.
55102         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55103         [__NR_lchown]: Likewise.
55104         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
55105         comment referencing __ASSUME_LCHOWN_SYSCALL.
55106         * sysdeps/unix/sysv/linux/i386/sigaction.c
55107         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55108         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55109         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
55110         Remove conditional code.
55111         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
55112         (__protocol_available): Remove #if 0 code.
55113         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
55114         conditional code.
55115         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
55116         * sysdeps/unix/sysv/linux/kernel-features.h
55117         (__ASSUME_GETCWD_SYSCALL): Don't define.
55118         (__ASSUME_REALTIME_SIGNALS): Likewise.
55119         (__ASSUME_PREAD_SYSCALL): Likewise.
55120         (__ASSUME_PWRITE_SYSCALL): Likewise.
55121         (__ASSUME_POLL_SYSCALL): Likewise.
55122         (__ASSUME_LCHOWN_SYSCALL): Likewise.
55123         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
55124         non-SPARC.
55125         (__ASSUME_SIOCGIFNAME): Don't define.
55126         (__ASSUME_MSG_NOSIGNAL): Likewise.
55127         (__ASSUME_SENDFILE): Define unconditionally.
55128         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
55129         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
55130         conditional code.
55131         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
55132         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
55133         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55134         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55135         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
55136         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55137         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
55139         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55140         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
55142         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55143         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
55145         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55146         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
55148         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55149         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
55151         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55152         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
55154         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55155         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
55157         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55158         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
55160         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55161         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55162         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
55163         Remove conditional code.
55164         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55165         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55166         Remove conditional code.
55167         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55168         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
55169         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
55170         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55171         Remove conditional code.
55172         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55173         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
55174         Remove conditional code.
55175         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55176         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
55177         Remove conditional code.
55178         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55179         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55180         Remove conditional code.
55181         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55182         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55183         Remove conditional code.
55184         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55185         * sysdeps/unix/sysv/linux/sh/pwrite64.c
55186         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55187         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55188         * sysdeps/unix/sysv/linux/sigaction.c
55189         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55190         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55191         * sysdeps/unix/sysv/linux/sigpending.c
55192         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55193         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55194         * sysdeps/unix/sysv/linux/sigprocmask.c
55195         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55196         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55197         * sysdeps/unix/sysv/linux/sigsuspend.c
55198         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55199         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55200         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55201         (__libc_missing_rt_sigs): Remove.
55202         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
55203         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
55204         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
55205         Remove conditional code.
55206         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
55207         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
55208         return 1.
55209         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
55210         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
55211         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
55212         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
55214 2012-05-14  Andreas Jaeger  <aj@suse.de>
55216         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
55217         it's not used in glibc.
55218         (__coshm1): Likewise.
55219         (__acosh1p): Likewise.
55220         (__sgn): Likewise.
55222         * manual/string.texi (Copying and Concatenation): Add missing
55223         variable in concat example.
55224         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
55226 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55228         [BZ #14103]
55229         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
55230         __builtin_clzl with __builtin_clzll.
55232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55234         [BZ #14104]
55235         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
55236         libc_freeres_ptr.
55238 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55240         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
55241         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
55242         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
55243         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
55245 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
55247         * NEWS: Update ia64 info.
55249 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
55251         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
55252         used as bcopy.
55254 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
55256         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
55257         * sysdeps/unix/syscalls.list (dup3): Likewise.
55258         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
55259         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
55261 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55263         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
55264         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
55266 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55268         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
55269         thread pointer.
55270         (TLS_IE): Use mov/add instead of movq/addq to load thread
55271         pointer.
55272         (TLS_GD_PREFIX): New.
55273         (TLS_GD): Use it.
55275 2012-05-11  David S. Miller  <davem@davemloft.net>
55277         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
55278         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
55279         (_FPU_SETCW): Likewise.
55281 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55283         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
55284         is 32-byte aligned.
55286 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
55288         [BZ #11837]
55289         * iconvdata/gb18030.c: Update tables.
55290         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
55291         characters specially.
55292         (BODY for TO_LOOP): Add encoding of missing ranges.
55294 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
55296         [BZ #13673]
55297         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
55298         * sysdeps/mach/hurd/dup3.c: Likewise.
55299         * sysdeps/mach/hurd/readlinkat.c: Likewise.
55300         * sysdeps/powerpc/memmove.c:: Likewise.
55302 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55304         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
55305         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
55307 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55309         * elf/elf.h (R_X86_64_RELATIVE64): New.
55310         (R_X86_64_NUM): Updated.
55311         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55312         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
55313         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
55314         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
55315         tst-quad1pie tst-quad2pie
55316         (modules-names): Add tst-quadmod1 tst-quadmod2.
55317         ($(objpfx)tst-quad1): New dependency.
55318         ($(objpfx)tst-quad2): Likewise.
55319         ($(objpfx)tst-quad1pie): Likewise.
55320         ($(objpfx)tst-quad2pie): Likewise.
55321         * sysdeps/x86_64/tst-quad1.c: New file.
55322         * sysdeps/x86_64/tst-quad1pie.c: New file.
55323         * sysdeps/x86_64/tst-quad2.c: Likewise.
55324         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
55325         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
55326         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
55327         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
55328         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
55330 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55332         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
55333         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
55334         * streams/stropts.h (t_scalar_t): Define type.
55336         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
55337         (_PATH_PRESERVE): Set to "/var/lib".
55338         (_PATH_RWHODIR): Set to "/var/spool/rwho".
55340         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
55341         instead of int.
55343         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
55344         if __dir_mkfile succeeded.
55346         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
55347         checking for _hurd_dtablesize.  Unlock it right after having
55348         finished _hurd_dtable allocation.
55350 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55352         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
55353         * sysdeps/mach/hurd/configure: Regenerated.
55354         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
55355         special-casing to...
55356         * sysdeps/gnu/configure.in: ... this new file.
55357         * sysdeps/unix/sysv/linux/configure: Regenerated.
55358         * sysdeps/gnu/configure: New generated file.
55360         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
55361         for Linux: use nsec instead of usec, as well as:
55362         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
55363         members of type struct timespec.
55364         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
55365         New macros.
55366         (struct stat64): Likewise.
55367         (_STATBUF_ST_NSEC): New macro.
55368         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
55370         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55371         __strtoul_internal rather than strtoul.
55373 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55375         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
55376         and reject them.
55378 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55380         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
55381         which preserves existing values.
55382         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
55384 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55386         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
55387         TIMEOUT values.  Return EINVAL for NFDS values either negative or
55388         greater than FD_SETSIZE.
55390 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55392         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
55393         allocated, call __vm_protect to finish enabling the existing space, and
55394         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
55395         allocate the remainder.
55397 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55399         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
55400         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
55402 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55404         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
55405         sysdeps/mach/hurd/readlink.c.
55407         * posix/tst-sysconf.c (posix_options): Only use
55408         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
55409         _POSIX_SYNCHRONIZED_IO when they are defined
55410         * sysdeps/mach/hurd/bits/posix_opt.h:
55411         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
55412         (_XOPEN_REALTIME): Undefine macro.
55413         (_XOPEN_REALTIME_THREADS): Undefine macro.
55414         (_XOPEN_SHM): Undefine macro.
55415         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
55416         macro to -1.
55417         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
55418         macro to -1.
55419         (_POSIX_ASYNC_IO): Undefine macro.
55420         (_POSIX_PRIORITIZED_IO): Undefine macro.
55421         (_POSIX_SPIN_LOCKS): Define macro to -1.
55423         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
55424         SA_NODEFER, SA_RESETHAND.
55425         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
55426         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
55427         F_DUPFD_CLOEXEC.
55429 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55431         * elf/Makefile (pldd-modules): Define unconditionally.
55433 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55435         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
55437 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55439         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
55440         Return ENOENT when name is empty.
55441         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
55443 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55445         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
55447         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
55449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55451         Fix mlock in all cases except non-readable pages.
55452         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
55453         instead of VM_PROT_ALL as parameter to __vm_wire function.
55455         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
55456         (__mkdir): When path is `/', just fail with EEXIST.
55457         * sysdeps/mach/hurd/mkdirat.c: Likewise.
55459 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55461         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
55462         <sys/uio.h> (for writev).
55463         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
55464         and <sys/param.h> (for MIN).
55466 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55468         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
55469         REQUESTED_TIME.  Properly set the remaining time and return EINTR
55470         if interrupted.
55472 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55474         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
55475         Depend on against $(link-rpcuserlibs).
55477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55479         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
55480         (__libc_stack_end): Do not use attribute_relro.
55481         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
55482         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
55483         to libthread-provided value.
55484         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
55485         attribute_relro.
55487 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55489         [BZ #3748]
55490         * bits/libc-lock.h (__libc_once_get): New macro.
55491         * sysdeps/mach/bits/libc-lock.h: Likewise.
55492         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
55493         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
55494         instead of using implementation details.
55496         * libio/fileops.c: Unconditionally include <kernel-features.h>.
55497         * libio/freopen.c: Likewise.
55498         * libio/freopen64.c: Likewise.
55499         * misc/syslog.c: Likewise.
55500         * nscd/connections.c: Likewise.
55501         * nscd/netgroupcache.c: Likewise.
55502         * sysdeps/posix/getcwd.c: Likewise.
55504 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55506         * math/w_ilogbf.c: Add #include <limits.h>.
55508 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55510         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
55511         path instead of returning without unlocking.
55513         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
55514         immediate-write ioctls.
55515         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
55517 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55519         * sysdeps/mach/hurd/i386/init-first.c (init): Use
55520         __builtin_frame_address instead of making assumptions about the
55521         location of the return address relative to DATA.  Force early load of
55522         the return address.
55523         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
55524         __builtin_frame_address.
55526         dup3 for GNU Hurd.
55527         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
55528         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
55529         implement dup3 and do some further code clean-ups.
55530         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
55531         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
55533 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55535         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
55537         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
55538         HURD_CRITICAL_END around holding _hurd_dtable_lock.
55539         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
55540         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
55541         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
55542         d->port.lock.
55544         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
55545         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
55546         when handler == SIG_ERR, not when handler != SIG_ERR.
55548 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55550         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
55551         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
55552         definitions.
55554         accept4 for GNU Hurd.
55555         * include/sys/socket.h (__libc_accept4): New prototype.
55556         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
55557         to implement __libc_accept4.
55558         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
55559         __libc_accept4.
55560         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
55562         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
55563         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
55564         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
55565         signal-defines.sym.
55567 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55569         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
55571 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55573         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
55574         assertion on O_CLOEXEC flag.
55575         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
55576         * hurd/intern-fd.c: Likewise.
55577         * hurd/port2fd.c: Likewise.
55579 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55581         [BZ #3906]
55582         * bits/in.h (IPV6_PKTINFO): Define new macro.
55583         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
55585 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55587         [BZ #13954]
55588         [BZ #13955]
55589         [BZ #13956]
55590         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
55591         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55592         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
55593         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55594         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55595         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55596         * math/libm-test.inc (logb_test) : Additional logb tests.
55598 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
55599             Andreas Jaeger  <aj@suse.de>
55601         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
55602         * configure: Regenerated.
55603         * config.h.in (LINK_OBSOLETE_RPC): New macro.
55604         * config.make.in (link-obsolete-rpc): New substituted variable.
55605         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
55606         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
55607         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55608         (shared-only-routines): Don't set it under [link-obsolete-rpc],
55609         so that libc.a contains the symbols.
55610         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55611         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
55612         * sunrpc/auth_none.c: Likewise.
55613         * sunrpc/auth_unix.c: Likewise.
55614         * sunrpc/authdes_prot.c: Likewise.
55615         * sunrpc/authuxprot.c: Likewise.
55616         * sunrpc/clnt_gen.c: Likewise.
55617         * sunrpc/clnt_perr.c: Likewise.
55618         * sunrpc/clnt_raw.c: Likewise.
55619         * sunrpc/clnt_simp.c: Likewise.
55620         * sunrpc/clnt_tcp.c: Likewise.
55621         * sunrpc/clnt_udp.c: Likewise.
55622         * sunrpc/clnt_unix.c: Likewise.
55623         * sunrpc/des_crypt.c: Likewise.
55624         * sunrpc/des_soft.c: Likewise.
55625         * sunrpc/get_myaddr.c: Likewise.
55626         * sunrpc/key_call.c: Likewise.
55627         * sunrpc/key_prot.c: Likewise.
55628         * sunrpc/netname.c: Likewise.
55629         * sunrpc/pm_getmaps.c: Likewise.
55630         * sunrpc/pm_getport.c: Likewise.
55631         * sunrpc/pmap_clnt.c: Likewise.
55632         * sunrpc/pmap_prot.c: Likewise.
55633         * sunrpc/pmap_prot2.c: Likewise.
55634         * sunrpc/pmap_rmt.c: Likewise.
55635         * sunrpc/publickey.c: Likewise.
55636         * sunrpc/rpc_cmsg.c: Likewise.
55637         * sunrpc/rpc_common.c: Likewise.
55638         * sunrpc/rpc_dtable.c: Likewise.
55639         * sunrpc/rpc_prot.c: Likewise.
55640         * sunrpc/rpc_thread.c: Likewise.
55641         * sunrpc/rtime.c: Likewise.
55642         * sunrpc/svc.c: Likewise.
55643         * sunrpc/svc_auth.c: Likewise.
55644         * sunrpc/svc_raw.c: Likewise.
55645         * sunrpc/svc_run.c: Likewise.
55646         * sunrpc/svc_tcp.c: Likewise.
55647         * sunrpc/svc_udp.c: Likewise.
55648         * sunrpc/svc_unix.c: Likewise.
55649         * sunrpc/svcauth_des.c: Likewise.
55650         * sunrpc/xcrypt.c: Likewise.
55651         * sunrpc/xdr.c: Likewise.
55652         * sunrpc/xdr_array.c: Likewise.
55653         * sunrpc/xdr_float.c: Likewise.
55654         * sunrpc/xdr_intXX_t.c: Likewise.
55655         * sunrpc/xdr_mem.c: Likewise.
55656         * sunrpc/xdr_rec.c: Likewise.
55657         * sunrpc/xdr_ref.c: Likewise.
55658         * sunrpc/xdr_sizeof.c: Likewise.
55659         * sunrpc/xdr_stdio.c: Likewise.
55661 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55663         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
55664         change.  Update copyright years.
55666 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55668         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
55670 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
55671             Joseph Myers  <joseph@codesourcery.com>
55672             Paul Pluzhnikov  <ppluzhnikov@google.com>
55674         [BZ #14012]
55675         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
55676         requiring rpcgen.
55677         [cross-compiling] (extra-libs): Likewise.
55678         [cross-compiling] (extra-libs-others): Likewise.
55679         [cross-compiling] (librpcsvc-routines): Likewise.
55680         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
55681         [cross-compiling] (omit-deps): Likewise.
55682         (sunrpc-CPPFLAGS): New variable.
55683         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
55684         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
55685         (cross-rpcgen-objs): New variable.
55686         (extra-objs): Append $(cross-rpcgen-objs).
55687         ($(cross-rpcgen-objs)): New rule.
55688         ($(objpfx)cross-rpcgen): Likewise.
55689         (rpcgen-cmd): Define to use $(built-program-file).  Expand
55690         comment.
55691         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
55692         ($(objpfx)x%.stmp): Likewise.
55693         * sunrpc/proto.h [IS_IN_build] (_): Define.
55694         [IS_IN_build] (_libc_intl_domainname): Likewise.
55696 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55698         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
55699         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
55700         and R_X86_64_TPOFF64.
55702 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55704         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
55705         sysdeps/unix/sysv/syscalls.list.
55706         (stime): Likewise.
55707         (utime): Likewise.
55708         * sysdeps/unix/sysv/syscalls.list: Remove file.
55710 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
55712         [BZ #3440]
55713         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
55714         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
55715         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
55716         (__LC_IDENTIFICATION): Make these macros useful in #if
55717         expressions, as required by C99.
55719 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
55721         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
55722         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
55723         after this.
55725 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
55727         * stdlib/longlong.h: Updated from GCC.
55729 2012-05-09  Andreas Jaeger  <aj@suse.de>
55731         * nscd/nscd.c (run_modes): Make named enum, reorder so that
55732         default is first entry.
55733         (run_mode): Set type.
55734         (main): Remove informal message about syslog.
55735         (options): Fix typo.
55737         [BZ #14053]
55738         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
55739         to asm.
55740         (lrint): Likewise.
55741         (llrintf): Likewise.
55742         (llrint): Likewise.
55743         (rint): Likewise.
55744         (rintf): Likewise.
55745         (nearbyint): Likewise.
55746         (nearbyintf): Likewise.
55748 2012-05-09  Andreas Jaeger  <aj@suse.de>
55749             Pedro Alves  <palves@redhat.com>
55751         * nscd/nscd.c (run_mode): Use enum.
55752         (main): Cleanup coding style issue.
55754 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
55755             Andreas Jaeger  <aj@suse.de>
55757         * nscd/nscd.c (go_background): Replaced with...
55758         (run_mode): ... this.
55759         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
55760         (options): Add -F --foreground.
55761         (main): Implement it.
55762         (parse_opt): Parse it.
55764 2012-05-09  Andreas Jaeger  <aj@suse.de>
55766         [BZ #14083]
55767         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
55768         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
55769         -Wconversion warning.
55770         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
55771         Likewise.
55773 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
55775         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
55776         == 0.
55777         (LC_ALL): Use macro-int-constant.
55778         (LC_COLLATE): Likewise.
55779         (LC_CTYPE): Likewise.
55780         (LC_MESSAGES): Likewise.
55781         (LC_MONETARY): Likewise.
55782         (LC_NUMERIC): Likewise.
55783         (LC_TIME): Likewise.
55784         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
55785         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55786         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55787         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
55788         Specify type.
55789         [C99-based standards] (float_t): Expect type.
55790         [C99-based standards] (double_t): Expect type.
55791         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
55792         type.
55793         [C99-based standards] (HUGE_VALL): Likewise.
55794         [C99-based standards] (INFINITY): Likewise.
55795         [C99-based standards] (NAN): Likewise.
55796         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
55797         [C99-based standards] (FP_NAN): Likewise.
55798         [C99-based standards] (FP_NORMAL): Likewise.
55799         [C99-based standards] (FP_SUBNORMAL): Likewise.
55800         [C99-based standards] (FP_ZERO): Likewise.
55801         [C99-based standards] (FP_FAST_FMA): Use
55802         optional-macro-int-constant.  Specify type.  Require == 1.
55803         [C99-based standards] (FP_FAST_FMAF): Likewise.
55804         [C99-based standards] (FP_FAST_FMAL): Likewise.
55805         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
55806         [C99-based standards] (FP_ILOGBNAN): Likewise.
55807         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
55808         Specify type.
55809         [C99-based standards] (MATH_ERREXCEPT): Likewise.
55810         [C99-based standards] (math_errhandling): Specify type.
55811         [ISO99 || ISO11] (signgam): Do not allow.
55812         [non-C99-based standards] (copysignf): Do not allow.
55813         [non-C99-based standards] (exp2f): Likewise.
55814         [non-C99-based standards] (log2f): Likewise.
55815         [non-C99-based standards] (modff): Allow.
55816         [non-C99-based standards] (erff): Do not allow.
55817         [non-C99-based standards] (erfcf): Likewise.
55818         [non-C99-based standards] (gammaf): Likewise.
55819         [non-C99-based standards] (hypotf): Likewise.
55820         [non-C99-based standards] (j0f): Likewise.
55821         [non-C99-based standards] (j1f): Likewise.
55822         [non-C99-based standards] (jnf): Likewise.
55823         [non-C99-based standards] (lgammaf): Likewise.
55824         [non-C99-based standards] (tgammaf): Likewise.
55825         [non-C99-based standards] (y0f): Likewise.
55826         [non-C99-based standards] (y1f): Likewise.
55827         [non-C99-based standards] (ynf): Likewise.
55828         [non-C99-based standards] (isnanf): Likewise.
55829         [non-C99-based standards] (acoshf): Likewise.
55830         [non-C99-based standards] (asinhf): Likewise.
55831         [non-C99-based standards] (atanhf): Likewise.
55832         [non-C99-based standards] (cbrtf): Likewise.
55833         [non-C99-based standards] (expm1f): Likewise.
55834         [non-C99-based standards] (ilogbf): Likewise.
55835         [non-C99-based standards] (log1pf): Likewise.
55836         [non-C99-based standards] (logbf): Likewise.
55837         [non-C99-based standards] (nextafterf): Likewise.
55838         [non-C99-based standards] (remainderf): Likewise.
55839         [non-C99-based standards] (rintf): Likewise.
55840         [non-C99-based standards] (scalbf): Likewise.
55841         [non-C99-based standards] (copysignl): Likewise.
55842         [non-C99-based standards] (exp2l): Likewise.
55843         [non-C99-based standards] (log2l): Likewise.
55844         [non-C99-based standards] (modfl): Allow.
55845         [non-C99-based standards] (erfl): Do not allow.
55846         [non-C99-based standards] (erfcl): Likewise.
55847         [non-C99-based standards] (gammal): Likewise.
55848         [non-C99-based standards] (hypotl): Likewise.
55849         [non-C99-based standards] (j0l): Likewise.
55850         [non-C99-based standards] (j1l): Likewise.
55851         [non-C99-based standards] (jnl): Likewise.
55852         [non-C99-based standards] (lgammal): Likewise.
55853         [non-C99-based standards] (tgammal): Likewise.
55854         [non-C99-based standards] (y0l): Likewise.
55855         [non-C99-based standards] (y1l): Likewise.
55856         [non-C99-based standards] (ynl): Likewise.
55857         [non-C99-based standards] (isnanl): Likewise.
55858         [non-C99-based standards] (acoshl): Likewise.
55859         [non-C99-based standards] (asinhl): Likewise.
55860         [non-C99-based standards] (atanhl): Likewise.
55861         [non-C99-based standards] (cbrtl): Likewise.
55862         [non-C99-based standards] (expm1l): Likewise.
55863         [non-C99-based standards] (ilogbl): Likewise.
55864         [non-C99-based standards] (log1pl): Likewise.
55865         [non-C99-based standards] (logbl): Likewise.
55866         [non-C99-based standards] (nextafterl): Likewise.
55867         [non-C99-based standards] (remainderl): Likewise.
55868         [non-C99-based standards] (rintl): Likewise.
55869         [non-C99-based standards] (scalbl): Likewise.
55870         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55871         [non-C99-based standards] (FP_*): Do not allow.
55872         [C99-based standards] (FP_*): Change to
55873         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55874         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55875         allow.
55876         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
55877         (SIG_ERR): Likewise.
55878         [X/Open-based standards] (SIG_HOLD): Likewise.
55879         (SIG_IGN): Likewise.
55880         (SIGABRT): Use macro-int-constant.  Specify type.  Require
55881         positive value.
55882         (SIGFPE): Likewise.
55883         (SIGILL): Likewise.
55884         (SIGINT): Likewise.
55885         (SIGSEGV): Likewise.
55886         (SIGTER): Likewise.
55887         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
55888         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
55889         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
55890         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
55891         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
55892         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
55893         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
55894         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
55895         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
55896         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
55897         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
55898         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
55899         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
55900         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
55901         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
55902         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
55903         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
55904         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
55905         [X/Open-based standards] (SIGTRAP): Likewise.
55906         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
55907         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
55908         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
55909         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
55910         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55911         allow.
55913 2012-05-08  Ian Wienand  <ianw@vmware.com>
55915         [BZ #14080]
55916         * time/tzset.c (__tzset_parse_tz): Update default rules for
55917         daylight time changes in the Energy Policy Act of 2005.
55919 2012-05-09  Andreas Jaeger  <aj@suse.de>
55921         [BZ #13983]
55922         * elf/ldconfig.c (parse_conf): Change string to make clear that
55923         ldconfig only issued a warning if ld.so.conf does not exist.
55925 2012-05-08  David S. Miller  <davem@davemloft.net>
55927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
55928         movxtod instead of popping the value on the stack.
55930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55932 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
55934         * config.h.in: Add HAVE_ARM_PCS_VFP.
55936 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
55938         [BZ #13979]
55939         * include/features.h: Warn if user requests __FORTIFY_SOURCE
55940         checking but the checks are disabled for any reason.
55942 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
55944         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
55945         and ELF64_R_TYPE with ELFW(R_TYPE).
55947 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
55949         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
55950         (ulimit): Likewise.
55952         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
55953         (settimeofday): Likewise.
55955 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
55957         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
55958         a struct th_u2 inside the union, and move tu_block/tu_code into
55959         a new th_u3 union of tu_block/tu_code inside of that.  Move
55960         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
55961         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
55962         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
55963         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
55964         (th_stuff): Change to th_u1.tu_stuff.
55965         (th_data): Define.
55966         (th_msg): Change to th_u1.th_u2.tu_data.
55968 2012-05-07  David S. Miller  <davem@davemloft.net>
55970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55972         [BZ #14074]
55973         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
55974         (SETUP_PIC_REG): Use it.
55975         (SETUP_PIC_REG_LEAF): Use it.
55977 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
55979         [BZ #13885]
55980         [BZ #13923]
55981         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55982         USE_AS_EXPM1L.
55983         (EXPL_FINITE): Likewise.
55984         (FLDLOG): Likewise.
55985         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55986         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55987         e_expl.S.
55988         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55989         USE_AS_EXPM1L.
55990         (EXPL_FINITE): Likewise.
55991         (FLDLOG): Likewise.
55992         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55993         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55994         e_expl.S.
55995         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
55996         test of -max_value argument for long double.
55997         * sysdeps/i386/fpu/libm-test-ulps: Update.
55998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56000 2012-05-06  David S. Miller  <davem@davemloft.net>
56002         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
56003         quad soft-float symbols whose references which are compiler
56004         generated.
56005         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56007 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
56009         [BZ #13884]
56010         [BZ #13914]
56011         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56012         USE_AS_EXP10L.
56013         (EXPL_FINITE): Likewise.
56014         (FLDLOG): Likewise.
56015         (c0): Likewise.
56016         (c1): Likewise.
56017         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56018         Adjust comments for base varying.
56019         (__expl_finite): Change alias to EXPL_FINITE.
56020         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
56021         e_expl.S.
56022         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
56023         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
56024         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56025         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
56026         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56027         USE_AS_EXP10L.
56028         (EXPL_FINITE): Likewise.
56029         (FLDLOG): Likewise.
56030         (c0): Likewise.
56031         (c1): Likewise.
56032         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56033         Adjust comments for base varying.
56034         (__expl_finite): Change alias to EXPL_FINITE.
56035         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
56036         tests for bugs.
56037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56039         [BZ #14064]
56040         * math/libm-test.inc (check_float_internal): Correct ulp
56041         calculation for subnormal expected results.
56043 2012-05-06  Andreas Jaeger  <aj@suse.de>
56045         * Makeconfig (+math-flags): New, set to -frounding-math.
56046         (+cflags): Add +math-flags so that all of glibc gets compiled with
56047         it.
56049         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
56051 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
56053         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
56054         Disable one test.
56056         [BZ #13787]
56057         [BZ #13922]
56058         [BZ #14036]
56059         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
56060         (__ieee754_expl): Allow for and saturate large arguments.
56061         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
56062         (u_threshold): Likewise.
56063         (__exp): Call __ieee754_exp before checking for overflow and
56064         underflow.
56065         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
56066         (u_threshold): Likewise.
56067         (__expf): Call __ieee754_expf before checking for overflow and
56068         underflow.
56069         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
56070         (u_threshold): Likewise.
56071         (__expl): Call __ieee754_expl before checking for overflow and
56072         underflow.
56073         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
56074         (__ieee754_expl): Allow for and saturate large arguments.
56075         * math/libm-test.inc (exp_test): Add another test.  Do not allow
56076         missing overflow exception on overflow.
56077         (expm1_test): Do not allow missing overflow exception on overflow.
56079         * sysdeps/i386/fpu/e_expl.c: Move to ...
56080         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
56081         rather than using inline asm.
56082         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
56083         * sysdeps/x86_64/fpu/e_expl.S: Copy from
56084         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
56086         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
56087         (nice): Likewise.
56088         (poll): Likewise.
56089         (signal): Likewise.
56090         (time): Likewise.
56091         (times): Likewise.
56093 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56095         * sysdeps/unix/syscalls.list (adjtime): Add entry from
56096         sysdeps/unix/common/syscalls.list.
56097         (fchmod): Likewise.
56098         (fchown): Likewise.
56099         (ftruncate): Likewise.
56100         (getrusage): Likewise.
56101         (gettimeofday): Likewise.
56102         (setpgid): Likewise.
56103         (setregid): Likewise.
56104         (setreuid): Likewise.
56105         (sigaction): Likewise.
56106         (truncate): Likewise.
56107         (vhangup): Likewise.
56108         * sysdeps/unix/common/syscalls.list: Remove file.
56109         * sysdeps/unix/bsd/Implies: Don't include unix/common.
56110         * sysdeps/unix/sysv/linux/Implies: Likewise.
56112 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
56114         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
56115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
56116         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
56117         Moved to ...
56118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
56119         Here.
56120         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
56121         to ...
56122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
56123         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
56124         to ...
56125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
56126         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
56127         to ...
56128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
56129         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
56130         to ...
56131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
56132         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
56133         to ...
56134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
56135         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
56136         to ...
56137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
56138         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
56139         to ...
56140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56141         Here.
56142         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
56143         to ...
56144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
56145         Here.
56146         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
56147         to ...
56148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
56149         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
56150         Moved to ...
56151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
56152         Here.
56153         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
56154         to ...
56155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
56157 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56159         * sysdeps/unix/common/bits/dirent.h: Remove file.
56160         * sysdeps/unix/common/bits/fcntl.h: Likewise.
56162         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
56163         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
56164         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
56165         * sysdeps/unix/bsd/isatty.c: Likewise.
56166         * sysdeps/unix/bsd/tcdrain.c: Likewise.
56167         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
56168         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
56170 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56172         [BZ #13563]
56173         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
56174         long double comparison inaccuracies.
56175         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56178 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
56180         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
56181         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
56183 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56185         [BZ #14049]
56186         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
56187         nonzero digits before rounding a hex value.
56188         * stdlib/tst-strtod.c (tests): Add another test.
56190 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56192         * sysdeps/s390/fpu/libm-test-ulps: Update.
56194 2012-05-03  Andreas Jaeger  <aj@suse.de>
56196         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
56197         does not get optimized out.
56198         (malloc_opt_barrier): New.
56200 2012-05-03  Andreas Jaeger  <aj@suse.de>
56201             Roland McGrath  <roland@hack.frob.com>
56203         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
56204         intermediate file deletion.
56205         (generated): Add .symlist files.
56207 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
56209         [BZ #13775]
56210         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
56211         Redirect under this condition.
56212         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56213         [__USE_GNU] (__dprintf_chk): Not under this condition.
56214         [__USE_GNU] (__vdprintf_chk): Likewise.
56215         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
56216         under this condition.
56217         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56218         [__USE_XOPEN2K8] (dprintf): Define under this condition.
56219         [__USE_XOPEN2K8] (vdprintf): Likewise.
56220         [__USE_GNU] (__dprintf_chk): Not under this condition.
56221         [__USE_GNU] (__vdprintf_chk): Likewise.
56222         [__USE_GNU] (dprintf): Likewise.
56223         [__USE_GNU] (vdprintf): Likewise.
56225 2012-05-03  Roland McGrath  <roland@hack.frob.com>
56227         * elf/Makefile (common-generated): Set this instead of generated for
56228         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
56229         $(all-built-dso)-derived lists.
56231 2012-05-03  Andreas Jaeger  <aj@suse.de>
56233         * sysdeps/i386/fpu/libm-test-ulps: Update.
56235         * FAQ: Removed.
56236         * FAQ.in: Likewise.
56237         * scripts/gen-FAQ.pl: Likewise.
56238         * manual/install.texi (Installation): Point to online location of
56239         FAQ.
56240         * Makefile (files-for-dist): Remove FAQ.
56241         (FAQ): Remove.
56243 2012-05-02  Allan McRae  <allan@archlinux.org>
56245         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
56246         (LDFLAGS-reldepmod5.so): Likewise.
56247         (LDFLAGS-reldep6mod1.so): Likewise.
56248         (LDFLAGS-reldep6mod4.so): Likewise.
56249         (LDFLAGS-reldep8mod3.so): Likewise.
56250         (LDFLAGS-unload4mod1.so): Likewise.
56251         (LDFLAGS-unload4mod2.so): Likewise.
56252         (LDFLAGS-tst-initorder): Likewise.
56253         (LDFLAGS-tst-initordera2.so): Likewise.
56254         (LDFLAGS-tst-initordera3.so): Likewise.
56255         (LDFLAGS-tst-initordera4.so): Likewise.
56256         (LDFLAGS-tst-initorderb2.so): Likewise.
56257         (LDFLAGS-noload): Likewise.
56258         (LDFLAGS-next): Likewise.
56259         (LDFLAGS-order2mod1.so): Likewise.
56260         (LDFLAGS-order2mod2.so): Likewise.
56261         (LDFLAGS-tst-initorder2): Likewise.
56262         (LDFLAGS-tst-initorder2a.so): Likewise.
56263         (LDFLAGS-tst-initorder2b.so): Likewise.
56264         (LDFLAGS-tst-initorder2c.so): Likewise.
56265         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
56267 2012-05-02  David S. Miller  <davem@davemloft.net>
56269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56271 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
56273         [BZ #14055]
56274         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
56276 2012-05-02  Andreas Jaeger  <aj@suse.de>
56278         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
56279         since we manipulate rounding mode.
56280         (CPPFLAGS-test-idouble.c): Likewise.
56281         (CPPFLAGS-test-ifloat.c): Likewise.
56282         (CFLAGS-test-ldouble.c): Likewise.
56283         (CFLAGS-test-double.c): Likewise.
56284         (CFLAGS-test-float.c): Likewise.
56285         (CFLAGS-test-misc.c): Likewise.
56286         (CFLAGS-test-test-fenv.c): Likewise.
56288 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56290         [BZ #2550]
56291         [BZ #2570]
56292         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
56293         comparisons to determine direction to adjust input.
56295 2012-05-01  Roland McGrath  <roland@hack.frob.com>
56297         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
56298         output to the target.
56300         * scripts/localplt.awk: New file.
56301         * elf/Makefile ($(objpfx)check-localplt): Target removed.
56302         (check-localplt-CFLAGS): Variable removed.
56303         ($(all-built-dso:=.jmprel)): New static pattern rule.
56304         (generated): Add those targets.
56305         (localplt-built-dso): New variable.
56306         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
56308         * elf/check-localplt.c: File removed.
56310         * scripts/check-execstack.awk: New file.
56311         * elf/Makefile ($(objpfx)check-execstack): Target removed.
56312         (check-execstack-CFLAGS): Variable removed.
56313         ($(objpfx)check-execstack.h): Target removed.
56314         ($(objpfx)execstack-default): New target.
56315         (generated): Add that instead of check-execstack.h.
56316         ($(all-built-dso:=.phdr)): New static pattern rule.
56317         (generated): Add those targets.
56318         * elf/check-execstack.c: File removed.
56320         * scripts/check-textrel.awk: New file.
56321         * elf/Makefile ($(objpfx)check-textrel): Target removed.
56322         (check-textrel-CFLAGS): Variable removed.
56323         (all-built-dso): Use := to define.o
56324         ($(all-built-dso:=.dyn)): New static pattern rule.
56325         (generated): Add those targets.
56326         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
56327         * config.make.in (READELF): New substituted variable.
56328         * elf/check-textrel.c: File removed.
56330 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56332         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56333         allow.
56334         * conform/data/ctype.h-data [C99-based standards] (isblank):
56335         Expect function.
56336         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
56337         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
56338         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56339         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
56340         Specify type.  Require positive value.
56341         (EILSEQ): Likewise.
56342         (ERANGE): Likewise.
56343         [ISO || POSIX] (EILSEQ): Do not expect.
56344         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
56345         Specify type.  Require positive value.
56346         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
56347         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
56348         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
56349         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
56350         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
56351         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
56352         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
56353         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
56354         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
56355         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
56356         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
56357         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
56358         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
56359         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
56360         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
56361         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
56362         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
56363         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
56364         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
56365         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
56366         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
56367         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
56368         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
56369         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
56370         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
56371         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
56372         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
56373         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
56374         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
56375         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
56376         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
56377         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
56378         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
56379         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
56380         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
56381         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
56382         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
56383         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
56384         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
56385         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
56386         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
56387         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
56388         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
56389         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
56390         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
56391         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
56392         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
56393         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
56394         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
56395         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
56396         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
56397         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
56398         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
56399         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
56400         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
56401         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
56402         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
56403         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
56404         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
56405         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
56406         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
56407         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
56408         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
56409         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
56410         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
56411         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
56412         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
56413         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
56414         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
56415         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
56416         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
56417         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
56418         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
56419         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
56420         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
56421         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
56422         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
56423         Require >= 2.
56424         (FLT_ROUNDS): Expect as macro, not constant.
56425         (FLT_MANT_DIG): Use macro-int-constant.
56426         (DBL_MANT_DIG): Likewise.
56427         (LDBL_MANT_DIG): Likewise.
56428         (FLT_DIG): Likewise.
56429         (DBL_DIG): Likewise.
56430         (LDBL_DIG): Likewise.
56431         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
56432         (DBL_MIN_EXP): Likewise.
56433         (LDBL_MIN_EXP): Likewise.
56434         (FLT_MAX_EXP): Use macro-int-constant.
56435         (DBL_MAX_EXP): Likewise.
56436         (LDBL_MAX_EXP): Likewise.
56437         (FLT_MAX_10_EXP): Likewise.
56438         (DBL_MAX_10_EXP): Likewise.
56439         (LDBL_MAX_10_EXP): Likewise.
56440         (FLT_MAX): Use macro-constant.
56441         (DBL_MAX): Likewise.
56442         (LDBL_MAX): Likewise.
56443         (FLT_EPSILON): Use macro-constant.  Give upper bound.
56444         (DBL_EPSILON): Likewise.
56445         (LDBL_EPSILON): Likewise.
56446         (FLT_MIN): Likewise.
56447         (DBL_MIN): Likewise.
56448         (LDBL_MIN): Likewise.
56449         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
56450         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
56451         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
56452         [ISO11] (FLT_HAS_SUBNORM): Likewise.
56453         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
56454         [ISO11] (DBL_DECIMAL_DIG): Likewise.
56455         [ISO11] (FLT_DECIMAL_DIG): Likewise.
56456         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
56457         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
56458         [ISO11] (FLT_TRUE_MIN): Likewise.
56459         [ISO11] (LDBL_TRUE_MIN): Likewise.
56460         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56461         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
56462         (SCHAR_MIN): Use macro-int-constant.  Specify type.
56463         (SCHAR_MAX): Likewise.
56464         (UCHAR_MAX): Likewise.
56465         (CHAR_MIN): Likewise.
56466         (CHAR_MAX): Likewise.
56467         (MB_LEN_MAX): Use macro-int-constant.
56468         (SHRT_MIN): Use macro-int-constant.  Specify type.
56469         (SHRT_MAX): Likewise.
56470         (USHRT_MAX): Likewise.
56471         (INT_MAX): Likewise.
56472         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
56473         bound negative.
56474         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56475         bound with "U".
56476         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56477         bound with "L".
56478         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
56479         bound negative.  Suffix upper bound with "L".
56480         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56481         bound with "UL".
56482         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
56483         Specify type.
56484         [C99-based standards] (LLONG_MAX): Likewise.
56485         [C99-based standards] (ULLONG_MAX): Likewise.
56486         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
56487         == 0.
56488         [ISO11] (max_align_t): Require type.
56489         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56491         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
56492         from $CFLAGS, without defining away __attribute__ calls.
56493         (checknamespace): Use $CFLAGS_namespace.
56495         * conform/conformtest.pl (@keywords): Only include C99 keywords
56496         for standards based on C99 or C11.
56498         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
56499         Disable tests.
56500         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
56501         UNIX98]: Likewise.
56503         * conform/conformtest.pl: Handle "macro-int-constant" and test for
56504         usability of symbols in #if.
56506         * conform/conformtest.pl: If macro or constant types start
56507         "promoted:", expect the symbol to be of the following type
56508         promoted by the integer promotions.
56510         * conform/conformtest.pl: Parse all "constant" and "macro" lines
56511         in one place.  Also handle "macro-constant".
56513         * conform/conformtest.pl: Only accept expected macro values with
56514         "==".  Parse all "macro" lines in one place.
56515         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
56517         * conform/conformtest.pl: Handle braced types on "constant" lines
56518         instead of handling "typed-constant".
56519         * conform/data/signal.h-data: Use "constant" instead of
56520         "typed-constant".
56522         * conform/conformtest.pl: Handle "optional-" at start of lines in
56523         one place rather than duplicating several cases.  Handle each
56524         format of "macro" line with initial "optional-".
56526         * conform/conformtest.pl: Only accept expected constant or
56527         optional-constant values with "==".  Parse all "constant" lines in
56528         one place.  Parse all "optional-constant" lines in one place.
56529         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
56530         * conform/data/fmtmsg.h-data: Likewise.
56531         * conform/data/netinet/in.h-data: Likewise.
56532         * conform/data/tar.h-data: Likewise.
56533         * conform/data/limits.h-data: Use "==" form on "constant" and
56534         "optional-constant" lines.
56536         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
56537         Use -std=c99 for XOPEN2K.
56538         (@knownproblems): Remove.
56539         (newtoken): Don't check %isknown.
56541         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
56542         Do not expect macro.
56543         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
56544         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
56545         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
56546         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
56547         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
56548         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
56549         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
56550         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
56551         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
56552         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
56553         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
56554         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
56555         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
56556         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
56557         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
56558         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
56559         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
56560         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
56561         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
56562         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
56563         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
56564         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
56565         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
56566         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
56567         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
56568         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
56569         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
56570         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
56571         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
56572         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
56573         [XPG3] (acosh): Likewise.
56574         [XPG3] (asinh): Likewise.
56575         [XPG3] (atanh): Likewise.
56576         [XPG3] (cbrt): Likewise.
56577         [XPG3] (expm1): Likewise.
56578         [XPG3] (ilogb): Likewise.
56579         [XPG3] (log1p): Likewise.
56580         [XPG3] (logb): Likewise.
56581         [XPG3] (nextafter): Likewise.
56582         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
56583         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
56584         [XPG3] (remainder): Likewise.
56585         [XPG3] (rint): Likewise.
56586         [XPG3 || XPG4 || UNIX98] (round): Likewise.
56587         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
56588         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
56589         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
56590         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
56591         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
56592         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
56593         [UNIX98 || XOPEN2K] (scalb): Expect.
56594         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
56595         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
56596         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
56597         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
56598         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
56599         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
56600         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
56601         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
56602         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
56603         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
56604         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
56605         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
56606         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
56607         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
56608         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
56609         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
56610         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
56611         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
56612         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
56613         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
56614         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
56615         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
56616         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
56617         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
56618         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
56619         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
56620         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
56621         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
56622         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
56623         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
56624         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
56625         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
56626         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
56627         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
56628         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
56629         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
56630         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
56631         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
56632         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
56633         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
56634         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
56635         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
56636         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
56637         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
56638         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
56639         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
56640         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
56641         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
56642         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
56643         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
56644         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
56645         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
56646         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
56647         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
56648         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
56649         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
56650         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
56651         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
56652         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
56653         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
56654         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
56655         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
56656         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
56657         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
56658         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
56659         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
56660         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
56661         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
56662         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
56663         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
56664         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
56665         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
56666         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
56667         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
56668         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
56669         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
56670         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
56671         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
56672         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
56673         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
56674         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
56675         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
56676         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
56677         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
56678         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
56679         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
56680         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
56681         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
56682         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
56683         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
56684         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
56685         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
56686         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
56687         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
56688         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
56689         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
56690         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
56691         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
56692         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
56693         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
56694         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
56695         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
56696         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
56697         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
56698         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
56699         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
56700         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
56701         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
56702         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
56703         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
56704         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
56705         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
56706         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
56707         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
56708         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
56709         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
56710         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
56711         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
56712         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
56713         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
56714         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
56715         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
56716         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
56717         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
56718         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
56719         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
56720         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
56721         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
56722         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
56723         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
56724         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
56725         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
56726         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
56727         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
56728         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
56729         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
56730         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
56732         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
56733         _XOPEN_SOURCE_EXTENDED for XPG4.
56735         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
56737         * Makeconfig (localtime): Remove variable.
56738         (inst_localtime-file): Likewise.
56740 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
56743         Update.
56744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56745         Update.
56746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
56747         Update.
56748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56749         Update.
56750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
56751         Update.
56752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
56753         Update.
56754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56755         Update.
56756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
56757         Update.
56758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56759         Update.
56761 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56763         [BZ #2550]
56764         [BZ #2570]
56765         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
56766         comparisons to determine direction to adjust input.
56767         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
56768         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
56769         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
56770         Likewise.
56771         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
56772         Likewise.
56773         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56774         Likewise.
56775         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
56776         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
56777         Likewise.
56778         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
56779         Likewise.
56780         * math/libm-test.inc (nexttoward_test): Add more tests.
56782 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56784         [BZ #14040]
56785         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
56786         in version GLIBC_2.1, not GLIBC_2.0.
56787         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
56788         Likewise.
56790 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
56792         [BZ #13942]
56793         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
56794         (1 - x) * (1 + x).
56795         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56796         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
56797         * math/libm-test.inc (acos_test): Add more tests.
56798         (asin_test): Likewise.
56799         * sysdeps/i386/fpu/libm-test-ulps: Update.
56800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56802         [BZ #14034]
56803         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
56804         of square root.
56805         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
56806         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56807         * math/libm-test.inc (acos_test_tonearest): New function.
56808         (acos_test_towardzero): Likewise.
56809         (acos_test_downward): Likewise.
56810         (acos_test_upward): Likewise.
56811         (asin_test_tonearest): Likewise.
56812         (asin_test_towardzero): Likewise.
56813         (asin_test_downward): Likewise.
56814         (asin_test_upward): Likewise.
56815         (main): Call the new functions.
56816         * sysdeps/i386/fpu/libm-test-ulps: Update.
56817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56819         [BZ #13884]
56820         [BZ #13924]
56821         * math/e_exp10.c: Include <float.h>.
56822         (__ieee754_exp10): Handle underflow here rather than multiplying
56823         large negative argument by M_LN10.
56824         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
56825         of __ieee754_expf.
56826         * math/e_exp10l.c: Include <float.h>.
56827         (__ieee754_exp10l): Handle underflow here rather than multiplying
56828         large negative argument by M_LN10l.
56829         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
56830         spurious overflow exception on underflow.
56832 2012-04-29  Marek Polacek  <polacek@redhat.com>
56834         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
56835         (__fortify_function): New macro.
56836         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
56837         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
56838         __extern_always_inline.
56839         * libio/bits/stdio2.h: Likewise.
56840         * libio/bits/stdio.h: Likewise.
56841         * string/string.h: Likewise.
56842         * string/bits/string3.h: Likewise.
56843         * include/stdio.h: Likewise.
56844         * stdlib/bits/stdlib.h: Likewise.
56845         * stdlib/stdlib.h: Likewise.
56846         * rt/bits/mqueue2.h: Likewise.
56847         * rt/mqueue.h: Likewise.
56848         * posix/bits/unistd.h: Likewise.
56849         * posix/unistd.h: Likewise.
56850         * io/bits/poll2.h: Likewise.
56851         * io/bits/fcntl2.h: Likewise.
56852         * io/fcntl.h: Likewise.
56853         * io/sys/poll.h: Likewise.
56854         * misc/bits/syslog.h: Likewise.
56855         * misc/bits/syslog-ldbl.h: Likewise.
56856         * misc/sys/syslog.h: Likewise.
56857         * socket/bits/socket2.h: Likewise.
56858         * socket/sys/socket.h: Likewise.
56859         * debug/tst-chk1.c: Likewise.
56860         * wcsmbs/bits/wchar2.h: Likewise.
56861         * wcsmbs/bits/wchar-ldbl.h: Likewise.
56862         * wcsmbs/wchar.h: Likewise.
56864 2012-04-29  Andreas Jaeger  <aj@suse.de>
56866         * Makerules (tests): Remove enable-check-abi protection.
56867         (check-abi-warn): Remove.
56868         (check-abi-%): Remove check-abi-warn usage.
56870         * configure.in: Remove check-abi configure option.
56871         * configure: Regenerated.
56872         * config.make.in (enable-check-abi): Remove.
56874 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
56876         [BZ #14033]
56877         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
56878         double functions to double *_finite functions.
56880         [BZ #13941]
56881         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
56882         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
56883         LDBL_MIN_EXP.
56884         * stdio-common/Makefile (tests): Add tst-sprintf3.
56885         * stdio-common/tst-sprintf3.c: New file.
56887         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
56888         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
56890 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56892         * conform/conformtest.pl: Remove duplicate typed-constant
56893         handling.
56895 2012-04-28  David S. Miller  <davem@davemloft.net>
56897         * Makerules (%.abilist): Add vpath on sysdep_dirs.
56898         (check-abi-%): Remove AWK script prerequisite and explicit
56899         abilist directory.
56900         (check-abi): Rewrite to just diff the symlist with the abilist.
56901         (config-tls, config-abi-config): Delete, no longer used.
56902         (update-abi-%): Remove AWK script and explicit abilist directory.
56903         (update-abi): Rewrite to simply compare and conditionally copy the
56904         symlist and the sysdep abilist file.  Remove update-abi-config
56905         checks.
56906         * abilist/ld.abilist: Remove.
56907         * abilist/libBrokenLocale.abilist: Remove.
56908         * abilist/libanl.abilist: Remove.
56909         * abilist/libcrypt.abilist: Remove.
56910         * abilist/libdl.abilist: Remove.
56911         * abilist/librt.abilist: Remove.
56912         * abilist/libthread_db.abilist: Remove.
56913         * abilist/libutil.abilist: Remove.
56914         * scripts/extract-abilist.awk: Remove.
56915         * scripts/merge-abilist.awk: Remove.
56916         * sysdeps/generic/libcidn.abilist: New file.
56917         * sysdeps/generic/libnss_compat.abilist: New file.
56918         * sysdeps/generic/libnss_db.abilist: New file.
56919         * sysdeps/generic/libnss_dns.abilist: New file.
56920         * sysdeps/generic/libnss_files.abilist: New file.
56921         * sysdeps/generic/libnss_hesiod.abilist: New file.
56922         * sysdeps/generic/libnss_nis.abilist: New file.
56923         * sysdeps/generic/libnss_nisplus.abilist: New file.
56924         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
56925         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
56926         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
56927         file.
56928         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
56929         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
56930         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
56931         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
56932         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
56933         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
56934         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
56935         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
56936         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
56937         file.
56938         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
56939         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
56940         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
56941         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
56942         file.
56943         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
56944         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
56945         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
56946         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
56947         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
56948         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
56949         file.
56950         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
56951         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
56952         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
56953         file.
56954         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
56955         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
56956         New file.
56957         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
56958         New file.
56959         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
56960         New file.
56961         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
56962         New file.
56963         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
56964         New file.
56965         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
56966         New file.
56967         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
56968         New file.
56969         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
56970         New file.
56971         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
56972         New file.
56973         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
56974         New file.
56975         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
56976         New file.
56977         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
56978         New file.
56979         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
56980         New file.
56981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
56982         file.
56983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
56984         New file.
56985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
56986         New file.
56987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
56988         file.
56989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
56990         New file.
56991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
56992         New file.
56993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
56994         file.
56995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
56996         New file.
56997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56998         New file.
56999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
57000         New file.
57001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
57002         New file.
57003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
57004         New file.
57005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
57006         New file.
57007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
57008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
57009         file.
57010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
57011         New file.
57012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
57013         file.
57014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
57015         file.
57016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
57017         file.
57018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
57019         file.
57020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
57021         file.
57022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57023         New file.
57024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
57025         file.
57026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
57027         file.
57028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
57029         New file.
57030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
57031         file.
57032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
57033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
57034         file.
57035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
57036         New file.
57037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
57038         file.
57039         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
57040         file.
57041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
57042         file.
57043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
57044         file.
57045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
57046         file.
57047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57048         New file.
57049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
57050         file.
57051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
57052         file.
57053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
57054         New file.
57055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
57056         file.
57057         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57058         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
57059         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
57060         file.
57061         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
57062         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
57063         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
57064         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
57065         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
57066         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
57067         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
57068         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
57069         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
57070         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
57071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
57072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
57073         file.
57074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
57075         New file.
57076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
57077         file.
57078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
57079         file.
57080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
57081         file.
57082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
57083         file.
57084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
57085         file.
57086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57087         New file.
57088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
57089         New file.
57090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
57091         file.
57092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
57093         New file.
57094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
57095         file.
57096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
57097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
57098         file.
57099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
57100         New file.
57101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
57102         file.
57103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
57104         file.
57105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
57106         file.
57107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
57108         file.
57109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
57110         file.
57111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57112         New file.
57113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
57114         New file.
57115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
57116         file.
57117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
57118         New file.
57119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
57120         file.
57122 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
57124         * conform/conformtest.pl: Fix typo in handling typed-constant from
57125         allow-header.
57127 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57129         * README: Cut down references to pre-2.6 Linux kernels and
57130         Linuxthreads.  Update lists of configurations in libc and ports
57131         and sort alphabetically.  Say "or newer" with Linux kernel version
57132         requirements.
57134         * config.h.in [IS_IN_build]: Allow compiling without optimization.
57136 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57138         [BZ #887]
57139         * math/libm-test.inc (logb_test_downward): New test to expose
57140         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
57141         rounding mode.
57143 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57145         [BZ #14027]
57146         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
57147         to be done.
57148         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
57149         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
57151 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
57153         * sysdeps/unix/i386/brk.S: Remove file.
57154         * sysdeps/unix/i386/dl-brk.S: Likewise.
57155         * sysdeps/unix/i386/pipe.S: Likewise.
57156         * sysdeps/unix/i386/sigreturn.S: Likewise.
57157         * sysdeps/unix/i386/syscall.S: Likewise.
57158         * sysdeps/unix/i386/vfork.S: Likewise.
57159         * sysdeps/unix/i386/wait.S: Likewise.
57161         * sysdeps/unix/common/tcsendbrk.c: Move to ...
57162         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
57164         * configure.in (arm*-none*): Do not allow without
57165         --enable-hacker-mode.
57166         (netbsd*): Remove case setting base_os.
57167         (386bsd*): Likewise.
57168         (freebsd*): Likewise.
57169         (bsdi*): Likewise.
57170         (osf*): Likewise.
57171         (sunos*): Likewise.
57172         (ultrix*): Likewise.
57173         (newsos*): Likewise.
57174         (dynix*): Likewise.
57175         (*bsd*): Likewise.
57176         (sysv*): Likewise.
57177         (isc*): Likewise.
57178         (esix*): Likewise.
57179         (sco*): Likewise.
57180         (minix*): Likewise.
57181         (irix4*): Likewise.
57182         (irix6*): Likewise.
57183         (solaris[2-9]*): Likewise.
57184         (none): Likewise.
57185         * configure: Regenerated.
57187 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57189         [BZ #11521]
57190         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
57191         overflow or cancellation in calculating denominator.
57192         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
57193         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
57194         down expression to avoid unexpected rounding in newer GCCs.
57195         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
57197 2012-04-26  David S. Miller  <davem@davemloft.net>
57199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
57200         long-double compat symbols.
57201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
57203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
57204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
57205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
57206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
57207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
57208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
57209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
57210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
57211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
57212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
57213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57215 2012-04-25  David S. Miller  <davem@davemloft.net>
57217         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
57218         HWCAP_* values only after the memory barriers have been defined.
57219         (atomic_full_barrier): Define.
57220         (atomic_read_barrier): Define.
57221         (atomic_write_barrier): Define.
57223 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57225         * shlib-versions: Add libgcc_s version information.
57226         * sysdeps/generic/libgcc_s.h: Remove.
57227         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
57228         libgcc_s.h.
57229         * sysdeps/gnu/unwind-resume.c: Likewise.
57230         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
57232 2012-04-25  David S. Miller  <davem@davemloft.net>
57234         * sysdeps/unix/sparc/brk.S: Delete.
57235         * sysdeps/unix/sparc/dl-brk.S: Delete.
57236         * sysdeps/unix/sparc/pipe.S: Delete.
57237         * sysdeps/unix/sparc/sysdep.S: Delete.
57238         * sysdeps/unix/sparc/sysdep.h: Delete.
57239         * sysdeps/unix/sparc/vfork.S: Delete.
57240         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
57241         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
57242         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
57243         (ret_ERRVAL, r0, r1, MOVE): Define.
57244         (JUMPTARGET): Remove.
57245         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
57246         sysdeps/unix/sparc/sysdep.h
57247         (ENTRY, END): Remove.
57248         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57250 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
57252         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
57253         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
57254         -DIS_IN_build.
57256         * timezone/README: Update upstream location and email address for
57257         tzcode and tzdata.
57258         * timezone/zdump.c: Update from tzcode 2012b.
57259         * timezone/zic.c: Likewise.
57261         * configure.in (libc_cv_as_needed): Remove test.
57262         * configure: Regenerated.
57263         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
57264         conditional definition.
57265         [$(have-as-needed) != yes] (no-as-needed): Likewise.
57266         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
57267         * config.make.in (have-as-needed): Remove variable.
57269 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57270             Paul Pluzhnikov  <ppluzhnikov@google.com>
57272         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
57273         strings correctly.
57275 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
57277         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
57278         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
57279         * sysdeps/sh/strlen.S: Likewise.
57281 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57283         * sysdeps/unix/fork.S: Remove file.
57284         * sysdeps/unix/i386/fork.S: Likewise.
57285         * sysdeps/unix/sparc/fork.S: Likewise.
57287         * sysdeps/unix/system.c: Remove file.
57288         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
57290         * sysdeps/unix/getegid.S: Remove file.
57291         * sysdeps/unix/geteuid.S: Likewise.
57293 2012-04-24  Roland McGrath  <roland@hack.frob.com>
57295         * scripts/check-localplt.awk: New file.
57296         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
57297         of diff.
57298         * scripts/data/localplt-generic.data: Add a comment.
57300         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
57301         NODE when __dir_mkfile failed.
57302         * sysdeps/mach/hurd/symlinkat.c: Likewise.
57303         Reported by Ludovic Courtès <ludo@gnu.org>.
57305 2012-04-24  Andreas Jaeger  <aj@suse.de>
57307         * Makerules (common-clean): Also remove gen-as-const-headers
57308         files.
57310 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57312         * Makerules (native-compile): Do not change working directory for
57313         build.  Use $(OUTPUT_OPTION) in command.
57314         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
57316 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57318         [BZ #13886]
57319         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
57320         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
57321         * math/libm-test.inc (floor_test): Add more tests.
57322         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
57324 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57326         * sysdeps/unix/getdents.c: Remove file.
57327         * sysdeps/unix/sysv/getdents.c: Likewise.
57328         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
57330         * sysdeps/unix/syscalls.list (madvise): Add syscall from
57331         sysdeps/unix/mman/syscalls.list.
57332         (mmap): Likewise.
57333         (mprotect): Likewise.
57334         (msync): Likewise.
57335         (munmap): Likewise.
57336         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
57337         * sysdeps/unix/mman/syscalls.list: Remove.
57338         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
57340         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
57341         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
57342         * configure: Regenerated.
57343         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
57344         $(libgcc_s_suffix).
57345         * config.make.in (libgcc_s_suffix): Remove variable.
57347 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
57349         * sysdeps/unix/sysv/gethostname.c: Move to ...
57350         * sysdeps/posix/gethostname.c: ... here.
57352         * sysdeps/unix/execve.S: Remove file.
57354         * sysdeps/unix/_exit.S: Remove file.
57356 2012-04-23  Andreas Jaeger  <aj@suse.de>
57358         [BZ #13739]
57359         * manual/Makefile: Remove make dist support, there's no
57360         need for a stand-alone documentation tar ball.
57361         (TEXI2DVI): Define always, it's not in Makeconfig.
57362         (dist): Removed.
57363         (tar-it): Removed.
57364         (edition): Removed.
57365         (glibc-doc-$(edition).tar): Removed
57366         (%.Z): Removed.
57367         (%.gz): Removed.
57368         (%.uu): Removed.
57369         (ETAGS): Remove, it's in Makeconfig.
57370         (move-if-change): Remove, it's in Makeconfig.
57372 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
57374         [BZ #13970]
57375         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
57376         (strtod, strtof, strtold, strtol, strtoul, strtoq)
57377         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
57378         (strtod_l, strtof_l, strtold_l): Remove __wur.
57379         It is not necessarily an error to ignore strtol's return value.
57380         One can reliably look at the stored endptr to decide whether
57381         the number had valid syntax.
57383 2012-04-21  Andreas Jaeger  <aj@suse.de>
57385         [BZ #13739]
57386         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
57388 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
57390         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
57391         * sysdeps/unix/sysv/Versions: Remove file.
57393 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
57395         [BZ #13927]
57396         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57398 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
57400         [BZ #7064]
57401         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
57402         version from __vm86.
57404 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
57406         * sysdeps/unix/common/lxstat.c: Remove file.
57407         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
57409         * sysdeps/unix/sysv/Makefile: Remove file.
57411         * sysdeps/unix/sysv/direct.h: Remove file.
57413         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
57414         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
57415         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
57416         * sysdeps/unix/sysv/bits/signum.h: Likewise.
57417         * sysdeps/unix/sysv/bits/stat.h: Likewise.
57418         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
57419         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
57421         * sysdeps/unix/sysv/setrlimit.c: Remove file.
57423         * sysdeps/unix/xmknod.c: Remove file.
57424         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
57426         * sysdeps/unix/sysv/settimeofday.c: Remove file.
57428         * sysdeps/unix/sysv/i386/time.S: Remove file.
57430         * sysdeps/unix/fxstat.c: Remove file.
57431         * sysdeps/unix/xstat.c: Likewise.
57432         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
57434         * sysdeps/unix/sysv/sigaction.c: Remove file.
57436         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
57437         (sysdep_headers): Remove variable.
57438         [termio.h not in sysdep_headers] (generated): Likewise.
57439         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
57440         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
57441         * sysdeps/unix/sysv/tcdrain.c: Likewise.
57442         * sysdeps/unix/sysv/tcflow.c: Likewise.
57443         * sysdeps/unix/sysv/tcflush.c: Likewise.
57444         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
57445         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
57446         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
57447         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
57448         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
57450         * sysdeps/unix/siglist.c: Remove file.
57452         * sysdeps/unix/getppid.S: Remove file.
57454         * sysdeps/unix/mkdir.c: Remove file.
57455         * sysdeps/unix/rmdir.c: Likewise.
57457 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
57459         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
57460         ERR_MAX value.
57461         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
57462         errlist-compat value.
57464 2012-04-18  David S. Miller  <davem@davemloft.net>
57466         * sysdeps/generic/memcopy.h (reg_char): Delete.
57467         * debug/strcat_chk.c: Use char, not reg_char.
57468         * debug/strcpy_chk.c: Likewise.
57469         * debug/strncat_chk.c: Likewise.
57470         * debug/strncpy_chk.c: Likewise.
57471         * string/memchr.c: Likewise.
57472         * string/memrchr.c: Likewise.
57473         * string/rawmemchr.c: Likewise.
57474         * string/strcat.c: Likewise.
57475         * string/strchr.c: Likewise.
57476         * string/strchrnul.c: Likewise.
57477         * string/strcmp.c: Likewise.
57478         * string/strcpy.c: Likewise.
57479         * string/strncat.c: Likewise.
57480         * string/strncmp.c: Likewise.
57481         * string/strncpy.c: Likewise.
57483 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57485         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
57486         __builtin_memcopy is called when src and dest ranges are known to not
57487         overlap.
57489 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57491         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
57492         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
57493         fwd_align_merge macro call.
57494         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
57495         bwd_align_merge macro call.
57496         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57498 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57500         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
57501         bwd_align_merge macros.
57502         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
57503         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
57504         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57506 2012-04-18  David S. Miller  <davem@davemloft.net>
57508         * sysdeps/sparc/sparc64/memcopy.h: Delete.
57510 2012-04-18  Andreas Jaeger  <aj@suse.de>
57512         [BZ# 6794]
57513         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
57514         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
57515         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57517         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
57518         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
57519         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57521         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
57522         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
57523         Adjust for changed ldbl-128 files.
57525         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
57526         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
57527         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57529 2012-04-17  David S. Miller  <davem@davemloft.net>
57531         * sysdeps/sparc/sparc32/memcopy.h: Delete.
57533 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
57535         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
57536         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
57537         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
57538         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
57539         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57540         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
57542 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57544         [BZ #6794]
57545         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
57546         * math/libm-test.inc: Add ilogb errno and exception tests.
57547         * math/w_ilogb.c: New file: ilogb wrapper.
57548         * math/w_ilogbf.c: New file: ilogbf wrapper.
57549         * math/w_ilogbl.c: New file: ilogbl wrapper.
57550         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
57551         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
57552         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
57553         exception being thrown with 0.0 as argument.
57554         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
57555         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
57556         exception being thrown with 0.0 as argument.
57557         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
57558         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57559         exception being thrown with 0.0 as argument.
57560         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
57561         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57562         exception being thrown with 0.0 as argument.
57563         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
57564         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
57565         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
57566         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
57567         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
57568         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
57569         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
57570         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
57571         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
57573 2012-04-17  Petr Baudis  <pasky@ucw.cz>
57575         * include/sys/uio.h: Change __vector to __iovec to avoid clash
57576         with altivec.
57578 2012-04-16  Marek Polacek  <polacek@redhat.com>
57580         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
57582 2012-04-16  Marek Polacek  <polacek@redhat.com>
57584         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
57585         operands of fdivp instruction.
57587 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57589         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
57590         * elf/tst-auditmod3b.c: Likewise.
57591         * elf/tst-auditmod4b.c: Likewise.
57592         * elf/tst-auditmod5b.c: Likewise.
57593         * elf/tst-auditmod6b.c: Likewise.
57594         * elf/tst-auditmod6c.c: Likewise.
57595         * elf/tst-auditmod7b.c: Likewise.
57596         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
57597         * sysdeps/x86_64/preconfigure.in: Likewise.
57598         * sysdeps/x86_64/preconfigure: Regenerated.
57600 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57602         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
57603         __ILP32__.
57605 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
57607         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57608         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
57610 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
57612         [BZ #13973]
57613         * locale/iso-639.def: Fix gl language name. Spotted by
57614         Yaron Shahrabani.
57616 2012-04-12  Roland McGrath  <roland@hack.frob.com>
57618         [BZ #2074]
57619         * libio/libio.h (__io_write_fn): Update comment.
57621 2012-04-12  Petr Baudis  <pasky@ucw.cz>
57623         [BZ #2074]
57624         * stdio.texi (Hook Functions): The user provided writer function
57625         is not allowed to return -1.
57627 2012-04-11  David S. Miller  <davem@davemloft.net>
57629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57631 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
57633         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
57634         Add a leading slash to rtkaio.
57636 2012-04-11  Jim Meyering  <meyering@redhat.com>
57638         [BZ #11959]
57639         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
57640         It is not necessarily an error to ignore fwrite's return
57641         value.  One can reliably use ferror to test for errors after
57642         the fact.
57644 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57646         * bits/types.h (__snseconds_t): New type.
57647         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
57649         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
57650         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57651         (__SNSECONDS_T_TYPE): Likewise.
57652         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57653         (__SNSECONDS_T_TYPE): Likewise.
57654         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57655         (__SNSECONDS_T_TYPE): Likewise.
57657 2012-04-10  Andreas Jaeger  <aj@suse.de>
57659         [BZ #2636]
57660         * manual/time.texi (Processor Time): Return type of times is
57661         elapsed real time since an arbitrary point in the past.
57662         (CPU Time): Move CLK_TCK from here...
57663         (Processor Time): ...to here.  Correct description.
57664         * manual/conf.texi (Constants for Sysconf): Correct description of
57665         _SC_CLK_TCK.
57667 2012-04-10  David S. Miller  <davem@davemloft.net>
57669         [BZ #13967]
57670         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
57671         where the is a gap between DT_REL(A) and DT_JMPREL.
57673 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57675         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
57676         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57677         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57679 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57681         * elf/dl-support.c (_dl_inhibit_cache): New variable.
57682         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
57683         (dl_main): Handle --inhibit-cache.
57684         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
57685         _dl_inhibit_cache.
57686         * elf/dl-load.c (_dl_map_object): Use it.
57687         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
57689 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57691         [BZ #13872]
57692         * sysdeps/i386/fpu/e_powl.S (p78): New object.
57693         (__ieee754_powl): Saturate large exponents rather than testing for
57694         overflow of y*log2(x).
57695         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57696         * math/libm-test.inc (pow_test): Do not permit spurious overflow
57697         exceptions.
57699         [BZ #11521]
57700         * math/s_ctan.c: Include <float.h>.
57701         (__ctan): Avoid internal overflow or cancellation in calculating
57702         denominator.
57703         * math/s_ctanf.c: Likewise.
57704         * math/s_ctanl.c: Likewise.
57705         * math/s_ctanh.c: Likewise.
57706         * math/s_ctanhf.c: Likewise.
57707         * math/s_ctanhl.c: Likewise.
57708         * math/libm-test.inc (ctan_test): Add more tests.
57709         (ctanh_test): Likewise.
57710         * sysdeps/i386/fpu/libm-test-ulps: Update.
57711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57713 2012-04-09  Andreas Jaeger  <aj@suse.de>
57715         [BZ #6894]
57716         * manual/filesys.texi (Directory Entries): Mention that d_namlen
57717         is an optional BSD extension.
57719         [BZ #10254]
57720         * manual/stdio.texi (Opening Streams): Document additional fopen
57721         parameters.
57723 2012-04-09  Roland McGrath  <roland@hack.frob.com>
57725         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
57726         %eax without telling the compiler.
57728 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
57730         [BZ # 13963]
57731         * manual/install.texi: Use sourceware.org.
57733 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57735         [BZ #13873]
57736         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
57737         (__ieee754_pow): Generate overflow and underflow using huge*huge
57738         and tiny*tiny rather than just returning constant infinity or zero
57739         for large exponents.
57740         * math/libm-test.inc (pow_test): Require overflow exceptions for
57741         applicable cases of large exponents.
57743         [BZ #706]
57744         * sysdeps/i386/fpu/e_pow.S (p10): New object.
57745         (__ieee754_pow): Use iterative multiplication algorithm only for
57746         integer exponents with absolute value below 1024.  Check for odd
57747         integer exponents when using algorithm for real exponents.
57748         * math/libm-test.inc (pow_test): Add more tests.
57749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57751 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
57753         [BZ #13705]
57754         * math/libm-test.inc (exp_test): Do not allow overflow exception
57755         on underflow test.
57757 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
57759         [BZ #13705]
57760         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
57761         instead of __kernel_standard_f.
57763 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
57765         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
57766         * sysdeps/x86_64/memset_chk.S: Likewise.
57768 2012-04-08  Andreas Jaeger  <aj@suse.de>
57770         [BZ #10153]
57771         * manual/startup.texi (Environment Access): Describe return value
57772         for putenv and setenv.
57774         [BZ #6895]
57775         * manual/filesys.texi (Directory Entries): Add description for
57776         DT_LNK.
57778         [BZ #6890]
57779         * manual/filesys.texi (Directory Entries): Clarify that it's file
57780         system not operating system in the description of DT_UNKNOWN.
57782         [BZ #6578]
57783         * manual/syslog.texi (closelog): Fix reference, it's openlog.
57785 2012-04-08  Stephen Compall  <s11@member.fsf.org>
57787         [BZ #6649]
57788         * manual/llio.texi (Opening and Closing Files): Add cross
57789         reference to explain mode argument.
57791 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
57793         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
57794         * sysdeps/x86_64/memset_chk.S: Likewise.
57796 2012-04-07  David S. Miller  <davem@davemloft.net>
57798         * elf/elf.h (R_SPARC_WDISP10): Define.
57799         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
57800         R_SPARC_SIZE32.
57801         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
57802         R_SPARC_SIZE64 and R_SPARC_H34.
57804 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
57806         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
57807         conditions and remove no longer applicable assertion.
57809 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57811         * bits/byteswap.h: Include <features.h>.
57812         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57813         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57815 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57817         * bits/byteswap.h (__bswap_16): Removed.
57818         Include <bits/byteswap-16.h> to get __bswap_16.
57819         * sysdeps/i386/bits/byteswap.h: Likewise.
57820         * sysdeps/s390/bits/byteswap.h: Likewise.
57821         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57822         * bits/byteswap-16.h: New file.
57823         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57824         * sysdeps/s390/bits/byteswap-16.h: Likewise.
57825         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
57826         * string/Makefile (headers): Add bits/byteswap-16.h.
57828 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57830         [BZ #13895]
57831         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
57832         extra indirection.
57833         * nss/Makefile (tests-static, tests): Add tst-nss-static.
57834         * nss/tst-nss-static.c: New.
57836 2012-04-06  Robert Millan  <rmh@gnu.org>
57838         [BZ #6486]
57839         * manual/llio.texi (File Position Primitive): lseek
57840         refers to WHENCE when it really means OFFSET.
57842 2012-04-06  Andreas Jaeger  <aj@suse.de>
57844         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
57845         strncmp declarations.
57847         * abilist/libc.abilist: Add __poll and __ppoll.
57849 2012-04-05  David S. Miller  <davem@davemloft.net>
57851         * scripts/check-local-headers.sh: Accept a host triplet in the
57852         path matched by the exclude regexp.
57854         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
57855         definition.
57856         * sysdeps/powerpc/powerpc32/dl-machine.h
57857         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
57858         * sysdeps/s390/s390-32/dl-machine.h
57859         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57860         * sysdeps/sparc/sparc32/dl-machine.h
57861         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57862         * sysdeps/sparc/sparc64/dl-machine.h
57863         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57865         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
57866         lazy binding.
57867         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
57868         undefined symbol errors.
57870         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
57871         DT_NEEDED entries.
57873 2012-04-05  Michael Matz  <matz@suse.de>
57875         [BZ #13592]
57876         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
57878 2012-04-05  Andreas Jaeger  <aj@suse.de>
57880         [BZ #13908]
57881         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
57882         comment.
57884 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57886         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
57887         which ROUND is no valid rounding mode.
57889 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57891         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
57892         read again.
57893         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
57895 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57897         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
57898         an exception using FPU order intentionally.
57900 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57902         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
57903         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
57904         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
57905         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
57907 2012-04-05  Simon Josefsson  <simon@josefsson.org>
57909         [BZ #12340]
57910         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
57911         EINVAL when BUFLEN is too smal.
57913 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57915         [BZ #13553]
57916         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
57917         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
57919 2012-04-03  Andreas Jaeger  <aj@suse.de>
57921         [BZ #13938]
57922         * manual/setjmp.texi (System V contexts): Fix sentence.
57924         [BZ #13926]
57925         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
57926         New macro for this case.
57927         [!__GNUC__] (__bswap_64): New inline function for this case.
57928         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57929         * bits/byteswap.h: Likewise.
57930         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
57931         ull, guard with __GLIBC_HAVE_LONG_LONG.
57933         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
57934         __GLIBC_HAVE_LONG_LONG.
57936         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
57937         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
57939 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57941         [BZ #13691]
57942         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
57943         inptr and inend, rather than using last_ch.
57945 2012-04-02  David S. Miller  <davem@davemloft.net>
57947         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
57948         * stdio-common/printf-parse.h (read_int): Change return type to
57949         'int', return -1 on INT_MAX overflow.
57950         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
57951         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
57952         overflows INT_MAX.  Check for overflow of in-format-string precision
57953         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
57954         SIZE_MAX not INT_MAX for integer overflow test.
57955         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
57956         skip the construct in the format string but do not record anything.
57957         * stdio-common/bug22.c: Adjust to test both width/prevision
57958         INT_MAX overflow as well as total length INT_MAX overflow.  Check
57959         explicitly for proper errno values.
57961 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57963         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
57964         CHAR_MAX.
57965         * string/test-strcmp.c [! WIDE]: Likewise.
57966         * time/tst-mktime2.c: Likewise for INT_MAX.
57967         * string/test-string.h: #include <sys/param.h> for MIN.
57969         * csu/init-first.c (__libc_init_first): Call __ctype_init.
57970         * sysdeps/i386/init-first.c (init): Likewise.
57971         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
57972         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
57973         * sysdeps/sh/init-first.c (init): Likewise.
57975 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
57977         * po/ru.po: Update from translation team.
57978         * po/vi.po: Likewise.
57980 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57982         * resolv/nss_dns/dns-host.c: Merge copyright years.
57984 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57986         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57987         Optimize memcpy with prefetch if
57988         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
57989         src, dst pointers have unequal 16 byte alignments.
57991 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57993         [BZ #13928]
57994         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
57995         from a CNAME entry and return the minimum ttl for the query.
57996         (gaih_getanswer_slice): Likewise.
57998 2012-03-30  Jeff Law  <law@redhat.com>
58000         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
58001         due to long keys.
58002         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
58003         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
58005         * resolv/nss_dns/dns-host.c: Update copyright year.
58007 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
58009         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
58010         requests to save a system call.  Fix check that all bytes are sent.
58012         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
58013         comments for sendmmsg.
58015 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58017         [BZ #13691]
58018         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
58019         with only 1 character between 0x0041 and 0x01b0.
58020         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
58021         * wcsmbs/tst-mbsnrtowcs.c: New file.
58023 2012-03-29  David S. Miller  <davem@davemloft.net>
58025         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
58026         small copies by hand.
58028 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58030         [BZ #13761]
58031         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
58032         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
58033         group memberships.
58035 2012-03-28  David S. Miller  <davem@davemloft.net>
58037         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
58038         that branches into memcpy.
58039         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58040         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
58041         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58042         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
58043         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
58044         bits.
58045         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
58046         implementation too.
58047         * sysdeps/sparc/mempcpy.S: New file.
58049         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
58050         the IFUNC routine in the libc case.
58051         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58053         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
58054         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
58055         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
58056         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
58057         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
58058         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
58059         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
58060         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
58062         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
58063         loop to 256 bytes instead of 64 bytes and fix test signedness.
58065         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
58066         * sysdeps/sparc/sparc32/Makefile: rather than here...
58067         * sysdeps/sparc/sparc64/Makefile: and here.
58069 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
58071         * malloc/mallocbug.c: Avoid warnings about unused variables.
58073 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58075         [BZ #13760]
58076         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
58077         in the right place. Discard and retry query if response is
58078         larger than input buffer size.
58080 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
58082         [BZ #369]
58083         [BZ #2678]
58084         [BZ #3866]
58085         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
58086         x for large integer exponent.
58087         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58088         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
58089         sign of result as needed afterwards.
58090         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58091         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
58092         result for underflowing pow the same as for overflow.
58093         (__kernel_standard_l): Handle powl overflow and underflow here
58094         rather than calling __kernel_standard.
58095         * math/libm-test.inc (pow_test): Add more tests.
58097         [BZ #3868]
58098         [BZ #13879]
58099         [BZ #13910]
58100         [BZ #13911]
58101         [BZ #13912]
58102         [BZ #13913]
58103         [BZ #13915]
58104         [BZ #13916]
58105         [BZ #13917]
58106         [BZ #13918]
58107         [BZ #13919]
58108         [BZ #13920]
58109         [BZ #13921]
58110         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
58111         * sysdeps/ieee754/k_standard.c: Include <float.h>.
58112         (__kernel_standard_l): New function.
58113         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
58114         __kernel_standard.
58115         * math/w_acosl.c (__acosl): Likewise.
58116         * math/w_asinl.c (__asinl): Likewise.
58117         * math/w_atan2l.c (__atan2l): Likewise.
58118         * math/w_atanhl.c (__atanhl): Likewise.
58119         * math/w_coshl.c (__coshl): Likewise.
58120         * math/w_exp10l.c (__exp10l): Likewise.
58121         * math/w_exp2l.c (__exp2l): Likewise.
58122         * math/w_fmodl.c (__fmodl): Likewise.
58123         * math/w_hypotl.c (__hypotl): Likewise.
58124         * math/w_j0l.c (__j0l, __y0l): Likewise.
58125         * math/w_j1l.c (__j1l, __y1l): Likewise.
58126         * math/w_jnl.c (__jnl, __ynl): Likewise.
58127         * math/w_lgammal.c (__lgammal): Likewise.
58128         * math/w_log10l.c (__log10l): Likewise.
58129         * math/w_log2l.c (__log2l): Likewise.
58130         * math/w_logl.c (__logl): Likewise.
58131         * math/w_powl.c (__powl): Likewise.
58132         * math/w_remainderl.c (__remainderl): Likewise.
58133         * math/w_scalbl.c (sysv_scalbl): Likewise.
58134         * math/w_sinhl.c (__sinhl): Likewise.
58135         * math/w_sqrtl.c (__sqrtl): Likewise.
58136         * math/w_tgammal.c (__tgammal): Likewise.
58137         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
58138         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
58139         * math/libm-test.inc (acos_test): Add more tests.
58140         (acosh_test): Likewise.
58141         (asin_test): Likewise.
58142         (atanh_test): Likewise.
58143         (exp_test): Likewise.
58144         (exp10_test): Likewise.
58145         (exp2_test): Likewise.
58146         (expm1_test): Likewise.
58147         (lgamma_test): Likewise.
58148         (log_test): Likewise.
58149         (log10_test): Likewise.
58150         (log1p_test): Likewise.
58151         (log2_test): Likewise.
58152         (pow_test): Do not allow some spurious overflow exceptions.
58153         (sqrt_test): Add more tests.
58154         (tgamma_test): Likewise.
58155         (y0_test): Likewise.
58156         (y1_test): Likewise.
58157         (yn_test): Likewise.
58159 2012-03-27  Anton Blanchard  <anton@samba.org>
58161         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
58162         MAP_HUGETLB.
58163         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58164         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58165         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58167 2012-03-27  David S. Miller  <davem@davemloft.net>
58169         * conform/Makefile: Run run-conformtest.sh using $(BASH).
58171         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
58172         have-as-vis3 check.
58174 2012-03-27  Andreas Jaeger  <aj@suse.de>
58176         * sysdeps/x86_64/elf/configure.in: Moved to ...
58177         * sysdeps/x86_64/configure.in: ... here.
58178         * sysdeps/x86_64/elf/start.S: Moved to ...
58179         * sysdeps/x86_64/start.S: ... here.
58180         * sysdeps/x86_64/elf/configure: Delete.
58182         * sysdeps/x86_64/configure.in: Merge contents from
58183         sysdeps/i386/configure.in (without i686 check).
58185         * sysdeps/i386/elf/Versions: Merge into ...
58186         * sysdeps/i386/Versions: ... this.
58187         * sysdeps/i386/elf/Versions: Delete file.
58188         * sysdeps/i386/elf/start.S: Moved to ...
58189         * sysdeps/i386/start.S: ...here.
58190         * sysdeps/i386/elf/configure.in: Merge into...
58191         * sysdeps/i386/configure.in: ...here.
58192         * sysdeps/i386/elf/configure.in: Delete file.
58193         * sysdeps/i386/elf/configure: Delete file.
58195         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
58196         * debug/backtracesyms.c: ... here.
58197         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
58198         * debug/backtracesymsfd.c: ... here.
58199         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
58200         * sysdeps/generic/ifunc-sel.h: ... here.
58202         * sysdeps/unix/i386/start.c: Delete file.
58203         * sysdeps/unix/sparc/start.c: Delete file.
58204         * sysdeps/unix/start.c: Delete file.
58206         * sysdeps/sh/elf/configure.in: Moved to ...
58207         * sysdeps/sh/configure.in: ... here.
58208         * sysdeps/sh/elf/start.S: Moved to ...
58209         * sysdeps/sh/start.S: ... here.
58210         * sysdeps/sh/elf/configure: Delete file.
58212         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
58213         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
58214         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
58215         * sysdeps/powerpc/powerpc64/entry.h: ... here.
58216         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
58217         * sysdeps/powerpc/powerpc64/start.S: here.
58218         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
58219         * sysdeps/powerpc/powerpc64/Makefile: ... this.
58220         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
58221         * sysdeps/powerpc/powerpc64/configure.in: ... this.
58222         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
58224         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
58225         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
58226         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
58227         * sysdeps/powerpc/powerpc32/start.S: ... here.
58228         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
58229         * sysdeps/powerpc/powerpc32/configure.in: ... this.
58230         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
58232         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
58233         * sysdeps/powerpc/ifunc-sel.h: ... here.
58234         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
58235         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
58237         * sysdeps/sparc/elf/configure.in: Moved to ...
58238         * sysdeps/sparc/configure.in: ... here.
58239         * sysdeps/sparc/elf/configure: Delete file.
58240         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
58241         * sysdeps/sparc/sparc32/start.S: ... here.
58242         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
58243         * sysdeps/sparc/sparc64/start.S: ... here.
58244         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
58245         * sysdeps/sparc/sparc32/Makefile: ... this.
58246         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
58247         * sysdeps/sparc/sparc64/Makefile: ... this.
58249         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
58250         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
58251         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
58252         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
58253         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
58254         * sysdeps/s390/s390-32/setjmp.S: ... here.
58255         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
58256         * sysdeps/s390/s390-32/configure.in: ... here.
58257         * sysdeps/s390/s390-32/elf/configure: Delete file.
58258         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
58259         * sysdeps/s390/s390-32/start.S: ... here.
58261         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
58262         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
58263         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
58264         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
58265         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
58266         * sysdeps/s390/s390-64/setjmp.S: ... here.
58267         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
58268         * sysdeps/s390/s390-64/configure.in: ... here
58269         * sysdeps/s390/s390-64/elf/configure: Delete file.
58270         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
58271         * sysdeps/s390/s390-64/start.S: ... here.
58272         * sysdeps/s390/s390-64/elf/configure: Delete.
58274         * configure.in: Remove support for elf directories in sysdeps.
58276         * configure: Regenerated.
58277         * sysdeps/i386/configure: Regenerated.
58278         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58279         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58280         * sysdeps/s390/s390-32/configure: Regenerated.
58281         * sysdeps/s390/s390-64/configure: Regenerated.
58282         * sysdeps/sh/configure: Regenerated.
58283         * sysdeps/sparc/configure: Regenerated.
58284         * sysdeps/x86_64/configure: Regenerated.
58286 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
58288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58290         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
58291         denormal result into account.
58293 2012-03-25  Roland McGrath  <roland@hack.frob.com>
58295         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
58296         Reported by Allan McRae <allan@archlinux.org>.
58298 2012-03-23  Jeff Law  <law@redhat.com>
58300         * nss/getnssent.c (__nss_getent): Fix typo.
58302 2012-03-23  David S. Miller  <davem@davemloft.net>
58304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58306 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
58308         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
58309         to pad to uint64_t for each field.
58310         (dl_tls_index): Replace unsigned long with uint64_t.
58312 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
58313         Paul Pluzhnikov  <ppluzhnikov@google.com>
58315         [BZ #6528]
58316         * grp/Makefile (otherlibs): Don't set it.
58317         * inet/Makefile (otherlibs): Likewise.
58318         * login/Makefile (otherlibs): Likewise.
58319         * nscd/Makefile (otherlibs): Likewise.
58320         * posix/Makefile (otherlibs): Likewise.
58321         * pwd/Makefile (otherlibs): Likewise.
58322         * rt/Makefile (otherlibs): Likewise.
58323         * sunrpc/Makefile (otherlibs): Likewise.
58324         * nss/Makefile (otherlibs): Likewise.
58325         Add libnss_files to routines and static-only-routines.
58326         ($(objpfx)getent): Remove rule.
58327         * resolv/Makefile: Add libnss_dns and libresolv to routines and
58328         static-only-routines.
58330 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58332         [BZ #13892]
58333         * math/s_cexp.c: Include <float.h>.
58334         (__cexp): Handle exp result overflowing not necessarily
58335         overflowing both real and imaginary parts of result.
58336         * math/s_cexpf.c: Likewise.
58337         * math/s_cexpl.c: Likewise.
58338         * math/libm-test.inc (cexp_test): Add more tests.
58339         * sysdeps/i386/fpu/libm-test-ulps: Update.
58340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58342 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58344         * include/link.h (ELFW): New macro.
58345         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
58346         Replace ELF64_R_TYPE with ELFW(R_TYPE).
58348 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58350         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
58351         with uint64_t.
58353 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58355         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
58356         declaration.
58357         (struct La_x32_retval): Likewise.
58359 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58361         * sysdeps/x86_64/preconfigure.in: New file.
58362         * sysdeps/x86_64/preconfigure: New generated file.
58364 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58366         [BZ #13824]
58367         * math/e_exp2l.c: Include <float.h>.
58368         (__ieee754_exp2l): Handle overflow and underflow cases
58369         separately.  Only pass fractional part of argument to
58370         __ieee754_expl.
58371         * math/libm-test.inc (exp2_test): Add more tests.
58373         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
58374         negating x to take absolute value.
58375         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
58376         Likewise.
58377         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58378         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
58379         Likewise.
58380         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
58381         computing low part if x was negated.
58382         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58384 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58386         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
58387         la_x32_gnu_pltexit.
58388         (pltexit): Cast int_retval to ptrdiff_t.
58389         * elf/tst-auditmod3b.c: Likewise.
58390         * elf/tst-auditmod4b.c: Likewise.
58391         * elf/tst-auditmod5b.c: Likewise.
58392         * elf/tst-auditmod6b.c: Likewise.
58393         * elf/tst-auditmod6c.c: Likewise.
58394         * elf/tst-auditmod7b.c: Likewise.
58396         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
58397         and x32_gnu_pltexit.
58399         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
58400         __ELF_NATIVE_CLASS.
58401         (La_x32_regs): New macro.
58402         (La_x32_retval): Likewise.
58403         (la_x32_gnu_pltenter): New function prototype.
58404         (la_x32_gnu_pltexit): Likewise.
58406 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
58408         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
58409         exponent.
58411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58413         * configure.in (libc_cv_cc_nofma): Check for option to disable
58414         generation of FMA instructions.
58415         * configure: Regenerate.
58416         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
58417         * sysdeps/ieee754/dbl-64/Makefile: New file.
58418         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
58419         Remove brandred-fma4.
58420         (CFLAGS-brandred-fma4.c): Remove.
58421         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
58422         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
58423         define.
58424         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
58425         define.
58427 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58429         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58430         LLONG_MAX != LONG_MAX.
58431         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58432         (_fitoa_word): Likewise.
58433         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
58434         LLONG_MAX != LONG_MAX.
58435         * stdio-common/_itowa.h: Include <_itoa.h>.
58436         (_itowa_word): Use _ITOA_WORD_TYPE on value.
58437         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
58438         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
58439         only if not defined.
58440         (_ITOA_WORD_TYPE): Likewise.
58441         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58442         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
58444 2012-03-21  David S. Miller  <davem@davemloft.net>
58446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58448 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58450         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
58451         of x86_64 when setting libc_cv_slibdir, libdir and
58452         libc_cv_localedir.
58453         * sysdeps/unix/sysv/linux/configure: Regenerated.
58455 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58457         * manual/lang.texi (Old Varargs): Remove section.
58458         (How Variadic): Update menu.
58459         (va_start): Do not mention varargs.h.
58461 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58462             Joseph Myers  <joseph@codesourcery.com>
58464         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
58465         link test.
58466         * configure: Regenerated.
58468 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58470         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
58471         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
58472         conformtest.pl
58474 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58476         * NOTES: Remove.
58477         * Makefile (files-for-dist): Remove NOTES.
58478         (NOTES): Remove rule.
58479         * README: Don't refer to NOTES.
58480         * manual/creature.texi: Don't include macros.texi.
58481         * manual/intro.texi (creature.texi): Remove comment referring to
58482         NOTES.
58484         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
58485         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
58486         * configure: Regenerated.
58487         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
58488         LIBC_TRY_CC_OPTION.
58489         (libc_cv_as_i686): Likewise.
58490         (libc_cv_cc_avx): Likewise.
58491         (libc_cv_cc_sse2avx): Likewise.
58492         (libc_cv_cc_fma4): Likewise.
58493         (libc_cv_cc_novzeroupper): Likewise.
58494         * sysdeps/i386/configure: Regenerated.
58496         [BZ #13883]
58497         * sysdeps/i386/fpu/s_cexp.S: Remove.
58498         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58499         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58500         * math/libm-test.inc (cexp_test): Add more tests.
58501         * sysdeps/i386/fpu/libm-test-ulps: Update.
58502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58504 2012-03-21  Allan McRae  <allan@archlinux.org>
58506         * timezone/Makefile: Do not install iso3166.tab and zone.tab
58508 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58510         [BZ #13871]
58511         * math/w_exp2.c: Do not include <float.h>.
58512         (o_threshold, u_threshold): Remove.
58513         (__exp2): Calculate result before checking finiteness and calling
58514         __kernel_standard.
58515         * math/w_exp2f.c: Likewise.
58516         * math/w_exp2l.c: Likewise.
58517         * math/libm-test.inc (exp2_test): Require overflow exception for
58518         1e6 input.
58520         [BZ #3866]
58521         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
58522         range of signed 64-bit integers before using fistpll.  Remove
58523         checks for whether integers fit in mantissa bits.
58524         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
58525         the range of signed 32-bit integers before using fistpl.  Remove
58526         checks for whether integers fit in mantissa bits.
58527         * sysdeps/i386/fpu/e_powl.S (p64): New object.
58528         (__ieee754_powl): Test for y outside the range of signed 64-bit
58529         integers before using fistpll.  Reduce 64-bit values to 63-bit
58530         ones as needed.
58531         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
58532         divide-by-zero is raised for zero to large negative powers.
58533         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
58534         (__ieee754_powl): Test for y outside the range of signed 64-bit
58535         integers before using fistpll.  Reduce 64-bit values to 63-bit
58536         ones as needed.
58537         * math/libm-test.inc (pow_test): Add more tests.
58539 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58541         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
58542         <stdio-common/_itoa.h>.
58543         * debug/segfault.c: Likewise.
58544         * elf/dl-cache.c: Likewise.
58545         * elf/dl-minimal.c: Likewise.
58546         * elf/dl-misc.c: Likewise.
58547         * elf/dl-sysdep.c: Likewise.
58548         * elf/dl-version.c: Likewise.
58549         * elf/rtld.c: Likewise.
58550         * hurd/hurdsock.c: Likewise.
58551         * hurd/lookup-retry.c: Likewise.
58552         * malloc/malloc.c: Likewise.
58553         * malloc/mtrace.c: Likewise.
58554         * nscd/nscd_getgr_r.c: Likewise.
58555         * nscd/nscd_getpw_r.c: Likewise.
58556         * nscd/nscd_getserv_r.c: Likewise.
58557         * posix/getopt_init.c: Likewise.
58558         * posix/wordexp.c: Likewise.
58559         * stdio-common/_itoa.c: Likewise.
58560         * stdio-common/printf_fphex.c: Likewise.
58561         * stdio-common/vfprintf.c: Likewise.
58562         * string/_strerror.c: Likewise.
58563         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
58564         * sysdeps/i386/i686/hp-timing.h: Likewise.
58565         * sysdeps/mach/_strerror.c: Likewise.
58566         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
58567         * sysdeps/mach/hurd/sethostid.c: Likewise.
58568         * sysdeps/mach/hurd/xmknodat.c: Likewise.
58569         * sysdeps/mach/xpg-strerror.c: Likewise.
58570         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58571         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58572         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
58573         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
58574         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58575         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
58576         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
58577         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
58578         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
58579         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
58580         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
58581         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58582         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
58583         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58584         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58585         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
58586         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
58587         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
58588         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
58589         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
58590         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
58592         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
58594         * stdio-common/_itoa.h: Moved to ...
58595         * sysdeps/generic/_itoa.h: Here.
58597         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
58599         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
58600         instead of "_itoa.h" and "_itowa.h".
58601         * stdio-common/vfprintf.: Likewise.
58603 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58605         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
58606         <bits/wordsize.h>.
58607         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
58608         (__signbit): Likwise.
58609         (llrintf): Likwise.
58610         (llrint): Likwise.
58612 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58614         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
58615         __WORDSIZE != 64.
58617 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
58619         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
58620         OVERFLOW_EXCEPTION_OK.
58621         * math/libm-test.inc ("Philosophy"): Update comment about
58622         exception testing.
58623         (OVERFLOW_EXCEPTION): Define.
58624         (OVERFLOW_EXCEPTION_OK): Likewise.
58625         (INVALID_EXCEPTION_OK): Renumber.
58626         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58627         (IGNORE_ZERO_INF_SIGN): Likewise.
58628         (test_exceptions): Handle FE_OVERFLOW.
58629         (exp10_test): Expect overflow exceptions.
58630         (exp2_test): Likewise.
58631         (expm1_test): Likewise.
58632         (nextafter_test): Likewise.
58633         (pow_test): Likewise.
58634         (scalbn_test): Likewise.
58635         (scalbln_test): Likewise.
58637 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58639         * sysdeps/x86_64/bits/atomic.h
58640         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
58641         64bit integer.
58642         (atomic_exchange_acq): Likewise.
58643         (__arch_exchange_and_add_body): Likewise.
58644         (__arch_add_body): Likewise.
58645         (atomic_add_negative): Likewise.
58646         (atomic_add_zero): Likewise.
58648 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58650         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
58651         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
58653 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58655         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
58656         Check __x86_64__ instead of __WORDSIZE.
58658 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58660         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
58662 2012-03-19  David S. Miller  <davem@davemloft.net>
58664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58666         * sysdeps/sparc/fpu/fenv_private.h: New file.
58667         * sysdeps/sparc/fpu/math_private.h: Use it.
58668         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
58669         Remove.
58670         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
58671         (libc_feholdexcept_setroundl): Remove.
58672         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
58673         Remove.
58674         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
58675         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
58677 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58679         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
58680         int64_t instead of long int.
58681         (INSERT_WORDS64): Likwise.
58683 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58685         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
58686         _Unwind_GetCFA return to _Unwind_Ptr first.
58688 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
58690         [BZ #13629]
58691         * math/s_clog.c: Include <float.h>.
58692         (__clog): Scale large or subnormal inputs.
58693         * math/s_clogf.c: Likewise.
58694         * math/s_clogl.c: Likewise.
58695         * math/s_clog10.c: Include <float.h>.
58696         (M_LOG10_2): Define.
58697         (__clog10): Scale large or subnormal inputs.
58698         * math/s_clog10f.c: Likewise.
58699         * math/s_clog10l.c: Likewise.
58700         * math/libm-test.inc (clog_test): Add more tests.
58701         (clog10_test): Likewise.
58702         * sysdeps/i386/fpu/libm-test-ulps: Update.
58703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58705         [BZ #11451]
58706         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
58707         x and y.
58708         * math/libm-test.inc (atan2_test): Add another test.
58710         * Makerules (common-objdir-compile): Remove.
58711         * sysdeps/unix/Makefile (config-generated): Do not add
58712         $(unix-generated) to variable.
58713         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
58714         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
58715         Remove rule.
58716         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
58717         Likewise.
58718         [generic bits/local_lim.h] (before-compile): Do not append to
58719         variable.
58720         [generic bits/local_lim.h] (common-generated): Likewise.
58721         [generic sys/param.h] (before-compile): Do not append to variable.
58722         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
58723         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
58724         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
58725         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
58726         include.
58727         [generic sys/param.h] (sys/param.h-includes): Remove variable.
58728         [generic sys/param.h] (sys/param.h-includes): Remove rule.
58729         [generic sys/param.h] ($(addprefix
58730         $(common-objpfx),$(sys/param.h-includes))): Likewise.
58731         [generic sys/param.h] (common-generated): Do not append to
58732         variable.
58733         [generic sys/param.h] (sysdep_headers): Likewise.
58734         [generic bits/errno.h] (before-compile): Do not append to
58735         variable.
58736         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
58737         rule.
58738         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
58739         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
58740         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
58741         [generic bits/errno.h] (common-generated): Do not append to
58742         variable.
58743         [generic bits/ioctls.h] (before-compile): Do not append to
58744         variable.
58745         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
58746         rule.
58747         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
58748         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
58749         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
58750         rule.
58751         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
58752         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
58753         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
58754         [generic bits/ioctls.h] (common-generated): Do not append to
58755         variable.
58756         [generic sys/syscall.h] (syscall.h): Remove variable.
58757         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
58758         rule.
58759         [generic sys/syscall.h] (before-compile): Do not append to
58760         variable.
58761         [generic sys/syscall.h] (common-generated): Likewise.
58762         * sysdeps/unix/errnos-tmpl.c: Remove file.
58763         * sysdeps/unix/errnos.awk: Likewise.
58764         * sysdeps/unix/ioctls-tmpl.c: Likewise.
58765         * sysdeps/unix/ioctls.awk: Likewise.
58766         * sysdeps/unix/mk-local_lim.c: Likewise.
58767         * sysdeps/unix/snarf-ioctls: Likewise.
58769 2012-03-19  Richard Henderson  <rth@twiddle.net>
58771         * sysdeps/i386/fpu/fenv_private.h: New file.
58772         * sysdeps/i386/fpu/math_private.h: Use it.
58773         (math_opt_barrier, math_force_eval): Remove.
58774         (libc_feholdexcept_setround_53bit): Remove.
58775         (libc_feupdateenv_53bit): Remove.
58776         * sysdeps/x86_64/fpu/math_private.h: Likewise.
58777         (math_opt_barrier, math_force_eval): Remove.
58778         (libc_feholdexcept): Remove.
58779         (libc_feholdexcept_setround): Remove.
58780         (libc_fetestexcept, libc_fesetenv): Remove.
58781         (libc_feupdateenv_test): Remove.
58782         (libc_feupdateenv, libc_feholdsetround): Remove.
58783         (libc_feresetround): Remove.
58785         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
58786         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
58788         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
58789         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
58790         (libc_feupdateenv_testl): New.
58791         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
58792         (libc_feupdateenv_testf): New.
58793         (libc_feupdateenv): Use libc_feupdateenv_test.
58794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
58795         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
58797         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
58798         (libc_feholdsetroundf, libc_feholdsetroundl): New.
58799         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
58800         (libc_feresetround_noex): New.
58801         (libc_feresetround_noexf): New.
58802         (libc_feresetround_noexl): New.
58803         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
58804         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
58805         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
58806         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
58807         SET_RESTORE_ROUND.
58808         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58809         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
58810         (__cos): Likewise.
58811         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
58812         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
58813         SET_RESTORE_ROUND_NOEX.
58814         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
58815         SET_RESTORE_ROUND_NOEXF.
58816         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
58817         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
58818         (libc_feholdsetroundf): New.
58819         (libc_feresetround, libc_feresetroundf): New.
58821         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
58822         (libc_feholdexcept_setround_53bit): Convert from macro to function.
58823         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
58825         * sysdeps/generic/math_private.h: Include <fenv.h>.
58826         (default_libc_feholdexcept): New.
58827         (default_libc_feholdexcept_setround): New.
58828         (default_libc_fesetenv, default_libc_feupdateenv): New.
58829         (libc_feholdexcept): Only define if undefined.
58830         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
58831         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
58832         (libc_feholdexcept_setroundl): Likewise.
58833         (libc_feholdexcept_setround_53bit): Likewise.
58834         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
58835         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
58836         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
58837         (libc_feupdateenv_53bit): Likewise.
58838         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
58839         (libc_feholdexcept): Convert from macro to inline function.
58840         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
58841         (libc_fesetenv, libc_feupdateenv): Likewise.
58843         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
58844         not previously defined.
58845         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
58846         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
58847         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
58848         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
58849         * sysdeps/ieee754/flt-32/math_private.h: New file.
58850         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
58851         math_private.h below SET_FLOAT_WORD.
58852         (__isnan, __isinf_ns, __finite): Remove.
58853         (__isnanf, __isinf_nsf, __finitef): Remove.
58855 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
58857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58859 2012-03-17  David S. Miller  <davem@davemloft.net>
58861         [BZ #6471]
58862         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
58863         for 2.16.
58865 2012-03-16  David S. Miller  <davem@davemloft.net>
58867         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
58868         warnings.
58870         [BZ #6471]
58871         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
58872         properly.
58873         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
58874         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
58875         sysdep_routines when subdir is sysvipc.
58876         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
58877         __getshmlba helper.
58879         * sysdeps/sparc/fpu/libm-test/ulps: Update.
58881 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58883         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
58884         [__LP64__].
58886 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58888         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
58889         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
58890         (__lround): Renamed to ...
58891         (__llround): This.  Replace long int with long long int.
58892         Define lround functions as aliases of llround functions.
58893         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
58895 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58897         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
58898         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
58899         adresses to uintptr_t.  Replace "long int" and "unsigned long
58900         int" with "greg_t" on va_arg.
58902 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58904         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
58905         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
58907         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
58908         Move e_machine check before EI_CLASS check.  Handle x32
58909         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
58910         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
58911         SKIP_EM_IA_64 and include
58912         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
58914         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
58915         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
58916         (add_system_dir): New macro.
58918         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
58919         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
58921 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58923         [BZ #2551]
58924         [BZ #2552]
58925         [BZ #2553]
58926         [BZ #2554]
58927         [BZ #2562]
58928         [BZ #2563]
58929         [BZ #2565]
58930         [BZ #2566]
58931         [BZ #2576]
58932         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
58933         (y0): Likewise.
58934         * math/w_j0f.c (j0f): Likewise.
58935         (y0f): Likewise.
58936         * math/w_j0l.c (__j0l): Likewise.
58937         (__y0l): Likewise.
58938         * math/w_j1.c (j1): Likewise.
58939         (y1): Likewise.
58940         * math/w_j1f.c (j1f): Likewise.
58941         (y1f): Likewise.
58942         * math/w_j1l.c (__j1l): Likewise.
58943         (__y1l): Likewise.
58944         * math/w_jn.c (jn): Likewise.
58945         (yn): Likewise.
58946         * math/w_jnf.c (jnf): Likewise.
58947         (ynf): Likewise.
58948         * math/w_jnl.c (__jnl): Likewise.
58949         (__ynl): Likewise.
58950         * math/libm-test.inc (j0_test): Add more tests.
58951         (j1_test): Likewise.
58952         (jn_test): Likewise.  Add trailing semicolon to existing test.
58953         (y0_test): Likewise.
58954         (y1_test): Likewise.
58955         * sysdeps/i386/fpu/libm-test-ulps: Update.
58956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58958         [BZ #13851]
58959         [BZ #13854]
58960         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
58961         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
58962         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
58963         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
58964         (__tanl): Set errno for infinite argument.
58965         * sysdeps/i386/fpu/mptan.c: Remove.
58966         * sysdeps/i386/fpu/s_tan.S: Likewise.
58967         * sysdeps/i386/fpu/s_tanl.S: Likewise.
58968         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
58969         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
58970         * math/libm-test.inc (tan_test): Add more tests and enable more
58971         tests for double and long double.
58972         * sysdeps/i386/fpu/libm-test-ulps: Update.
58973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58975 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
58977         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
58978         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
58980 2012-03-16  Roland McGrath  <roland@hack.frob.com>
58982         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
58983         * configure.in: Use it for both main tree and add-ons.
58984         * configure: Regenerated.
58986 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58988         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
58990 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58992         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
58993         in comment.
58995         [BZ #13851]
58996         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
58997         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
58998         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
58999         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
59000         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
59001         infinite argument.
59002         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
59003         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
59004         != 0 for prec == 2.
59005         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
59006         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
59007         * sysdeps/i386/fpu/s_cosl.S: Likewise.
59008         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
59009         * sysdeps/i386/fpu/s_sinl.S: Likewise.
59010         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
59011         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
59012         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
59013         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
59014         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
59015         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
59016         * math/libm-test.inc (cos_test): Add more tests and enable more
59017         tests for long double.
59018         (sin_test): Likewise.
59019         (sincos_test): Likewise.
59020         * sysdeps/i386/fpu/libm-test-ulps: Update.
59021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59023 2012-03-16  David S. Miller  <davem@davemloft.net>
59025         * sysdeps/sparc/fpu/math_private.h: New file.
59027 2012-03-15  David S. Miller  <davem@davemloft.net>
59029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
59030         file.
59031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
59032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
59033         file.
59034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
59035         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
59036         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
59037         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
59038         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
59039         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
59040         sysdep routines.
59041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59043         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
59044         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
59046         * sysdeps/sparc/sparc-ifunc.h: New file.
59047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
59048         sparc-ifunc.h
59049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
59051         Likewise.
59052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
59053         Likewise.
59054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
59055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
59056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59058         Likewise.
59059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
59061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
59063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
59064         Likewise.
59065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
59066         Likewise.
59067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
59069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
59070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
59071         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59072         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59073         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
59074         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
59075         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59076         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
59078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
59079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
59080         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
59081         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
59082         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
59083         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
59084         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
59085         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
59086         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
59087         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
59088         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
59089         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
59090         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
59092 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59094         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
59095         scaling.
59096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59098 2012-03-15  Andreas Jaeger  <aj@suse.de>
59100         [BZ #13852]
59101         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
59102         ieee754/flt-32 implementation for sin, cos and sincos.
59103         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
59104         * sysdeps/i386/fpu/s_cosf.S: Likewise.
59105         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
59106         * sysdeps/i386/fpu/s_sinf.S: Likewise.
59107         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
59108         ieee754/flt-32 implementation for tan.
59110         * math/libm-test.inc (cos_test): Enable some large input tests for
59111         float as well
59112         (sin_test): Likewise.
59113         (sincos_test): Likewise.
59114         (tan_test): Add tests for large input.
59116         * sysdeps/i386/fpu/libm-test-ulps: Update.
59118 2012-03-15  Andreas Jaeger  <aj@suse.de>
59120         [BZ #13658]
59121         * math/libm-test.inc (cos_test): Add more test cases.
59122         (sin_test): Likewise.
59123         (sincos_test): Likewise.
59125 2012-03-15  Andreas Jaeger  <aj@suse.de>
59127         [BZ #13837]
59128         * math/libm-test.inc (cos_test): Add a test case for large input
59129         value.
59130         (sin_test): Likewise.
59131         (sincos_test): Likewise.
59133 2012-03-15  Andreas Jaeger  <aj@suse.de>
59134             Joseph Myers  <joseph@codesourcery.com>
59136         [BZ #13658]
59137         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
59138         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
59139         * sysdeps/i386/fpu/branred.c: Likewise.
59140         * sysdeps/i386/fpu/dosincos.c: Likewise.
59141         * sysdeps/i386/fpu/mpa.c: Likewise.
59142         * sysdeps/i386/fpu/s_cos.S: Likewise.
59143         * sysdeps/i386/fpu/s_sin.S: Likewise.
59144         * sysdeps/i386/fpu/s_sincos.S: Likewise.
59145         * sysdeps/i386/fpu/sincos32.c: Likewise.
59147         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
59148         Define.
59149         (libc_feupdateenv_53bit): Define.
59150         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
59151         Define.
59152         (libc_feupdateenv_53bit): Define.
59154         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
59155         53 bit (without extend i386 double precision).
59157         * math/libm-test.inc (sincos_test): Add tests for large input.
59158         (sin): Likewise.
59159         (cos): Likewise.
59161         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
59163 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59167 2012-03-15  David S. Miller  <davem@davemloft.net>
59169         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
59170         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
59171         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
59172         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
59173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
59174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
59175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
59176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
59177         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
59178         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
59179         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
59180         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
59181         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
59182         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
59183         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
59184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
59185         file.
59186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
59187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
59188         file.
59189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
59190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
59191         file.
59192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
59193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
59194         file.
59195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
59196         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
59197         fmin/fmax sysdep routines.
59198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59200 2012-03-14  David S. Miller  <davem@davemloft.net>
59202         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
59203         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
59204         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
59205         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
59206         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
59207         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
59208         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
59209         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
59210         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
59211         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
59212         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
59213         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
59214         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
59215         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
59216         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
59217         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
59218         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
59219         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
59220         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
59221         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
59222         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
59223         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
59224         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
59225         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
59226         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
59227         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
59228         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
59229         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
59230         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
59231         routines.
59232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
59233         file.
59234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
59235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
59236         file.
59237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
59238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
59239         file.
59240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
59241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
59242         file.
59243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
59244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
59245         file.
59246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
59247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
59248         file.
59249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
59250         file.
59251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
59252         file.
59253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
59254         file.
59255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
59256         New file.
59257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
59258         file.
59259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
59260         file.
59261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
59262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
59263         file.
59264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
59265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
59266         file.
59267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
59268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
59269         file.
59270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
59271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
59272         VIS3 routines.
59274         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59275         New file.
59277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59279         * sysdeps/sparc/configure.in: New file.
59280         * sysdeps/sparc/configure: Generate.
59281         * configure.in (libc_cv_sparc_as_vis3): Substitute.
59282         * configure: Regenerate.
59283         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
59284         * config.make.in (have-as-vis3): New.
59285         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
59286         available use -Av9d instead of -Av9a.
59287         * sysdeps/sparc/sparc64/Makefile: Likewise.
59288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
59289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
59290         New file.
59291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
59292         file.
59293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
59294         New file.
59295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
59296         file.
59297         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
59298         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
59299         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
59300         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
59301         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
59303         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
59304         fzeros/fnegs to load 0x80000000 into a float register instead of
59305         using the stack.
59306         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
59308 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59311         bits/syscall.h.
59312         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
59313         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
59314         ($(inst_includedir)/bits/syscall.h): Remove rule.
59315         ($(objpfx)bits/syscall.d): Include instead of
59316         $(objpfx)syscall-list.d.
59317         (generated): Change syscall-list.h and syscall-list.d to
59318         bits/syscall.h and bits/syscall.d.
59320 2012-03-14  Roland McGrath  <roland@hack.frob.com>
59322         [BZ #13846]
59323         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
59325 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59327         [BZ #13841]
59328         * math/s_csqrt.c: Include <float.h>.
59329         (__csqrt): Scale large or subnormal inputs.
59330         * math/s_csqrtf.c: Likewise.
59331         * math/s_csqrtl.c: Likewise.
59332         * math/libm-test.inc (csqrt_test): Add more tests.
59333         * sysdeps/i386/fpu/libm-test-ulps: Update.
59334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59336         [BZ #13840]
59337         * math/libm-test.inc (hypot_test): Add more tests.
59339 2012-03-13  David S. Miller  <davem@davemloft.net>
59341         [BZ #13840]
59342         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
59343         double-precision for the calculation instead of scaling.
59345 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
59347         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
59348         manipulate bits before adding and subtracting TWO52[sx].
59349         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
59350         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
59351         Likewise.
59352         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
59354 2012-03-13  David S. Miller  <davem@davemloft.net>
59356         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
59357         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
59358         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
59359         rtld-global-offsets.h
59360         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59362         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
59363         large parameters.
59365         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
59367         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
59368         'err' in the ifdef scope in which it is actually used.
59370         * nss/nss_db/db-init.c: Include string.h
59372 2012-03-12  David S. Miller  <davem@davemloft.net>
59374         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59375         masking out of the most significant byte of random value used.
59376         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59377         Fix coding style in previous change.
59379         * sysdeps/unix/sysv/linux/kernel-features.h
59380         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
59381         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
59382         expression.
59383         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
59384         later.
59386 2012-03-11  David S. Miller  <davem@davemloft.net>
59388         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59389         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
59390         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
59391         for 'resultvar' otherwise things get truncated on 64-bit.
59393         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59394         Fix masking out of the most significant byte of random value used.
59396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59398 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
59400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59402 2012-03-09  David S. Miller  <davem@davemloft.net>
59404         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
59405         variables with appropriate CPP guards.
59406         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
59407         from the frame pointer, not the stack pointer.  Correct layout
59408         comments.  Fix test on resulting framesize and the management of
59409         the outregs buffer for pltexit.  Preserve floating point return
59410         values across _dl_call_pltexit call.
59411         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
59412         framesize and the management of the outregs buffer for pltexit.
59413         Preserve floating point return values across _dl_call_pltexit
59414         call.
59415         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
59416         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
59417         (la_sparc64_gnu_pltexit): New functions.
59418         (print_exit): Fix format string for return register value.
59420 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
59422         * sunrpc/Makefile (others): Add rpcgen.
59423         ($(objpfx)rpcgen): Remove special build rule and dependency on
59424         libc.
59425         * sunrpc/rpcgen.c: New file.
59427 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
59429         [BZ #13673]
59430         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
59431         * stdio-common/bug-vfprintf-nargs.c: Likewise.
59432         * sysdeps/i386/crti.S: Likewise.
59433         * sysdeps/i386/crtn.S: Likewise.
59434         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
59435         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
59436         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
59437         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
59438         * sysdeps/sh/crti.S: Likewise.
59439         * sysdeps/sh/crtn.S: Likewise.
59440         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59442         [BZ #13673]
59443         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
59444         with URL.
59445         * locale/programs/locfile-kw.gperf: Likewise.
59446         * locale/programs/charmap-kw.h: Regenerated.
59447         * locale/programs/locfile-kw.h: Likewise.
59449         [BZ #13673]
59450         * intl/plural.y: Replace FSF snail mail address with URL.
59451         * intl/plural.c: Regenerated.
59453 2012-03-09  Richard Henderson  <rth@twiddle.net>
59455         * include/math_private.h: Remove file.
59456         * math/math_private.h: Move file ...
59457         * sysdeps/generic/math_private.h: ... here.
59459         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
59460         * sysdeps/powerpc/fpu/math_private.h: Likewise.
59461         * sysdeps/x86_64/fpu/math_private.h: Likewise.
59463         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
59464         and <math_private.h>.
59465         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59466         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59467         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59468         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59469         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59470         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
59471         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59472         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59473         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59474         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59475         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59476         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59477         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59478         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59479         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59480         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59481         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59482         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59483         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59484         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59485         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59486         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59487         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59488         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59489         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59490         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59491         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59492         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59493         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59494         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59495         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59496         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59497         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59498         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59499         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59500         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59501         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59502         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59503         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59504         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59505         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
59506         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59507         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59508         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59509         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59510         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59511         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
59512         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59513         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59514         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59515         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59516         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
59517         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59518         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59519         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59520         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59521         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59522         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59523         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59524         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
59525         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59526         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59527         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59528         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59529         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
59530         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59531         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59532         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59533         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
59534         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
59535         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59536         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59537         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59538         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59539         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
59540         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
59541         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
59542         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59543         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
59544         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
59545         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59546         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
59547         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59548         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59549         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59550         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
59551         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
59552         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
59553         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59554         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59555         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59556         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59557         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59558         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59559         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59560         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59561         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59562         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59563         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59564         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59565         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59566         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59567         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59568         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59569         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59570         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59571         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59572         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59573         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59574         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59575         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59576         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59577         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59578         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59579         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
59580         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59581         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59582         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59583         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59584         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59585         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59586         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59587         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59588         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
59589         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59590         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59591         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59592         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
59593         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59594         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
59595         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
59596         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59597         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59598         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
59599         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
59600         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59601         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59602         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59603         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
59604         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59605         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59606         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59607         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59608         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
59609         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
59610         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59611         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59612         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59613         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
59614         * sysdeps/ieee754/k_standard.c: Likewise.
59615         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59616         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59617         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59618         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59619         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59620         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59621         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59622         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59623         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59624         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59625         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59626         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59627         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59628         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59629         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59630         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59631         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59632         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59633         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59634         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
59635         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
59636         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
59637         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59638         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59639         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59640         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
59641         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59642         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59643         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59644         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59645         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59646         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59647         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59648         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59649         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59650         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59651         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59652         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
59653         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
59654         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59655         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59656         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59657         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59658         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59659         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59660         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59661         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59662         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59663         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59664         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59665         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59666         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59667         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59668         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
59669         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59670         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59671         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
59672         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
59673         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59674         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59675         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59676         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59677         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59678         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59679         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59680         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59681         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59682         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59683         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59684         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59685         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59686         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59687         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59688         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59689         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59690         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59691         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
59692         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59693         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59694         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59695         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59696         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59697         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59698         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59699         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
59700         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59701         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59702         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
59703         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59704         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59705         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
59706         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59707         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
59708         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59709         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59710         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59711         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
59712         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
59713         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
59714         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
59715         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59716         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59717         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59718         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59719         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
59720         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59721         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59722         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
59723         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
59724         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59725         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59726         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59727         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59728         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59729         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59730         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59731         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59732         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59733         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59734         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59735         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59736         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59737         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59738         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59739         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59740         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
59741         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59742         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59743         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59744         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59745         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59746         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59747         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59748         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59749         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59750         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59751         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
59752         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59753         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59754         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
59755         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
59756         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59757         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
59758         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
59759         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59760         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59761         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59762         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59763         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59764         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
59765         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59766         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59767         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59768         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59769         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
59770         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
59771         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59772         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59773         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59774         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59775         * sysdeps/ieee754/s_lib_version.c: Likewise.
59776         * sysdeps/ieee754/s_matherr.c: Likewise.
59777         * sysdeps/ieee754/s_signgam.c: Likewise.
59778         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59779         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59780         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
59781         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
59782         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
59783         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59784         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
59785         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
59786         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
59787         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
59788         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59789         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
59790         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59791         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59792         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
59793         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59794         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59795         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59796         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59797         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59798         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59800 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59802         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
59803         * sunrpc/rpc_main.c: Likewise.
59804         * sunrpc/rpc_svcout.c: Likewise.
59806 2012-03-09  David S. Miller  <davem@davemloft.net>
59808         * include/math_private.h: New file.
59810 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59812         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
59813         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
59814         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
59815         from <bits/socket_type.h>.
59816         (enum __socket_type): Don't define here.
59817         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
59818         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59819         bits/socket_type.h.
59821         [BZ #13566]
59822         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
59823         checking __USE_GNU.
59825         * Makerules ($(inst_includedir)/%.h): New rule.
59826         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
59827         (install-others): Remove variable setting.
59828         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
59830 2012-03-08  Richard Henderson  <rth@twiddle.net>
59832         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
59833         from macro to inline function; merge with the
59834         !__LIBC_INTERNAL_MATH_INLINES version.
59835         (__ieee754_sqrtf): Likewise.
59837         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
59838         to inline function.
59839         (__rintf, __floor, __floorf): Likewise.
59841         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
59842         macro to inline function.
59843         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
59845         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
59846         not <math/math_private.h>.
59848 2012-03-08  David S. Miller  <davem@davemloft.net>
59850         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
59851         copyright year.
59852         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
59854 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
59856         * resolv/gai_misc.c (handle_requests): Fix struct timespec
59857         normalization.
59858         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
59859         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
59861 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
59863         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
59864         be defined individually, they must be defined as a block.  Define
59865         S for printing a string instead of hidint the different by using a
59866         macro for adding the 'l'.
59867         * stdio-common/tst-fphex-wide.c: Adjust.
59869 2012-03-07  Marek Polacek  <polacek@redhat.com>
59871         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
59873 2012-03-08  Marek Polacek  <polacek@redhat.com>
59875         [BZ #13806]
59876         * stdio-common/Makefile (tests): Add tst-fphex-wide.
59877         * stdio-common/tst-fphex.c: Define a few macros to make the
59878         test reusable.  Use them.
59879         * stdio-common/tst-fphex-wide.c: New file.
59881 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
59883         [BZ #6911]
59884         * manual/macros.texi (gnusystems): New macro.
59885         (nongnusystems): Likewise.
59886         (gnulinuxhurdsystems): Likewise.
59887         (gnuhurdsystems): Likewise..
59888         (gnulinuxsystems): Likewise.
59889         * manual/charset.texi: Use new macros or @theglibc{} to refer to
59890         variants of the GNU system, not "GNU system".
59891         * manual/conf.texi: Likewise.
59892         * manual/errno.texi: Likewise.  Update example of errno macro
59893         expansion.
59894         * manual/filesys.texi: Likewise.
59895         (getumask): Document as specific to GNU/Hurd.
59896         * manual/install.texi: Likewise.  Reword some references to
59897         GNU/Linux.
59898         * manual/intro.texi: Likewise.
59899         * manual/io.texi: Likewise.
59900         (File Name Portability): Detail which constraints are inapplicable
59901         to all GNU systems and which are only inapplicable to GNU/Hurd.
59902         * manual/job.texi: Likewise.
59903         * manual/llio.texi: Likewise.
59904         (O_NOCTTY): Document as present on GNU/Linux.
59905         * manual/maint.texi: Likewise.
59906         * manual/memory.texi: Likewise.
59907         * manual/pattern.texi: Likewise.
59908         * manual/pipe.texi: Likewise.
59909         * manual/process.texi: Likewise.
59910         * manual/resource.texi: Likewise.
59911         (RUSAGE_CHILDREN): Remove statement about specifying a particular
59912         child on GNU/Hurd.
59913         * manual/setjmp.texi: Likewise.
59914         * manual/signal.texi: Likewise.
59915         * manual/startup.texi: Likewise.
59916         * manual/stdio.texi: Likewise.
59917         * manual/terminal.texi: Likewise.
59918         (ONLCR): Document as POSIX.
59919         (OXTABS): Document availability on GNU/Linux as XTABS.
59920         (ONOEOT): Document availability separately from other bits.
59921         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
59922         * manual/time.texi: Likewise.
59923         * manual/users.texi: Likewise.
59924         * INSTALL: Regenerated.
59925         * sysdeps/gnu/errlist.c: Regenerated.
59927         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
59928         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
59929         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
59930         puts.
59931         * configure: Regenerated.
59933 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
59935         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
59936         default includes instead of AC_HEADER_CHECK.
59937         * sysdeps/i386/configure: Regenerated.
59939         [BZ #10716]
59940         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
59941         * math/s_cacoshf.c (__cacoshf): Likewise.
59942         * math/s_cacoshl.c (__cacoshl): Likewise.
59943         * math/s_casinh.c (__casinh): Set signs of result from argument.
59944         * math/s_casinhf.c (__casinhf): Likewise.
59945         * math/s_casinhl.c (__casinhl): Likewise.
59946         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
59947         (casinh_test): Add more tests.
59948         * sysdeps/i386/fpu/libm-test-ulps: Update.
59949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59951 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
59953         * po/zh_TW.po: Update from translation team.
59955         * login/Makefile (distribute): Remove variable.
59956         * catgets/Makefile: Likewise.
59957         * mach/Makefile: Likewise.
59958         * malloc/Makefile: Likewise.
59959         * misc/Makefile: Likewise.
59960         * iconv/Makefile: Likewise.
59961         * nscd/Makefile: Likewise.
59962         * hurd/Makefile: Likewise.
59963         * manual/Makefile: Likewise.
59964         * locale/Makefile: Likewise.
59965         * intl/Makefile: Likewise.
59966         * conform/Makefile: Likewise.
59967         * nss/Makefile: Likewise.
59968         * time/Makefile: Likewise.
59969         * soft-fp/Makefile: Likewise.
59970         * dirent/Makefile: Likewise.
59971         * gmon/Makefile: Likewise.
59972         * po/Makefile: Likewise.
59973         * rt/Makefile: Likewise.
59974         * socket/Makefile: Likewise.
59975         * math/Makefile: Likewise.
59976         * signal/Makefile: Likewise.
59977         * debug/Makefile: Likewise.
59978         * elf/Makefile: Likewise.
59979         * timezone/Makefile: Likewise.
59980         * stdlib/Makefile: Likewise.
59981         * iconvdata/Makefile: Likewise.
59982         * sunrpc/Makefile: Likewise.
59983         * io/Makefile: Likewise.
59984         * argp/Makefile: Likewise.
59985         * inet/Makefile: Likewise.
59986         * hesiod/Makefile: Likewise.
59987         * grp/Makefile: Likewise.
59988         * csu/Makefile: Likewise.
59989         * wctype/Makefile: Likewise.
59990         * crypt/Makefile: Likewise.
59991         * libio/Makefile: Likewise.
59992         * string/Makefile: Likewise.
59993         * nis/Makefile: Likewise.
59994         * resolv/Makefile: Likewise.
59995         * stdio-common/Makefile: Likewise.
59996         * wcsmbs/Makefile: Likewise.
59997         * dlfcn/Makefile: Likewise.
59998         * posix/Makefile: Likewise.
60000         [BZ #6959]
60001         * timezone/Makefile: Don't install timezone files, just the programs
60002         and scripts.
60004 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
60006         * nss/databases.def: Add missing gshadow entry.
60008         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
60010 2012-03-06  Marek Polacek  <polacek@redhat.com>
60012         [BZ #13726]
60013         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
60014         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60015         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
60016         * stdio-common/tst-long-dbl-fphex.c: New file.
60018 2012-03-06  David S. Miller  <davem@davemloft.net>
60020         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60021         (set_obp_int): New function.
60022         (get_obp_int): New function.
60023         (__get_clockfreq_via_dev_openprom): Likewise.
60024         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
60025         Avoid unused variable warnings on 'val' and use builtin_expect.
60026         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
60027         __builtin_expect.
60028         (INLINE_CLONE_SYSCALL): Likewise.
60030 2012-03-05  David S. Miller  <davem@davemloft.net>
60032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60034 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
60036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60038         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
60039         only for |x| >= 40.
60040         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60042 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
60044         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
60045         Replace gettimeofday with __vdso_gettimeofday.
60047         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60048         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
60049         __vdso_clock_gettime and __vdso_getcpu.
60051         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
60052         time with __vdso_time.
60054 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60056         * manual/lang.texi (size_t): Note types to which size_t may be
60057         equivalent with the GNU C Library, but do not describe when
60058         differences between them are significant.
60060 2012-03-05  Andreas Jaeger  <aj@suse.de>
60062         * sysdeps/i386/fpu/libm-test-ulps: Update.
60064 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60066         [BZ #3976]
60067         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
60068         (__ieee754_pow): Save and restore rounding mode and use
60069         round-to-nearest for main computations.
60070         * math/libm-test.inc (pow_test_tonearest): New function.
60071         (pow_test_towardzero): Likewise.
60072         (pow_test_downward): Likewise.
60073         (pow_test_upward): Likewise.
60074         (main): Call the new functions.
60075         * sysdeps/i386/fpu/libm-test-ulps: Update.
60076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60078         [BZ #3976]
60079         * math/libm-test.inc (cosh_test_tonearest): New function.
60080         (cosh_test_towardzero): Likewise.
60081         (cosh_test_downward): Likewise.
60082         (cosh_test_upward): Likewise.
60083         (sinh_test_tonearest): Likewise.
60084         (sinh_test_towardzero): Likewise.
60085         (sinh_test_downward): Likewise.
60086         (sinh_test_upward): Likewise.
60087         (main): Call the new functions.
60088         * sysdeps/i386/fpu/libm-test-ulps: Update.
60089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60091 2012-03-05  Tom de Vries  <tom@codesourcery.com>
60093         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
60094         default stack guard is set in last bytes.
60095         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
60097 2012-03-05  Kees Cook  <keescook@chromium.org>
60099         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
60101         [BZ #13656]
60102         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
60103         possibly allocate from heap instead of stack.
60104         * stdio-common/bug-vfprintf-nargs.c: New file.
60105         * stdio-common/Makefile (tests): Add nargs overflow test.
60107 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
60109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60111 2012-03-03  Marek Polacek  <polacek@redhat.com>
60113         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
60114         * math/math_private.h: Likewise.
60115         * stdlib/tst-strtod.c: Likewise.
60116         * sysdeps/i386/i486/bits/atomic.h: Likewise.
60117         * sysdeps/x86_64/bits/atomic.h: Likewise.
60119 2012-03-02  David S. Miller  <davem@davemloft.net>
60121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
60122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
60123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
60124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
60125         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
60126         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
60127         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
60128         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
60130 2012-03-02  Roland McGrath  <roland@hack.frob.com>
60132         [BZ #13792]
60133         * manual/examples/README: New file, says the example source files
60134         can be used under GPL>=2.
60135         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
60136         line containing just "*/".
60137         * manual/examples/add.c: Add copyright header (GPL>=2).
60138         * manual/examples/argp-ex1.c: Likewise.
60139         * manual/examples/argp-ex2.c: Likewise.
60140         * manual/examples/argp-ex3.c: Likewise.
60141         * manual/examples/argp-ex4.c: Likewise.
60142         * manual/examples/atexit.c: Likewise.
60143         * manual/examples/db.c: Likewise.
60144         * manual/examples/dir.c: Likewise.
60145         * manual/examples/dir2.c: Likewise.
60146         * manual/examples/execinfo.c: Likewise.
60147         * manual/examples/filecli.c: Likewise.
60148         * manual/examples/filesrv.c: Likewise.
60149         * manual/examples/fmtmsgexpl.c: Likewise.
60150         * manual/examples/genpass.c: Likewise.
60151         * manual/examples/inetcli.c: Likewise.
60152         * manual/examples/inetsrv.c: Likewise.
60153         * manual/examples/isockad.c: Likewise.
60154         * manual/examples/longopt.c: Likewise.
60155         * manual/examples/memopen.c: Likewise.
60156         * manual/examples/memstrm.c: Likewise.
60157         * manual/examples/mkfsock.c: Likewise.
60158         * manual/examples/mkisock.c: Likewise.
60159         * manual/examples/mygetpass.c: Likewise.
60160         * manual/examples/pipe.c: Likewise.
60161         * manual/examples/popen.c: Likewise.
60162         * manual/examples/rprintf.c: Likewise.
60163         * manual/examples/search.c: Likewise.
60164         * manual/examples/select.c: Likewise.
60165         * manual/examples/setjmp.c: Likewise.
60166         * manual/examples/sigh1.c: Likewise.
60167         * manual/examples/sigusr.c: Likewise.
60168         * manual/examples/stpcpy.c: Likewise.
60169         * manual/examples/strdupa.c: Likewise.
60170         * manual/examples/strftim.c: Likewise.
60171         * manual/examples/strncat.c: Likewise.
60172         * manual/examples/subopt.c: Likewise.
60173         * manual/examples/swapcontext.c: Likewise.
60174         * manual/examples/termios.c: Likewise.
60175         * manual/examples/testopt.c: Likewise.
60176         * manual/examples/testpass.c: Likewise.
60177         * manual/examples/timeval_subtract.c: Likewise.
60179         [BZ #13792]
60180         * manual/time.texi (Elapsed Time): Move timeval_subtract example
60181         function to ...
60182         * manual/timeval_subtract.c.texi: ... here, new file.
60184 2012-03-02  David S. Miller  <davem@davemloft.net>
60186         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
60188 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
60190         [BZ #3976]
60191         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
60192         (__sin): Save and restore rounding mode and use round-to-nearest
60193         for all computations.
60194         (__cos): Save and restore rounding mode and use round-to-nearest
60195         for all computations.
60196         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
60197         <fenv.h>.
60198         (tan): Save and restore rounding mode and use round-to-nearest for
60199         all computations.
60200         * math/libm-test.inc (cos_test_tonearest): New function.
60201         (cos_test_towardzero): Likewise.
60202         (cos_test_downward): Likewise.
60203         (cos_test_upward): Likewise.
60204         (sin_test_tonearest): Likewise.
60205         (sin_test_towardzero): Likewise.
60206         (sin_test_downward): Likewise.
60207         (sin_test_upward): Likewise.
60208         (tan_test_tonearest): Likewise.
60209         (tan_test_towardzero): Likewise.
60210         (tan_test_downward): Likewise.
60211         (tan_test_upward): Likewise.
60212         (main): Call the new functions.
60213         * sysdeps/i386/fpu/libm-test-ulps: Update.
60214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60216         [BZ #10135]
60217         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
60218         small n, then large n, before computing and testing k+n.
60219         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
60220         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
60221         Likewise.
60222         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
60223         Likewise.
60224         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
60225         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
60226         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
60227         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
60228         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60229         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60230         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
60231         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
60232         * math/libm-test.inc (scalbn_test): Add more tests.
60233         (scalbln_test): Likewise.
60235         * manual/filesys.texi (mode_t): Describe constraints on size and
60236         signedness, not exact equivalence to a particular type.
60237         (ino_t): Likewise.
60238         (ino64_t): Likewise.
60239         (dev_t): Likewise.
60240         (nlink_t): Likewise.
60241         (blkcnt_t): Likewise.
60242         (blkcnt64_t): Likewise.
60243         * manual/llio.texi (off_t): Likewise.
60245         [BZ #3976]
60246         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
60247         (__ieee754_exp): Save and restore rounding mode and use
60248         round-to-nearest for all computations.
60249         * math/libm-test.inc (exp_test_tonearest): New function.
60250         (exp_test_towardzero): Likewise.
60251         (exp_test_downward): Likewise.
60252         (exp_test_upward): Likewise.
60253         (main): Call the new functions.
60254         * sysdeps/i386/fpu/libm-test-ulps: Update.
60255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60257 2012-03-01  Chris Demetriou  <cgd@google.com>
60259         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
60260         have predictable order.
60262 2012-03-01  David S. Miller  <davem@davemloft.net>
60264         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
60266         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
60267         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
60268         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
60269         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
60271         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
60272         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
60273         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
60274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
60275         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
60276         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
60277         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
60278         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
60279         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
60281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60283         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
60284         * sysdeps/sparc/fpu/libm-test-ulps: to here.
60285         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
60287         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
60288         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60289         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60290         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
60291         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
60292         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
60293         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
60294         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60295         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60296         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
60297         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
60298         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60299         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60300         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60301         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60302         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60303         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
60304         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
60305         * sysdeps/sparc/elf/configure: Regenerated.
60307 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
60309         * configure.in (AS, LD): Require binutils 2.20 or later.
60310         * configure: Regenerated.
60311         * manual/install.texi (Tools for Compilation): Give binutils 2.20
60312         as required minimum version.
60313         * INSTALL: Regenerated.
60315         [BZ #2541]
60316         [BZ #4108]
60317         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
60318         before squaring exponent.
60319         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
60320         bottom long double and 27 bits of top long double before squaring
60321         exponent.
60322         * math/libm-test.inc (erfc_test): Add more tests.
60323         * sysdeps/i386/fpu/libm-test-ulps: Update.
60324         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60327 2012-03-01  Kai Tietz  <ktietz@redhat.com>
60329         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
60330         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
60331         containing bit-fields.
60332         * soft-fp/extended.h (_FP_UNION_E): Likewise.
60333         * soft-fp/single.h (_FP_UNION_S): Likewise.
60334         * soft-fp/double.h (_FP_UNION_D): Likewise.
60336 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60338         [BZ #13786]
60339         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
60340         not include ../strcmp.S.
60341         [USE_AS_STRNCASECMP_L]: Likewise.
60342         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
60343         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
60344         * sysdeps/i386/i686/multiarch/strncase_l-c.c
60345         (__strncasecmp_l_ia32): Define as alias to
60346         __strncasecmp_l_nonascii.
60348         [BZ #5794]
60349         * math/libm-test.inc (expm1_test): Add test for bug 5794.
60350         * sysdeps/i386/fpu/libm-test-ulps: Update.
60351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60353         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
60354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60356 2012-02-29  Jeff Law  <law@redhat.com>
60358         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
60359         out of bounds read.
60361 2012-02-29  Marek Polacek  <polacek@redhat.com>
60363         [BZ #13706]
60364         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
60365         * elf/Makefile: Add rules to run tst-unused-dep.out.
60367 2012-02-28  David S. Miller  <davem@davemloft.net>
60369         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
60370         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
60371         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
60372         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
60373         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
60374         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
60376 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60378         * math/libm-test.inc (llround_test): Move one test from
60379         lround_test.  Use TEST_f_L in moved test.
60380         (lround_test): Move misplaced test to llround_test.  Add testcase
60381         from bug 2561.
60383 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
60385         * sysdeps/x86_64/fpu/e_expf.S: New file.
60386         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
60388 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
60390         [BZ #13637]
60391         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
60392         of remain_len that may cause incomplete multi-byte character and
60393         false match.
60394         * posix/bug-regex33.c: New file.
60395         * posix/Makefile (tests): Add bug-regex33.
60397 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
60399         * manual/macros.texi: New file.
60400         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
60401         * manual/libc.texinfo: Include macros.texi.
60402         * manual/creatute.texi: Likewise.
60403         * manual/install.texi: Likewise.
60404         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
60405         @glibcadj{} in references to the GNU C Library.
60406         * manual/charset.texi: Likewise.
60407         * manual/conf.texi: Likewise.
60408         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
60409         when not using those macros.
60410         * manual/creature.texi: Likewise.
60411         * manual/crypt.texi: Likewise.
60412         * manual/errno.texi: Likewise.
60413         * manual/filesys.texi: Likewise.
60414         * manual/header.texi: Likewise.
60415         * manual/install.texi: Likewise.
60416         * manual/intro.texi: Likewise.
60417         * manual/io.texi: Likewise.
60418         * manual/job.texi: Likewise.
60419         * manual/lang.texi: Likewise.
60420         * manual/libc.texiinfo: Likewise.
60421         * manual/llio.texi: Likewise.
60422         * manual/locale.texi: Likewise.
60423         * manual/maint.texi: Likewise.
60424         * manual/math.texi: Likewise.
60425         * manual/memory.texi: Likewise.
60426         * manual/message.texi: Likewise.
60427         * manual/nss.texi: Likewise.
60428         * manual/pattern.texi: Likewise.
60429         * manual/process.texi: Likewise.
60430         * manual/resource.texi: Likewise.
60431         * manual/search.texi: Likewise.
60432         * manual/setjmp.texi: Likewise.
60433         * manual/signal.texi: Likewise.
60434         * manual/socket.texi: Likewise.
60435         * manual/startup.texi: Likewise.
60436         * manual/stdio.texi: Likewise.
60437         * manual/string.texi: Likewise.
60438         * manual/sysinfo.texi: Likewise.
60439         * manual/syslog.texi: Likewise.
60440         * manual/terminal.texi: Likewise.
60441         * manual/time.texi: Likewise.
60442         * manual/users.texi: Likewise.
60443         * INSTALL: Regenerated.
60444         * NOTES: Regenerated.
60445         * sysdeps/gnu/errlist.c: Regenerated.
60447 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
60449         * include/dirent.h: Include <dirstream.h> before
60450         <dirent/dirent.h>.
60452 2012-02-28  David S. Miller  <davem@davemloft.net>
60454         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
60455         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
60456         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
60457         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
60459 2012-02-27  David S. Miller  <davem@davemloft.net>
60461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
60462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
60463         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
60464         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
60466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
60467         frame pointer instead of stack pointer relative arg slot.
60468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60469         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60470         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60472 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
60474         [BZ #3992]
60475         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
60477 2012-02-27  David S. Miller  <davem@davemloft.net>
60479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
60480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
60483         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60484         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60485         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
60486         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
60488 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60490         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
60491         later.  Allow versions 5-9.
60492         * configure: Regenerated.
60493         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
60494         required minimum version and 4.6 as recommended version.  Do not
60495         mention bugs in GCC 2.7 and 2.8.
60496         * INSTALL: Regenerated.
60498 2012-02-27  David S. Miller  <davem@davemloft.net>
60500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
60501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
60502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
60503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
60504         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
60505         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
60506         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
60507         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
60509         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
60510         manipulate bits before adding and subtracting TWO112[sx].
60511         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60513 2012-02-27  Roland McGrath  <roland@hack.frob.com>
60515         [BZ #13775]
60516         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
60517         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
60518         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
60519         being in POSIX, because they are in 1003.1-2008.
60521         * rt/tst-aio.c: Include <fcntl.h>.
60522         * rt/tst-aio7.c: Likewise.
60523         * rt/tst-aio64.c: Likewise.
60525         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
60527 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60529         * manual/install.texi (--with-headers): Describe headers as
60530         interface headers, not private headers.
60531         (Specific advice for GNU/Linux systems): Describe use of headers
60532         from "make headers_install", not private headers from older
60533         kernels.
60534         * INSTALL: Regenerated.
60535         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
60536         Change to 2.6.19.
60537         * sysdeps/unix/sysv/linux/configure: Regenerated.
60539         * manual/llio.texi (fclean): Remove documentation.
60541         * manual/Makefile (libc-texi-generated): New variable.  Include
60542         version.texi.
60543         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
60544         $(libc-texi-generated), not duplicated list of files.
60545         (version.texi, stamp-version): New rules.
60546         (realclean): Remove $(libc-texi-generated), not individual files
60547         from that list.  Do not remove dir-add.texinfo.
60548         * manual/libc.texinfo: Comment out uses of edition numbers and
60549         references to printed manual.  Remove last-updated dates.
60550         (EDITION): Comment out.
60551         (ISBN): Likewise.
60552         (VERSION, UPDATED): Remove.
60553         (version.texi): Include.
60555 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
60557         * sysdeps/posix/spawni.c: Include <signal.h>.
60558         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
60559         * sysdeps/pthread/aio_fsync.c: Likewise.
60561 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
60563         * conform/Makefile (tests): Run only when not cross-compiling and
60564         when fast-check is not defined.
60566         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
60567         * conform/data/limits.h-data: Fixes for POSIX2008.
60568         * conform/run-conformtest.sh: Run all tests.
60569         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
60570         headers.
60571         * include/bits/dlfcn.h: Likewise.
60572         * include/langinfo.h: Likewise.
60573         * include/monetary.h: Likewise.
60574         * include/sys/poll.h: Likewise.
60576         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
60577         for __USE_GNU.
60578         * posix/spawn.h: Define __need_sigset_t.
60579         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
60580         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
60581         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
60582         to get sigevent_t only.
60583         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
60584         only for __USE_GNU.
60585         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60586         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60587         process_vm_writev only for __USE_GNU.
60588         * termios/termios.h: Declare tcgetsid also for POSIX2008.
60590         * conform/Makefile: For now ignore errors from run-conformtest.
60591         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
60592         POSIX to avoid namespace pollution.  Don't prepend headers.
60593         * conform/data/aio.h-data: Fixes for POSIX testing.
60594         * conform/data/fcntl.h-data: Likewise.
60595         * conform/data/glob.h-data: Likewise.
60596         * conform/data/grp.h-data: Likewise.
60597         * conform/data/pthread.h-data: Likewise.
60598         * conform/data/pwd.h-data: Likewise.
60599         * conform/data/signal.h-data: Likewise.
60600         * conform/data/spawn.h-data: Likewise.
60601         * conform/data/stdio.h-data: Likewise.
60602         * conform/data/stdlib.h-data: Likewise.
60603         * conform/data/stropts.h-data: Likewise.
60604         * conform/data/sys/mman.h-data: Likewise.
60605         * conform/data/sys/stat.h-data: Likewise.
60606         * conform/data/sys/types.h-data: Likewise.
60607         * conform/data/sys/wait.h-data: Likewise.
60608         * conform/data/time.h-data: Likewise.
60609         * conform/data/unistd.h-data: Likewise.
60610         * conform/data/utime.h-data: Likewise.
60612         * io/sys/stat.h: fchmod was always in POSIX.
60613         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
60614         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
60615         * rt/aio.h: Define __need_timespec before including <time.h>.
60616         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
60617         struct.  Add forward declaration of pthread_attr_t and use it in
60618         sigevent.
60619         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60620         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60621         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
60622         always remove CLK_TCK definition.
60624 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
60626         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
60628 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
60630         * conform/run-conformtest.sh: New file.
60631         * conform/Makefile: Run run-conformtest for tests.
60632         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
60633         support.
60635         * conform/data/uchar.h-data: New file.
60636         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
60637         * conform/data/arpa/inet.h-data: Likewise.
60638         * conform/data/assert.h-data: Likewise.
60639         * conform/data/complex.h-data: Likewise.
60640         * conform/data/cpio.h-data: Likewise.
60641         * conform/data/ctype.h-data: Likewise.
60642         * conform/data/dirent.h-data: Likewise.
60643         * conform/data/dlfcn.h-data: Likewise.
60644         * conform/data/errno.h-data: Likewise.
60645         * conform/data/fcntl.h-data: Likewise.
60646         * conform/data/float.h-data: Likewise.
60647         * conform/data/fmtmsg.h-data: Likewise.
60648         * conform/data/fnmatch.h-data: Likewise.
60649         * conform/data/ftw.h-data: Likewise.
60650         * conform/data/glob.h-data: Likewise.
60651         * conform/data/grp.h-data: Likewise.
60652         * conform/data/iconv.h-data: Likewise.
60653         * conform/data/inttypes.h-data: Likewise.
60654         * conform/data/langinfo.h-data: Likewise.
60655         * conform/data/libgen.h-data: Likewise.
60656         * conform/data/limits.h-data: Likewise.
60657         * conform/data/locale.h-data: Likewise.
60658         * conform/data/math.h-data: Likewise.
60659         * conform/data/monetary.h-data: Likewise.
60660         * conform/data/mqueue.h-data: Likewise.
60661         * conform/data/ndbm.h-data: Likewise.
60662         * conform/data/net/if.h-data: Likewise.
60663         * conform/data/netdb.h-data: Likewise.
60664         * conform/data/netinet/in.h-data: Likewise.
60665         * conform/data/nl_types.h-data: Likewise.
60666         * conform/data/poll.h-data: Likewise.
60667         * conform/data/pthread.h-data: Likewise.
60668         * conform/data/pwd.h-data: Likewise.
60669         * conform/data/regex.h-data: Likewise.
60670         * conform/data/sched.h-data: Likewise.
60671         * conform/data/search.h-data: Likewise.
60672         * conform/data/semaphore.h-data: Likewise.
60673         * conform/data/setjmp.h-data: Likewise.
60674         * conform/data/signal.h-data: Likewise.
60675         * conform/data/spawn.h-data: Likewise.
60676         * conform/data/stdarg.h-data: Likewise.
60677         * conform/data/stdio.h-data: Likewise.
60678         * conform/data/stdlib.h-data: Likewise.
60679         * conform/data/string.h-data: Likewise.
60680         * conform/data/strings.h-data: Likewise.
60681         * conform/data/stropts.h-data: Likewise.
60682         * conform/data/sys/ipc.h-data: Likewise.
60683         * conform/data/sys/mman.h-data: Likewise.
60684         * conform/data/sys/msg.h-data: Likewise.
60685         * conform/data/sys/resource.h-data: Likewise.
60686         * conform/data/sys/select.h-data: Likewise.
60687         * conform/data/sys/sem.h-data: Likewise.
60688         * conform/data/sys/shm.h-data: Likewise.
60689         * conform/data/sys/socket.h-data: Likewise.
60690         * conform/data/sys/stat.h-data: Likewise.
60691         * conform/data/sys/statvfs.h-data: Likewise.
60692         * conform/data/sys/time.h-data: Likewise.
60693         * conform/data/sys/timeb.h-data: Likewise.
60694         * conform/data/sys/times.h-data: Likewise.
60695         * conform/data/sys/types.h-data: Likewise.
60696         * conform/data/sys/uio.h-data: Likewise.
60697         * conform/data/sys/un.h-data: Likewise.
60698         * conform/data/sys/utsname.h-data: Likewise.
60699         * conform/data/sys/wait.h-data: Likewise.
60700         * conform/data/syslog.h-data: Likewise.
60701         * conform/data/tar.h-data: Likewise.
60702         * conform/data/termios.h-data: Likewise.
60703         * conform/data/utime.h-data: Likewise.
60704         * conform/data/utmpx.h-data: Likewise.
60705         * conform/data/varargs.h-data: Likewise.
60706         * conform/data/wchar.h-data: Likewise.
60707         * conform/data/wctype.h-data: Likewise.
60708         * conform/data/wordexp.h-data: Likewise.
60710         * include/stropts.h: New file.
60711         * include/uchar.h: New file.
60712         * include/aio.h: Changes to allow conformtest.pl to use the headers.
60713         * include/assert.h: Likewise.
60714         * include/ctype.h: Likewise.
60715         * include/dirent.h: Likewise.
60716         * include/dlfcn.h: Likewise.
60717         * include/fcntl.h: Likewise.
60718         * include/fnmatch.h: Likewise.
60719         * include/glob.h: Likewise.
60720         * include/grp.h: Likewise.
60721         * include/libio.h: Likewise.
60722         * include/locale.h: Likewise.
60723         * include/math.h: Likewise.
60724         * include/net/if.h: Likewise.
60725         * include/netdb.h: Likewise.
60726         * include/netinet/in.h: Likewise.
60727         * include/pthread.h: Likewise.
60728         * include/pwd.h: Likewise.
60729         * include/regex.h: Likewise.
60730         * include/sched.h: Likewise.
60731         * include/search.h: Likewise.
60732         * include/setjmp.h: Likewise.
60733         * include/signal.h: Likewise.
60734         * include/stdio.h: Likewise.
60735         * include/stdlib.h: Likewise.
60736         * include/string.h: Likewise.
60737         * include/sys/cdefs.h: Likewise.
60738         * include/sys/mman.h: Likewise.
60739         * include/sys/msg.h: Likewise.
60740         * include/sys/resource.h: Likewise.
60741         * include/sys/select.h: Likewise.
60742         * include/sys/socket.h: Likewise.
60743         * include/sys/stat.h: Likewise.
60744         * include/sys/statvfs.h: Likewise.
60745         * include/sys/time.h: Likewise.
60746         * include/sys/times.h: Likewise.
60747         * include/sys/uio.h: Likewise.
60748         * include/sys/utsname.h: Likewise.
60749         * include/sys/wait.h: Likewise.
60750         * include/termios.h: Likewise.
60751         * include/time.h: Likewise.
60752         * include/ulimit.h: Likewise.
60753         * include/unistd.h: Likewise.
60754         * include/utime.h: Likewise.
60755         * include/wchar.h: Likewise.
60756         * include/wctype.h: Likewise.
60757         * include/wordexp.h: Likewise.
60759         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
60761         * time/time.h: TIME_UTC must be a macro.
60762         Make timespec_get available for ISO C11 only as well.
60764 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
60766         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
60767         Reported by Peng Haitao <penght@cn.fujitsu.com>.
60769 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60771         * configure.in: Use -o not -a in test for unsupported multi-arch.
60773 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60775         * manual/texinfo.tex: Update to version 2012-01-19.16.
60777 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60779         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
60781 2012-02-24  Roland McGrath  <roland@hack.frob.com>
60783         [BZ #13738]
60784         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
60785         * manual/fdl-1.3.texi: New file.
60786         * manual/fdl-1.1.texi: File removed.
60788         [BZ #13738]
60789         * manual/libc.texinfo (FDL_VERSION): New @set.
60790         Use it for mention of FDL in cover text.
60791         (Documentation License): Use it in @include file name.
60793 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60794             Roland McGrath  <roland@hack.frob.com>
60796         [BZ #5461]
60797         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
60798         (not LONG_LONG_MAX and LONG_LONG_MIN.
60799         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
60800         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
60801         name.
60802         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
60804 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60806         [BZ #2547]
60807         [BZ #11365]
60808         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
60809         manipulate bits before adding and subtracting TWO23[sx].
60810         * math/libm-test.inc (nearbyint_test): Add more tests.
60812 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60814         [BZ #2548]
60815         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
60816         bits before adding and subtracting TWO23[sx].
60817         * math/libm-test.inc (rint_test): Add more tests.
60818         (rint_test_tonearest): Likewise.
60819         (rint_test_towardzero): Likewise.
60820         (rint_test_downward): Likewise.
60821         (rint_test_upward: Likewise.
60823 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60825         [BZ #10110]
60826         * include/stdc-predef.h: New file.  Extracted from features.h.
60827         * include/features.h: Include stdc-predef.h.
60828         * Makefile (headers): Add stdc-predef.h.
60829         * CONFORMANCE (Compiler limitations): Update.
60831 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60833         * manual/libc.texinfo (VERSION, UPDATED): Revert.
60835 2012-02-21  David S. Miller  <davem@davemloft.net>
60837         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
60838         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60840 2012-02-20  David S. Miller  <davem@davemloft.net>
60842         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
60843         using a normal save/restore sequence, rather than allocating a
60844         dummy stack frame just to store a frame pointer and restore.
60845         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60847 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60849         * manual/install.texi: Fix stray word in line-wrapped comment.
60851 2012-02-20  David S. Miller  <davem@davemloft.net>
60853         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
60854         both binutils and gcc support GOTDATA.
60856         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
60857         "rd %pc" in the PIC register setup sequences.
60859         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
60860         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
60861         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60862         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
60863         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60864         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60865         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60866         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60867         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
60868         (SYSCALL_ERROR_HANDLER): Likewise.
60869         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60870         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60871         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
60872         (SYSCALL_ERROR_HANDLER): Likewise.
60874         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
60875         (HAVE_GCC_GOTDATA): New.
60876         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
60877         relocation support in both binutils and gcc.
60878         * sysdeps/sparc/elf/configure: Regenerate.
60880         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
60881         * sysdeps/sparc/sparc32/elf/configure: Delete.
60882         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
60883         * sysdeps/sparc/sparc64/elf/configure: Delete.
60884         * sysdeps/sparc/elf/configure.in: New file.
60885         * sysdeps/sparc/elf/configure: Generate.
60887         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
60888         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
60889         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60890         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
60891         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
60893 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60895         * manual/install.texi: Do not mention specific glibc version
60896         numbers.
60897         * manual/libc.texinfo (VERSION, UPDATED): Update.
60898         (@copying): Use @copyright{} and range of years.
60900 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60902         [BZ #13695]
60903         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
60904         [crti.S not in sysdirs] (generated): Do not append.
60905         [crti.S not in sysdirs] (omit-deps): Likewise.
60906         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
60907         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
60908         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
60909         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
60910         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
60911         Likewise.
60912         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
60913         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
60914         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
60915         * csu/defs.awk: Remove file.
60916         * sysdeps/generic/initfini.c: Likewise.
60917         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
60918         variable.
60919         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
60920         Likewise.
60922 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60924         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
60925         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
60926         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
60927         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
60928         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60929         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
60930         <bits/epoll.h>.
60931         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
60932         (__EPOLL_PACKED): Define to empty if not defined by
60933         <bits/epoll.h>.
60934         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
60935         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60936         bits/epoll.h.
60938 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60940         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
60941         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
60942         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
60943         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
60944         <bits/timerfd.h>.
60945         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
60946         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60947         bits/timerfd.h.
60949 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60951         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
60952         in C locale.
60953         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60954         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60955         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
60956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60958 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
60960         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60961         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60963 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
60965         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
60966         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
60967         defined.
60968         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
60969         Likewise.
60970         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
60971         entry for 2.16.
60973 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
60975         * math/w_acos.c: Use non-signaling floating-point comparisons.
60976         * math/w_acosf.c: Likewise.
60977         * math/w_acosh.c: Likewise.
60978         * math/w_acoshf.c: Likewise.
60979         * math/w_acoshl.c: Likewise.
60980         * math/w_acosl.c: Likewise.
60981         * math/w_asin.c: Likewise.
60982         * math/w_asinf.c: Likewise.
60983         * math/w_asinl.c: Likewise.
60984         * math/w_atanh.c: Likewise.
60985         * math/w_atanhf.c: Likewise.
60986         * math/w_atanhl.c: Likewise.
60987         * math/w_exp2.c: Likewise.
60988         * math/w_exp2f.c: Likewise.
60989         * math/w_exp2l.c: Likewise.
60990         * math/w_j0.c: Likewise.
60991         * math/w_j0f.c: Likewise.
60992         * math/w_j0l.c: Likewise.
60993         * math/w_j1.c: Likewise.
60994         * math/w_j1f.c: Likewise.
60995         * math/w_j1l.c: Likewise.
60996         * math/w_jn.c: Likewise.
60997         * math/w_jnf.c: Likewise.
60998         * math/w_log.c: Likewise.
60999         * math/w_log10.c: Likewise.
61000         * math/w_log10f.c: Likewise.
61001         * math/w_log10l.c: Likewise.
61002         * math/w_log2.c: Likewise.
61003         * math/w_log2f.c: Likewise.
61004         * math/w_log2l.c: Likewise.
61005         * math/w_logf.c: Likewise.
61006         * math/w_logl.c: Likewise.
61007         * math/w_sqrt.c: Likewise.
61008         * math/w_sqrtf.c: Likewise.
61009         * math/w_sqrtl.c: Likewise.
61010         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61011         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
61012         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61013         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61014         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61016 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61018         [BZ #9739]
61019         * manual/string.texi (strnlen): Use correct parameter name in
61020         equivalent expression.
61022 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61024         [BZ #11174]
61025         * manual/users.texi (seteuid): Consistently use neweuid for
61026         argument name.
61028 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61030         [BZ #13704]
61031         * manual/nss.texi (Services in the NSS configuration): Correct
61032         list of services in example configuration file.
61034 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
61036         [BZ #11322]
61037         * manual/arith.texi: Remove statements about negative zero
61038         behaving identically to zero.
61040 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61042         [BZ #5993]
61043         * manual/install.texi: Do not document upgrading from libc5.
61045 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61047         [BZ #4596]
61048         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
61050 2012-02-18  David S. Miller  <davem@davemloft.net>
61052         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
61053         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
61054         %o7 across the call.
61055         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
61056         instead.
61057         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
61058         SETUP_PIC_REG_LEAF.
61059         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61060         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
61061         * sysdeps/sparc/crtn.S: Likewise.
61063 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
61065         * aout/Makefile: Remove.
61067 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
61069         [BZ #13058]
61070         * manual/examples/argp-ex1.c (main): Format definition in GNU
61071         style.
61072         * manual/examples/argp-ex2.c (main): Likewise.
61073         * manual/examples/argp-ex3.c (main): Likewise.
61074         * manual/examples/argp-ex4.c (main): Likewise.
61075         * manual/examples/longopt.c (main): Use new-style prototype
61076         definition.
61077         * manual/examples/strncat.c (main): Specify return type and use
61078         (void) for arguments.
61079         * manual/examples/subopt.c (main): Use char **argv argument.
61081 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61083         [BZ #5077]
61084         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
61085         rounding modes.
61087 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
61089         [BZ #6907]
61090         * manual/string.texi (strchr): Change when strchrnul is
61091         recommended.
61093 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
61095         [BZ #174]
61096         * manual/locale.texi (setlocale): Document LOCPATH.
61098 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61100         [BZ #10210]
61101         * manual/process.texi (execle): Move @dots{} before last argument.
61103 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
61105         [BZ #12047]
61106         * manual/charset.texi (Generic Charset Conversion): Fix typo
61107         (LC_TYPE -> LC_CTYPE).
61109 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
61111         [BZ #5805]
61112         * manual/arith.texi (scalbn): Use @var{} on parameter names.
61113         (scalbnf): Likewise.
61114         (scalbnl): Likewise.
61115         (scalbln): Likewise.
61116         (scalblnf): Likewise.
61117         (scalblnl): Likewise.
61118         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
61119         (vwarnx): Likewise.
61120         (verr): Likewise.
61121         (verrx): Likewise.
61122         * manual/filesys.texi (telldir): Use braces around return type.
61123         * manual/llio.texi (mmap): Add space after comma.
61124         (mmap64): Likewise.
61125         * manual/math.texi (jn): Use @var{} on parameter names.
61126         (jnf): Likewise.
61127         (jnl): Likewise.
61128         (yn): Likewise.
61129         (ynf): Likewise.
61130         (ynl): Likewise.
61131         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
61132         line.
61133         * manual/resource.texi (ulimit): Use @dots{} instead of literal
61134         "...".
61135         (sched_get_priority_min): Remove semicolon on @deftypefun line.
61136         (sched_get_priority_max): Likewise.
61137         * manual/signal.texi (sigvec): Add space after comma.
61138         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
61139         names.
61140         (if_indextoname): Likewise.
61141         (if_freenameindex): Likewise.
61142         (sendto): Use ',' instead of '.' in prototype.
61143         * manual/startup.texi (syscall): Use @dots{} instead of literal
61144         "...".
61145         * manual/stdio.texi (__fpending): Separate initial words of
61146         paragraph from @deftypefun line.
61147         * manual/syslog.texi (syslog): Use @dots{} instead of literal
61148         "...".
61149         (vsyslog): Use @var{} on parameter names.
61150         * manual/terminal.texi (stty): Use @var{} on parameter names.
61151         * manual/users.texi (getutmp): Use @var{} on parameter names.
61152         (getutmpx): Likewise.
61154 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61156         [BZ #6884]
61157         * manual/stdio.texi (fopen): Fix typos in description of
61158         ",ccs=STRING".
61160 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
61162         [BZ #4026]
61163         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
61164         get clock_id definition.
61166 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
61168         [BZ #4822]
61169         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
61170         (madvise): Cast every argument to void on its own.
61172 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61174         [BZ #9902]
61175         * manual/startup.texi (Exit Status): Fix typo.
61177 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61179         [BZ #10140]
61180         * manual/examples/argp-ex1.c: Include <stdlib.h>.
61181         * manual/examples/argp-ex2.c: Likewise.
61182         * manual/examples/argp-ex3.c: Likewise.
61184 2012-02-16  Richard Henderson  <rth@redhat.com>
61186         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
61187         * sysdeps/s390/s390-32/initfini.c: Remove.
61188         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
61189         * sysdeps/s390/s390-64/initfini.c: Remove.
61191 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61193         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
61194         compiler output for sysdeps/generic/initfini.c.
61195         * sysdeps/sh/elf/initfini.c: Remove file.
61197 2012-02-16  David S. Miller  <davem@davemloft.net>
61199         [BZ #11494]
61200         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
61202         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
61203         * sysdeps/sparc/crti.S: New file.
61204         * sysdeps/sparc/crtn.S: New file.
61205         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
61206         * sysdeps/sparc/sparc64/Makefile: Likewise.
61208 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
61210         [BZ #3335]
61211         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
61213 2012-02-15  Roland McGrath  <roland@hack.frob.com>
61215         [BZ #4822]
61216         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
61218         * mach/devstream.c (cookie_io_functions_t): Macro removed.
61219         (write, read, close): Likewise.
61220         Patch by Aurelien Jarno <aurelien@aurel32.net>.
61222 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
61224         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
61225         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
61226         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
61227         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
61228         <bits/signalfd.h>.
61229         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
61230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61231         bits/signalfd.h.
61233 2012-02-14  Marek Polacek  <polacek@redhat.com>
61235         * sysdeps/x86_64/crti.S: New file.
61236         * sysdeps/x86_64/crtn.S: New file.
61237         * sysdeps/x86_64/elf/initfini.c: Remove file.
61239 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61241         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
61242         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
61243         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
61244         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
61245         <bits/inotify.h>.
61246         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
61247         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61248         bits/inotify.h.
61250 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61252         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
61253         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
61254         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
61255         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
61256         <bits/eventfd.h>.
61257         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
61258         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61259         bits/eventfd.h.
61261 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
61263         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
61264         __feraiseexcept instead of feraiseexcept.
61266         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
61267         nanosleep invocations.
61268         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
61269         strings, and add error checking for a nanosleep invocations.
61271 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
61273         Replace FSF snail mail address with URLs, as per GNU coding standards.
61274         Most of the snail mail addresses were wrong anyway, and omitting
61275         them makes the source code easier to maintain.  Almost all of the
61276         changes are to license notices and to locale LC_IDENTIFICATION
61277         addresses, except for this one:
61278         * manual/libc.texinfo: In "Published by", give the FSF's URL,
61279         not its snail mail address.
61281 2012-02-09  Richard Henderson  <rth@twiddle.net>
61283         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
61284         of kernel-features.h.
61286         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
61288 2012-02-08  Marek Polacek  <polacek@redhat.com>
61290         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
61291         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
61292         * sysdeps/gnu/_G_config.h: Likewise.
61293         * sysdeps/generic/_G_config.h: Likewise.
61295 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
61297         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
61298         tests.
61299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61301         * sysdeps/powerpc/powerpc32/crti.S: New file.
61302         * sysdeps/powerpc/powerpc32/crtn.S: New file.
61303         * sysdeps/powerpc/powerpc64/crti.S: New file.
61304         * sysdeps/powerpc/powerpc64/crtn.S: New file.
61306         * Makeconfig (have-initfini): Don't set.
61307         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
61308         * configure.in (nopic_initfini): Don't substitute.
61309         * config.h.in (HAVE_INITFINI): Don't #undef.
61310         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
61311         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
61313 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
61315         Support crti.S and crtn.S provided directly by architectures.
61316         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
61317         [crti.S in sysdirs] (omit-deps): Likewise.
61318         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
61319         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
61320         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
61321         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
61322         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
61323         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
61324         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
61325         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
61326         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
61327         compiler output for sysdeps/generic/initfini.c.
61328         * sysdeps/i386/elf/Makefile: Remove file.
61329         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
61331 2012-02-07  Marek Polacek  <polacek@redhat.com>
61333         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
61334         * sysdeps/gnu/_G_config.h: Likewise.
61335         * sysdeps/mach/hurd/_G_config.h: Likewise.
61337 2012-02-07  Marek Polacek  <polacek@redhat.com>
61339         * math/Makefile (tests): Add tst-CMPLX2.
61340         * math/tst-CMPLX2.c: New file.
61342 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
61344         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61346         * math/libm-test.inc (jn_test): Add missing L suffix.
61348 2012-02-06  Marek Polacek  <polacek@redhat.com>
61350         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
61351         * sysdeps/i386/fpu/e_powf.S: Likewise.
61352         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61353         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61354         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61355         * sysdeps/i386/fpu/e_pow.S: Likewise.
61356         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61357         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61358         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61359         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61360         * sysdeps/i386/fpu/e_log2.S: Likewise.
61361         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61362         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61363         * sysdeps/i386/fpu/e_powl.S: Likewise.
61364         * sysdeps/i386/fpu/s_log1p.S: Likewise.
61365         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61366         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61367         * sysdeps/i386/fpu/e_logl.S: Likewise.
61368         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61369         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
61370         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61371         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61372         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61373         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61374         * sysdeps/i386/fpu/e_log.S: Likewise.
61375         * sysdeps/i386/fpu/s_cexp.S: Likewise.
61376         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61377         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
61378         * sysdeps/i386/fpu/e_logf.S: Likewise.
61379         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61380         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61381         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
61382         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61383         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61384         * sysdeps/i386/fpu/e_log10.S: Likewise.
61385         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61386         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61387         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61388         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61389         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61390         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61391         * sysdeps/i386/asm-syntax.h: Likewise.
61392         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61393         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61394         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61395         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
61396         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
61397         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61398         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61399         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61400         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61401         * sysdeps/powerpc/sysdep.h: Likewise.
61402         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
61403         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61405 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61407         [BZ #411]
61408         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
61410 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61412         * sysdeps/i386/sysdep.h: Include <features.h>.
61413         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
61414         version.
61416 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
61418         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
61419         Define.
61420         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
61421         LOAD_PIC_REG_STR.
61423 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61425         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
61426         (SETUP_PIC_REG): Use GET_PC_THUNK.
61427         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
61428         macro.
61430 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61432         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
61433         for non-PIC compilation.
61434         (SETUP_PIC_REG): Add .p2align directive.
61435         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
61436         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
61437         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61438         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61439         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
61440         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61441         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
61442         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61443         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61444         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61445         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61446         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61447         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61448         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61449         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61450         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
61451         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
61452         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61453         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61454         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61455         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61456         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
61457         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61458         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61459         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61460         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
61461         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61462         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
61463         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61464         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61465         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61466         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61467         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61468         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61469         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61470         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61471         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61472         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61473         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61474         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61475         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61477 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61479         * math/tst-CMPLX.c: Include <stdio.h>.
61481 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
61483         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
61484         float.
61485         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61486         * sysdeps/sparc/bits/mathdef.h: Likewise.
61488 2012-01-31  Marek Polacek  <polacek@redhat.com>
61490         * libio/libio.h: Don't define _PARAMS.
61491         * locale/programs/config.h: Don't define PARAMS.
61492         * stdlib/strtol_l.c: Likewise.
61493         (__strtol_l): Remove PARAMS from the prototype.
61495 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
61497         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
61498         names.  Just use the correct names.  Remove unnecessary wrapper
61499         functions.
61500         * malloc/arena.c: Likewise.
61501         * malloc/hooks.c: Likewise.
61503         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
61504         ARENA_TEST says not to.  Simplify test for creation of a new arena.
61505         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
61507 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
61509         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
61510         into tail calls.
61511         (update_get_addr): New function.
61512         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
61513         GET_ADDR_MODULE parameter.
61515 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61517         * crypt/cert.c: Remove __STDC__ conditionals.
61518         * crypt/crypt-entry.c: Likewise.
61519         * crypt/crypt_util.c: Likewise.
61520         * libio/filedoalloc.c: Likewise.
61521         * libio/fileops.c: Likewise.
61522         * libio/genops.c: Likewise.
61523         * libio/iofclose.c: Likewise.
61524         * libio/iofdopen.c: Likewise.
61525         * libio/iofopen.c: Likewise.
61526         * libio/iofopen64.c: Likewise.
61527         * libio/iogetdelim.c: Likewise.
61528         * libio/iopopen.c: Likewise.
61529         * libio/obprintf.c: Likewise.
61530         * libio/oldfileops.c: Likewise.
61531         * libio/oldiofclose.c: Likewise.
61532         * libio/oldiofdopen.c: Likewise.
61533         * libio/oldiofopen.c: Likewise.
61534         * libio/oldiopopen.c: Likewise.
61535         * libio/wfiledoalloc.c: Likewise.
61536         * libio/wgenops.c: Likewise.
61537         * locale/programs/xmalloc.c: Likewise.
61538         * misc/syslog.c: Likewise.
61539         * stdio-common/xbug.c: Likewise.
61540         * string/memchr.c: Likewise.
61541         * string/memcmp.c: Likewise.
61542         * string/memrchr.c: Likewise.
61543         * string/rawmemchr.c: Likewise.
61544         * sysdeps/posix/getcwd.c: Likewise.
61545         * time/strftime_l.c: Likewise.
61547 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61549         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
61550         * config.make.in (config-cflags-sse2avx): Define.
61551         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
61552         Fix typo.
61554 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
61556         * scripts/config.guess: Update from upstream config git repository.
61557         * scripts/config.sub: Likewise.
61559 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
61561         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
61562         (EM_NUM): Update.
61563         (R_TILEPRO_*, R_TILEGX_*): New macros.
61565         * scripts/firstversions.awk: Fix bug in version range handling.
61567         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
61569         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
61571         * include/sys/epoll.h: New file.
61572         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
61573         libc_hidden_def.
61575 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
61577         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
61578         Avoid unnecessary __WORDSIZE == 64 test.
61579         (fmaxf): Use VEX format if possible.
61580         (fmax): Likewise.
61581         (fminf): Likewise.
61582         (fmin): Likewise.
61584         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
61585         * math/math_private.h: Remove libc_fegetround* and
61586         libc_fesetround*.
61587         * sysdeps/i386/configure.in: Check for -msse2avx.
61588         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
61589         also if SSE2AVX is defined.
61590         Remove libc_fegetround* and libc_fesetround*.
61591         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
61592         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
61593         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
61594         of HAS_YMM_USABLE.
61595         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61596         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61597         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61598         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61599         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61601         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
61603 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61605         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
61606         size is not set.
61607         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61609 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
61611         [BZ #13618]
61612         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
61613         relocation.
61614         * Makeconfig (libm): Define.
61615         * elf/Makefile: Add rules to build and run tst-relsort1.
61616         * elf/tst-relsort1.c: New file.
61617         * elf/tst-relsort1mod1.c: New file.
61618         * elf/tst-relsort1mod2.c: New file.
61620 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
61622         * math/s_ldexp.c: Remove __STDC__ conditionals.
61623         * math/s_ldexpf.c: Likewise.
61624         * math/s_ldexpl.c: Likewise.
61625         * math/s_nextafter.c: Likewise.
61626         * math/s_nexttowardf.c: Likewise.
61627         * math/s_significand.c: Likewise.
61628         * math/s_significandf.c: Likewise.
61629         * math/s_significandl.c: Likewise.
61630         * math/w_jnl.c: Likewise.
61631         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61632         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61633         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61634         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61635         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61636         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61637         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
61638         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61639         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61640         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61641         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61642         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61643         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61644         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61645         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61646         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61647         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61648         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61649         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61650         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61651         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61652         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61653         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61654         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61655         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61656         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61657         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61658         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61659         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61660         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61661         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61662         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61663         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61664         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61665         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61666         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61667         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61668         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61669         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61670         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61671         * sysdeps/ieee754/k_standard.c: Likewise.
61672         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61673         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61674         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61675         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61676         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61677         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61678         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61679         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61680         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61681         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61682         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61683         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61684         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61685         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61686         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61687         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61688         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61689         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61690         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61691         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61692         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61693         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61694         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61695         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61696         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61697         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61698         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61699         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61700         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61701         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61702         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61703         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
61704         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61705         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61706         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61707         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61708         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
61709         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61710         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61711         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
61712         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
61713         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61714         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
61715         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
61716         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61717         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61718         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61719         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61720         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61721         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
61722         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
61723         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61724         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61725         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61726         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61727         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61728         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
61729         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61730         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61731         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61732         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61733         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61734         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61735         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61736         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61737         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61738         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61739         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61740         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61741         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61742         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61743         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61744         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61745         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61746         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61747         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61748         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61749         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61750         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61751         * sysdeps/ieee754/s_matherr.c: Likewise.
61752         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61753         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61754         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61755         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61757 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61759         * crypt/md5.h: Remove __STDC__ conditionals.
61760         * libio/libioP.h: Likewise.
61761         * locale/programs/config.h: Likewise.
61762         * sysdeps/generic/sysdep.h: Likewise.
61763         * sysdeps/i386/asm-syntax.h: Likewise.
61764         * sysdeps/s390/asm-syntax.h: Likewise.
61765         * sysdeps/unix/sysdep.h: Likewise.
61766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
61767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61769 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61771         * libio/libio.h: Remove __STDC__ conditionals.
61772         * malloc/obstack.h: Likewise.
61773         * math/complex.h: Likewise.
61774         * math/math.h: Likewise.
61775         * sysdeps/generic/_G_config.h: Likewise.
61776         * sysdeps/gnu/_G_config.h: Likewise.
61777         * sysdeps/mach/hurd/_G_config.h: Likewise.
61778         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61779         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61780         * sysdeps/sparc/bits/mathdef.h: Likewise.
61782 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
61784         [BZ #13583]
61785         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
61786         Clean up HAS_* macros.
61787         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
61788         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
61789         possible.
61790         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
61791         HAS_AVX.
61792         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61793         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61794         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61795         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61796         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61798 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
61800         * elf/tst-unique3.cc (gets): Remove declaration.
61801         * elf/tst-unique3lib.cc (gets): Likewise.
61802         * elf/tst-unique3lib2.cc (gets): Likewise.
61803         * elf/tst-unique4.cc (gets): Likewise.
61805 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
61807         * include/stdio.h: Add C++ protection.  Add gets declarations and
61808         definitions.
61809         * debug/tst-chk1.c: Don't declare gets here.
61810         * stdio-common/tst-gets.c: Likewise.
61812 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61814         * posix/glob: Remove directory.
61816 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61818         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
61820 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
61822         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
61823         of the non-standard EPFNOSUPPORT.
61825 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61827         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
61828         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
61829         ANYWHERE set to 1 only on KERN_NO_SPACE error.
61831 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
61833         * wcsmbs/uchar.h: Test __STDC_VERSION__.
61835 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
61837         * nscd/aicache.c (addhstaiX): Do not cache negative results of
61838         transient errors.
61839         * nscd/grpcache.c (cache_addgr): Likewise.
61840         * nscd/hstcache.c (cache_addhst): Likewise.
61841         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61842         * nscd/pwdcache.c (cache_addpw): Likewise.
61843         * nscd/servicescache.c (cache_addserv): Likewise.
61845 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
61847         * malloc/malloc.c: Various cleanups.
61848         * malloc/hooks.c: Likewise.
61850         * stdlib/Makefile (tests): Add bug-fmtmsg1.
61851         * stdlib/bug-fmtmsg1.c: New file.
61853         * stdlib/fmtmsg.c (init): Add missing unlock.
61854         Patch by Peng Haitao <penght@cn.fujitsu.com>.
61856 2012-01-12  Marek Polacek  <polacek@redhat.com>
61858         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
61859         and _GNU_SOURCE.
61861 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
61863         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
61864         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
61865         macro to ensure uniqueness of label name.
61866         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
61867         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
61869 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
61871         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
61873         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
61874         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61875         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61876         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
61878 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
61880         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
61882         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
61883         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61884         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61886         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
61888         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
61889         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61890         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61891         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
61893         * math/bits/math-finite.h: Add ldexp support.
61895 2012-01-10  Marek Polacek  <polacek@redhat.com>
61897         * locale/programs/localedef.h (show_archive_content): Add noreturn
61898         attribute.
61900 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
61902         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
61904 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61906         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
61908         * io/Makefile (headers): Add bits/poll2.h.
61910 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
61912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
61913         typo #include statement.
61915 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61917         * include/sys/cdefs.h: Define __attribute_alloc_size.
61918         * catgets/gencat.c: Add alloc_size attribute and apply consistently
61919         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
61920         * elf/pldd.c: Likewise.
61921         * iconv/iconv_charmap.c: Likewise.
61922         * iconv/iconvconfig.c: Likewise.
61923         * iconv/strtab.c: Likewise.
61924         * locale/programs/locale.c: Likewise.
61925         * locale/programs/localedef.h: Likewise.
61926         * locale/programs/simple-hash.c: Likewise.
61927         * nscd/nscd.h: Likewise.
61928         * nss/makedb.c: Likewise.
61929         * sysdeps/generic/ldconfig.h: Likewise.
61930         * locale/programs/localedef.c: Remove xmalloc prototype.
61931         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
61933 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61935         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
61936         appropriate.
61938 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61940         * math/Makefile (tests): Add tst-CMPLX.
61941         * math/tst-CMPLX.c: New file.
61943         * math/complex.h (CMPLXL): Fix typo.
61945         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
61946         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
61947         GLIBC_2.16.
61948         * debug/tst-chk1.c: Add poll and ppoll tests.
61949         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
61950         * include/sys/poll.h: Add hidden proto for ppoll.
61951         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
61952         * sysdeps/mach/hurd/ppoll.c: Likewise.
61953         * io/ppoll.c: Likewise.
61954         * debug/poll_chk.c: New file.
61955         * debug/ppoll_chk.c: New file.
61956         * include/bits/poll2.h: New file.
61957         * io/bits/poll2.h: New file.
61959         [BZ #1350]
61960         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
61962         * configure.in: static is always set to yes.  Remove.
61963         * config.make.in: Don't set build-static.
61964         * Makeconfig: Remove use of build-static.
61965         * dlfcn/Makefile: Likewise.
61966         * elf/Makefile: Likewise.
61967         * math/Makefile: Likewise.
61968         * misc/Makefile: Likewise.
61969         * nptl/Makefile: Likewise.
61970         * sysdeps/mach/hurd/Makefile: Likewise.
61972         * configure.in: PWD_P is not used anymore.
61973         * config.make.in: Remove PWD_P entry.
61975         * configure.in: Remove last remnants of RANLIB.
61976         No need to check for signed size_t anymore.
61977         Don't set libc_commonpagesize and libc_relro_required here for Alpha
61978         and IA-64.
61979         Remove __builtin_expect test because we require at least gcc 3.4.
61980         * aclocal.m4: Likewise.
61982         * wcsmbs/mbrtoc16.c: Implement using towc function.
61983         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
61984         * wcsmbs/wcsmbsload.c: Likewise.
61985         * iconv/gconv_simple.c: Likewise.
61986         * iconv/gconv_int.h: Likewise.
61987         * iconv/gconv_builtin.h: Likewise.
61988         * iconv/iconv_prog.c: Remove CHAR16 handling.
61990         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
61992         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
61994         * configure.in: Remove --with-elf and --enable-bounded options.
61995         Dont set base_machine for ia64.  More non-ELF conditions removed.
61996         Remove testing and setting of leading underscore information.
61997         * config.make.in (build-bounded): Set to no.
61998         * config.h.in: Remove NO_UNDERSCORES entry.
61999         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
62000         them.
62001         * csu/start.c: Remove !NO_UNDERSCORE code.
62002         * locale/localeinfo.h: Likewise.
62003         * sysdeps/generic/machine-gmon.h: Likewise.
62004         * sysdeps/generic/sysdep.h: Likewise.
62005         * sysdeps/i386/sysdep.h: Likewise.
62006         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62007         * sysdeps/mach/sysdep.h: Likewise.
62008         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62009         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62010         * sysdeps/sh/sysdep.h: Likewise.
62011         * sysdeps/sparc/sparc32/alloca.S: Likewise.
62012         * sysdeps/unix/i386/sysdep.S: Likewise.
62013         * sysdeps/unix/sparc/start.c: Likewise.
62014         * sysdeps/unix/sparc/sysdep.S: Likewise.
62015         * sysdeps/unix/sparc/sysdep.h: Likewise.
62016         * sysdeps/unix/start.c: Likewise.
62017         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62018         * sysdeps/x86_64/sysdep.h: Likewise.
62020 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
62022         [BZ #13553]
62023         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
62024         for non-gcc.
62025         * argp/argp-fmtstream.h: Use const instead __const.
62026         * argp/argp.h: Likewise.
62027         * assert/assert.h: Likewise.
62028         * bits/fenv.h: Likewise.
62029         * bits/sched.h: Likewise.
62030         * bits/sigset.h: Likewise.
62031         * bits/sigthread.h: Likewise.
62032         * catgets/nl_types.h: Likewise.
62033         * conform/data/pthread.h-data: Likewise.
62034         * crypt/crypt-private.h: Likewise.
62035         * crypt/crypt.h: Likewise.
62036         * crypt/crypt_util.c: Likewise.
62037         * ctype/ctype.h: Likewise.
62038         * debug/execinfo.h: Likewise.
62039         * debug/mbsnrtowcs_chk.c: Likewise.
62040         * debug/mbsrtowcs_chk.c: Likewise.
62041         * debug/wcsnrtombs_chk.c: Likewise.
62042         * debug/wcsrtombs_chk.c: Likewise.
62043         * debug/wcstombs_chk.c: Likewise.
62044         * dirent/dirent.h: Likewise.
62045         * dlfcn/dlfcn.h: Likewise.
62046         * elf/neededtest4.c: Likewise.
62047         * grp/grp.h: Likewise.
62048         * gshadow/gshadow.h: Likewise.
62049         * iconv/gconv.h: Likewise.
62050         * iconv/gconv_int.h: Likewise.
62051         * iconv/gconv_simple.c: Likewise.
62052         * iconv/iconv.h: Likewise.
62053         * iconv/loop.c: Likewise.
62054         * iconv/skeleton.c: Likewise.
62055         * include/aio.h: Likewise.
62056         * include/aliases.h: Likewise.
62057         * include/argz.h: Likewise.
62058         * include/arpa/inet.h: Likewise.
62059         * include/assert.h: Likewise.
62060         * include/dirent.h: Likewise.
62061         * include/dlfcn.h: Likewise.
62062         * include/execinfo.h: Likewise.
62063         * include/fcntl.h: Likewise.
62064         * include/fenv.h: Likewise.
62065         * include/glob.h: Likewise.
62066         * include/grp.h: Likewise.
62067         * include/libintl.h: Likewise.
62068         * include/mntent.h: Likewise.
62069         * include/netdb.h: Likewise.
62070         * include/pwd.h: Likewise.
62071         * include/rpc/netdb.h: Likewise.
62072         * include/sched.h: Likewise.
62073         * include/search.h: Likewise.
62074         * include/shadow.h: Likewise.
62075         * include/signal.h: Likewise.
62076         * include/stdio.h: Likewise.
62077         * include/stdlib.h: Likewise.
62078         * include/string.h: Likewise.
62079         * include/sys/socket.h: Likewise.
62080         * include/sys/stat.h: Likewise.
62081         * include/sys/statfs.h: Likewise.
62082         * include/sys/statvfs.h: Likewise.
62083         * include/sys/syslog.h: Likewise.
62084         * include/sys/time.h: Likewise.
62085         * include/sys/uio.h: Likewise.
62086         * include/time.h: Likewise.
62087         * include/unistd.h: Likewise.
62088         * include/utmp.h: Likewise.
62089         * include/wchar.h: Likewise.
62090         * include/wctype.h: Likewise.
62091         * inet/aliases.h: Likewise.
62092         * inet/arpa/inet.h: Likewise.
62093         * inet/netinet/ether.h: Likewise.
62094         * inet/netinet/in.h: Likewise.
62095         * intl/libintl.h: Likewise.
62096         * io/bits/fcntl2.h: Likewise.
62097         * io/fcntl.h: Likewise.
62098         * io/ftw.h: Likewise.
62099         * io/sys/poll.h: Likewise.
62100         * io/sys/stat.h: Likewise.
62101         * io/sys/statfs.h: Likewise.
62102         * io/sys/statvfs.h: Likewise.
62103         * io/utime.h: Likewise.
62104         * libio/bits/stdio.h: Likewise.
62105         * libio/bits/stdio2.h: Likewise.
62106         * libio/libio.h: Likewise.
62107         * libio/libioP.h: Likewise.
62108         * libio/stdio.h: Likewise.
62109         * locale/lc-ctype.c: Likewise.
62110         * locale/locale.h: Likewise.
62111         * login/utmp.h: Likewise.
62112         * malloc/arena.c: Likewise.
62113         * malloc/malloc.c: Likewise.
62114         * malloc/malloc.h: Likewise.
62115         * malloc/mcheck.c: Likewise.
62116         * malloc/mtrace.c: Likewise.
62117         * math/bits/mathcalls.h: Likewise.
62118         * math/fenv.h: Likewise.
62119         * math/math_private.h: Likewise.
62120         * misc/bits/error.h: Likewise.
62121         * misc/bits/syslog.h: Likewise.
62122         * misc/err.h: Likewise.
62123         * misc/error.h: Likewise.
62124         * misc/fstab.h: Likewise.
62125         * misc/mntent.h: Likewise.
62126         * misc/regexp.h: Likewise.
62127         * misc/search.h: Likewise.
62128         * misc/sgtty.h: Likewise.
62129         * misc/sys/mman.h: Likewise.
62130         * misc/sys/syslog.h: Likewise.
62131         * misc/sys/uio.h: Likewise.
62132         * misc/sys/xattr.h: Likewise.
62133         * misc/ttyent.h: Likewise.
62134         * nis/rpcsvc/ypclnt.h: Likewise.
62135         * nss/nss.h: Likewise.
62136         * posix/bits/unistd.h: Likewise.
62137         * posix/fnmatch.h: Likewise.
62138         * posix/glob.h: Likewise.
62139         * posix/sched.h: Likewise.
62140         * posix/spawn.h: Likewise.
62141         * posix/sys/wait.h: Likewise.
62142         * posix/unistd.h: Likewise.
62143         * posix/wordexp.h: Likewise.
62144         * pwd/pwd.h: Likewise.
62145         * resolv/netdb.h: Likewise.
62146         * resource/sys/resource.h: Likewise.
62147         * rt/aio.h: Likewise.
62148         * rt/bits/mqueue2.h: Likewise.
62149         * rt/mqueue.h: Likewise.
62150         * shadow/shadow.h: Likewise.
62151         * signal/signal.h: Likewise.
62152         * socket/send.c: Likewise.
62153         * socket/sendto.c: Likewise.
62154         * socket/sys/socket.h: Likewise.
62155         * stdio-common/printf.h: Likewise.
62156         * stdlib/bits/stdlib.h: Likewise.
62157         * stdlib/fmtmsg.h: Likewise.
62158         * stdlib/monetary.h: Likewise.
62159         * stdlib/stdlib.h: Likewise.
62160         * stdlib/ucontext.h: Likewise.
62161         * streams/stropts.h: Likewise.
62162         * string/argz.h: Likewise.
62163         * string/bits/string2.h: Likewise.
62164         * string/string.h: Likewise.
62165         * string/strings.h: Likewise.
62166         * sunrpc/rpc/auth.h: Likewise.
62167         * sunrpc/rpc/auth_des.h: Likewise.
62168         * sunrpc/rpc/clnt.h: Likewise.
62169         * sunrpc/rpc/netdb.h: Likewise.
62170         * sunrpc/rpc/pmap_clnt.h: Likewise.
62171         * sunrpc/rpc/xdr.h: Likewise.
62172         * sysdeps/generic/inttypes.h: Likewise.
62173         * sysdeps/generic/net/if.h: Likewise.
62174         * sysdeps/generic/sys/swap.h: Likewise.
62175         * sysdeps/gnu/net/if.h: Likewise.
62176         * sysdeps/gnu/utmpx.h: Likewise.
62177         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
62178         * sysdeps/i386/i486/bits/string.h: Likewise.
62179         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
62180         * sysdeps/s390/bits/string.h: Likewise.
62181         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
62182         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
62183         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
62184         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
62185         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
62186         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
62187         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
62188         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
62189         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
62190         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
62191         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
62192         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
62193         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
62194         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
62195         * sysdeps/unix/sysv/linux/readv.c: Likewise.
62196         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
62197         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
62198         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62199         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
62200         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
62201         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62202         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
62203         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
62204         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
62205         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
62206         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
62207         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
62208         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62209         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
62210         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
62211         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
62212         * sysvipc/sys/ipc.h: Likewise.
62213         * sysvipc/sys/msg.h: Likewise.
62214         * sysvipc/sys/sem.h: Likewise.
62215         * sysvipc/sys/shm.h: Likewise.
62216         * termios/termios.h: Likewise.
62217         * time/sys/time.h: Likewise.
62218         * time/time.h: Likewise.
62219         * wcsmbs/bits/wchar2.h: Likewise.
62220         * wcsmbs/uchar.h: Likewise.
62221         * wcsmbs/wchar.h: Likewise.
62222         * wctype/wctype.h: Likewise.
62224         [BZ #13551]
62225         * Makeconfig: Remove all but ELF support including AIX support.
62226         * Makerules: Likewise.
62227         * config.h.in: Likewise.
62228         * config.make.in: Likewise.
62229         * configure: Likewise.
62230         * configure.in: Likewise.
62231         * csu/Makefile: Likewise.
62232         * csu/version.c: Likewise.
62233         * debug/Makefile: Likewise.
62234         * dlfcn/Makefile: Likewise.
62235         * elf/Makefile: Likewise.
62236         * extra-lib.mk: Likewise.
62237         * iconv/Makefile: Likewise.
62238         * include/libc-symbols.h: Likewise.
62239         * include/shlib-compat.h: Likewise.
62240         * resolv/Makefile: Likewise.
62241         * resolv/res_libc.c: Likewise.
62242         * rt/Makefile: Likewise.
62243         * sysdeps/i386/asm-syntax.h: Likewise.
62244         * sysdeps/i386/sysdep.h: Likewise.
62245         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62246         * sysdeps/mach/sysdep.h: Likewise.
62247         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
62248         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
62249         * sysdeps/s390/asm-syntax.h: Likewise.
62250         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62251         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62252         * sysdeps/sh/sysdep.h: Likewise.
62253         * sysdeps/unix/sparc/sysdep.h: Likewise.
62254         * sysdeps/wordsize-32/divdi3.c: Likewise.
62255         * sysdeps/x86_64/sysdep.h: Likewise.
62257         * argp/Versions: Remove _argp_unlock_xxx.
62259         [BZ #13559]
62260         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
62261         * abilist/libBrokenLocale.abilist: Likewise.
62262         * abilist/libanl.abilist: Likewise.
62263         * abilist/libc.abilist: Likewise.
62264         * abilist/libcrypt.abilist: Likewise.
62265         * abilist/libdl.abilist: Likewise.
62266         * abilist/libm.abilist: Likewise.
62267         * abilist/libnsl.abilist: Likewise.
62268         * abilist/libpthread.abilist: Likewise.
62269         * abilist/libresolv.abilist: Likewise.
62270         * abilist/librt.abilist: Likewise.
62271         * abilist/libthread_db.abilist: Likewise.
62272         * abilist/libutil.abilist: Likewise.
62273         * abilist/libnss_db.abilist: New file.
62275         * scripts/abilist.awk: Add support for indirect functions.
62277         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
62279         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
62281         * shlib-versions: Remove entries for ports architectures.
62283         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
62284         files in ports.
62285         * elf/stackguard-macros.h: Remove support for IA-64.
62286         * elf/tst-auditmod1.c: Likewise.
62287         * sysdeps/generic/ldsodefs.h: Likewise.
62289         * sysdeps/unix/sysv/linux/configure.in: Ports should define
62290         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
62291         configure files.
62293         [BZ #13552]
62294         * configure.in: Remove --enable-omitfp support.
62295         * FAQ.in: Adjust.
62296         * config.make.in: Likewise.
62297         * Makeconfig: Likewise.
62298         * manual/install.texi: Likewise.
62300         In case anyone cares, the IA-64 architecture could move to ports.
62301         * sysdeps/ia64/*: Removed.
62302         * sysdeps/unix/sysv/linux/ia64/*: Removed.
62303         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
62305         [BZ #13555]
62306         * configure.in: Remove entries for unsupported architectures.
62308         [BZ #13533]
62309         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
62310         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
62311         routines.
62312         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
62313         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
62314         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
62315         fall back to using wcrtomb.
62316         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
62317         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
62318         renaming.
62319         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
62320         * wcsmbs/tst-c16c32-1.c: New file.
62322         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
62323         local variable.
62325         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
62327         * elf/tst-unique3.cc: Add explicit declaration of gets.
62328         * elf/tst-unique3lib.cc: Likewise.
62329         * elf/tst-unique3lib2.cc: Likewise.
62330         * elf/tst-unique4.cc: Likewise.
62332         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
62334 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
62336         [BZ #13566]
62337         * assert/assert.h (static_assert): Don't define for C++.
62338         * libio/stdio.h (gets): Do declare for C++ <= C++11.
62339         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
62341 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
62343         * iconv/loop.c (single loop): Fix assertion in storing of
62344         remaining bytes.
62346         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
62348 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
62350         * posix/getconf.c: Update copyright year.
62351         * nss/getent.c: Likewise.
62352         * nss/makedb.c: Likewise.
62353         * iconv/iconvconfig.c: Likewise.
62354         * iconv/iconv_prog.c: Likewise.
62355         * elf/ldconfig.c: Likewise.
62356         * elf/pldd.c: Likewise.
62357         * elf/sotruss.ksh: Likewise.
62358         * catgets/gencat.c: Likewise.
62359         * csu/version.c: Likewise.
62360         * elf/ldd.bash.in: Likewise.
62361         * elf/sprof.c (print_version): Likewise.
62362         * locale/programs/locale.c: Likewise.
62363         * locale/programs/localedef.c: Likewise.
62364         * login/programs/pt_chown.c: Likewise.
62365         * nscd/nscd.c (print_version): Likewise.
62366         * debug/xtrace.sh: Likewise.
62367         * malloc/memusage.sh: Likewise.
62368         * malloc/mtrace.pl: Likewise.
62369         * debug/catchsegv.sh: Likewise.
62371 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
62373         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
62374         pure attribute.
62376 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
62378         [BZ #13533]
62379         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
62380         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
62381         transformations.
62382         * iconv/gconv_int.h: Likewise.
62383         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
62384         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
62385         from libc for GLIBC_2.16.
62386         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
62387         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
62388         * wcsmbs/uchar.h: Really define mbstate_t.
62389         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
62390         * wcsmbs/c16rtomb.c: New file.
62391         * wcsmbs/mbrtoc16.c: New file.
62392         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
62393         for C/POSIX locale.
62394         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
62395         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
62397         * wcsmbs/wchar.h: Add missing __restrict.
62399 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62401         [BZ #13532]
62402         * time/Makefile (routines): Add timespec_get.
62403         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
62404         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
62405         timespec for ISO C11.
62406         * time/timespec_get.c: New file.
62407         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
62408         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
62410         [BZ #13531]
62411         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
62412         * stdlib/stdlib.h: Declare aligned_alloc.
62413         * Versions.def: Add GLIBC_2.16 for libc.
62414         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
62416         [BZ 13527]
62417         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
62418         ISO C11.
62420         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
62421         code.
62423         [BZ #13528]
62424         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
62426         [BZ #13529]
62427         * assert/assert.h (static_assert): Define.
62429         * version.h: Update for 2.16 development version.
62431         [BZ #13526]
62432         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
62433         _ISOC11_SOURCE.
62435         * version.h (RELEASE): Bump for 2.15 release.
62436         * include/features.h (__GLIBC_MINOR__): Bump to 15.
62438         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
62439         Patch by Marek Polacek <mpolacek@redhat.com>.
62441         * bits/byteswap.h: Protect long long constants with __extension__.
62442         * sysdeps/i386/bits/byteswap.h: Likewise.
62443         * sysdeps/ia64/bits/byteswap.h: Likewise.
62444         * sysdeps/s390/bits/byteswap.h: Likewise.
62445         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62447 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62449         [BZ #13540]
62450         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
62451         destination buffer.
62452         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
62454 2011-12-23  Marek Polacek  <polacek@redhat.com>
62456         * elf/dl-addr.c (determine_info): Add inline keyword.
62457         * elf/tst-auditmod4b.c (check_avx): Likewise.
62458         * elf/tst-auditmod6b.c (check_avx): Likewise.
62459         * elf/tst-auditmod6c.c (check_avx): Likewise.
62460         * elf/tst-auditmod7b.c (check_avx): Likewise.
62462 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62464         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
62465         !__SSE_MATH__.
62467 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62469         [BZ #13540]
62470         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
62471         processing for last bytes.
62473 2011-08-06  Bruno Haible  <bruno@clisp.org>
62475         [BZ #13061]
62476         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
62477         U+0385, not to U+1FEE.
62479         [BZ #13062]
62480         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
62481         entry for U+00A5 U+0301.
62483 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62485         [BZ #13166]
62486         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
62487         buffer for the output is too small.
62489         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
62490         optimization.
62492         [BZ #13185]
62493         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
62494         SSE flags if possible.
62496 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62498         [BZ #13540]
62499         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
62500         processing for last bytes.
62502 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
62504         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
62505         (syscall-list-default-options, syscall-list-default-condition)
62506         (syscall-list-includes): Define.
62507         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
62508         list of ABIs and options and #if conditions for each ABI.  Do not
62509         handle common syscalls between ABIs specially.
62510         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
62511         Remove.
62512         (syscall-list-variants, syscall-list-32bit-options)
62513         (syscall-list-32bit-condition, syscall-list-64bit-options)
62514         (syscall-list-64bit-condition): Define.
62515         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
62516         (syscall-list-variants, syscall-list-32bit-options)
62517         (syscall-list-32bit-condition, syscall-list-64bit-options)
62518         (syscall-list-64bit-condition): Define.
62519         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
62520         Remove.
62521         (syscall-list-variants, syscall-list-32bit-options)
62522         (syscall-list-32bit-condition, syscall-list-64bit-options)
62523         (syscall-list-64bit-condition): Define.
62524         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
62525         Remove.
62526         (syscall-list-variants, syscall-list-32bit-options)
62527         (syscall-list-32bit-condition, syscall-list-64bit-options)
62528         (syscall-list-64bit-condition): Define.
62530 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62532         * locale/iso-639.def: Add brx entry.
62534         [BZ #13328]
62535         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
62536         Proposed by Mariusz_Cukr <marcukr@op.pl>.
62538         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
62539         __feraiseexcept_renamed.
62541 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62543         [BZ #13538]
62544         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
62545         EPOLLET with unsigned values.
62546         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62547         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62549         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
62550         to large cancellation.
62551         * math/s_cacoshf.c: Likewise.
62552         * math/s_cacoshl.c: Likewise.
62554 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
62556         [BZ #13305]
62557         [BZ #12786]
62558         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
62559         * math/s_cacoshf.c: Likewise.
62560         * math/s_cacoshl.c: Likewise.
62562 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62564         [BZ #13439]
62565         * iconv/gconv.h: Define __GCONV_SWAP.
62566         * iconvdata/unicode.c: The swap bit must be stored in __flags.
62567         * iconvdata/utf-16.c: Likewise.
62568         * iconvdata/utf-32.c: Likewise.
62570 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
62572         [BZ #13524]
62573         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
62574         numerator after shifting it by one limb.
62576 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
62578         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
62579         under [__USE_EXTERN_INLINES].
62581 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62583         [BZ #13446]
62584         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
62586 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62588         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
62589         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
62590         optimized code.
62591         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
62592         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
62593         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
62594         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
62595         for strncasecmp/strncasecmp_l compilation.
62596         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
62597         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
62599 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
62601         [BZ #13484]
62602         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
62603         of __asm__.
62605 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62607         [BZ #13506]
62608         * time/tzfile.c (__tzfile_read): Check values from file header.
62610 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62612         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
62613         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
62614         * powerpc/powerpc32/dl-start.S: Likewise.
62615         * powerpc/powerpc32/elf/start.S: Likewise.
62616         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
62617         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
62618         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
62619         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
62620         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62621         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
62622         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
62623         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62624         * powerpc/powerpc32/fpu/s_round.S: Likewise.
62625         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62626         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62627         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62628         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
62629         * powerpc/powerpc32/memset.S: Likewise.
62630         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62631         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62632         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62633         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62634         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62635         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62636         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62637         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62638         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
62639         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
62640         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
62641         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62642         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62644 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62646         * math/libm-test.inc: Added more nearbyint tests.
62647         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
62648         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
62649         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
62650         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
62652 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
62654         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
62655         FD_CLOEXEC.
62657 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62659         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
62660         Add wcscpy-ssse3 wcscpy-c.
62661         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
62662         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
62663         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
62664         * sysdeps/x86_64/wcschr.S: New file.
62665         * sysdeps/x86_64/wcsrchr.S: New file.
62666         * string/test-strcmp.c: Remove checking of wcscmp function for
62667         wrong alignments.
62668         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
62669         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
62670         wcsrchr-sse2 wcsrchr-c.
62671         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
62672         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
62673         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
62674         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
62675         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
62676         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
62677         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
62678         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
62679         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
62680         * wcsmbc/wcschr.c (WCSCHR): New macro.
62682 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62684         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
62685         * wcsmbs/test-wcsrchr.c: New file.
62686         * string/test-strrchr.c: Add wcsrchr support.
62687         (WIDE): New macro.
62688         * wcsmbs/test-wcscpy.c: New file.
62689         * string/test-strcpy.c: Add wcscpy support.
62690         (WIDE): New macro.
62692 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
62694         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
62695         the inner loop.
62697 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
62699         [BZ #13472]
62700         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
62702 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
62704         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
62705         Minor optimizations.
62707         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
62708         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
62709         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
62711 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
62713         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
62714         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
62715         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
62716         for gcc to avoid warnings.
62717         * inet/Makefile (tests): Add tst-checks.
62718         * inet/tst-checks.c: New file.
62720         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
62721         warning.
62723         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
62724         __wmemcmp_sse2.
62726         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
62727         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
62729         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
62731 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
62733         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
62734         problem.
62736         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
62738 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
62740         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
62741         conditional on GCC version.
62742         (__arch_compare_and_exchange_val_8_acq)
62743         (__arch_compare_and_exchange_val_16_acq)
62744         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
62745         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
62746         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
62748 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
62750         * sysdeps/sh/backtrace.c: New file.
62752 2011-12-02  Andreas Schwab  <schwab@redhat.com>
62754         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
62755         parenthesis.
62757 2011-12-01  Andreas Schwab  <schwab@redhat.com>
62759         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
62760         falling back to utime.
62762 2011-11-30  Andreas Schwab  <schwab@redhat.com>
62764         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
62765         expectations for float.
62767 2011-11-29  Andreas Schwab  <schwab@redhat.com>
62769         * locale/weight.h (findidx): Add parameter len.
62770         * locale/weightwc.h (findidx): Likewise.
62771         * posix/fnmatch_loop.c (FCT): Adjust caller.
62772         * posix/regcomp.c (build_equiv_class): Likewise.
62773         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
62774         * posix/regexec.c (check_node_accept_bytes): Likewise.
62775         * string/strcoll_l.c (STRCOLL): Likewise.
62776         * string/strxfrm_l.c (STRXFRM): Likewise.
62778 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
62780         * Makefile.in: Remove CVSOPT handling.
62781         * configure.in: Remove use of AC_REVISION.
62782         * iconvdata/Makefile (distribute): No need to filter out CVS.
62783         * scripts/list-sources.sh: Remove CVS, subversion and monotone
62784         handling.
62786 2011-11-16  Andreas Schwab  <schwab@redhat.com>
62788         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
62789         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
62790         [USE_AS_STRNCASECMP_L]: Likewise.
62791         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
62792         NO_TLS_DIRECT_SEG_REFS.
62793         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
62794         Fix argument offsets for non-PIC.
62795         [USE_AS_STRNCASECMP_L]: Likewise.
62796         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
62797         NO_TLS_DIRECT_SEG_REFS.
62799 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62801         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
62802         O_CLOEXEC.
62803         * locale/loadlocale.c (_nl_load_locale): Likewise.
62805 2011-11-15  Andreas Schwab  <schwab@redhat.com>
62807         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
62808         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
62809         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
62810         (SYSCALL_GETTIME): Set errno on error.
62812         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
62813         count references to noai6ai_cached.
62815 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62817         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
62819         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
62820         FD_CLOEXEC for /proc/self/maps.
62822         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
62823         FD_CLOEXEC for /proc/meminfo.
62825         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
62826         gai.conf.
62828         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
62829         FD_CLOEXEC for given file.
62831         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
62833         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
62834         FD_CLOEXEC for /etc/hosts.
62835         (_gethtent): Likewise.
62837         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
62839         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
62840         cancellation and set FD_CLOEXEC for /etc/netgroup.
62842         * nss/nss_files/files-key.c (search): Don't allow cancellation when
62843         reading /etc/publickey.
62845         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
62846         allow cancellation when reading /etc/group.
62848         * nss/nss_files/files-alias.c (internal_setent): Don't allow
62849         cancellation.
62850         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
62852         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
62853         when using data file.
62855         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
62857         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
62858         (write_nis_obj): Use "c" and "e" in fopen.
62860         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
62862         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
62864         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
62866         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
62868         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
62869         locale.alias.
62871         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
62873         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
62875         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
62877         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
62878         file parsing and set FD_CLOEXEC.
62880 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62882         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
62884 2011-11-14  Andreas Schwab  <schwab@redhat.com>
62886         * malloc/arena.c (arena_get2): Don't call reused_arena when
62887         _int_new_arena failed.
62889 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62891         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
62892         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
62893         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
62894         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62895         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62896         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
62897         to compile strcasecmp and strncasecmp.
62898         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
62899         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
62901         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
62903 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
62905         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
62906         locale-defines.sym to gen-as-const-headers.
62907         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
62908         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
62909         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
62910         to compile strcasecmp and strncasecmp.
62911         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
62912         strcasecmp_l and strncasecmp_l.
62913         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
62914         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
62915         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
62916         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
62917         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
62918         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
62919         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
62920         * sysdeps/i386/i686/multiarch/strncase.S: New file.
62921         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
62922         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
62923         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
62925 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
62927         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
62928         result of SYSDEP_GETTIME_CPU to retval.
62929         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
62930         parameter list to macro.  Remove trailing semicolon.  Adjust users.
62932         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
62933         variable.
62935         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
62936         mantissa words.
62937         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
62939         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
62940         from unused variable.
62942         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
62943         DWARF definitions.
62944         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
62945         for assembling.
62947         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
62948         over namespaces.
62950         * sunrpc/rpc_prot.c (rejected): Fix case value.
62952         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
62953         unsigned long long int to avoid warnings in shift.
62955         * posix/regex_internal.c (re_string_reconstruct): Actually use result
62956         of use of trans.
62957         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
62958         variable tmp.
62960         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
62961         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
62962         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
62964         * nis/nis_table.c (nis_list): Use variable of correct type for
62965         result of __follow_path call.
62967 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62969         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
62970         of math functions ceil, trunc, floor, round, and sqrt, when
62971         avaliable on the platform.
62972         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
62973         name clash.
62974         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62975         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
62976         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
62978 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
62980         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
62981         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62983 2011-11-11  Roland McGrath  <roland@hack.frob.com>
62985         * include/unistd.h: Fix __readlink return type.
62986         Reported by Chris Metcalf <cmetcalf@tilera.com>.
62988 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
62990         * stdlib/ucontext.h: Undo last change for makecontext.
62992 2011-11-11  Andreas Schwab  <schwab@redhat.com>
62994         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
62996         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
62997         * setjmp/setjmp.h: Mark functions as non-leaf.
62998         * setjmp/bits/setjmp2.h: Likewise.
62999         * stdlib/ucontext.h: Likewise.
63001 2011-11-10  Andreas Schwab  <schwab@redhat.com>
63003         * malloc/arena.c (_int_new_arena): Don't increment narenas.
63004         (reused_arena): Don't check arena limit.
63005         (arena_get2): Atomically check arena limit.
63007 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
63009         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
63010         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
63012         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
63013         instructions.
63015 2011-11-07  Andreas Schwab  <schwab@redhat.com>
63017         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
63018         handler when locking.
63020         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
63021         Fix size of allocated buffer.
63023 2011-11-04  Andreas Schwab  <schwab@redhat.com>
63025         [BZ #10103]
63026         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
63027         declarations for long double functions.
63028         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
63030         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
63032 2011-11-03  Andreas Schwab  <schwab@redhat.com>
63034         * nscd/nscd.c (main): Don't start AVC thread until credentials are
63035         installed.
63037         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
63038         is disabled.
63040 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63042         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
63044 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
63046         * include/alloca.h (stackinfo_alloca_round): Define.
63047         (extend_alloca): Use it.
63048         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
63049         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
63050         here.
63052         * scripts/check-local-headers.sh: Ignore libaudit.h.
63054         * nscd/Makefile (extra-objs): Make recursively expanded.
63056 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
63058         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
63059         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63061         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
63062         * posix/tst-rfc3484-2.c: Likewise.
63063         * posix/tst-rfc3484-3.c: Likewise.
63065         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63066         process_vm_writev.
63067         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
63068         process_vm_writev.
63069         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
63070         process_vm_writev from libc using GLIBC_2.15 version.
63072         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
63074 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
63076         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
63077         stack usage.
63079 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
63081         [BZ #13367]
63082         * nss/getent.c (initgroups_keys): Show error message in case no group
63083         names are given.
63085         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
63086         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
63087         __bump_nl_timestamp.
63088         * nscd/connections (nscd_init): When host database is served open
63089         netlink socket and request notification about configuration changes.
63090         (main_loop_poll): Track netlink file descriptor and bump timestamp
63091         in case data becomes available.
63092         (main_loop_epoll): Likewise.
63093         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
63094         (database_pers_head): Add extra_data fileds.
63095         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
63096         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
63097         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
63098         Adjust caller.
63099         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
63100         in6ai data, call __free_in6ai.
63101         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
63102         Add -DHAVE_NETLINK.
63103         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
63104         interface information.  Reuse previous data if netlink timestamp
63105         is not changed.
63106         (__bump_nl_timestamp): New function.
63107         (__free_in6ai): New function.
63109 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
63111         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
63112         close_not_cancel_no_status here.
63113         (__check_pf): Reorganize code a bit to not call close twice if OOM.
63115 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63117         [BZ #13276]
63118         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
63119         return value.
63121         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
63122         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
63123         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
63125 2011-07-03  Andreas Jaeger  <aj@suse.de>
63127         [BZ #10709]
63128         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
63129         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
63130         * math/libm-test.inc (sin_test): Add test case.
63132 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63134         [BZ #13337]
63135         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
63136         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63138         * elf/chroot_canon.c (chroot_canon): Cleanups.
63140         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
63142         [BZ #13335]
63143         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
63144         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63146         * string/test-strchr.c: Make usable for strchrnul testing.
63147         * string/test-strchrnul.c: New file.
63148         * string/Makefile (strop-tests): Add strchrnul.
63150         * po/it.po: Update from translation team.
63151         * po/es.po: Likewise.
63153 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
63155         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
63156         the three constants needed as parameters.  Drop the others.
63157         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
63158         __m128i_strloadu_tolower.
63159         Create and initialize variable zero and use it in all the places
63160         where _mm_setzero_si128 was used.
63162         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
63163         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
63164         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
63165         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
63166         anymore.
63167         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
63168         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
63169         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
63170         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
63171         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
63172         __mpranred, __mptan.
63173         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
63174         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
63175         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
63176         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
63177         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
63178         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
63179         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
63180         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
63181         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
63183 2011-10-28  Andreas Schwab  <schwab@redhat.com>
63185         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
63186         redefine if SHARED.
63187         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
63189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
63190         wide char related routines to wcsmbs subdir.
63192 2011-10-27  Andreas Schwab  <schwab@redhat.com>
63194         [BZ #13344]
63195         * misc/sys/cdefs.h (__THROWNL): Define.
63196         * posix/unistd.h: Use __THREADNL instead of __THREAD
63197         for memory synchronization functions.
63199 2011-10-26  Roland McGrath  <roland@hack.frob.com>
63201         [BZ #13349]
63202         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
63203         doesn't exist.
63204         * manual/stdio.texi (Obstack Streams): Node removed.
63206 2011-10-26  Andreas Schwab  <schwab@redhat.com>
63208         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
63209         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63210         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63212         * math/math_private.h (math_force_eval): Allow non-addressable
63213         arguments.
63214         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
63216 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63218         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
63219         file is not needed.
63221         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
63222         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
63223         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63224         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63225         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63226         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63227         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63228         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
63229         Add AVX variants.
63230         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
63231         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
63232         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
63233         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
63234         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
63235         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
63236         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
63237         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
63238         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
63239         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
63240         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
63241         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
63242         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
63243         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
63244         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
63245         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
63246         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
63247         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
63248         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
63250         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
63251         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
63253         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
63254         place.  Use VEX encoding when compiling for AVX.
63256 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63258         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
63259         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63261         * string/test-strchr.c (do_test): Don't generate NUL bytes.
63263 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63265         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
63266         useless if() expression.
63267         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63268         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63269         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63270         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63271         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63272         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63273         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63274         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63275         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63276         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63277         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63278         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63279         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63280         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63281         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63282         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63283         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63284         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63285         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63287         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
63289 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63291         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
63292         condition.
63293         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63295 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63297         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
63298         .text section.  Avoid duplicate constants.
63299         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63300         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63301         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63302         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63303         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63304         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63305         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63306         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63307         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
63308         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
63309         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
63310         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63311         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
63312         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
63313         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
63314         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
63315         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
63316         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
63317         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63318         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63319         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63320         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63321         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63322         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
63323         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
63324         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
63325         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
63326         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
63327         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
63328         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
63329         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
63330         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
63331         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63332         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
63333         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
63334         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
63335         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
63336         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
63337         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
63338         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
63339         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
63340         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
63341         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
63342         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
63343         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
63345 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
63347         * sysdeps/x86_64/dla.h: Move to ...
63348         * sysdeps/x86_64/fpu/dla.h: ...here.
63349         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
63350         situations.  Use __builtin_fma only for gcc 4.6 and up.
63352         * config.make.in: Add have-mfma4 entry.
63353         * configure.in: Substitute libc_cv_cc_fma4.
63354         * math/Makefile (dbl-only-routines): Add sincostab.
63355         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
63356         Use __sincostab not sincos.
63357         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
63358         name is a macro.
63359         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63360         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63361         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63362         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
63363         using __copysign.
63364         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
63365         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
63366         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
63367         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
63368         and __inv.
63369         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
63370         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
63371         __copysign.
63372         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
63373         define aliases when function name is a macro.
63374         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
63375         sysdeps/ieee754/dbl-64/sincos.tbl.
63376         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
63377         fma4-enabled routines.
63378         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
63379         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
63380         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
63381         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
63382         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
63383         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
63384         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
63385         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
63386         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
63387         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
63388         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
63389         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
63390         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
63391         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
63392         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
63393         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
63394         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
63395         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
63396         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
63397         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
63398         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
63399         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
63400         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
63401         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
63402         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
63403         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
63404         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
63405         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
63406         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
63407         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
63409         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
63410         rename.
63411         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63412         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63413         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63414         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63415         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63416         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63417         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63418         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63420 2011-10-24  Andreas Schwab  <schwab@redhat.com>
63422         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
63424 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63426         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
63428         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
63429         prediction.
63430         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
63432         * string/strnlen.c: Don't define STRNLEN, reverse logic.
63433         Remove unused variable magic_bits.
63434         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
63436         * string/strnlen.c: Define and use STRNLEN macro.
63437         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
63438         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
63439         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
63440         * wcsmbs/wcslen.c: Define and use WCSLEN.
63441         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
63442         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
63443         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
63444         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
63445         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
63446         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
63447         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
63449 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63451         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63452         strnlen-sse2-no-bsf.
63453         Rename strlen-no-bsf to strlen-sse2-no-bsf.
63454         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
63455         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
63456         Add strnlen support.
63457         (USE_AS_STRNLEN): New macro.
63458         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
63459         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
63460         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
63461         * sysdeps/x86_64/wcslen.S: New file.
63463 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
63465         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63466         XMM-moves are used for copying on small sizes.
63468 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63470         * wcsmbs/Makefile (strop-tests): Add wcschr.
63471         * wcsmbs/test-wcschr.c: New file.
63472         * string/test-strchr.c: Update.
63473         Add wcschr support.
63474         (WIDE): New macro.
63476 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63478         * wcsmbs/Makefile (strop-tests): Add wcslen.
63479         * wcsmbs/test-wcslen.c: New file.
63480         * string/test-strlen.c: Update.
63481         Add wcslen support.
63482         (WIDE): New macro.
63484 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63486         * po/it.po: Update from translation team.
63488 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63490         * sysdeps/x86_64/wcscmp.S: Update.
63491         Fix wrong comparison semantics.
63492         wcscmp shall use signed comparison not unsigned.
63493         Don't use substraction to avoid overflow bug.
63494         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
63495         * wcsmbc/wcscmp.c: Likewise.
63496         * string/test-strcmp.c: Likewise.
63497         Add new tests to check cases with negative values.
63499 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63501         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
63502         * sysdeps/x86_64/dla.h: ...here.  New file.
63503         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
63504         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63505         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63506         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63507         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63508         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63509         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63510         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63511         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63513 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
63515         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
63516         __ynl_finite aliases.
63518 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63522         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
63523         define DLA_FMA.
63524         [DLA_FMA] (EMULV): Use DLA_FMA.
63525         [DLA_FMA] (MUL12): Use EMULV.
63526         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
63527         that are not needed.
63528         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63529         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63530         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63531         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63532         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63533         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63534         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63536 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
63538         * math/s_nan.c: Undef __nan.
63539         * math/s_nanf.c: Undef __nanf.
63540         * math/s_nanl.c: Undef __nanl.
63541         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
63542         "math_private.h".
63544 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63546         * math/s_catan.c: Add branch predictions.
63547         * math/s_catanf.c: Likewise.
63548         * math/s_catanh.c: Likewise.
63549         * math/s_catanhf.c: Likewise.
63550         * math/s_catanhl.c: Likewise.
63551         * math/s_catanl.c: Likewise.
63552         * math/s_cexp.c: Likewise.
63553         * math/s_cexpf.c: Likewise.
63554         * math/s_cexpl.c: Likewise.
63555         * math/s_clog.c: Likewise.
63556         * math/s_clog10.c: Likewise.
63557         * math/s_clog10f.c: Likewise.
63558         * math/s_clog10l.c: Likewise.
63559         * math/s_clogf.c: Likewise.
63560         * math/s_clogl.c: Likewise.
63561         * math/s_csqrt.c: Likewise.
63562         * math/s_csqrtf.c: Likewise.
63563         * math/s_csqrtl.c: Likewise.
63564         * math/s_ctanf.c: Likewise.
63565         * math/s_ctanh.c: Likewise.
63566         * math/s_ctanhf.c: Likewise.
63567         * math/s_ctanhl.c: Likewise.
63568         * math/s_ctanl.c: Likewise.
63570         * math/math_private.h: Define __nan, __nanf, __nanl.
63571         * math/s_cacosh.c: Include <math_private.h>.
63572         * math/s_cacoshl.c: Likewise.
63573         * math/s_casinh.c: Likewise.
63574         * math/s_casinhf.c: Likewise.
63575         * math/s_casinhl.c: Likewise.
63576         * math/s_ccos.c: Rely entire on ccosh.
63577         * math/s_ccosf.c: Rely entire on ccoshf.
63578         * math/s_ccosl.c: Rely entirely on ccoshl.
63579         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
63580         Remove tests for FE_INVALID.
63581         * math/s_ccoshf.c: Likewise.
63582         * math/s_ccoshl.c: Likewise.
63583         * math/s_csin.c: Likewise.
63584         * math/s_csinf.c: Likewise.
63585         * math/s_csinh.c Likewise.
63586         * math/s_csinhf.c: Likewise.
63587         * math/s_csinhl.c: Likewise.
63588         * math/s_csinl.c: Likewise.
63589         * math/s_ctan.c: Likewise.
63590         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
63591         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
63592         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
63594 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
63596         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
63597         compilation problems.
63599         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
63600         __builtin_expect.
63602 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
63604         * sysdeps/i386/configure.in: Test for -mfma4 option.
63605         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
63606         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
63607         COMMON_CPUID_INDEX_80000001.
63608         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
63609         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
63610         use it if FMA3 is not supported.
63611         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
63613         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
63614         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63616 2011-10-20  Andreas Schwab  <schwab@redhat.com>
63618         [BZ #12892]
63619         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
63620         it would create a cycle with a link time dependency.
63622 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
63624         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
63625         instruction.
63626         * string/Makefile (strop-tests): Add rawmemchr.
63627         * string/test-rawmemchr.c: New file.
63629         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
63630         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
63631         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
63632         when compiling str{,n}casecmp and when AVX is available.  Hook up
63633         new optimized code in initializers.
63635 2011-10-19  Andreas Schwab  <schwab@redhat.com>
63637         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
63638         __feraiseexcept instead of feraiseexcept.
63640 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
63642         * math/math_private.h: Define defaults for libc_fetestexcept and
63643         libc_feupdateenv.
63644         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
63645         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
63646         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63647         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63648         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63649         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63650         libc_fetestexcept and libc_feupdateenv.
63652         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
63653         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
63654         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
63655         * sysdeps/x86_64/fpu/math_private.h: Define special version of
63656         libc_feholdexcept_setround.
63658         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
63659         Add s_nearbyint-c and s_nearbyintf-c.
63660         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
63661         nearbyintf inlines.
63662         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
63663         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
63664         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
63665         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
63667         * math/math_private.h: Define defaults for libc_fegetround,
63668         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
63669         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
63670         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
63671         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
63672         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
63673         standard functions.
63674         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63675         Remove comments and hacks for old compiler versions.
63676         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63677         libc_fegetround, libc_fesetround, libc_feholdexcept, and
63678         libc_feholdexceptl.
63680 2011-10-18  Andreas Schwab  <schwab@redhat.com>
63682         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
63683         (__feraiseexcept_renamed): Add __NTH.
63684         (feraiseexcept): Add __NTH.  Rename local variables to fix
63685         namespace violations.
63687 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
63689         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
63691         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
63693         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
63694         recently added interfaces.
63695         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
63697         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
63698         about macro parameter expansion.
63700         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
63701         __NO_MATH_INLINES is defined.  Cleanups.
63703         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
63704         and __floorf is target has SSE4.1.
63705         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
63706         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
63707         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
63708         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
63710         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
63711         name.
63712         (floorf): Likewise.
63714         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
63716 2011-10-17  Andreas Schwab  <schwab@redhat.com>
63718         * misc/sys/cdefs.h: Fix last change.
63720         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
63721         database lookup.
63723 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
63725         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
63727         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
63728         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63729         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63730         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63731         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63732         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63733         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63734         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63735         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63736         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
63737         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
63738         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
63739         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
63740         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
63741         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
63742         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
63743         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
63744         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
63745         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
63746         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
63747         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
63748         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
63750         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
63751         ceil, ceilf, floor, floorf.
63753         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
63754         Perform IRELATIVE relocations last.
63756         * elf/do-rel.h: Add another parameter nrelative, replacing the
63757         local variable with the same name.  Change name of the function
63758         to end in Rel or Rela (uppercase).
63759         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
63760         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
63761         elf_dynamic_do_##reloc function.
63763 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63765         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
63766         is sufficient, at least on modern CPUs.
63768         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
63770         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
63771         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
63773         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
63774         __expl_finite.
63775         * math/bits/math-finite.h: Add entries for exp.
63776         * math/e_expl.c: Add __*_finite alias.
63777         * sysdeps/i386/fpu/e_exp.S: Likewise.
63778         * sysdeps/i386/fpu/e_expf.S: Likewise.
63779         * sysdeps/i386/fpu/e_expl.c: Likewise.
63780         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63781         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63782         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63783         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63784         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
63785         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63786         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63788         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
63789         is sufficient, at least on modern CPUs.
63791         * ctype/ctype-info.c (__ctype_init): Define.
63792         * include/ctype.h (__ctype_init): Declare.
63793         (__ctype_b_loc): The variable is always initialized.
63794         (__ctype_toupper_loc): Likewise.
63795         (__ctype_tolower_loc): Likewise.
63796         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
63797         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
63799 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
63801         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
63803         * configure.in: Also look in $cxxmachine/include for C++ system
63804         headers.
63806 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63808         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
63809         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
63810         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
63811         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
63812         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
63813         (USE_AS_WMEMCMP): New macro.
63814         Fixing indents.
63815         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
63816         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
63817         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
63818         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
63819         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63820         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
63821         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
63822         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
63823         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
63824         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
63825         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
63826         (USE_AS_WMEMCMP): New macro.
63827         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
63828         * sysdeps/string/test-memcmp.c: Update.
63829         Fix simple_wmemcmp.
63830         Add new tests.
63831         * wcsmbs/wmemcmp.c: Update.
63832         (WMEMCMP): New macro.
63833         Fix overflow bug.
63835 2011-10-12  Andreas Jaeger  <aj@suse.de>
63837         [BZ #13268]
63838         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
63840 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63842         * libio/iofwide.c (do_length): Avoid warning.
63844         * ctype/ctype.h (__isctype_f): Add missing __THROW.
63846 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
63848         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
63850         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
63851         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
63852         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
63853         * sysdeps/i386/i686/fpu/e_log.S: New file.
63854         * sysdeps/i386/i686/fpu/e_logf.S: New file.
63855         * sysdeps/i386/i686/fpu/e_logl.S: New file.
63857         * ctype/ctype.h: Add support for inlined isXXX functions when
63858         compiling C++ code.
63860 2011-10-14  Andreas Schwab  <schwab@redhat.com>
63862         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63864         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
63866 2011-10-13  Roland McGrath  <roland@hack.frob.com>
63868         [BZ #13291]
63869         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
63871 2011-10-13  Andreas Schwab  <schwab@redhat.com>
63873         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
63874         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
63875         feraiseexcept.
63877         * sysdeps/x86_64/memrchr.S: Check for zero size.
63879         * string/stratcliff.c: Add memrchr tests.
63881 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63883         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63884         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
63885         rawmemchr-sse2 rawmemchr-sse2-bsf.
63886         * sysdeps/i386/i686/multiarch/memchr.S: New file.
63887         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
63888         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
63889         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
63890         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
63891         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
63892         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
63893         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
63894         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
63895         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
63896         * string/memrchr.c (MEMRCHR): New macro.
63898 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
63900         Add integration with gcc's -ffinite-math-only and optimize wrapper
63901         functions in libm.
63902         * Versions.def: Define GLIBC_2.15 version for libm.
63903         * math/Makefile (headers): Add bits/math-finite.h.
63904         * math/bits/math-finite.h: New file.
63905         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
63906         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
63907         * math/e_acoshl.c: Add __*_finite alias.
63908         * math/e_acosl.c: Likewise.
63909         * math/e_asinl.c: Likewise.
63910         * math/e_atan2l.c: Likewise.
63911         * math/e_atanhl.c: Likewise.
63912         * math/e_coshl.c: Likewise.
63913         * math/e_exp10.c: Likewise.
63914         * math/e_exp10f.c: Likewise.
63915         * math/e_exp10l.c: Likewise.
63916         * math/e_exp2l.c: Likewise.
63917         * math/e_fmodl.c: Likewise.
63918         * math/e_gammal_r.c: Likewise.
63919         * math/e_hypotl.c: Likewise.
63920         * math/e_j0l.c: Likewise.
63921         * math/e_j1l.c: Likewise.
63922         * math/e_jnl.c: Likewise.
63923         * math/e_lgammal_r.c: Likewise.
63924         * math/e_log10l.c: Likewise.
63925         * math/e_log2l.c: Likewise.
63926         * math/e_logl.c: Likewise.
63927         * math/e_powl.c: Likewise.
63928         * math/e_sinhl.c: Likewise.
63929         * math/e_sqrtl.c: Likewise.
63930         * math/e_scalb.c: Completely rewritten and optimized.
63931         * math/e_scalbf.c: Likewise.
63932         * math/e_scalbl.c: Likewise.
63933         * math/w_acos.c: Likewise.
63934         * math/w_acosf.c: Likewise.
63935         * math/w_acosl.c: Likewise.
63936         * math/w_acosh.c: Likewise.
63937         * math/w_acoshf.c: Likewise.
63938         * math/w_acoshl.c: Likewise.
63939         * math/w_asin.c: Likewise.
63940         * math/w_asinf.c: Likewise.
63941         * math/w_asinl.c: Likewise.
63942         * math/w_atan2.c: Likewise.
63943         * math/w_atan2f.c: Likewise.
63944         * math/w_atan2l.c: Likewise.
63945         * math/w_atanh.c: Likewise.
63946         * math/w_atanhf.c: Likewise.
63947         * math/w_atanhl.c: Likewise.
63948         * math/w_exp10.c: Likewise.
63949         * math/w_exp10f.c: Likewise.
63950         * math/w_exp10l.c: Likewise.
63951         * math/w_fmod.c: Likewise.
63952         * math/w_fmodf.c: Likewise.
63953         * math/w_fmodl.c: Likewise.
63954         * math/w_j0.c: Likewise.
63955         * math/w_j0f.c: Likewise.
63956         * math/w_j0l.c: Likewise.
63957         * math/w_j1.c: Likewise.
63958         * math/w_j1f.c: Likewise.
63959         * math/w_j1l.c: Likewise.
63960         * math/w_jn.c: Likewise.
63961         * math/w_jnf.c: Likewise.
63962         * math/w_log.c: Likewise.
63963         * math/w_logf.c: Likewise.
63964         * math/w_logl.c: Likewise.
63965         * math/w_log10.c: Likewise.
63966         * math/w_log10f.c: Likewise.
63967         * math/w_log10l.c: Likewise.
63968         * math/w_log2.c: Likewise.
63969         * math/w_log2f.c: Likewise.
63970         * math/w_log2l.c: Likewise.
63971         * math/w_pow.c: Likewise.
63972         * math/w_powf.c: Likewise.
63973         * math/w_powl.c: Likewise.
63974         * math/w_remainder.c: Likewise.
63975         * math/w_remainderf.c: Likewise.
63976         * math/w_remainderl.c: Likewise.
63977         * math/w_scalb.c: Likewise.
63978         * math/w_scalbf.c: Likewise.
63979         * math/w_scalbl.c: Likewise.
63980         * math/w_sqrt.c: Likewise.
63981         * math/w_sqrtf.c: Likewise.
63982         * math/w_sqrtl.c: Likewise.
63983         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
63984         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
63985         used.
63986         * math/math_private.h: Declare __kernel_standard_f.
63987         * math/w_cosh.c: Remove cruft and optimize a bit.
63988         * math/w_coshf.c: Likewise.
63989         * math/w_coshl.c: Likewise.
63990         * math/w_exp2.c: Likewise.
63991         * math/w_exp2f.c: Likewise.
63992         * math/w_exp2l.c: Likewise.
63993         * math/w_hypot.c: Likewise.
63994         * math/w_hypotf.c: Likewise.
63995         * math/w_hypotl.c: Likewise.
63996         * math/w_lgamma.c: Likewise.
63997         * math/w_lgamma_r.c: Likewise.
63998         * math/w_lgammaf.c: Likewise.
63999         * math/w_lgammaf_r.c: Likewise.
64000         * math/w_lgammal.c: Likewise.
64001         * math/w_lgammal_r.c: Likewise.
64002         * math/w_sinh.c: Likewise.
64003         * math/w_sinhf.c: Likewise.
64004         * math/w_sinhl.c: Likewise.
64005         * math/w_tgamma.c: Likewise.
64006         * math/w_tgammaf.c: Likewise.
64007         * math/w_tgammal.c: Likewise.
64008         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64009         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64010         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
64011         Minor optimizations.  Pretty printing.  Remove cruft.
64012         * sysdeps/i386/fpu/e_acosf.S: Likewise.
64013         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64014         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64015         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64016         * sysdeps/i386/fpu/e_acosl.c: Likewise.
64017         * sysdeps/i386/fpu/e_asin.S: Likewise.
64018         * sysdeps/i386/fpu/e_asinf.S: Likewise.
64019         * sysdeps/i386/fpu/e_atan2.S: Likewise.
64020         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
64021         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
64022         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64023         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64024         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64025         * sysdeps/i386/fpu/e_exp10.S: Likewise.
64026         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
64027         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
64028         * sysdeps/i386/fpu/e_exp2.S: Likewise.
64029         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
64030         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
64031         * sysdeps/i386/fpu/e_fmod.S: Likewise.
64032         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
64033         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
64034         * sysdeps/i386/fpu/e_hypot.S: Likewise.
64035         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
64036         * sysdeps/i386/fpu/e_log.S: Likewise.
64037         * sysdeps/i386/fpu/e_log10.S: Likewise.
64038         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64039         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64040         * sysdeps/i386/fpu/e_log2.S: Likewise.
64041         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64042         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64043         * sysdeps/i386/fpu/e_logf.S: Likewise.
64044         * sysdeps/i386/fpu/e_logl.S: Likewise.
64045         * sysdeps/i386/fpu/e_pow.S: Likewise.
64046         * sysdeps/i386/fpu/e_powf.S: Likewise.
64047         * sysdeps/i386/fpu/e_powl.S: Likewise.
64048         * sysdeps/i386/fpu/e_remainder.S: Likewise.
64049         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
64050         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
64051         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64052         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64053         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64054         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
64055         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
64056         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
64057         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64058         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64059         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64060         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64061         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64062         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64063         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
64064         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64065         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64066         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64067         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64068         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64069         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64070         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64071         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64072         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64073         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64074         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64075         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64076         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64077         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64078         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64079         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64080         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64081         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64082         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64083         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64084         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64085         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
64086         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64087         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64088         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64089         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64090         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64091         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64092         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64093         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64094         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64095         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64096         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64097         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64098         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64099         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64100         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64101         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64102         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64103         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64104         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64105         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64106         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
64107         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64108         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64109         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64110         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64111         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64112         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64113         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64114         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64115         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64116         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64117         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64118         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64119         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64120         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64121         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64122         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64123         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64124         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64125         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
64126         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64127         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64128         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64129         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64130         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64131         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64132         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64133         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64134         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64135         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64136         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64137         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64138         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64139         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
64140         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64141         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64142         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64143         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64144         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64145         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64146         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64147         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64148         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64149         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64150         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64151         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64152         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64153         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64154         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
64155         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
64156         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
64157         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
64158         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
64159         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
64160         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
64161         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64162         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64163         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64164         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64165         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
64166         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64167         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
64168         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
64169         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
64170         (__isnanf): Likewise.
64171         (__isinf_ns): Likewise.
64172         (__isinf_nsf): Likewise.
64173         (__finite): Likewise.
64174         (__finitef): Likewise.
64175         (__ieee754_sqrt): Define as macro.
64176         (__ieee754_sqrtf): Define as macro.
64177         (__ieee754_sqrtl): Define as macro.
64178         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
64179         inlined copy.
64180         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
64181         __FINITE_MATH_ONLY__ consistent.
64182         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
64184 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
64186         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
64187         of rawmemchr.
64189         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
64191 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
64193         * po/ja.po: Update from translation team.
64195 2011-10-08  Roland McGrath  <roland@hack.frob.com>
64197         * locale/programs/locarchive.c (prepare_address_space): New function.
64198         (create_archive, enlarge_archive, open_archive): Use it.
64200         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
64201         inside [SHARED], where it is used.
64203         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
64205         * nss/getent.c (netgroup_keys): Remove unused variable.
64206         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64208 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
64210         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
64211         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
64212         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
64213         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
64214         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
64215         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
64216         * math/Makefile (libm-calls): Add s_isinf_ns.
64217         * math/divtc3.c: Use __isinf_nsl instead of isinf.
64218         * math/multc3.c: Likewise.
64219         * math/s_casin.c: Likewise.
64220         * math/s_casinf.c: Likewise.
64221         * math/s_casinl.c: Likewise.
64222         * math/s_ccos.c: Likewise.
64223         * math/s_ccosf.c: Likewise.
64224         * math/s_ccosl.c: Likewise.
64225         * math/s_ctan.c: Likewise.
64226         * math/s_ctanf.c: Likewise.
64227         * math/s_ctanh.c: Likewise.
64228         * math/s_ctanhf.c: Likewise.
64229         * math/s_ctanhl.c: Likewise.
64230         * math/s_ctanl.c: Likewise.
64231         * math/w_fmod.c: Likewise.
64232         * math/w_fmodf.c: Likewise.
64233         * math/w_fmodl.c: Likewise.
64234         * math/w_remainder.c: Likewise.
64235         * math/w_remainderf.c: Likewise.
64236         * math/w_remainderl.c: Likewise.
64237         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
64238         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
64239         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
64240         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
64241         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
64242         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
64243         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
64244         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
64246         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
64247         of the number.
64248         * stdio-common/printf_fphex.c: Likewise.
64249         * stdio-common/printf_size.c: Likewise.
64251         * math/e_exp10.c: Include math_private.h using <...> not "...".
64252         * math/e_exp10f.c: Likewise.
64253         * math/e_exp10l.c: Likewise.
64254         * math/e_exp2l.c: Likewise.
64255         * math/e_j0l.c: Likewise.
64256         * math/e_j1l.c: Likewise.
64257         * math/e_jnl.c: Likewise.
64258         * math/e_lgammal_r.c: Likewise.
64259         * math/e_rem_pio2l.c: Likewise.
64260         * math/e_scalb.c: Likewise.
64261         * math/e_scalbf.c: Likewise.
64262         * math/e_scalbl.c: Likewise.
64263         * math/k_cosl.c: Likewise.
64264         * math/k_sinl.c: Likewise.
64265         * math/k_tanl.c: Likewise.
64266         * math/s_cacoshf.c: Likewise.
64267         * math/s_catan.c: Likewise.
64268         * math/s_catanf.c: Likewise.
64269         * math/s_catanh.c: Likewise.
64270         * math/s_catanhf.c: Likewise.
64271         * math/s_catanhl.c: Likewise.
64272         * math/s_catanl.c: Likewise.
64273         * math/s_ccosh.c: Likewise.
64274         * math/s_ccoshf.c: Likewise.
64275         * math/s_ccoshl.c: Likewise.
64276         * math/s_cexp.c: Likewise.
64277         * math/s_cexpf.c: Likewise.
64278         * math/s_cexpl.c: Likewise.
64279         * math/s_clog.c: Likewise.
64280         * math/s_clog10.c: Likewise.
64281         * math/s_clog10f.c: Likewise.
64282         * math/s_clog10l.c: Likewise.
64283         * math/s_clogf.c: Likewise.
64284         * math/s_clogl.c: Likewise.
64285         * math/s_csin.c: Likewise.
64286         * math/s_csinf.c: Likewise.
64287         * math/s_csinh.c: Likewise.
64288         * math/s_csinhf.c: Likewise.
64289         * math/s_csinhl.c: Likewise.
64290         * math/s_csinl.c: Likewise.
64291         * math/s_csqrt.c: Likewise.
64292         * math/s_csqrtf.c: Likewise.
64293         * math/s_csqrtl.c: Likewise.
64294         * math/s_ctan.c: Likewise.
64295         * math/s_ctanf.c: Likewise.
64296         * math/s_ctanh.c: Likewise.
64297         * math/s_ctanhf.c: Likewise.
64298         * math/s_ctanhl.c: Likewise.
64299         * math/s_ctanl.c: Likewise.
64300         * math/s_ldexp.c: Likewise.
64301         * math/s_ldexpf.c: Likewise.
64302         * math/s_ldexpl.c: Likewise.
64303         * math/s_significand.c: Likewise.
64304         * math/s_significandf.c: Likewise.
64305         * math/s_significandl.c: Likewise.
64306         * math/w_acos.c: Likewise.
64307         * math/w_acosf.c: Likewise.
64308         * math/w_acosh.c: Likewise.
64309         * math/w_acoshf.c: Likewise.
64310         * math/w_acoshl.c: Likewise.
64311         * math/w_acosl.c: Likewise.
64312         * math/w_asin.c: Likewise.
64313         * math/w_asinf.c: Likewise.
64314         * math/w_asinl.c: Likewise.
64315         * math/w_atan2.c: Likewise.
64316         * math/w_atan2f.c: Likewise.
64317         * math/w_atan2l.c: Likewise.
64318         * math/w_atanh.c: Likewise.
64319         * math/w_atanhf.c: Likewise.
64320         * math/w_atanhl.c: Likewise.
64321         * math/w_cosh.c: Likewise.
64322         * math/w_coshf.c: Likewise.
64323         * math/w_coshl.c: Likewise.
64324         * math/w_dremf.c: Likewise.
64325         * math/w_exp10.c: Likewise.
64326         * math/w_exp10f.c: Likewise.
64327         * math/w_exp10l.c: Likewise.
64328         * math/w_exp2.c: Likewise.
64329         * math/w_exp2f.c: Likewise.
64330         * math/w_fmod.c: Likewise.
64331         * math/w_fmodf.c: Likewise.
64332         * math/w_fmodl.c: Likewise.
64333         * math/w_hypot.c: Likewise.
64334         * math/w_hypotf.c: Likewise.
64335         * math/w_hypotl.c: Likewise.
64336         * math/w_j0.c: Likewise.
64337         * math/w_j0f.c: Likewise.
64338         * math/w_j0l.c: Likewise.
64339         * math/w_j1.c: Likewise.
64340         * math/w_j1f.c: Likewise.
64341         * math/w_j1l.c: Likewise.
64342         * math/w_jn.c: Likewise.
64343         * math/w_jnf.c: Likewise.
64344         * math/w_jnl.c: Likewise.
64345         * math/w_lgamma.c: Likewise.
64346         * math/w_lgamma_r.c: Likewise.
64347         * math/w_lgammaf.c: Likewise.
64348         * math/w_lgammaf_r.c: Likewise.
64349         * math/w_lgammal.c: Likewise.
64350         * math/w_lgammal_r.c: Likewise.
64351         * math/w_log.c: Likewise.
64352         * math/w_log10.c: Likewise.
64353         * math/w_log10f.c: Likewise.
64354         * math/w_log10l.c: Likewise.
64355         * math/w_log2.c: Likewise.
64356         * math/w_log2f.c: Likewise.
64357         * math/w_log2l.c: Likewise.
64358         * math/w_logf.c: Likewise.
64359         * math/w_logl.c: Likewise.
64360         * math/w_pow.c: Likewise.
64361         * math/w_powf.c: Likewise.
64362         * math/w_powl.c: Likewise.
64363         * math/w_remainder.c: Likewise.
64364         * math/w_remainderf.c: Likewise.
64365         * math/w_remainderl.c: Likewise.
64366         * math/w_scalb.c: Likewise.
64367         * math/w_scalbf.c: Likewise.
64368         * math/w_scalbl.c: Likewise.
64369         * math/w_sinh.c: Likewise.
64370         * math/w_sinhf.c: Likewise.
64371         * math/w_sinhl.c: Likewise.
64372         * math/w_sqrt.c: Likewise.
64373         * math/w_sqrtf.c: Likewise.
64374         * math/w_sqrtl.c: Likewise.
64375         * math/w_tgamma.c: Likewise.
64376         * math/w_tgammaf.c: Likewise.
64377         * math/w_tgammal.c: Likewise.
64379         * po/ja.po: Update from translation team.
64381 2011-09-29  Andreas Jaeger  <aj@suse.de>
64383         [BZ #13179]
64384         * sunrpc/netname.c (netname2host): Fix logic.
64386         [BZ #6779]
64387         [BZ #6783]
64388         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
64389         correctly.
64390         * math/w_remainder.c (__remainder): Likewise.
64391         * math/w_remainderf.c (__remainderf): Likewise.
64392         * math/libm-test.inc (remainder_test): Add test cases.
64394 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64396         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
64397         sdiv_qrnnd.
64399 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64401         * string/test-memcmp.c: Avoid unncessary #defines.
64402         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64404 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64406         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
64407         Use new sse2 version for core i3 - i7 as it's faster
64408         than sse42 version.
64409         (bit_Prefer_PMINUB_for_stringop): New.
64410         * sysdeps/x86_64/rawmemchr.S: Update.
64411         Replace with faster SSE2 version.
64412         * sysdeps/x86_64/memrchr.S: New file.
64413         * sysdeps/x86_64/memchr.S: Update.
64414         Replace with faster SSE2 version.
64416 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
64418         * elf/dl-load.c (lose): Add cast to avoid warning.
64420 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64422         * po/ca.po: Update from translation team.
64424         * inet/getnetgrent_r.c: Hook up nscd.
64425         * nscd/Makefile (routines): Add nscd_netgroup.
64426         (nscd-modules): Add netgroupcache.
64427         (CFLAGS-netgroupcache.c): Define.
64428         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
64429         (cache_search): Add const to second parameter.
64430         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
64431         INNETGR.
64432         (dbs): Add netgrdb entry.
64433         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
64434         (verify_persistent_db): Handle netgrdb.
64435         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
64436         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
64437         GETFDNETGR.
64438         (netgroup_response_header): Define.
64439         (innetgroup_response_header): Define.
64440         (datahead): Add netgroup_response_header and innetgroup_response_header
64441         elements.
64442         * nscd/nscd.conf: Add entries for netgroup cache.
64443         * nscd/nscd.h (dbtype): Add netgrdb.
64444         (_PATH_NSCD_NETGROUP_DB): Define.
64445         (netgroup_iov_disabled): Declare.
64446         (xmalloc, xcalloc, xrealloc): Move declarations here.
64447         (cache_search): Adjust prototype.
64448         Add netgroup-related prototypes.
64449         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
64450         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
64451         (__nscd_innetgr): Declare.
64452         * nscd/selinux.c (perms): Use access_vector_t as element type and
64453         add netgroup-related initializers.
64454         * nscd/netgroupcache.c: New file.
64455         * nscd/nscd_netgroup.c: New file.
64456         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
64457         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
64458         For four parameters use innetgr.
64459         * nss/nss_files/files-init.c: Add definition and callback for netgr.
64460         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
64461         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
64462         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
64464         * nscd/connections.c (register_traced_file): Don't register file
64465         for disabled databases.
64467 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
64469         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
64471         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
64472         from tree and freeing node.
64474 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
64476         * nss/nsswitch.c (__nss_database_lookup): Handle
64477         nss_parse_service_list out of memory case.
64479 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
64481         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
64482         out of memory case.
64484 2011-10-04  Andreas Schwab  <schwab@redhat.com>
64486         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
64487         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
64488         pass it down.
64489         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
64490         elf_machine_rela, elf_machine_lazy_rel.
64491         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
64492         (ELF_DYNAMIC_DO_REL): Likewise.
64493         (ELF_DYNAMIC_DO_RELA): Likewise.
64494         (ELF_DYNAMIC_RELOCATE): Likewise.
64495         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
64496         to ELF_DYNAMIC_DO_REL.
64497         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
64498         (dl_main): In trace mode always set __RTLD_NOIFUNC.
64499         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
64500         elf_machine_rela.
64501         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
64502         skip_ifunc, don't call ifunc function if non-zero.
64503         (elf_machine_rela): Likewise.
64504         (elf_machine_lazy_rel): Likewise.
64505         (elf_machine_lazy_rela): Likewise.
64506         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
64507         (elf_machine_lazy_rel): Likewise.
64508         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
64509         Likewise.
64510         (elf_machine_lazy_rel): Likewise.
64511         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64512         Likewise.
64513         (elf_machine_lazy_rel): Likewise.
64514         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
64515         (elf_machine_lazy_rel): Likewise.
64516         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
64517         (elf_machine_lazy_rel): Likewise.
64518         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64519         (elf_machine_lazy_rel): Likewise.
64520         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
64521         (elf_machine_lazy_rel): Likewise.
64522         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
64523         (elf_machine_lazy_rel): Likewise.
64524         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64525         (elf_machine_lazy_rel): Likewise.
64527 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
64529         * nss/nss_files/files-init.c (_nss_files_init): Use static
64530         initialization for all the *_traced_file variables.
64532 2011-09-28  Andreas Schwab  <schwab@redhat.com>
64534         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64536 2011-09-27  Roland McGrath  <roland@hack.frob.com>
64538         [BZ #13226]
64539         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
64541 2011-09-27  Andreas Schwab  <schwab@redhat.com>
64543         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64544         Reread the line before reparsing it.
64546 2011-09-26  Andreas Schwab  <schwab@redhat.com>
64548         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
64550 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
64551             Maxim Kuvyrkov  <maxim@codesourcery.com>
64552             Joseph Myers  <joseph@codesourcery.com>
64554         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
64555         if needed for __stack_chk_guard.
64557 2011-09-19  Roland McGrath  <roland@hack.frob.com>
64559         * sysdeps/posix/spawni.c (script_execute): Always define it.
64560         It will be optimized away if unused.
64561         (maybe_script_execute): New function.
64562         (__spawni): Call it.
64564         * Makerules: Don't include tls.make.
64565         (config-tls): Always set to thread.
64566         * tls.make.c: File removed.
64568 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
64570         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
64571         * config.make.in (CPPFLAGS-config): New substituted variable.
64573 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64575         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
64577         [BZ #13192]
64578         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
64579         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
64581 2011-09-15  Roland McGrath  <roland@hack.frob.com>
64583         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
64584         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
64585         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64586         (CALL_FAIL): Likewise.
64587         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
64588         (CALL_FAIL): Macro removed.
64589         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
64591 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64593         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
64594         for __FINITE_MATH_ONLY__ == 1.
64596 2011-09-15  Andreas Schwab  <schwab@redhat.com>
64598         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
64599         __ieee754_sqrt instead of sqrt.
64600         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
64601         __ieee754_sqrtf instead of sqrtf.
64602         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
64603         __floorf instead of floorf.
64604         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
64605         __floorf, __truncf instead of floorf, truncf.
64607 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
64609         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
64611         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
64612         __extern_always_inline.
64613         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
64614         32-bit.
64616 2011-09-14  Andreas Schwab  <schwab@redhat.com>
64618         * elf/rtld.c (dl_main): Also relocate in dependency order when
64619         doing symbol dependency testing.
64621 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
64623         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64624         Always define `refsym'.
64626 2011-09-13  Andreas Schwab  <schwab@redhat.com>
64628         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
64629         (__FD_ELT): Renamed from __FDELT.
64630         * misc/bits/select2.h (__FD_ELT): Likewise.
64631         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
64632         __FD_MASK instead of __FDELT, __FDMASK.
64633         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64634         Likewise.
64635         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64636         Likewise.
64638         * elf/Makefile (gen-ldd): Fix pattern.
64640         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
64641         (init_tls): Likewise.
64643 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
64645         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
64647 2011-09-12  Andreas Schwab  <schwab@redhat.com>
64649         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
64650         `struct cmsghdr *' instead of `void *'.
64651         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
64652         Likewise.
64654 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
64656         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
64657         if non-absolute.
64658         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
64659         ldd_rewrite_script.
64661 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
64663         * configure.in: Remove --with-tls option.
64664         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
64665         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
64666         out in case it is missing.
64667         * sysdeps/ia64/elf/configure.in: Likewise.
64668         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
64669         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
64670         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
64671         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
64672         * sysdeps/sh/elf/configure.in: Likewise.
64673         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
64674         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64675         * sysdeps/x86_64/elf/configure.in: Likewise.
64676         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
64677         * sysdeps/mach/hurd/tls.h: Likewise.
64679         [BZ #13067]
64680         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
64682         [BZ #13090]
64683         * configure.in: Fix use of AC_INIT.
64685         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
64687 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
64689         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
64690         __set_errno.
64691         * malloc/hooks.c: Likewise.
64693         [BZ #11929]
64694         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
64695         variables statically.
64696         (narenas): Initialize.
64697         (list_lock): Initialize.
64698         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
64699         initializtion of main_arena and list_lock.  Small cleanups.
64700         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
64701         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
64702         Add initializers to main_arena and mp_.
64703         (malloc_state): Remove pagesize member.  Change all users to use
64704         GLRO(dl_pagesize).
64706         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
64707         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
64708         is always initialized.
64710         * malloc/malloc.c: Removed unused configurations and dead code.
64711         * malloc/arena.c: Likewise.
64712         * malloc/hooks.c: Likewise.
64713         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
64715         * include/tls.h: Removed.  USE___THREAD must always be defined.
64716         * bits/libc-tsd.h: Don't handle !USE___THREAD.
64717         * elf/dl-libc.c: Likewise.
64718         * elf/dl-tsd.c: Likewise.
64719         * include/errno.h: Likewise.
64720         * include/netdb.h: Likewise.
64721         * include/resolv.h: Likewise.
64722         * inet/herrno-loc.c: Likewise.
64723         * inet/herrno.c: Likewise.
64724         * malloc/arena.c: Likewise.
64725         * malloc/hooks.c: Likewise.
64726         * malloc/malloc.c: Likewise.
64727         * resolv/res-state.c: Likewise.
64728         * resolv/res_libc.c: Likewise.
64729         * sysdeps/i386/dl-machine.h: Likewise.
64730         * sysdeps/ia64/dl-machine.h: Likewise.
64731         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
64732         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64733         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
64734         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
64735         * sysdeps/sh/dl-machine.h: Likewise.
64736         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64737         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64738         * sysdeps/unix/i386/sysdep.S: Likewise.
64739         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
64740         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
64741         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
64742         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
64743         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
64744         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
64745         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
64746         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64747         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64748         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
64749         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64750         * sysdeps/x86_64/dl-machine.h: Likewise.
64751         * tls.make.c: Likewise.
64753         * configure.in: Remove --with-__thread option.  Make tests for
64754         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
64755         tls_model attribute fail if no support is available.  Remove
64756         USE_IN_LIBIO.
64757         * Makeconfig: Adjust for dropped configure option.  All features are
64758         now mandatory.
64759         * Makerules: Likewise.
64760         * Versions.def: Likewise.
64761         * argp/argp-fmtstream.c: Likewise.
64762         * argp/argp-fmtstream.h: Likewise.
64763         * argp/argp-help.c: Likewise.
64764         * assert/assert.c: Likewise.
64765         * config.h.in: Likewise.
64766         * config.make.in: Likewise.
64767         * configure: Likewise.
64768         * configure.in: Likewise.
64769         * csu/Versions: Likewise.
64770         * csu/init.c: Likewise.
64771         * elf/tst-audit2.c: Likewise.
64772         * elf/tst-tls10.c: Likewise.
64773         * elf/tst-tls10.h: Likewise.
64774         * elf/tst-tls11.c: Likewise.
64775         * elf/tst-tls12.c: Likewise.
64776         * elf/tst-tls14.c: Likewise.
64777         * elf/tst-tlsmod11.c: Likewise.
64778         * elf/tst-tlsmod12.c: Likewise.
64779         * elf/tst-tlsmod13.c: Likewise.
64780         * elf/tst-tlsmod13a.c: Likewise.
64781         * elf/tst-tlsmod14a.c: Likewise.
64782         * elf/tst-tlsmod15b.c: Likewise.
64783         * elf/tst-tlsmod16a.c: Likewise.
64784         * elf/tst-tlsmod16b.c: Likewise.
64785         * elf/tst-tlsmod7.c: Likewise.
64786         * elf/tst-tlsmod8.c: Likewise.
64787         * elf/tst-tlsmod9.c: Likewise.
64788         * gmon/gmon.c: Likewise.
64789         * grp/fgetgrent_r.c: Likewise.
64790         * grp/putgrent.c: Likewise.
64791         * hurd/fopenport.c: Likewise.
64792         * include/libc-symbols.h: Likewise.
64793         * include/tls.h: Likewise.
64794         * intl/gettextP.h: Likewise.
64795         * intl/loadinfo.h: Likewise.
64796         * locale/global-locale.c: Likewise.
64797         * locale/localeinfo.h: Likewise.
64798         * mach/devstream.c: Likewise.
64799         * malloc/arena.c: Likewise.
64800         * malloc/set-freeres.c: Likewise.
64801         * misc/err.c: Likewise.
64802         * misc/getttyent.c: Likewise.
64803         * misc/mntent_r.c: Likewise.
64804         * posix/getopt.c: Likewise.
64805         * posix/wordexp.c: Likewise.
64806         * pwd/fgetpwent_r.c: Likewise.
64807         * resolv/Versions: Likewise.
64808         * resolv/res_hconf.c: Likewise.
64809         * shadow/fgetspent_r.c: Likewise.
64810         * shadow/putspent.c: Likewise.
64811         * stdio-common/printf_fphex.c: Likewise.
64812         * stdio-common/tmpfile.c: Likewise.
64813         * stdlib/abort.c: Likewise.
64814         * stdlib/fmtmsg.c: Likewise.
64815         * sunrpc/auth_unix.c: Likewise.
64816         * sunrpc/clnt_perr.c: Likewise.
64817         * sunrpc/clnt_tcp.c: Likewise.
64818         * sunrpc/clnt_udp.c: Likewise.
64819         * sunrpc/clnt_unix.c: Likewise.
64820         * sunrpc/openchild.c: Likewise.
64821         * sunrpc/svc_simple.c: Likewise.
64822         * sunrpc/svc_tcp.c: Likewise.
64823         * sunrpc/svc_udp.c: Likewise.
64824         * sunrpc/svc_unix.c: Likewise.
64825         * sunrpc/xdr.c: Likewise.
64826         * sunrpc/xdr_array.c: Likewise.
64827         * sunrpc/xdr_rec.c: Likewise.
64828         * sunrpc/xdr_ref.c: Likewise.
64829         * sunrpc/xdr_stdio.c: Likewise.
64831 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64833         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64835 2011-07-03  Andreas Jaeger  <aj@suse.de>
64837         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
64838         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
64839         regenerate with gen-libm-tests.pl.
64841 2010-05-12  Petr Baudis  <pasky@suse.cz>
64843         [BZ #11589]
64844         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
64845         around j0() zero points by switching to j1().
64846         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64847         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64848         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64849         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64851 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64853         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
64854         instead of 0.
64855         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
64856         instead of 0.
64857         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64858         Patch in part by Pavel Roskin <proski@gnu.org>.
64860         [BZ #13138]
64861         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
64862         realloc.
64863         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
64864         Free memory block if necessary.
64866         [BZ #12847]
64867         * libio/genops.c (INTDEF): For string streams the _lock pointer can
64868         be NULL.  Don't lock in this case.
64870 2011-09-09  Roland McGrath  <roland@hack.frob.com>
64872         * elf/elf.h (ELFOSABI_GNU): New macro.
64873         (ELFOSABI_LINUX): Define to that.
64875 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
64877         * string/strncat.c (strncat): Undef the symbol in case it has been
64878         defined in bits/string.h.
64880 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64882         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
64884         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
64885         link map.
64887 2011-08-17  Andreas Jaeger  <aj@suse.de>
64889         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
64891 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
64892             Ian Lance Taylor  <iant@google.com>
64894         * math/libm-test.inc (lround_test): New testcase.
64895         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
64897 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
64899         * Makefile: Remove support for automatic cvs check-ins.
64900         * Makerules: Likewise.
64901         * config.make.in: Likewise.
64902         * configure.in: Likewise.
64903         * intl/Makefile: Likewise.
64904         * locale/Makefile: Likewise.
64905         * po/Makefile: Likewise.
64906         * posix/Makefile: Likewise.
64907         * sysdeps/gnu/Makefile: Likewise.
64908         * sysdeps/mach/hurd/Makefile: Likewise.
64909         * sysdeps/sparc/sparc32/Makefile: Likewise.
64911         [BZ #13118]
64912         * posix/Makefile (bug-regex32-ENV): Define.
64913         Patch by John Stanley <jpsinthemix@verizon.net>.
64915         * misc/Makefile (headers): Add bits/select2.h.
64916         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
64917         * misc/bits/select2.h: New file.
64918         * include/bits/select2.h: New file.
64919         * debug/Makefile (routines): Add fdelt_chk.
64920         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
64921         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
64922         FD_ISSET.
64923         * debug/fdelt_chk.c: New file.
64925         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
64926         * wcsmbs/test-wmemcmp.c: Likewise.
64927         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
64928         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
64930 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64932         * string/Makefile (strop-tests): Add memcmp.
64933         * string/test-wmemcmp.c: New file.
64934         * string/test-memcmp.c: Add wmemcmp support.
64936 2011-09-08  Roland McGrath  <roland@hack.frob.com>
64938         [BZ #13153]
64939         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
64940         2011-07-19 change.
64942         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
64943         garbage value in a __mach_port_mod_refs call in the cases of the
64944         task-self and thread-self ports.
64946 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64948         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
64950 2011-09-08  Andreas Schwab  <schwab@redhat.com>
64952         * elf/dl-load.c (lose): Check for non-null L.
64954 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64956         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
64958         * elf/dl-libc.c (dlerror_run): Pass back error code from
64959         dl_catch_error.
64961         [BZ #13123]
64962         * elf/dl-load.c (lose): Free l_origin if it is valid.
64964         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
64965         names.
64966         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
64967         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64968         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
64969         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64970         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
64971         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
64973 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64975         * sysdeps/powerpc/fpu/e_hypot.c: New file.
64976         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
64977         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
64978         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
64979         * sysdeps/powerpc/fpu/k_cosf.c: New file.
64980         * sysdeps/powerpc/fpu/k_sinf.c: New file.
64981         * sysdeps/powerpc/fpu/s_cosf.c: New file.
64982         * sysdeps/powerpc/fpu/s_sinf.c: New file.
64983         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
64984         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
64986 2011-08-15  Alan Modra  <amodra@gmail.com>
64988         [BZ #13092]
64989         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
64990         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
64991         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
64992         ppc_mcount to static-only-routines.
64993         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
64994         __mcount_internal.
64995         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
64996         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
64998 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
65000         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
65001         for finite and infinity parameters.
65003 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65005         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
65006         and add nop instructions for throughput optimization.
65007         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65009 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
65011         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
65012         aligned copy for power7 with vector-scalar instructions.
65013         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
65015 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
65017         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
65018         AVX check.
65020 2011-09-07  Andreas Schwab  <schwab@redhat.com>
65022         [BZ #13144]
65023         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
65024         last change.
65026 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
65028         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65029         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
65030         syscall wrapper around clock_gettime in __vdso_clock_gettime.
65031         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
65032         clock_gettime.
65034 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65036         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
65037         Forgot to demangle the pointer.
65039         * sysdeps/i386/sysdep.h: Define atom_text_section.
65040         * sysdeps/x86_64/sysdep.h: Likewise.
65041         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
65042         section with atom_text_section.
65043         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
65044         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
65045         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
65046         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65047         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
65049         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
65050         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
65051         already be defined.  Change to take two parameters and don't assign
65052         result to variable.  Adjust all users.
65053         Define INTERNAL_GETTIME if not already defined.
65054         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
65055         call.
65056         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
65057         HAVE_CLOCK_GETTIME_VSYSCALL.
65058         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
65060         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
65061         gettimeofday vsyscall, just use time.
65063 2011-09-06  Andreas Schwab  <schwab@redhat.com>
65065         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
65066         <errno.h>.
65068 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65070         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
65071         syscall on x86-64.
65072         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
65073         syscall.
65074         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
65075         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
65076         syscall if possible.
65078 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65080         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
65081         e_ident.  Don't pass to find_mapsXX.
65082         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
65084 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65086         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65087         strchr-sse2-no-bsf strrchr-sse2-no-bsf
65088         * sysdeps/x86_64/multiarch/strchr.S: Update.
65089         Check bit_slow_BSF bit.
65090         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65091         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
65092         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
65094 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65096         [BZ #13134]
65097         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
65098         before glibc 2.15.
65099         (tryshell): Define.
65100         (__spawni): Change last parameter to be flag.  Test
65101         SPAWN_XFLAGS_USE_PATH flag to use path or not.
65102         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
65103         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
65104         * posix/spawni.c: Likewise.
65105         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
65106         * posix/spawnp.c: Likewise.  Change normal version to use
65107         SPAWN_XFLAGS_USE_PATH.
65108         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
65109         SPAWN_XFLAGS_TRY_SHELL.
65111         [BZ #13150]
65112         * posix/glob.h: Remove gcc 1.x support.
65114         [BZ #13068]
65115         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
65117 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65119         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65120         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
65121         strrchr-sse2-bsf
65122         * sysdeps/i386/i686/multiarch/strchr.S: New file.
65123         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
65124         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
65125         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
65126         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
65127         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
65129 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65131         * sysdeps/x86_64/wcscmp.S: New file.
65133         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
65134         wcscmp-c wcscmp-sse2
65135         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
65136         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
65137         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
65138         * wcsmbs/wcscmp.c: Allow renaming.
65140 2011-09-05  David S. Miller  <davem@davemloft.net>
65142         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
65143         stack slot, rather than the struct return pointer slot.
65144         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
65145         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
65146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
65147         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
65149 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65151         * po/ja.po: Update from translation team.
65153         [BZ #13144]
65154         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
65155         kernel in 64-bit binaries.
65157 2011-09-01  David S. Miller  <davem@davemloft.net>
65159         * elf/elf.h (HWCAP_SPARC_*): Move to..
65160         * sysdeps/sparc/sysdep.h: this new file and add new values.
65161         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
65162         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
65163         _DL_HWCAP_COUNT to 24.
65164         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
65165         entries.
65166         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
65167         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
65168         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
65169         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
65170         instead of magic constants.
65171         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65173 2011-08-31  David S. Miller  <davem@davemloft.net>
65175         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
65176         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
65177         Reimplement to do errno handling inline.
65178         (SYSCALL_ERROR_HANDLER): New macro.
65179         (__SYSCALL_STRING): Do not do errno handling in asm.
65180         (__CLONE_SYSCALL_STRING): Delete.
65181         (__INTERNAL_SYSCALL_STRING): Delete.
65182         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
65183         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
65184         (PSEUDO): Reimplement to do errno handling inline.
65185         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
65186         (SYSCALL_ERROR_HANDLER): New macro.
65187         (__SYSCALL_STRING): Do not do errno handling in asm.
65188         (__CLONE_SYSCALL_STRING): Delete.
65189         (__INTERNAL_SYSCALL_STRING): Delete.
65190         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
65191         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
65192         i386.
65193         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
65194         (inline_syscall*): Add 'err' argument.
65195         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
65196         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
65197         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
65198         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
65200         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
65201         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65203 2011-08-30  Andreas Schwab  <schwab@redhat.com>
65205         * elf/rtld.c (dl_main): Relocate objects in dependency order.
65207 2011-08-29  Jiri Olsa <jolsa@redhat.com>
65209         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
65210         directive.
65212 2011-08-24  David S. Miller  <davem@davemloft.net>
65214         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
65216 2011-08-24  Andreas Schwab  <schwab@redhat.com>
65218         * elf/Makefile: Add rules to build and run unload8 test.
65219         * elf/unload8.c: New file.
65220         * elf/unload8mod1.c: New file.
65221         * elf/unload8mod1x.c: New file.
65222         * elf/unload8mod2.c: New file.
65223         * elf/unload8mod3.c: New file.
65225         * elf/dl-close.c (_dl_close_worker): Reset private search list if
65226         it wasn't used.
65228 2011-08-23  David S. Miller  <davem@davemloft.net>
65230         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
65231         subtract stack bias.
65232         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
65233         %sp not %fp in calculations.
65234         (_JMPBUF_UNWINDS_ADJ): Likewise.
65236         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
65237         (aio_suspend): Call it to force an exception region around the
65238         AIO_MISC_WAIT() invocation.
65240 2011-08-23  Andreas Schwab  <schwab@redhat.com>
65242         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
65243         backslash.
65245 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
65247         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
65248         protection macro.
65249         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
65250         and <dl-machine.h>.
65251         (Elf64_FuncDesc): Remove.
65253 2011-08-22  David S. Miller  <davem@davemloft.net>
65255         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
65256         sigaltstack check, add missing cfi directives.
65257         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
65258         missing cfi directives, and sigaltstack handling.
65260 2011-08-16  Andreas Schwab  <schwab@redhat.com>
65262         [BZ #11724]
65263         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
65264         object is seen twice.
65265         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65267         * elf/Makefile (distribute): Add tst-initorder2.c.
65268         (tests): Add tst-initorder2.
65269         (modules-names): Add tst-initorder2a tst-initorder2b
65270         tst-initorder2c tst-initorder2d.  Add rules to build them.
65271         ($(objpfx)tst-initorder2.out): New rule.
65272         * elf/tst-initorder2.c: New file.
65273         * elf/tst-initorder2.exp: New file.
65275 2011-08-22  Andreas Schwab  <schwab@redhat.com>
65277         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
65279         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
65280         dependencies back to end of function.
65282         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65283         $(elfobjdir)/ld.so.
65285 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
65287         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
65288         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
65289         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
65290         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
65291         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
65292         of __vdso_gettimeofday.
65293         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
65294         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
65295         attribute_hidden.
65296         (_libc_vdso_platform_setup): Remove initialization of
65297         __vdso_gettimeofday and __vdso_time.
65299 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65301         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
65302         and fgetc_unlocked.
65303         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
65304         getc_unlocked.
65306         * elf/dl-open.c (add_to_global): Report additions to the global scope
65307         for LD_DEBUG=scopes.
65308         (dl_open_worker): Also print scope of newly loaded dependencies.
65309         (_dl_show_scope): Indicate if there is no scope.
65311         [BZ #13114]
65312         * stdio-common/Makefile (tests): Add bug24.
65313         * stdio-common/bug24.c: New file.
65315 2011-08-19  Andreas Jaeger  <aj@suse.de>
65317         [BZ #13114]
65318         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
65319         non-existant file when using close-on-exec mode.
65321 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65323         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
65324         the very first instruction.
65326         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
65327         the CFI state in the end.
65328         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
65329         inclusion of dl-trampoline.h.
65330         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
65332 2011-08-19  Andreas Schwab  <schwab@redhat.com>
65334         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
65335         expectations for long double.
65337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
65338         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
65340 2011-08-14  David S. Miller  <davem@davemloft.net>
65342         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
65343         artificual limit depends upon the system page size.
65345 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65347         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
65348         * resolv/Makefile: Define CFLAGS-libresolv.
65350 2011-08-17  Andreas Schwab  <schwab@redhat.com>
65352         * nss/makedb.c (compute_tables): Make variables used in nested
65353         function static.
65355 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65357         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
65358         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
65359         if buffer was too small.
65361         * elf/pldd.c (main): Attach to all threads in the process.
65362         Rewrite /proc handling to use *at functions.
65364 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
65366         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
65367         specifies first scope to show.
65368         (dl_open_worker): Update callers.  Move printing scope of new
65369         object to before the relocation.
65370         * elf/rtld.c (dl_main): Update _dl_show_scope call.
65371         * sysdeps/generic/ldsodefs.h: Update declaration.
65373         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
65374         string for the scope number.
65376 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
65378         * nscd/servicescache.c (cache_addserv): Make sure written is always
65379         initialized.
65381 2011-08-14  Roland McGrath  <roland@hack.frob.com>
65383         * sysdeps/i386/i486/bits/atomic.h
65384         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
65385         statement expression, so as to suppress "set but not used" warning.
65386         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
65388         * string/strncat.c (STRNCAT): Use prototype definition.
65390         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
65391         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
65392         -Iprograms here.
65393         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
65394         (localedef-modules): Add localedef.
65395         (locale-modules): Add locale.
65397         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
65398         * elf/rtld.c (dl_main): Invert order of assignment in last change,
65399         to avoid a warning.
65401 2011-08-14  David S. Miller  <davem@davemloft.net>
65403         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
65404         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
65406 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
65408         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
65409         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
65410         * elf/rtld.c (dl_main): Set l_name of vDSO.
65411         Call _dl_show_scope when DL_DEBUG_SCOPES.
65412         (process_dl_debug): Recognize scopes flag and also set it for all.
65413         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
65414         Declare _dl_show_scope.
65416         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
65417         (do_dlopen): Pass caller_dlopen to dl_open.
65418         (__libc_dlopen_mode): Initialize caller_dlopen.
65420         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
65421         of libc.  Make tolower call locale-independent.  Optimize a bit by
65422         using isdigit instead of isalnum.
65423         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
65425 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
65427         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
65428         was a dependency or dynamically loaded.
65430 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
65432         * intl/l10nflist.c: Allow architecture-specific pop function.
65433         * sysdeps/x86_64/l10nflist.c: New file.
65435         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
65436         classification.
65438 2011-08-10  Andreas Schwab  <schwab@redhat.com>
65440         * include/dirent.h: Add libc_hidden_proto for scandirat and
65441         scandirat64.  Don't declare __scandirat64.
65442         * dirent/scandirat.c: Add libc_hidden_def.
65443         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
65444         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
65446 2011-08-10  David S. Miller  <davem@davemloft.net>
65448         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
65449         enum.
65450         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65451         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65452         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65454 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
65456         * Versions.def [libc]: Add GLIBC_2.15.
65457         * dirent/Makefile (routines): Add scandirat and scandirat64.
65458         * dirent/Versions [libc]: Export scandirat and scandirat64 for
65459         GLIBC_2.15.
65460         * dirent/dirent.h: Declare scandirat and scandirat64.
65461         * dirent/scandirat.c: New file.
65462         * dirent/scandirat64.c: New file.
65463         * sysdeps/wordsize-64/scandirat.c: New file.
65464         * sysdeps/wordsize-64/scandirat64.c: New file.
65465         * dirent/opendir.c: Define opendirat.
65466         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
65467         using scandirat.
65468         * dirent/scandir64.c: Adjust for scandir.c change.
65469         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
65470         __scandirat64, and __scandir_cancel_handler.
65471         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
65472         additional parameter and use openat instead of open (outside of ld.so).
65473         Add new __opendir as wrapper around __opendirat.
65474         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
65475         here without requiring old scandirat implementation.
65477 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
65479         * dirent/scandir.c (cancel_handler): Renamed to
65480         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
65481         defined.  Adjust users.
65482         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
65483         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
65485 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
65487         * string/test-string.h (IMPL): Use __STRING to expand name and then
65488         stringify it.
65490         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
65491         of cleanups.
65493 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65495         * string/Makefile: Update.
65496         (strop-tests): Append strncat.
65497         * string/test-wcscmp.c: New file.
65498         New comprehensive test for wcscmp.
65499         * string/test-strcmp.c: Update.
65500         (WIDE): New define.
65502 2011-07-22  Andreas Schwab  <schwab@redhat.com>
65504         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
65505         line.
65507 2011-07-26  Andreas Schwab  <schwab@redhat.com>
65509         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65510         encoding to ACE if AI_IDN.
65512 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
65514         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
65515         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
65517 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65519         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
65520         Fix overflow bug in strncat.
65521         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
65523         * string/test-strncat.c: Update.
65524         Add new tests for checking overflow bugs.
65526 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65528         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65529         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
65530         * sysdeps/i386/i686/multiarch/strcat.S: New file.
65531         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
65532         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
65533         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
65534         * sysdeps/i386/i686/multiarch/strncat.S: New file.
65535         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
65536         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
65538         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
65539         (USE_AS_STRCAT): Define.
65540         Add strcat and strncat support.
65541         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65543 2011-07-25  Andreas Schwab  <schwab@redhat.com>
65545         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
65546         __n bigger than INT_MAX+1.
65547         (__strncmp_g): Likewise.
65549 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
65551         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
65552         * libio/stido.h: Likewise.
65554         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
65555         (AF_NFC): Define.
65556         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
65557         (AF_NFC): Define.
65559         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
65560         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65561         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65562         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
65563         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65565         [BZ #13021]
65566         * scripts/test-installation.pl: Don't expect libnss_test1 to be
65567         installed.
65569         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
65570         typo.
65571         (_dl_x86_64_save_sse): Likewise.
65573 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
65575         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
65576         OSXSAVE.
65577         (_dl_x86_64_save_sse): Likewise.
65579         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
65581         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
65583 2011-07-21  Andreas Schwab  <schwab@redhat.com>
65585         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
65586         change.
65587         (_dl_x86_64_save_sse): Use correct AVX check.
65589 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65591         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
65592         bug in strncpy/strncat.
65593         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
65595 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
65597         * string/tester.c (test_strcat): Add tests for different alignments
65598         of source and destination.
65599         (test_strncat): Likewise.
65601 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65603         [BZ #12852]
65604         * posix/glob.c (glob): Check passed in values before using them in
65605         expressions to avoid some overflows.
65606         (glob_in_dir): Likewise.
65608         [BZ #13007]
65609         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
65610         check for AVX enablement so that we don't crash with old kernels and
65611         new hardware.
65612         * elf/tst-audit4.c: Add same checks here.
65613         * elf/tst-audit6.c: Likewise.
65615         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
65617 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
65619         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
65621 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65623         * po/cs.po: Update from translation team.
65624         * po/bg.po: Likewise.
65626 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
65628         * misc/sys/cdefs.h: Add support for const attribute.
65629         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
65630         to gnu_dev_{major,minor,makedev} functions.
65632 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
65634         * intl/dcigettext.c (get_output_charset): Add missing bracket.
65636 2011-07-20  Andreas Schwab  <schwab@redhat.com>
65638         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
65639         strlen results.
65641 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65643         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
65644         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
65645         register in order to avoid conflicts with the soft frame pointer
65646         being held in r11 when necessary.
65647         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
65648         (INTERNAL_VSYSCALL_NCS): Likewise.
65650 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
65652         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
65653         * elf/dl-fini.c (_dl_fini): Adjust caller.
65654         * elf/dl-close.c (_dl_close_worker): Likewise.
65655         * sysdeps/generic/ldsodefs.h: Adjust declaration.
65657 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65659         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
65660         "aux_cache->nlibs < 0".
65662         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
65663         in the reload-count case.
65665 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65668         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
65669         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
65670         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
65671         * sysdeps/x86_64/multiarch/strcat.S: New file.
65672         * sysdeps/x86_64/multiarch/strncat.S: New file.
65673         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
65674         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
65675         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
65676         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
65677         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
65678         (USE_AS_STRCAT): Define.
65679         Add strcat and strncat support.
65680         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65681         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
65682         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
65683         * string/strncat.c: Update.
65684         (USE_AS_STRNCAT): Define.
65685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65686         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
65687         and i7.
65688         * sysdeps/x86_64/multiarch/init-arch.h
65689         (bit_Prefer_PMINUB_for_stringop): New.
65690         (index_Prefer_PMINUB_for_stringop): Likewise.
65691         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
65692         bit_Prefer_PMINUB_for_stringop.
65694 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65696         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
65697         buffer64.
65698         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
65699         of casting of buffer.
65700         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
65701         buffer32 and buffer64.
65702         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
65703         writes instead of casting of buffer.
65704         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
65705         buffer32.
65706         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
65707         casting of buffer.
65709 2011-07-19  Andreas Schwab  <schwab@redhat.com>
65711         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
65713 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65715         * nscd/nscd.c (termination_handler): Don't do anything for a database
65716         if it has not yet been initialized.
65718 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65720         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65722 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65724         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65726 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65728         * po/nl.po: Update from translation team.
65729         * po/sv.po: Likewise.
65731 2011-07-16  Roland McGrath  <roland@hack.frob.com>
65733         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
65734         now disallowed by GCC.
65736         * configure.in (use-default-link): Default to yes if a test -shared
65737         link meets our qualifications.
65738         * configure: Regenerated.
65740         * config.make.in (output-format): New variable.
65741         * configure.in: Check for ld --print-output-format support.
65742         * configure: Regenerated.
65743         * Makerules ($(common-objpfx)format.lds)
65744         [$(output-format) != unknown]: Just use $(output-format),
65745         instead of the linker-script munging.
65747 2011-07-14  Roland McGrath  <roland@hack.frob.com>
65749         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
65750         of $(common-objpfx)shlib.lds.
65751         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
65753         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
65754         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
65756         * configure.in (-z relro check): Adjust test code to add a large
65757         writable data section after it.
65758         * configure: Regenerated.
65760 2011-07-11  Roland McGrath  <roland@hack.frob.com>
65762         * configure.in (-z relro check): Fix test code to make the variable
65763         truly const.
65764         * configure: Regenerated.
65766 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
65768         * nscd/nscd.h (struct traced_file): Define.
65769         (struct database_dyn): Remove inotify_descr, reset_res, and filename
65770         elements.  Add traced_files.
65771         (inotify_fd): Declare.
65772         (register_traced_file): Declare.
65773         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
65774         (inotify_fd): Export.
65775         (resolv_conf_descr): Remove.
65776         (nscd_init): Move inotify descriptor creation to main.
65777         Don't register files for notification here.
65778         (register_traced_file): New function.
65779         (invalidate_cache): Don't use reset_res to determine whether to call
65780         res_init, go through the list of registered files.
65781         (main_loop_poll): The inotify descriptors are now stored in the
65782         structures for the traced files.
65783         (main_loop_epoll): Likewise
65784         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
65785         to __nss_disable_nscd.
65786         * nscd/cache.c (prune_cache): There is no single inotify descriptor
65787         for a database anymore.  Check the records for all the registered
65788         files instead.
65789         * nss/Makefile (libnss_files-routines): Add files-init.
65790         (libnss_db-routines): Add db-init.
65791         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
65792         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
65793         * nss/nss_db/db-init.c: New file.
65794         * nss/nss_files/files-init.c: New file.
65795         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
65796         __nss_lookup_function.
65797         (__nss_lookup_function): Call nss_load_library.
65798         (nss_load_all_libraries): New function.
65799         (__nss_disable_nscd): Take parameter with callback function for files
65800         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
65801         used for the cached services.
65802         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
65803         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
65804         options for features to all the files in nscd.
65806         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
65808 2011-07-10  Roland McGrath  <roland@hack.frob.com>
65810         * csu/elf-init.c (__libc_csu_init): Comment typo.
65812 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
65814         * po/pl.po: Update from translation team.
65815         * po/ja.po: Likewise.
65816         * po/ru.po: Likewise.
65817         * po/ko.po: Likewise.
65818         * po/fr.po: Likewise.
65820 2011-07-09  Roland McGrath  <roland@hack.frob.com>
65822         * configure.in (.ctors/.dtors header and trailer check):
65823         Use an empirical test on a built program.
65824         * configure: Regenerated.
65826         * configure.in (-z relro check): Use an empirical test on a built DSO.
65827         Detect, but do not require, on ia64.
65828         * configure: Regenerated.
65830         * configure.in (READELF): Find it with AC_CHECK_TOOL.
65831         Update tests that use readelf to use $READELF instead.
65832         * configure: Regenerated.
65834 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
65836         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
65837         if the result is not used.
65839 2011-07-05  Andreas Jaeger  <aj@suse.de>
65841         [BZ#9696]
65842         * stdlib/tst-strtod.c: Add testcase.
65844 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
65846         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
65847         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
65848         The latter has a higher limit.  Take additional parameter to pass to
65849         the new function.
65850         (__pathconf): Pass file to __statfs_link_max.
65851         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
65852         __statfs_link_max.
65853         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
65854         __statfs_link_max.
65856         [BZ #12868]
65857         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
65858         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65859         Handle Lustre.
65860         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
65861         (__statfs_filesize_max): Likewise.
65862         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
65864 2011-07-05  Andreas Jaeger  <aj@suse.de>
65866         * resolv/res_comp.c (dn_skipname): Remove unused variable.
65868 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
65870         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
65871         `status' variable.
65872         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
65873         Likewise.
65875 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
65877         * Makefile (strop-tests): Add strncat.
65878         * string/test-strncat.c: New file.
65880 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
65882         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
65884 2011-06-21  Andreas Jaeger  <aj@suse.de>
65886         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
65887         Copy rule from iconvdata/Makefile.
65889 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65891         [BZ #12922]
65892         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
65893         but no long options are defined, just return 'W'.
65895 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
65897         [BZ #9696]
65898         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
65900 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65902         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
65903         netgroups to read.
65904         (innetgr): Likewise.
65906 2011-07-05  Roland McGrath  <roland@hack.frob.com>
65908         * config.make.in (install_root): Default to $(DESTDIR).
65910 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
65912         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
65914 2011-07-02  Roland McGrath  <roland@hack.frob.com>
65916         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
65918         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
65919         containing directory rather than embedding absolute directory names.
65921         * scripts/check-local-headers.sh: Rewritten using awk.
65922         Match by word, not by line.  Print error messages for matches.
65923         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
65925         * Makerules [shlib-lds-flags empty]:
65926         ($(common-objpfx)libc_pic.opts): New target.
65927         ($(common-objpfx)libc_pic.os.clean): New target.
65928         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
65930         * config.make.in (OBJCOPY): New variable.
65931         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
65932         * configure: Regenerated.
65934         * config.make.in (use-default-link): New variable.
65935         * configure.in (use_default_link): Grok --with-default-link to set it.
65936         * configure: Regenerated.
65937         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
65938         (shlib-lds, shlib-lds-flags): Define to empty.
65940         * Makerules (shlib-lds): New variable.
65941         (shlib-lds-flags): New variable.
65942         (build-shlib, build-moduile, build-module-asneeded): Use it.
65943         ($(common-objpfx)libc.so): Use $(shlib-lds).
65944         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
65945         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
65947         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
65948         DT_FLAGS/DT_FLAGS_1 with zero flags.
65950         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
65951         linker script munging.
65953 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
65955         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
65956         as 128-bit value.
65957         * crypt/sha512.c (sha512_process_block): Perform total addition using
65958         128-bit if possible.
65959         (__sha512_finish_ctx): Likewise.
65960         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
65961         as 64-bit value.
65962         * crypt/sha256.c (SWAP64): Define.
65963         (sha256_process_block): Perform total addition using 64-bit if
65964         possible.
65965         (__sha256_finish_ctx): Likewise.
65967 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
65969         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
65970         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65971         * nscd/hstcache.c (cache_addhst): Likewise.
65972         * nscd/grpcache.c (cache_addgr): Likewise.
65973         * nscd/aicache.c (addhstaiX): Likewise
65974         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
65976 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
65978         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
65979         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65980         * nscd/hstcache.c (cache_addhst): Likewise.
65981         * nscd/grpcache.c (cache_addgr): Likewise.
65982         * nscd/aicache.c (addhstaiX): Likewise
65984 2011-07-01  Andreas Schwab  <schwab@redhat.com>
65986         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
65987         domain only when needed.
65989 2011-06-30  Andreas Schwab  <schwab@redhat.com>
65991         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
65992         is always restored.
65994 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
65996         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
65997         are re-adding the entry.
65998         * nscd/servicescache.c (cache_addserv): Likewise.
66000 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
66002         * sysdeps/generic/dl-irel.h: fix protection against multiple
66003         inclusions.
66004         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
66006 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
66008         [BZ #12935]
66009         * malloc/memusage.sh: Fix quoting in message.
66010         * debug/xtrace.sh: Likewise.
66012         * configure.in: Remove support for --experimental-malloc option, make
66013         it the default.
66014         * config.make.in: Likewise.
66015         * malloc/Makefile: Likewise.
66017 2011-06-27  Andreas Schwab  <schwab@redhat.com>
66019         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
66020         two-byte characters.
66022 2011-06-27  Roland McGrath  <roland@hack.frob.com>
66024         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
66025         AC_CACHE_CHECK invocation.
66026         * configure: Regenerated.
66028         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
66030 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
66032         [BZ #12350]
66033         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
66034         bit from old_res_options.
66036         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
66038         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
66039         value type for setfct.
66041 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
66043         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66044         __gettimeofday instead of gettimeofday.
66046 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
66048         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
66050 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
66052         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
66054         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
66055         info.
66057 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66059         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66060         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66061         strcpy-sse2-unaligned strncpy-sse2-unaligned
66062         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
66063         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
66064         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
66065         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
66066         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
66067         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
66068         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
66069         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
66070         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
66071         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
66072         (STRCPY): Support SSE2 and SSSE3 versions.
66074 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
66076         [BZ #12874]
66077         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
66078         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
66079         kernels which artificially limit size of requests.
66081 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66083         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66084         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66085         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
66086         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
66087         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
66088         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
66089         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
66090         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
66091         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
66092         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
66093         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
66094         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
66095         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
66096         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
66097         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
66098         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66099         Enable unaligned load optimization for Intel Core i3, i5 and i7
66100         processors.
66101         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
66102         Define.
66103         (index_Fast_Unaligned_Load): Define.
66104         (HAS_FAST_UNALIGNED_LOAD): Define.
66106 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
66108         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
66110 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66112         [BZ #12907]
66113         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
66114         until it is clear that the information is realy needed.
66115         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
66117 2011-06-22  Andreas Schwab  <schwab@redhat.com>
66119         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
66121 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66123         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66124         /sys/devices/system/cpu/online if it is usable.
66126         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
66127         reading the information from the /proc filesystem to once a second.
66129 2011-06-21  Andreas Jaeger  <aj@suse.de>
66131         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
66132         NULL after inclusion of kernel headers.
66134 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
66136         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
66137         calls to internal_setent.
66139         [BZ #12885]
66140         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
66141         addresses using gethostbyname4_r ignore IPv4 addresses.
66143         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
66144         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
66146         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
66148 2011-06-20  David S. Miller  <davem@davemloft.net>
66150         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
66151         inclusions.
66152         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
66154         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
66155         (elf_irel): Use it.
66156         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
66157         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
66158         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
66159         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
66160         * sysdeps/x86_64/dl-irel.h: Likewise.
66162         * elf/dl-runtime.c: Use elf_ifunc_invoke.
66163         * elf/dl-sym.c: Likewise.
66165 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66167         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
66168         need to dereference resplen2.
66170 2011-06-14  Andreas Schwab  <schwab@redhat.com>
66172         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
66174 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66176         * Makeconfig: Define vardbdir and inst_vardbdir.
66177         * nss/Makefile: Add rules to install db-Makefile.
66179         * nss/nss_db/db-XXX.c: Cleanup.
66181         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
66182         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
66183         GLIBC_PRIVATE.
66184         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
66185         * nss/makedb.c: Implement -g option to specify that value strings
66186         are generated and should not be added to table iterated over for
66187         get*ent calls.
66188         * nss/nss_db/db-initgroups.c: New file.
66190         * nss/getent.c: Add support for initgroups lookups through getgrouplist
66191         interface.
66193         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
66194         (internal_getgrouplist): Adjust to name change.
66195         Update use_initgroups_entry if this is not the first call.
66196         * nss/databases.def: Add initgroups entry.
66198         * nss/makedb.c (compute_tables): Check result of multiple hash table
66199         sizes to minimize maximum chain length.
66201 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
66203         * Versions.def: Add entry for libnss_db.
66204         * shlib-versions: Likewise.
66205         * nss/Makefile: Add rules to build libnss_db.
66206         * nss/Versions: Add libnss_db information.  Organize libnss_files
66207         entries better.
66208         * nss/db-Makefile: Add gshadow support.  Change rules for the new
66209         makedb progra.  Some minor improvements to generate smaller files.
66210         * nss/nss_db/nss_db.h: Move NSS database header data structures to
66211         here from...
66212         * nss/makedb.c: ...here.
66213         Improve database format to be smaller and require less memory at
66214         runtime.
66215         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
66216         db anymore.
66217         * nss/nss_db/db-netgrp.c: Likewise.
66218         * nss/nss_db/db-open.c: Likewise.
66219         * nss/nss_files/flies-XXX.x: Adjust comments.
66220         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
66221         * nss/nss_files/files-grp.c: Likewise.
66222         * nss/nss_files/files-hosts.c: Likewise.
66223         * nss/nss_files/files-network.c: Likewise.
66224         * nss/nss_files/files-proto.c: Likewise.
66225         * nss/nss_files/files-pwd.c: Likewise.
66226         * nss/nss_files/files-rpc.c: Likewise.
66227         * nss/nss_files/files-service.c: Likewise.
66228         * nss/nss_files/files-sgrp.c: Likewise.
66229         * nss/nss_files/files-spwd.c: Likewise.
66230         * nss/nss_db/db-alias.c: Removed.
66231         * nss/nss_db/dummy-db.h: Removed.
66233 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
66235         * nss/makedb.c: Rewritten to not use database library.
66236         * nss/Makefile: Update to build new makedb program.
66238 2011-06-14  Andreas Jaeger  <aj@suse.de>
66240         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
66241         memset declaration.
66243 2011-06-10  Andreas Schwab  <schwab@redhat.com>
66245         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
66246         tmpbuf.
66248 2011-06-10  Roland McGrath  <roland@hack.frob.com>
66250         * Makerules (shlib.lds): Fail if the linker script comes out empty.
66251         * elf/Makefile ($(objpfx)ld.so): Likewise.
66253         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
66254         Don't list ld.so twice in dependencies.
66256         * posix/bug-regex31.c: Include <stdlib.h>.
66258         * nscd/hstcache.c (cache_addhst): Remove unused variable.
66260         * nis/nss_compat/compat-spwd.c
66261         (getspent_next_nss_netgr): Remove unused variable.
66262         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
66264         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
66265         nonmembers" output to use the right array.
66267         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
66269         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
66271         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
66272         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
66273         * catgets/gencat.c (read_input_file): Likewise.
66274         * locale/programs/locarchive.c (enlarge_archive): Likewise.
66276         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
66277         variable definition inside #if's controlling its use.
66279         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
66281         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
66283         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
66285         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
66286         unreachable code.
66288         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
66290         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
66291         * configure: Regenerated.
66293         * Makerules: Revert last change.
66294         * elf/Makefile: Likewise.
66296 2011-06-09  Roland McGrath  <roland@hack.frob.com>
66298         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
66299         * elf/Makefile ($(objpfx)librtld.os): Likewise.
66300         (reloc-link): Likewise.
66302 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
66304         * elf/Makefile: Add rules to build pldd.
66305         * elf/pldd.c: New file.
66306         * elf/pldd-xx.c: New file.
66308 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
66310         * version.h: Update for 2.15 development version.
66312 2011-06-07  David S. Miller  <davem@davemloft.net>
66314         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
66315         ifuncs.
66316         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
66317         elf_machine_lazy_rel): Likewise.
66318         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
66319         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
66320         elf_machine_lazy_rel): Likewise.
66321         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
66322         dl_hwcap via passed in argument.
66323         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
66324         Likewise.
66326 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66328         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
66330 2011-06-06  Roland McGrath  <roland@hack.frob.com>
66332         [BZ #12849]
66333         * manual/fdl-1.1.texi: New file, verbatim from:
66334         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
66335         * manual/lgpl-2.1.texi: New file, verbatim from:
66336         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
66337         * manual/Makefile (licenses): New variable, list those new file names.
66338         (texis): Use it.
66339         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
66341         * manual/fdl.texi: File removed.
66342         * manual/lesser.texi: File removed.
66343         * manual/libc.texinfo (Copying, Documentation License):
66344         Use new @include file names, put @appendix directive before @include.
66346 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
66348         [BZ #12841]
66349         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
66350         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
66351         (mq_open): Add __NTH.
66353 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
66355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66356         Assume Intel Core i3/i5/i7 processor if AVX is available.
66358 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66360         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66361         typo.
66363 2011-05-31  Andreas Schwab  <schwab@redhat.com>
66365         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
66366         memory.  Use alloca_account.  Fix memory leak when retrying.
66368 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66370         * version.h (RELEASE): Bump for 2.14 release.
66371         * include/features.h (__GLIBC_MINOR__): Bump to 14.
66373         * config.make.in (RANLIB): Remove entry.
66375 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
66377         * po/Makefile (po-sed-cmd): Add ksh to extensions.
66378         (libc.pot): Work around missing support for .ksh extension in xgettext.
66380         [BZ #12684]
66381         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
66382         if both request failed.
66383         (send_dg): In case of server errors clear resplen or *resplen2.
66385         [BZ #12454]
66386         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
66387         when there are multiple maps.
66388         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
66389         (_dl_fini): Remove test here.
66391         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
66393 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
66395         [BZ #12350]
66396         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
66397         bit from old_res_options.
66398         (gaih_inet): Likewise.
66400         [BZ #11099]
66401         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
66402         as signed.
66404         * resolv/res_init.c (res_setoptions): Make the code more compact.
66406         [BZ #11558]
66407         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
66408         set RES_USEVC.
66410         [BZ #11634]
66411         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
66413         * malloc/malloc.h: Mark malloc hook variables as deprecated.
66415         [BZ #11781]
66416         * malloc/malloc.h: Declare malloc hook variables as volatile.
66418         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
66419         in last patch.
66421         [BZ #11799]
66422         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
66423         raise in the comment.
66424         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66425         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66426         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
66428 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
66430         [BZ #12811]
66431         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
66432         grow the buffers more if it already has to be sufficient.
66433         (build_wcs_upper_buffer): Likewise.
66434         * posix/regexec.c (check_matching): Likewise.
66435         (clean_state_log_if_needed): Likewise.
66436         (extend_buffers): Don't enlarge buffers beyond size of the input
66437         buffer.
66438         Patches mostly by Emil Wojak <emil@wojak.eu>.
66439         * posix/bug-regex32.c: New file.
66440         * posix/Makefile (tests): Add bug-regex32.
66442         * locale/findlocale.c (_nl_find_locale): Return right away if
66443         _nl_explode_name failed.
66444         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
66446         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
66448         * debug/xtrace.sh: Unify messages.
66449         * malloc/memusage.sh: Likewise.
66451         [BZ #12813]
66452         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
66453         time symbol from vDSO.  Substitute with vsyscall if not available.
66454         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
66455         __vdso_time.
66457         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
66458         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
66459         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
66460         Add sendmmsg and internal_sendmmsg.
66461         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
66462         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
66463         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
66465         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
66466         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
66467         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
66469 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
66471         [BZ #12813]
66472         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
66473         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
66474         available.
66475         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
66476         __vdso_getcpu.
66478         [BZ #12814]
66479         * iconvdata/Makefile (tests): Add bug-iconv9.
66480         * iconvdata/bug-iconv9.c: New file.
66482 2011-05-27  Andreas Schwab  <schwab@redhat.com>
66484         [BZ #12814]
66485         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
66487 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
66489         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66490         (struct user_regs_struct): Change intcs field back to cs.
66492 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
66494         * po/ja.po: Update from translation team.
66496 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
66498         [BZ #12795]
66499         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
66500         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
66502 2011-05-20  Andreas Schwab  <schwab@redhat.com>
66504         * stdlib/longlong.h: Update from GCC.
66506 2011-05-23  Andreas Schwab  <schwab@redhat.com>
66508         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
66509         parameter name.
66510         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
66511         Add parameter name.
66512         (__sysconf): Pass it down.
66514 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
66516         [BZ #12671]
66517         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
66518         some situations.
66519         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
66520         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
66521         add in in __libc_use_alloca calls.  Adjust callers.
66522         (glob): Use malloc in some situations.
66524         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
66525         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
66526         pltexit.
66528 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
66530         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
66531         and CLOCK_BOOTTIME_ALARM.
66533         [BZ #12782]
66534         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
66535         is returned.
66537         * string/_strerror.c (__strerror_r): Print negative errors as signed
66538         numbers.
66540         [BZ #12777]
66541         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
66542         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
66543         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
66545         * configure.in: Fix typo in redirection and correct removal of test
66546         files in two cases.
66548         [BZ #12788]
66549         * locale/setlocale.c (new_composite_name): Fix test to check for
66550         identical name of all categories.
66552         [BZ #12792]
66553         * libio/filedoalloc.c (local_isatty): New function.
66554         (_IO_file_doallocate): Use local_isatty.
66555         * stdio-common/perror.c (perror): In case a new stream is used
66556         forward the stream error.
66557         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
66558         error flag.
66560 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
66562         [BZ #11869]
66563         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
66564         alloca.
66565         * include/alloca.h (extend_alloca_account): Define.
66567         [BZ #11857]
66568         * posix/regex.h: Fix comments with documentation of user-accessible
66569         fields after compilation and describe correct free'ing of pattern
66570         after re_compile_pattern.
66571         Patch by Reuben Thomas <rrt@sc3d.org>.
66573 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
66575         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
66576         and -mno-altivec to prevent the compiler from using Altivec and/or
66577         VSX instructions when the corresponding registers are not available.
66579 2011-05-19  Andreas Schwab  <schwab@redhat.com>
66581         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
66583 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
66585         * libio/freopen.c (freopen): Use __dup2, not dup2.
66586         * libio/freopen64.c (freopen64): Likewise.
66588 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66590         [BZ #12775]
66591         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
66592         * math/Makefile (tests): Add test-powl.
66593         (CFLAGS-test-powl.c): Define.
66594         * math/test-powl.c: New file.
66596 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66598         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
66600 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
66602         [BZ #11837]
66603         * iconvdata/gb18030.c: Update to GB18020-2005.
66605 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
66607         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
66608         RE_SYNTAX_POSIX_AWK): Update to match recent development.
66609         Patch by Aharon Robbins <arnold@skeeve.com>.
66611         [BZ #11892]
66612         * stdlib/putenv.c (putenv): Don't always create copy of the variable
66613         on the stack.
66615         [BZ #11895]
66616         * misc/pselect.c (__pselect): Handle timeout value errors hidden
66617         through underflows.
66619         [BZ #12766]
66620         * misc/error.c (error_at_line): Ensure file_name and old_file_name
66621         point to strings before performing equality test for error_one_per_line
66622         mode.
66624         [BZ #11697]
66625         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
66627         [BZ #11820]
66628         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66629         (struct user_fpregs_struct): Avoid __uint*_t types.
66631         [BZ #6420]
66632         * malloc/mtrace.c (tr_where): Add additional parameter to point to
66633         symbol info.  Use it instead of calling _dl_addr locally.
66634         (lock_and_info): New function.
66635         (tr_freehook): Call lock_and_info and pass symbol info as additional
66636         parameter to tr_where.
66637         (tr_mallochook): Likewise.
66638         (tr_reallochook): Likewise.
66639         (tr_memalignhook): Likewise.
66641         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
66642         used and couldn't be at all thread-safe.
66644 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
66646         * libio/freopen.c (freopen): Don't close old file descriptor
66647         before the new one is opened.  Instead dup the new file descriptor
66648         to the old one after the new stream is created.
66649         * libio/freopen64.c (freopen64): Likewise.
66650         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
66651         * libio/fileops.c (_IO_new_file_close_it): Handle new
66652         _IO_FLAGS2_NOCLOSE flag.
66653         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
66654         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
66655         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
66656         _IO_FLAGS2_NOCLOSE flag.
66657         * include/unistd.h: Add hidden_proto for dup3.
66658         Define __have_dup3.
66659         * io/dup3.c: Define hidden symbol.
66660         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
66662         [BZ #7101]
66663         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
66664         when an incomplete long option is used.
66665         * posix/tst-getopt_long1.c: New file.
66666         * posix/Makefile (tests): Add tst-getopt_long1.
66668         [BZ #10138]
66669         * scripts/config.guess: Update from autoconf-2.68.
66670         * scripts/config.sub: Likewise.
66672         [BZ #10157]
66673         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
66674         tests into ...
66675         (has_cpuclock): ...this.  New function.
66676         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
66677         macro here based on has_cpuclock code.
66679         [BZ #10149]
66680         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66681         First byte (not low byte) is now always NUL.
66682         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
66684         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66685         Use non-cancelable interfaces.
66687         [BZ #9809]
66688         * locale/iso-639.def: Add entry for Sorani.
66690         [BZ #11901]
66691         * include/stdlib.h: Move include protection to the right place.
66692         Define abort_msg_s.  Declare __abort_msg with it.
66693         * stdlib/abort.c (__abort_msg): Adjust type.
66694         * assert/assert.c (__assert_fail_base): New function.  Majority
66695         of code from __assert_fail.  Allocate memory for __abort_msg with
66696         mmap.
66697         (__assert_fail): Now call __assert_fail_base.
66698         * assert/assert-perr.c: Remove bulk of implementation.  Use
66699         __assert_fail_base.
66700         * include/assert.hL Declare __assert_fail_base.
66701         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
66702         mmap.
66703         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
66705 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
66707         [BZ #11952]
66708         [BZ #12453]
66709         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
66710         until all modules are registered in the DTV.
66711         * elf/Makefile: Add rules to build and run tst-tls19.
66712         * elf/tst-tls19.c: New file.
66713         * elf/tst-tls19mod1.c: New file.
66714         * elf/tst-tls19mod2.c: New file.
66715         * elf/tst-tls19mod3.c: New file.
66716         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
66718         [BZ #12083]
66719         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
66720         correctly.
66722         [BZ #12601]
66723         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
66724         two-byte sequence errors.
66725         * iconvdata/Makefile (tests): Add bug-iconv8.
66726         * iconvdata/bug-iconv8.c: New file.
66728         [BZ #12626]
66729         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
66730         buf2 definition.
66732         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
66734         [BZ #12432]
66735         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
66736         (dummy_getcfa): New function.
66737         (init): Get _Unwind_GetCFA address, use dummy if not found.
66738         (backtrace_helper): In recursion check, also check whether CFA changes.
66739         (__backtrace): Completely initialize arg.
66741         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
66742         storing incomplete byte sequence in state object.  Avoid testing for
66743         guaranteed too small input if we know there is enough data available.
66745 2011-05-11  Andreas Schwab  <schwab@redhat.com>
66747         * Makeconfig (+link-pie): Indent.
66748         * Rules (binaries-pie): Define if $(have-fpie) and
66749         $(build-shared).
66750         (binaries-shared): Also filter out $(binaries-pie).
66751         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
66752         * nscd/Makefile (others-pie): Add nscd.
66753         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
66754         ($(objpfx)nscd): Remove command override.
66755         * login/Makefile (others-pie): Add pt_chown.
66756         ($(objpfx)pt_chown): Remove command override.
66757         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
66758         remove command overrides.
66760 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
66762         * libio/tst_putwc.c: Fix error messages.
66764         [BZ #12724]
66765         * libio/fileops.c (_IO_new_file_close_it): Always flush when
66766         currently writing and seek to current position when not.
66767         * libio/Makefile (tests): Add bug-fclose1.
66768         * libio/bug-fclose1.c: New file.
66770 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
66772         [BZ #12511]
66773         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
66774         don't set DF_1_NODELETE here.
66775         (do_lookup_x): When entering new entry test for copy relocation
66776         and if necessary set DF_1_NODELETE flag.
66777         * elf/tst-unique4.cc: New file.
66778         * elf/tst-unique4.h: New file.
66779         * elf/tst-unique4lib.cc: New file.
66780         * elf/Makefile: Add rules to build and run tst-unique4.
66781         Patch by Piotr Bury <pbury@goahead.com>.
66783 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
66785         [BZ #12052]
66786         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
66788         [BZ #12625]
66789         * misc/mntent_r.c (addmntent): Flush the stream after the output
66791         [BZ #12393]
66792         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
66793         (is_trusted_path_normalize): Skip initial colon.  Append slash
66794         to empty buffer.  Duplicate is_trusted_path code but allow
66795         constructed patch to be prefix.
66796         (is_dst): Allow $ORIGIN followed by /.
66797         (_dl_dst_substitute): Correct clearing of check_for_trusted.
66798         Correct testing of result of is_trusted_path_normalize
66799         (decompose_rpath): Fix warning.
66801 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
66803         [BZ #11257]
66804         * grp/initgroups.c (internal_getgrouplist): When we found the service
66805         list through the initgroups entry in nsswitch.conf do not always
66806         continue on a successful lookup.  Don't always use the
66807         __nss_group_database value if it is set.
66808         * nss/nsswitch.conf (initgroups): Change action for successful db
66809         lookup to continue for compatibility.
66811 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
66813         [BZ #11532]
66814         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
66815         and CP774 modules.
66816         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
66817         and CP774 modules.
66818         * iconvdata/tst-tables.sh: Likewise.
66819         * iconvdata/cp770.c: New file.
66820         * iconvdata/cp771.c: New file.
66821         * iconvdata/cp772.c: New file.
66822         * iconvdata/cp773.c: New file.
66823         * iconvdata/cp774.c: New file.
66824         * iconvdata/testdata/CP770: New file.
66825         * iconvdata/testdata/CP770..UTF8: New file.
66826         * iconvdata/testdata/CP771: New file.
66827         * iconvdata/testdata/CP771..UTF8: New file.
66828         * iconvdata/testdata/CP772: New file.
66829         * iconvdata/testdata/CP772..UTF8: New file.
66830         * iconvdata/testdata/CP773: New file.
66831         * iconvdata/testdata/CP773..UTF8: New file.
66832         * iconvdata/testdata/CP774: New file.
66833         * iconvdata/testdata/CP774..UTF8: New file.
66835         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
66836         END CHARMAP line.
66837         * iconvdata/gen-8bit-gap.sh: Likewise.
66838         * iconvdata/gen-8bit.sh: Likewise.
66840         * locale/iso-639.def: Add ary entry.
66842         [BZ #11258]
66843         * locale/C-translit.h.in: Add U20A1 transliteration.
66845         [BZ #12178]
66846         * locale/iso-639.def: Add wae entry.
66847         Patch by Kevin Bortis <bortis@translate-wae.ch>.
66849         [BZ #12545]
66850         * locale/programs/localedef.c (construct_output_path): Use ssize_t
66851         for n.
66853         [BZ #12711]
66854         * locale/C-translit.h.in: Add entry for U20B9.
66855         Patch by pravin.d.s@gmail.com.
66857 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
66859         [BZ #12713]
66860         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
66861         ENAMETOOLONG use generic getcwd.
66862         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
66863         in rtld.  Use *stat64.
66864         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
66865         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
66866         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
66867         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
66868         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
66869         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
66870         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
66871         __fstatat64 macros.
66872         * include/dirent.h: Add libc_hidden_proto for rewinddir.
66873         * dirent/rewinddir.c: Add libc_hidden_def.
66874         * sysdeps/mach/hurd/rewinddir.c: Likewise.
66875         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
66877         * include/dirent.h (__alloc_dir): Add flags parameter.
66878         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
66879         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
66880         __alloc_dir.
66881         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
66882         from fdopendir if O_CLOEXEC is already set.
66884 2011-03-15  Alan Modra  <amodra@gmail.com>
66886         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
66887         l_tls_firstbyte_offset non-zero.  Save padding offset in
66888         l_tls_firstbyte_offset for later use.
66889         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
66890         freeing static tls block.
66892 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
66894         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
66895         where #ifdef was intended.  The intent is to prevent ARG_MAX from
66896         being defined by the kernel headers.
66898 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
66900         [BZ #12734]
66901         * resolv/resolv.h: Define RES_NOTLDQUERY.
66902         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
66903         no-tld-query and set RES_NOTLDQUERY.
66904         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
66905         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
66906         modern BIND to search name as TLD unless forbidden.
66908 2011-05-07  Petr Baudis  <pasky@suse.cz>
66909             Ulrich Drepper  <drepper@gmail.com>
66911         [BZ #12393]
66912         * elf/dl-load.c (fillin_rpath): Move trusted path check...
66913         (is_trusted_path): ...to here.
66914         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
66915         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
66916         using is_trusted_path_normalize() in setuid scripts.
66918 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66920         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
66921         __BEGIN/__END_DECLS.
66923 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
66925         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
66926         NSS_STATUS_NOTFOUND if no record was found.
66928 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66930         * sunrpc/Makefile (headers): Add rpc/netdb.h.
66931         (headers-not-in-tirpc): Remove rpc/netdb.h
66932         * resolv/netdb.h: Revert last change.
66934 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66936         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
66937         circular dependency between libgcc.a and libc.a.
66939 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66941         * resolv/netdb.h: Don't include <rpc/netdb.h>.
66942         * nis/Makefile: Don't install rpcsvc/*.
66943         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
66944         instead of <rpc/types.h>.
66945         (MAXHOSTNAMELEN): Define.
66947 2011-05-03  Andreas Schwab  <schwab@redhat.com>
66949         * elf/ldconfig.c (add_dir): Don't crash on empty path.
66951 2011-04-28  Maciej Babinski  <mbabinski@google.com>
66953         [BZ #12714]
66954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
66955         gethostbyname4_r when IPv6 results are possible.
66957 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
66959         [BZ #12723]
66960         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
66961         _PC_PIPE_BUF handling.
66963 2011-04-30  Bruno Haible  <bruno@clisp.org>
66965         [BZ #12717]
66966         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
66967         * resolv/netdb.h (getnameinfo): Change type of flags parameter
66968         to 'int'.
66969         * inet/getnameinfo.c (getnameinfo): Likewise.
66971 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
66973         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
66974         to groups setting in database lookup.
66975         * nss/nsswitch.conf: Add initgroups entry.
66977 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
66979         [BZ #12685]
66980         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
66981         mode string.
66982         Patch by Eric Blake <eblake@redhat.com>.
66984 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
66986         * sunrpc/Makefile (need-export-routines): Add svc_run.
66987         (routines): Remove svc_run.
66988         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
66989         * sunrpc/clnt_perr.c (clnt_perrno): Export.
66990         * sunrpc/svc_run.c (svc_run): Likewise.
66991         * sunrpc/svc_udp.c (svcudp_create): Likewise.
66993 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
66995         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
66996         problem in reallocation in last patch.
66998 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
67000         * sunrpc/Makefile: Move inclusion of Rules.
67002 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67004         * nss/nss_files/files-initgroups.c: New file.
67005         * nss/Makefile (libnss_files-routines): Add files-initgroups.
67006         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
67007         _nss_files_initgroups_dyn.
67009 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
67011         * elf/elf.h (R_ARM_IRELATIVE): Define.
67013 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67015         * po/ru.po: Update from translation team.
67017 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67019         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
67020         dependencies.
67022 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
67024         [BZ #12653]
67025         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
67026         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
67027         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67028         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67029         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67031 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
67033         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
67034         differing bytes.
67035         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67036         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67037         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67039 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67041         [BZ #12420]
67042         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
67043         storing it.
67044         * stdlib/bug-getcontext.c: New file.
67045         * stdlib/Makefile: Add rules to build and run bug-getcontext.
67047 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67049         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
67050         instructions into .machine "z9-109".
67051         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
67052         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
67054 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67056         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
67057         between environment variables and auxiliary vector.
67059 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
67061         * Makefile: Add rules to build linkobj/libc.so.
67062         * include/libc-symbols.h: Define libc_hidden_nolink.
67063         * include/rpc/auth.h: Mark functions which are to be hidden.
67064         * include/rpc/auth_des.h: Likewise.
67065         * include/rpc/auth_unix.h: Likewise.
67066         * include/rpc/clnt.h: Likewise.
67067         * include/rpc/des_crypt.h: Likewise.
67068         * include/rpc/key_prot.h: Likewise.
67069         * include/rpc/pmap_clnt.h: Likewise.
67070         * include/rpc/pmap_prot.h: Likewise.
67071         * include/rpc/pmap_rmt.h: Likewise.
67072         * include/rpc/rpc_msg.h: Likewise.
67073         * include/rpc/svc.h: Likewise.
67074         * include/rpc/svc_auth.h: Likewise.
67075         * include/rpc/xdr.h: Likewise.
67076         * nis/Makefile: Link all DSOs against linkobj/libc.so.
67077         * nss/Makefile: Likewise.
67078         * sunrpc/Makefile: Don't install headers.  Build library with normal
67079         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
67080         * sunrpc/auth_des.c: Hide exported symbols by default, export some
67081         for the compat linking library.  Remove use of INTDEF/INTUSE.
67082         * sunrpc/auth_none.c: Likewise.
67083         * sunrpc/auth_unix.c: Likewise.
67084         * sunrpc/authdes_prot.c: Likewise.
67085         * sunrpc/authuxprot.c: Likewise.
67086         * sunrpc/clnt_gen.c: Likewise.
67087         * sunrpc/clnt_perr.c: Likewise.
67088         * sunrpc/clnt_raw.c: Likewise.
67089         * sunrpc/clnt_simp.c: Likewise.
67090         * sunrpc/clnt_tcp.c: Likewise.
67091         * sunrpc/clnt_udp.c: Likewise.
67092         * sunrpc/clnt_unix.c: Likewise.
67093         * sunrpc/des_crypt.c: Likewise.
67094         * sunrpc/des_soft.c: Likewise.
67095         * sunrpc/get_myaddr.c: Likewise.
67096         * sunrpc/key_call.c: Likewise.
67097         * sunrpc/key_prot.c: Likewise.
67098         * sunrpc/netname.c: Likewise.
67099         * sunrpc/pm_getmaps.c: Likewise.
67100         * sunrpc/pm_getport.c: Likewise.
67101         * sunrpc/pmap_clnt.c: Likewise.
67102         * sunrpc/pmap_prot.c: Likewise.
67103         * sunrpc/pmap_prot2.c: Likewise.
67104         * sunrpc/pmap_rmt.c: Likewise.
67105         * sunrpc/publickey.c: Likewise.
67106         * sunrpc/rpc_cmsg.c: Likewise.
67107         * sunrpc/rpc_common.c: Likewise.
67108         * sunrpc/rpc_dtable.c: Likewise.
67109         * sunrpc/rpc_prot.c: Likewise.
67110         * sunrpc/rpc_thread.c: Likewise.
67111         * sunrpc/rtime.c: Likewise.
67112         * sunrpc/svc.c: Likewise.
67113         * sunrpc/svc_auth.c: Likewise.
67114         * sunrpc/svc_authux.c: Likewise.
67115         * sunrpc/svc_raw.c: Likewise.
67116         * sunrpc/svc_run.c: Likewise.
67117         * sunrpc/svc_simple.c: Likewise.
67118         * sunrpc/svc_tcp.c: Likewise.
67119         * sunrpc/svc_udp.c: Likewise.
67120         * sunrpc/svc_unix.c: Likewise.
67121         * sunrpc/svcauth_des.c: Likewise.
67122         * sunrpc/xcrypt.c: Likewise.
67123         * sunrpc/xdr.c: Likewise.
67124         * sunrpc/xdr_array.c: Likewise.
67125         * sunrpc/xdr_float.c: Likewise.
67126         * sunrpc/xdr_intXX_t.c: Likewise.
67127         * sunrpc/xdr_mem.c: Likewise.
67128         * sunrpc/xdr_rec.c: Likewise.
67129         * sunrpc/xdr_ref.c: Likewise.
67130         * sunrpc/xdr_sizeof.c: Likewise.
67131         * sunrpc/xdr_stdio.c: Likewise.
67133 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
67135         [BZ #12650]
67136         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
67137         * sysdeps/ia64/dl-tls.h: Likewise.
67138         * sysdeps/powerpc/dl-tls.h: Likewise.
67139         * sysdeps/s390/dl-tls.h: Likewise.
67140         * sysdeps/sh/dl-tls.h: Likewise.
67141         * sysdeps/sparc/dl-tls.h: Likewise.
67142         * sysdeps/x86_64/dl-tls.h: Likewise.
67143         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
67145 2011-03-14  Andreas Schwab  <schwab@redhat.com>
67147         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
67148         rpath element also skip the following colon.
67149         (expand_dynamic_string_token): Add is_path parameter and pass
67150         down to DL_DST_REQUIRED and _dl_dst_substitute.
67151         (decompose_rpath): Call expand_dynamic_string_token with
67152         non-zero is_path.  Ignore empty rpaths.
67153         (_dl_map_object_from_fd): Call expand_dynamic_string_token
67154         with zero is_path.
67156 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
67158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67159         Make cancelable.
67161 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
67163         [BZ #12655]
67164         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
67165         Patch by Filipe David Manana <fdmanana@apache.org>.
67167 2011-04-07  Andreas Schwab  <schwab@redhat.com>
67169         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
67170         Maintain aligned stack.
67171         (CHECK_RSP): Remove unused macro.
67173 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
67175         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
67176         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
67178 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
67180         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
67182         * include/features.h: Mention __USE_XOPEN2K8 in comment.
67184 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
67186         [BZ #12518]
67187         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
67188         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
67189         * sysdeps/x86_64/memmove.c: New file.
67190         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
67191         (memcpy): Renamed to ...
67192         (__new_memcpy): This.
67193         (memcpy): Provide GLIBC_2_14 memcpy.
67194         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
67195         (memcpy): Provide GLIBC_2_2_5 memcpy.
67197 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67199         [BZ #12631]
67200         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
67202 2011-03-30  Andreas Schwab  <schwab@redhat.com>
67204         * misc/syncfs.c: New file.
67205         * misc/Makefile (routines): Add syncfs.
67206         * posix/unistd.h: Declare syncfs.
67207         * sysdeps/unix/syscalls.list: Add syncfs.
67209 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67211         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
67212         open_by_handle_at.
67213         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
67214         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67215         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67216         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67217         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67218         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
67219         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67221 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67223         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
67224         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67225         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
67226         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67227         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67228         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67229         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67231         * io/Makefile: Compile fallocate.c, fallocate64.c, and
67232         sync_file_range.c with -fexceptions.
67233         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
67234         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
67235         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
67236         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
67237         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
67238         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67239         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
67240         sync_file_range as cancellation point
67241         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
67242         now a wrapper around __call_sync_file_range with cancellation handling.
67243         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
67244         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
67245         function name to __call_sync_file_range.
67246         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
67247         Add call_sync_file_range.
67249 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67251         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67252         bits/timex.h.
67254 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67256         * iconv/iconv.h: Fix typo in comment.
67257         * io/fcntl.h: Likewise.
67258         * libio/stdio.h: Likewise.
67259         * posix/spawn.h: Likewise.
67260         * posix/unistd.h: Likewise.
67261         * stdlib/stdlib.h: Likewise.
67262         * time/time.h: Likewise.
67263         * wcsmbs/wchar.h: Likewise.
67265         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
67266         open_by_handle): Add.
67267         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
67268         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
67269         Augment a few comments.
67270         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67271         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67272         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67274         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67275         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
67276         open_by_handle.
67278         * io/fcntl.h (AT_EMPTY_PATH): Define.
67280 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
67282         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
67283         * sysdeps/unix/sysv/linux/bits/time.h: New file.
67284         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
67285         to...
67286         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
67287         * Versions.def: Add GLIBC_2.14.
67288         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
67289         Export.
67291 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
67293         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
67294         round counter.
67295         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67297 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67299         [BZ #12597]
67300         * string/test-strncmp.c (do_page_test): New function.
67301         (check2): Likewise.
67302         (test_main): Call check2.
67303         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
67305 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
67307         [BZ #12587]
67308         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
67309         Handle cache information in CPU leaf 4.
67310         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67312 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
67314         [BZ #12583]
67315         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
67316         character representation.
67317         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
67319 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
67321         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
67322         END(__isnan) to END(__isnanf) to match function entry point/label
67323         EALIGN(__isnanf,...).
67325 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
67327         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
67329 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
67331         [BZ #12510]
67332         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
67333         copy from the symbol referenced in the relocation to initialize the
67334         used variable.
67335         Patch by Piotr Bury <pbury@goahead.com>.
67336         * elf/Makefile: Add rules to build and tst-unique3.
67337         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
67338         * elf/tst-unique3.cc: New file.
67339         * elf/tst-unique3.h: New file.
67340         * elf/tst-unique3lib.cc: New file.
67341         * elf/tst-unique3lib2.cc: New file.
67343         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
67345 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
67347         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
67348         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
67349         to _start.
67351 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
67353         * elf/dl-load.c (_dl_map_object): If we are looking for the first
67354         to-be-loaded object along a path to loader is ld.so.
67356 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67357             Ulrich Drepper  <drepper@gmail.com>
67359         * sysdeps/x86_64/memset.S: After aligning destination, code
67360         branches to different locations depending on the value of
67361         misalignment, when multiarch is enabled. Fix this.
67363 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67365         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
67366         Set _x86_64_preferred_memory_instruction for AMD processsors.
67367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67368         Set bit_Prefer_SSE_for_memop for AMD processors.
67370 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
67372         * libio/fmemopen.c (fmemopen): Optimize a bit.
67374 2011-03-03  Andreas Schwab  <schwab@redhat.com>
67376         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
67378 2011-03-03  Roland McGrath  <roland@redhat.com>
67380         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
67382 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
67384         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
67385         __bzero_ultra1 instead of __memset_ultra1.
67387 2011-02-23  Andreas Schwab  <schwab@redhat.com>
67388             Ulrich Drepper  <drepper@gmail.com>
67390         [BZ #12509]
67391         * include/link.h (struct link_map): Add l_orig_initfini.
67392         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
67393         returning unsuccessfully.
67394         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
67395         close of a file loaded at startup, restore the original l_initfini
67396         list.
67397         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
67398         list, store the pointer.
67399         * elf/Makefile ($(objpfx)noload-mem): New rule.
67400         (noload-ENV): Define.
67401         (tests): Add $(objpfx)noload-mem.
67402         * elf/noload.c: Include <memcheck.h>.
67403         (main): Call mtrace.  Close all opened handles.
67405 2011-02-17  Andreas Schwab  <schwab@redhat.com>
67407         [BZ #12454]
67408         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
67409         dependencies are missing.
67411 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67413         Fix __if_freereq crash: Unlike the generic version which uses free,
67414         Hurd needs munmap.
67415         * sysdeps/mach/hurd/ifreq.h: New file.
67417 2011-01-27  Petr Baudis  <pasky@suse.cz>
67418             Ulrich Drepper  <drepper@gmail.com>
67420         [BZ 12445]#
67421         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
67422         to extend_alloca().
67423         * stdio-common/bug23.c: New file.
67424         * stdio-common/Makefile (tests): Add bug23.
67426 2010-09-28  Andreas Schwab  <schwab@redhat.com>
67427             Ulrich Drepper  <drepper@gmail.com>
67429         [BZ #12489]
67430         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
67431         before performing relro protection.  At old place add assertion
67432         to make sure nothing changed.
67434 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
67435             Glauber de Oliveira Costa  <glommer@gmail.com>
67437         * elf/elf.h: Add new ARM TLS relocs.
67439 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
67441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67442         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
67443         cast from r3.
67444         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
67445         'tests' variable.
67446         * sysdeps/wordsize-64/tst-writev.c: New file.
67448 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
67450         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
67451         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
67452         insns in _dl_start to prevent a TOC reference before relocs are
67453         resolved.
67455 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
67457         [BZ #12469]
67458         * Makeconfig: Remove RANLIB definition.
67459         * Makerules: Don't use RANLIB.
67460         * aclocal.m4: Remove ranlib test.
67461         * configure.in: No need to check for ranlib.
67462         * elf/rtld-Rules: Don't use RANLIB.
67464 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67466         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
67467         protection macro.
67468         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
67469         inclusion protection macro.
67471         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
67472         SIGRTMIN and SIGRTMAX and print information in that case only when
67473         SIGRTMIN is defined.
67475 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
67477         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
67478         arginfo fn returning -1.
67480         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
67481         and thousands string is zero terminated.
67483 2011-02-03  Andreas Schwab  <schwab@redhat.com>
67485         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
67486         sysdeps/unix/sysv/linux/bits/socket.h.
67488 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67490         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
67491         (__CPU_COUNT): Remove old macros.
67492         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
67493         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
67494         (__CPU_ALLOC, __CPU_FREE): Add macros.
67495         (__sched_cpualloc, __sched_cpufree): Add declarations.
67497 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
67499         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
67500         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
67501         * nscd/aicache.c (addhstaiX): Return timeout of added value.
67502         (readdhstai): Return value of addhstaiX call.
67503         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
67504         (addgrbyX): Return value returned by cache_addgr.
67505         (readdgrbyname): Return value returned by addgrbyX.
67506         (readdgrbygid): Likewise.
67507         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
67508         (addpwbyX): Return value returned by cache_addpw.
67509         (readdpwbyname): Return value returned by addhstbyX.
67510         (readdpwbyuid): Likewise.
67511         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
67512         (addservbyX): Return value returned by cache_addserv.
67513         (readdservbyname): Return value returned by addservbyX:
67514         (readdservbyport): Likewise.
67515         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
67516         (addhstbyX): Return value returned by cache_addhst.
67517         (readdhstbyname): Return value returned by addhstbyX.
67518         (readdhstbyaddr): Likewise.
67519         (readdhstbynamev6): Likewise.
67520         (readdhstbyaddrv6): Likewise.
67521         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
67522         (readdinitgroups): Return value returned by addinitgroupsX.
67523         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
67524         (prune_cache): Keep track of timeout value of re-added entries.
67525         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
67526         * nscd/nscd.h: Adjust prototypes of readd* functions.
67528 2011-02-04  Roland McGrath  <roland@redhat.com>
67530         * nis/nis_server.c (nis_servstate): Use the right name for 0.
67531         (nis_stats): Likewise.
67532         * nis/nis_modify.c (nis_modify): Likewise.
67533         * nis/nis_remove.c (nis_remove): Likewise.
67534         * nis/nis_add.c (nis_add): Likewise.
67536         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
67538         * posix/fnmatch_loop.c: Add some consts.
67540         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
67542 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
67544         [BZ #12460]
67545         * config.make.in (config-cflags-novzeroupper): Define.
67546         * configure.in: Substitute libc_cv_cc_novzeroupper.
67547         * elf/Makefile (AVX-CFLAGS): Define.
67548         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
67549         (CFLAGS-tst-auditmod4a.c): Likewise.
67550         (CFLAGS-tst-auditmod4b.c): Likewise.
67551         (CFLAGS-tst-auditmod6b.c): Likewise.
67552         (CFLAGS-tst-auditmod6c.c): Likewise.
67553         (CFLAGS-tst-auditmod7b.c): Likewise.
67554         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
67556 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
67558         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
67559         function to the callback.
67560         Patch partly by Jiri Olsa <jolsa@redhat.com>.
67562 2011-02-02  Andreas Schwab  <schwab@redhat.com>
67564         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
67565         of errno.
67567 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
67569         [BZ #11724]
67570         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
67571         of constructors.
67572         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
67573         of destructors.
67574         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
67576         [BZ #11724]
67577         * elf/Makefile: Add rules to build and run new test.
67578         * elf/tst-initorder.c: New file.
67579         * elf/tst-initorder.exp: New file.
67580         * elf/tst-initordera1.c: New file.
67581         * elf/tst-initordera2.c: New file.
67582         * elf/tst-initordera3.c: New file.
67583         * elf/tst-initordera4.c: New file.
67584         * elf/tst-initorderb1.c: New file.
67585         * elf/tst-initorderb2.c: New file.
67586         * elf/tst-order-a1.c: New file.
67587         * elf/tst-order-a2.c: New file.
67588         * elf/tst-order-a3.c: New file.
67589         * elf/tst-order-a4.c: New file.
67590         * elf/tst-order-b1.c: New file.
67591         * elf/tst-order-b2.c: New file.
67592         * elf/tst-order-main.c: New file.
67593         New test case by George Gensure <werkt0@gmail.com>.
67595 2010-10-01  Andreas Schwab  <schwab@redhat.com>
67597         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67598         decoding ACE if AI_CANONIDN.
67600 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
67602         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
67604 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
67606         * version.h (RELEASE): Bump for 2.13 release.
67607         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
67609         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
67611         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
67612         MADV_NOHUGEPAGE.
67613         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
67614         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67615         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67616         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67617         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67618         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67620         * posix/getconf.c: Update copyright year.
67621         * catgets/gencat.c: Likewise.
67622         * csu/version.c: Likewise.
67623         * debug/catchsegv.sh: Likewise.
67624         * debug/xtrace.sh: Likewise.
67625         * elf/ldconfig.c: Likewise.
67626         * elf/ldd.bash.in: Likewise.
67627         * elf/sprof.c (print_version): Likewise.
67628         * iconv/iconv_prog.c: Likewise.
67629         * iconv/iconvconfig.c: Likewise.
67630         * locale/programs/locale.c: Likewise.
67631         * locale/programs/localedef.c: Likewise.
67632         * malloc/memusage.sh: Likewise.
67633         * malloc/mtrace.pl: Likewise.
67634         * nscd/nscd.c (print_version): Likewise.
67635         * nss/getent.c: Likewise.
67637         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
67638         PF_CAIF, and PF_ALG.
67639         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67641 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
67643         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
67644         (modules-names): Use them.
67645         (ifunc-test-modules, ifunc-pie-tests): Define.
67646         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
67647         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
67648         (test-extras): Likewise.
67649         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
67650         $(compile-command.c).
67651         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
67652         (all-built-dso): Define.
67653         (check-textrel.out, check-execstack.out): Depend on it.
67655         * configure.in: Don't override --enable-multi-arch.
67657 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
67659         [BZ #6812]
67660         * nscd/hstcache.c (tryagain): Define.
67661         (cache_addhst): Return tryagain not notfound for temporary errors.
67662         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
67663         failed.
67665 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
67667         [BZ #10563]
67668         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
67669         to make the syscall.
67670         * sysdeps/unix/sysv/linux/setgroups.c: New file.
67672         [BZ #12378]
67673         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
67674         and fall back to matching as normal character if the string ends before
67675         the matching ']' is found.  This is what POSIX requires.
67676         * posix/testfnm.c: Adjust test result.
67677         * posix/globtest.sh: Adjust test result.  Add new test.
67678         * posix/tst-fnmatch.input: Likewise.
67679         * posix/tst-fnmatch2.c: Add new test.
67681 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
67683         * elf/Makefile (check-execstack): Revert last change.  Depend on
67684         check-execstack.h.
67685         (check-execstack.h): New target.
67686         (generated): Add check-execstack.h.
67687         * elf/check-execstack.c: Include "check-execstack.h".
67688         (main): Revert last change.
67689         (handle_file): Return zero if GNU_STACK is absent and
67690         DEFAULT_STACK_PERMS doesn't include PF_X.
67692 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
67694         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
67695         in child fails because the descriptor is already closed.
67696         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
67697         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
67698         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
67700         [BZ #12397]
67701         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
67702         syscall.
67704         [BZ #10484]
67705         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
67706         temporary buffer used to handle multi lookups locally.
67707         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
67709 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67711         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
67712         loader is ld.so.
67714 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
67716         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
67717         alignment for SSE2.
67719 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67721         [BZ #12394]
67722         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
67723         characters.  When rounding increased number of integer digits recompute
67724         number of groups.
67725         * stdio-common/tst-grouping.c: New file.
67726         * stdio-common/Makefile: Add rules to build and run tst-grouping.
67728 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
67730         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
67731         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
67733         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
67734         void.
67735         * bits/select.h: Likewise.
67737 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
67739         * po/ja.po: Update from translation team.
67741 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
67743         [BZ #11155]
67744         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
67745         implementation just like for lxstat, fxstatat, et al.
67747 2010-12-27  Jim Meyering  <meyering@redhat.com>
67749         [BZ #12348]
67750         * posix/regexec.c (build_trtable): Return failure indication upon
67751         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
67753 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
67755         [BZ #12201]
67756         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
67757         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
67758         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
67759         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
67761         [BZ #12207]
67762         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
67764         [BZ #12204]
67765         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
67766         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
67768 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
67770         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
67771         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
67772         script has SORT_BY_INIT_PRIORITY.
67773         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
67774         NO_CTORS_DTORS_SECTIONS is defined.
67775         * elf/soinit.c: Likewise.
67776         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
67777         NO_CTORS_DTORS_SECTIONS is defined.
67778         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
67779         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
67780         * sysdeps/sh/init-first.c: Likewise.
67781         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
67783 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
67785         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
67786         always use the slow path.
67788 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
67790         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
67791         similar rule which adds the sysdep directories to the header search in
67792         order to pick up the correct platform stackinfo.h.
67793         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
67794         perform test if it is, otherwise return successfully without testing.
67795         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
67796         DEFAULT_STACK_PERMS define in stackinfo.h.
67797         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
67798         defined in stackinfo.h.
67799         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
67800         DEFAULT_STACK_PERMS defined in stackinfo.h.
67801         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
67802         * sysdeps/ia64/stackinfo.h: Likewise.
67803         * sysdeps/s390/stackinfo.h: Likewise.
67804         * sysdeps/sh/stackinfo.h: Likewise.
67805         * sysdeps/sparc/stackinfo.h: Likewise.
67806         * sysdeps/x86_64/stackinfo.h: Likewise.
67807         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
67808         PF_X for powerpc64.  Retain PF_X for powerpc32.
67810 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
67812         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
67813         accurately.
67814         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
67815         GETDENTS_64BIT_ALIGNED.
67817 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
67819         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
67821 2010-12-10  Andreas Schwab  <schwab@redhat.com>
67823         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
67824         _GNU_SOURCE.
67826         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
67827         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
67828         Remove __restrict.
67829         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
67830         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
67832 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
67834         [BZ #11655]
67835         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
67836         are initialized.
67838 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
67840         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
67842 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
67844         * po/it.po: Update from translation team.
67846 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
67848         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
67849         unused codes.
67851 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
67853         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
67855 2010-11-24  Andreas Schwab  <schwab@redhat.com>
67857         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
67858         specially.
67859         (gaih_getanswer_slice): Likewise.
67861 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
67863         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
67865 2010-05-31  Petr Baudis  <pasky@suse.cz>
67867         [BZ #11149]
67868         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
67869         silently even in the chroot mode.
67871 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
67873         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
67874         last patch a bit.  Pretty printing
67876 2010-05-31  Petr Baudis <pasky@suse.cz>
67878         [BZ #10085]
67879         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
67880         initialization of skip_initgroups_dyn.
67882 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
67884         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
67885         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67887 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
67889         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
67891 2010-11-11  Andreas Schwab  <schwab@redhat.com>
67893         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
67894         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
67895         (tst-fnmatch-ENV): Set MALLOC_TRACE.
67896         ($(objpfx)tst-fnmatch-mem): New rule.
67897         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
67898         * posix/tst-fnmatch.c (main): Call mtrace.
67900 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
67902         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67903         Support Intel processor model 6 and model 0x2c.
67905 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
67907         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
67908           signed comparison.
67910 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
67912         [BZ #12205]
67913         * string/test-strncasecmp.c (check_result): New function.
67914         (do_one_test): Use it.
67915         (check1): New function.
67916         (test_main): Use it.
67917         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
67918         Support strcasecmp and strncasecmp.
67920 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
67922         [BZ #12194]
67923         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
67924         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67926 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67928         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
67929         IFUNC support.
67930         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67931         memset-x86-64.
67932         * sysdeps/x86_64/multiarch/bzero.S: New file.
67933         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
67934         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
67935         * sysdeps/x86_64/multiarch/memset.S: New file.
67936         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
67937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67938         Set bit_Prefer_SSE_for_memop for Intel processors.
67939         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
67940         Define.
67941         (index_Prefer_SSE_for_memop): Define.
67942         (HAS_PREFER_SSE_FOR_MEMOP): Define.
67944 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
67946         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
67947         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
67949 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
67951         [BZ #12191]
67952         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67953         (__x86_64_raw_data_cache_size_half): Likewise.
67954         (__x86_64_raw_shared_cache_size): Likewise.
67955         (__x86_64_raw_shared_cache_size_half): Likewise.
67957         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67958         (__x86_64_raw_data_cache_size_half): Likewise.
67959         (__x86_64_raw_shared_cache_size): Likewise.
67960         (__x86_64_raw_shared_cache_size_half): Likewise.
67961         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
67962         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
67963         and __x86_64_raw_shared_cache_size_half.  Round
67964         __x86_64_data_cache_size_half, __x86_64_data_cache_size
67965         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
67966         to multiple of 256 bytes.
67968 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
67970         [BZ #12167]
67971         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
67972         of inacessible symlinks.  Verify result of symlink before returning it.
67973         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
67974         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
67976 2010-10-28  Erich Ritz  <erichritz@gmail.com>
67978         * math/math.h (isinf): Fix typo in comment.
67980 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
67982         * po/da.po: Update from translation team.
67984 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
67986         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
67987         is added to the list.
67989 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67990             Ulrich Drepper  <drepper@gmail.com>
67992         * elf/dl-object.c (_dl_new_object): Don't append the new object to
67993         the global list here.  Move code to...
67994         (_dl_add_to_namespace_list): ...here.  New function.
67995         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
67996         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
67997         * elf/dl-load.c (lose): Don't remove the element from the list.
67998         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
67999         (_dl_map_object): Likewise.
68001 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
68003         [BZ #12159]
68004         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
68005         into all bytes of SSE register.
68006         Patch by Richard Li <richardpku@gmail.com>.
68008 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
68010         [BZ #12140]
68011         * malloc/malloc.c (_int_free): Fill correct number of bytes when
68012         perturbing.
68014 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
68016         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
68017         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
68018         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
68019         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
68021         submachine.
68022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
68024 2010-10-22  Andreas Schwab  <schwab@redhat.com>
68026         * include/dlfcn.h (__RTLD_SECURE): Define.
68027         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
68028         mode & __RTLD_SECURE instead.
68029         (open_path): Rename preloaded parameter to secure.
68030         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
68031         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
68032         * elf/dl-deps.c (openaux): Likewise.
68033         * elf/rtld.c (struct map_args): Remove is_preloaded.
68034         (map_doit): Don't use it.
68035         (dl_main): Likewise.
68036         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
68037         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
68039 2010-09-09  Andreas Schwab  <schwab@redhat.com>
68041         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
68042         (sysd-rules-targets): Remove duplicates.
68043         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
68044         rtld-%.$o dependency.
68046 2010-10-18  Andreas Schwab  <schwab@redhat.com>
68048         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
68049         _dl_map_object do it.
68051 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
68053         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
68054         fast fma builtins, define the macros in the C99 standard.
68055         (FP_FAST_FMAF): Likewise.
68056         (FP_FAST_FMAL): Likewise.
68057         * sysdeps/x86_64/bits/mathdef.h: Likewise.
68059         * bits/mathdef.h: Update copyright year.
68060         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68062 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
68064         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
68065         builtins, define the macros in the C99 standard.
68066         (FP_FAST_FMAF): Likewise.
68067         (FP_FAST_FMAL): Likewise.
68068         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
68069         multiply/add.
68070         (FP_FAST_FMAF): Likewise.
68072 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
68074         [BZ #3268]
68075         * math/libm-test.inc (fma_test): Some new testcases.
68076         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
68077         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
68078         y and infinite z.  Do multiplication by C already in long double.
68079         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
68080         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
68081         y and infinite z.  Do bitwise or of inexact bit into u.d.
68082         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
68083         * sysdeps/i386/fpu/s_fmaf.S: Removed.
68084         * sysdeps/i386/fpu/s_fma.S: Removed.
68085         * sysdeps/i386/fpu/s_fmal.S: Removed.
68087 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
68089         [BZ #3268]
68090         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
68091         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
68092         computation is not scheduled after fetestexcept.  Fix value
68093         of minimum denormal long double.
68095 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
68097         [BZ #3268]
68098         * math/libm-test.inc (fma_test): Add some more tests.
68099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
68100         correctly.
68102 2010-10-15  Andreas Schwab  <schwab@redhat.com>
68104         * scripts/data/localplt-s390-linux-gnu.data: New file.
68105         * scripts/data/localplt-s390x-linux-gnu.data: New file.
68107 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
68109         [BZ #3268]
68110         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
68111         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
68112         instead of dbl-64.
68113         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
68114         inlines.
68115         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
68116         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
68117         if one of x and y is very large and the other is subnormal.
68118         * sysdeps/s390/fpu/s_fmaf.c: New file.
68119         * sysdeps/s390/fpu/s_fma.c: New file.
68120         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
68121         * sysdeps/powerpc/fpu/s_fma.S: New file.
68122         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
68123         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
68124         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
68126 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
68128         [BZ #3268]
68129         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
68130         fma tests.
68131         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
68132         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
68133         * sysdeps/i386/i686/multiarch/s_fma.c: Include
68134         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
68135         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
68136         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
68137         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
68139 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
68141         [BZ #12078]
68142         * posix/regcomp.c (parse_branch): One more memory leak plugged.
68143         * posix/bug-regex31.input: Add test case.
68145 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68147         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
68148         * posix/bug-regex31.input: New file.
68150         [BZ #12078]
68151         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
68152         (parse_sub_exp): Fix last change, use postorder.
68154         * posix/bug-regex31.c: New file.
68155         * posix/Makefile: Add rules to build and run bug-regex31.
68157         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
68159         [BZ #12078]
68160         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
68162         [BZ #12108]
68163         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
68164         to have entries in sys_siglist.
68166         [BZ #12093]
68167         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
68168         be NULL.
68170 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
68172         [BZ #3268]
68173         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
68174         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
68175         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
68176         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
68177         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68178         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
68179         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
68180         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
68181         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
68182         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
68183         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
68184         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
68185         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
68186         * math/ftestexcept.c (fetestexcept): Likewise.
68187         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
68188         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
68189         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
68190         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
68191         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
68192         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
68193         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68195 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68197         [BZ #12107]
68198         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
68199         newline.
68201 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
68203         * string/bug-strstr1.c: New file.
68204         * string/Makefile: Add rules to build and run bug-strstr1.
68206 2010-10-05  Eric Blake  <eblake@redhat.com>
68208         [BZ #12092]
68209         * string/str-two-way.h (two_way_long_needle): Always clear memory
68210         when skipping input due to the shift table.
68212 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
68214         [BZ #12005]
68215         * malloc/mcheck.c: Handle large requests.
68217         [BZ #12077]
68218         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
68219         for strncmp and strncasecmp.
68220         * string/stratcliff.c: Add tests for strcmp and strncmp.
68221         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
68223 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68225         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
68226         __set_fpscr.
68228 2010-09-30  Andreas Jaeger  <aj@suse.de>
68230         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
68231         (CGROUP_SUPER_MAGIC): Define.
68232         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68233         Handle btrfs and cgroup file systems.
68234         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68235         Likewise.
68237 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
68239         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
68240         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
68242 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68244         [BZ #12067]
68245         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
68246         trying to locate the ELF header.
68248 2010-09-27  Andreas Schwab  <schwab@redhat.com>
68250         [BZ #11611]
68251         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
68252         Mask out sign-bit copies when constructing f_fsid.
68254 2010-09-24  Petr Baudis <pasky@suse.cz>
68256         * debug/stack_chk_fail_local.c: Add missing licence exception.
68257         * debug/warning-nop.c: Likewise.
68259 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
68261         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
68262         implementing getdents64 using getdents syscall, set d_type if
68263         __ASSUME_GETDENTS32_D_TYPE.
68265 2010-09-16  Andreas Schwab  <schwab@redhat.com>
68267         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
68268         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
68270 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
68272         [BZ #12037]
68273         * posix/unistd.h: Undo change of feature selection for ftruncate from
68274         2010-01-11.
68276 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
68278         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
68279         detection.
68281 2010-09-20  Andreas Schwab  <schwab@redhat.com>
68283         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
68284         fanotify_mark.
68285         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68287 2010-09-14  Andreas Schwab  <schwab@redhat.com>
68289         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
68290         variables after CHECK_SP call.
68291         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
68293 2010-09-13  Andreas Schwab  <schwab@redhat.com>
68294             Ulrich Drepper  <drepper@redhat.com>
68296         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
68297         re-relocationg ld.so.
68298         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
68299         _dl_init_paths call.
68300         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
68301         here anymore.
68303 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
68305         * resolv/res_init.c (__res_vinit): Count the default server we added.
68307 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
68308             Ulrich Drepper  <drepper@redhat.com>
68310         [BZ #11968]
68311         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68312         (____longjmp_chk): Use %ebx for saving value across system call.
68313         Add unwind info.
68315 2010-09-06  Andreas Schwab  <schwab@redhat.com>
68317         * manual/Makefile: Don't mix pattern rules with normal rules.
68319 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68321         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
68322         operation.
68323         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
68324         * libio/iofopncook.c (_IO_cookie_init): Likewise.
68325         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
68326         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
68327         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68328         Likewise.
68330 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
68332         [BZ #11979]
68333         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
68334         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
68336 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
68338         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
68339         * sysdeps/x86_64/addmul_1.S: Likewise.
68340         * sysdeps/x86_64/lshift.S: Likewise.
68341         * sysdeps/x86_64/mul_1.S: Likewise.
68342         * sysdeps/x86_64/rshift.S: Likewise.
68343         * sysdeps/x86_64/sub_n.S: Likewise.
68344         * sysdeps/x86_64/submul_1.S: Likewise.
68346 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68348         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
68349         Define __sched_param instead of SCHED_* and sched_param when
68350         <bits/sched.h> is included with __need_schedparam defined.
68351         * bits/sched.h [__need_schedparam]
68352         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
68353         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
68354         (__defined_schedparam): Define to 1.
68355         (__sched_param): New structure, identical to sched_param.
68356         (__need_schedparam): Undefine.
68358 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
68360         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
68361         (epoll_create1): Declare.
68363         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
68365 2010-08-31  Andreas Schwab  <schwab@redhat.com>
68367         [BZ #7066]
68368         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
68369         shifting retval into place.
68371 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
68373         * nis/rpcsvc/nis.h: Update copyright notice.
68374         * nis/rpcsvc/nis.x: Likewise.
68375         * nis/rpcsvc/nis_callback.h: Likewise.
68376         * nis/rpcsvc/nis_callback.x: Likewise.
68377         * nis/rpcsvc/nis_object.x: Likewise.
68378         * nis/rpcsvc/nis_tags.h: Likewise.
68379         * nis/rpcsvc/yp.h: Likewise.
68380         * nis/rpcsvc/yp.x: Likewise.
68381         * nis/rpcsvc/ypupd.h: Likewise.
68382         * nis/yp_xdr.c: Likewise.
68383         * nis/ypupdate_xdr.c: Likewise.
68385         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
68386         mainly the body of pmap_getport.  Add parameters to specify timeouts.
68387         (pmap_getport): Use __libc_rpc_getport.
68388         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
68389         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
68390         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
68392 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
68394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
68395         fanotify_mark.
68397 2010-08-27  Roland McGrath  <roland@redhat.com>
68399         * sysdeps/i386/i686/multiarch/Makefile
68400         (CFLAGS-varshift.c): New variable.
68402 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
68404         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
68405         * sysdeps/i386/i686/multiarch/varshift.c: New file.
68407         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
68409         * sysdeps/x86_64/strlen.S: Minimal code improvement.
68411 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
68413         * sysdeps/x86_64/strlen.S: Unroll the loop.
68414         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68415         strlen-sse2 strlen-sse2-bsf.
68416         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
68417         __strlen_no_bsf if bit_Slow_BSF is set.
68418         (__strlen_sse42): Removed.
68419         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
68420         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
68422 2010-08-25  Roland McGrath  <roland@redhat.com>
68424         * sysdeps/x86_64/multiarch/varshift.S: File removed.
68425         * sysdeps/x86_64/multiarch/varshift.c: New file.
68426         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
68427         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
68428         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
68429         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68431 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
68433         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68434         strlen-sse2 strlen-sse2-bsf.
68435         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
68436         __strlen_sse2_bsf if bit_Slow_BSF is unset.
68437         (__strlen_sse2): Removed.
68438         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
68439         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
68440         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
68441         bit_Slow_BSF for Atom.
68442         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
68443         (index_Slow_BSF): Define.
68444         (HAS_SLOW_BSF): Define.
68446 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
68448         [BZ #10851]
68449         * resolv/res_init.c (__res_vinit): When no server address at all
68450         is given default to loopback.
68452 2010-08-24  Roland McGrath  <roland@redhat.com>
68454         * configure.in: Remove config-name.h generation.
68455         * configure: Regenerated.
68456         * config-name.in: File removed.
68457         * scripts/config-uname.sh: New file.
68458         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
68459         ($(objdir)config-name.h): New target.
68461         * sunrpc/rpc_parse.h: Avoid nested comment.
68463 2010-08-24  Richard Henderson  <rth@redhat.com>
68464             Ulrich Drepper  <drepper@redhat.com>
68465             H.J. Lu  <hongjiu.lu@intel.com>
68467         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
68468         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
68469         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
68470         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
68471         _mm_alignr_epi8 with _mm_loadu_si128.
68472         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
68473         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
68474         (__m128i_shift_right): Removed.
68475         * sysdeps/i386/i686/multiarch/varshift.h: New file.
68476         * sysdeps/i386/i686/multiarch/varshift.S: New file.
68477         * sysdeps/x86_64/multiarch/varshift.h: New file.
68478         * sysdeps/x86_64/multiarch/varshift.S: New file.
68480 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
68482         * configure.in: Move assembler checks to before sysdep dir checking.
68484 2010-08-20  Petr Baudis  <pasky@suse.cz>
68486         * LICENSES: Sync the sunrpc license.
68488 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
68490         * sunrpc/auth_des.c: Update copyright notice once again.
68491         * sunrpc/auth_none.c: Likewise.
68492         * sunrpc/auth_unix.c: Likewise.
68493         * sunrpc/authdes_prot.c: Likewise.
68494         * sunrpc/authuxprot.c: Likewise.
68495         * sunrpc/bindrsvprt.c: Likewise.
68496         * sunrpc/clnt_gen.c: Likewise.
68497         * sunrpc/clnt_perr.c: Likewise.
68498         * sunrpc/clnt_raw.c: Likewise.
68499         * sunrpc/clnt_simp.c: Likewise.
68500         * sunrpc/clnt_tcp.c: Likewise.
68501         * sunrpc/clnt_udp.c: Likewise.
68502         * sunrpc/clnt_unix.c: Likewise.
68503         * sunrpc/des_crypt.c: Likewise.
68504         * sunrpc/des_soft.c: Likewise.
68505         * sunrpc/get_myaddr.c: Likewise.
68506         * sunrpc/getrpcport.c: Likewise.
68507         * sunrpc/key_call.c: Likewise.
68508         * sunrpc/key_prot.c: Likewise.
68509         * sunrpc/openchild.c: Likewise.
68510         * sunrpc/pm_getmaps.c: Likewise.
68511         * sunrpc/pm_getport.c: Likewise.
68512         * sunrpc/pmap_clnt.c: Likewise.
68513         * sunrpc/pmap_prot.c: Likewise.
68514         * sunrpc/pmap_prot2.c: Likewise.
68515         * sunrpc/pmap_rmt.c: Likewise.
68516         * sunrpc/rpc/auth.h: Likewise.
68517         * sunrpc/rpc/auth_unix.h: Likewise.
68518         * sunrpc/rpc/clnt.h: Likewise.
68519         * sunrpc/rpc/des_crypt.h: Likewise.
68520         * sunrpc/rpc/key_prot.h: Likewise.
68521         * sunrpc/rpc/netdb.h: Likewise.
68522         * sunrpc/rpc/pmap_clnt.h: Likewise.
68523         * sunrpc/rpc/pmap_prot.h: Likewise.
68524         * sunrpc/rpc/pmap_rmt.h: Likewise.
68525         * sunrpc/rpc/rpc.h: Likewise.
68526         * sunrpc/rpc/rpc_des.h: Likewise.
68527         * sunrpc/rpc/rpc_msg.h: Likewise.
68528         * sunrpc/rpc/svc.h: Likewise.
68529         * sunrpc/rpc/svc_auth.h: Likewise.
68530         * sunrpc/rpc/types.h: Likewise.
68531         * sunrpc/rpc/xdr.h: Likewise.
68532         * sunrpc/rpc_clntout.c: Likewise.
68533         * sunrpc/rpc_cmsg.c: Likewise.
68534         * sunrpc/rpc_common.c: Likewise.
68535         * sunrpc/rpc_cout.c: Likewise.
68536         * sunrpc/rpc_dtable.c: Likewise.
68537         * sunrpc/rpc_hout.c: Likewise.
68538         * sunrpc/rpc_main.c: Likewise.
68539         * sunrpc/rpc_parse.c: Likewise.
68540         * sunrpc/rpc_parse.h: Likewise.
68541         * sunrpc/rpc_prot.c: Likewise.
68542         * sunrpc/rpc_sample.c: Likewise.
68543         * sunrpc/rpc_scan.c: Likewise.
68544         * sunrpc/rpc_scan.h: Likewise.
68545         * sunrpc/rpc_svcout.c: Likewise.
68546         * sunrpc/rpc_tblout.c: Likewise.
68547         * sunrpc/rpc_util.c: Likewise.
68548         * sunrpc/rpc_util.h: Likewise.
68549         * sunrpc/rpcinfo.c: Likewise.
68550         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
68551         * sunrpc/rpcsvc/key_prot.x: Likewise.
68552         * sunrpc/rpcsvc/klm_prot.x: Likewise.
68553         * sunrpc/rpcsvc/mount.x: Likewise.
68554         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
68555         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
68556         * sunrpc/rpcsvc/rex.x: Likewise.
68557         * sunrpc/rpcsvc/rstat.x: Likewise.
68558         * sunrpc/rpcsvc/rusers.x: Likewise.
68559         * sunrpc/rpcsvc/sm_inter.x: Likewise.
68560         * sunrpc/rpcsvc/spray.x: Likewise.
68561         * sunrpc/rpcsvc/yppasswd.x: Likewise.
68562         * sunrpc/rtime.c: Likewise.
68563         * sunrpc/svc.c: Likewise.
68564         * sunrpc/svc_auth.c: Likewise.
68565         * sunrpc/svc_authux.c: Likewise.
68566         * sunrpc/svc_raw.c: Likewise.
68567         * sunrpc/svc_run.c: Likewise.
68568         * sunrpc/svc_simple.c: Likewise.
68569         * sunrpc/svc_tcp.c: Likewise.
68570         * sunrpc/svc_udp.c: Likewise.
68571         * sunrpc/svc_unix.c: Likewise.
68572         * sunrpc/svcauth_des.c: Likewise.
68573         * sunrpc/xcrypt.c: Likewise.
68574         * sunrpc/xdr.c: Likewise.
68575         * sunrpc/xdr_array.c: Likewise.
68576         * sunrpc/xdr_float.c: Likewise.
68577         * sunrpc/xdr_mem.c: Likewise.
68578         * sunrpc/xdr_rec.c: Likewise.
68579         * sunrpc/xdr_ref.c: Likewise.
68580         * sunrpc/xdr_sizeof.c: Likewise.
68581         * sunrpc/xdr_stdio.c: Likewise.
68583         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
68584         handling.
68586 2010-08-19  Andreas Schwab  <schwab@redhat.com>
68588         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
68590 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
68592         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
68593         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
68594         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
68595         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
68596         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
68597         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
68598         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
68599         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
68600         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
68601         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
68602         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
68603         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
68604         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
68605         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
68607 2010-07-26  Anton Blanchard  <anton@samba.org>
68609         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
68610         * malloc/arena.c (heap_trim): Likewise.
68612 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
68614         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
68615         here.  Not...
68616         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
68617         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
68619 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
68621         * sysdeps/i386/elf/Makefile: New file.
68623 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68625         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
68626         from fanotify_init.
68627         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
68628         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68630 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
68632         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
68633         of strncasecmp_l.
68634         * sysdeps/multiarch/strcmp.S: Likewise.
68636 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
68638         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68639         strncase_l-nonascii.
68640         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68641         Add strncase_l-ssse3.
68642         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
68643         * sysdeps/x86_64/strcmp.S: Likewise.
68644         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
68645         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
68646         * sysdeps/x86_64/strncase.S: New file.
68647         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
68648         * sysdeps/x86_64/strncase_l.S: New file.
68649         * string/Makefile (strop-tests): Add strncasecmp.
68650         * string/test-strncasecmp.c: New file.
68652         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
68653         warning.
68655         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
68656         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
68658 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68660         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
68662 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
68664         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
68665         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
68666         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
68668 2010-05-01  Alan Modra  <amodra@gmail.com>
68670         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
68671         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
68672         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
68673         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
68674         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
68675         tidying.  Don't tail-call __sigjmp_save for static lib.
68676         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
68677         save location.
68678         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
68679         (CALL_MCOUNT): Add eh info, and nop after bl.
68680         (TAIL_CALL_SYSCALL_ERROR): New macro.
68681         (PSEUDO_RET): Use it.
68682         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
68683         Correct save location of integer regs and cr.
68684         (_dl_profile_resolve): Correct cr save location.  Delete nops
68685         after bl when SHARED.  Reduce cfi size a little by better
68686         placement of cfi directives.
68687         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
68688         make a stack frame.  Instead use parm save area as a temp.
68689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
68690         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
68691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
68692         Don't make a stack frame for parent, use parm save area.
68693         Increase child stack frame to 112 bytes.  Don't save unused reg,
68694         and adjust reg usage.  Set up cfi on error recovery and
68695         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
68696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68697         (__makecontext): Add dummy nop after jump to exit.
68698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
68699         Use correct parm save area and cr save, reduce stack frame.
68700         Correct cfi for possible PSEUDO_RET frame setup.
68701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
68702         Branch to local label emitted by PSEUDO_RET rather than
68703         __syscall_error.
68705 2010-08-12  Andreas Schwab  <schwab@redhat.com>
68707         [BZ #11904]
68708         * locale/programs/locale.c (print_assignment): New function.
68709         (show_locale_vars): Use it.
68711 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
68713         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
68714         field.
68715         (struct statfs64): Likewise.
68716         (_STATFS_F_FLAGS): Define.
68717         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
68718         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68719         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
68720         (ST_VALID): Define locally.
68721         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
68722         __statvfs_getflags, use the provided value.
68723         * sysdeps/unix/sysv/linux/kernel-features.h: Define
68724         __ASSUME_STATFS_F_FLAGS.
68726         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
68728         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
68729         Add sys/fanotify.h.
68730         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
68731         fanotify_mask for GLIBC_2.13.
68732         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
68733         fanotify_init and fanotify_mark.
68734         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68735         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
68737         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
68738         Add prlimit.
68739         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
68740         prlimit64 for GLIBC_2.13.
68741         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
68742         prlimit64.
68743         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
68744         syscall.
68745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
68746         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68747         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
68748         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
68749         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
68750         add prlimit alias.
68751         * sysdeps/unix/sysv/linux/prlimit.c: New file.
68753         [BZ #11903]
68754         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
68755         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
68757         * nss/Makefile: Add rules to build and run tst-nss-test1.
68758         * shlib-versions: Add entry for libnss_test1.
68759         * nss/nss_test1.c: New file.
68760         * nss/tst-nss-test1.c: New file.
68762         * nss/nsswitch.c (__nss_database_custom): Define new variable.
68763         (__nss_configure_lookup): Set appropriate entry in
68764         __nss_configure_lookup to true.
68765         * nss/nsswitch.h: Define enum with indeces of databases in
68766         databases and __nss_database_custom arrays.  Declare
68767         __nss_database_custom.
68768         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
68769         to avoid using nscd when custom rules are installed.
68770         * nss/getXXbyYY_r.c: Likewise.
68771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
68773         * nss/nss_files/files-parse.c: Whitespace fixes.
68775 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
68777         [BZ #11883]
68778         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
68779         * posix/fnmatch_loop.c: Likewise.
68781 2010-07-17  Andi Kleen  <ak@linux.intel.com>
68783         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
68784         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
68785         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
68786         * Versions.def [GLIBC_2.13]: Add.
68788 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
68790         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68791         Also fail if tpwd after pwuid call is NULL.
68793 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68795         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
68796         when converting to ms.
68798 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68800         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
68801         EOPNOTSUPP errors with ENOTTY.
68802         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
68803         EOPNOTSUPP errors with ENOTTY.
68805 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
68807         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68808         Add strcasecmp_l-ssse3.
68809         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
68810         strcasecmp.
68811         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
68812         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
68813         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
68815 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
68817         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
68819         * string/Makefile (strop-tests): Add strcasecmp.
68820         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68821         strcasecmp_l-nonascii.
68822         (gen-as-const-headers): Add locale-defines.sym.
68823         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
68824         * sysdeps/x86_64/strcasecmp.S: New file.
68825         * sysdeps/x86_64/strcasecmp_l.S: New file.
68826         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
68827         * sysdeps/x86_64/locale-defines.sym: New file.
68828         * string/test-strcasecmp.c: New file.
68830         * string/test-strcasestr.c: Test both ends of the range of characters.
68831         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
68833 2010-07-29  Roland McGrath  <roland@redhat.com>
68835         [BZ #11856]
68836         * manual/locale.texi (Yes-or-No Questions): Fix example code.
68838 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
68840         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
68841         for ld.so.
68843 2010-07-27  Andreas Schwab  <schwab@redhat.com>
68845         * manual/memory.texi (Malloc Tunable Parameters): Document
68846         M_PERTURB.
68848 2010-07-26  Roland McGrath  <roland@redhat.com>
68850         [BZ #11840]
68851         * configure.in (-fgnu89-inline check): Set and substitute
68852         gnu89_inline, not libc_cv_gnu89_inline.
68853         * configure: Regenerated.
68854         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
68856 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
68858         * string/test-strnlen.c: New file.
68859         * string/Makefile (strop-tests): Add strnlen.
68860         * string/tester.c (test_strnlen): Add a few more test cases.
68861         * string/tst-strlen.c: Better error reporting.
68863         * sysdeps/x86_64/strnlen.S: New file.
68865 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
68867         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
68868         lower-latency instructions.
68870 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
68872         * string/test-strcasestr.c: New file.
68873         * string/test-strstr.c: New file.
68874         * string/Makefile (strop-tests): Add strstr and strcasestr.
68875         * string/str-two-way.h: Don't undefine MAX.
68876         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
68878 2010-07-21  Andreas Schwab  <schwab@redhat.com>
68880         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68881         strcasestr-nonascii.
68882         (CFLAGS-strcasestr-nonascii.c): Define.
68883         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
68884         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
68885         Remove unused attribute.
68887 2010-07-20  Roland McGrath  <roland@redhat.com>
68889         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
68890         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
68891         ld.so.cache was broken.  With it, there is no way to disable dsocaps
68892         like LD_HWCAP_MASK can disable hwcaps.
68894 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68896         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
68898 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
68900         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
68901         call in strcasestr.
68902         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
68903         __strcasestr_sse42_nonascii.
68904         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
68905         strcasestr-nonascii.c.
68906         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
68908 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
68910         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
68911         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
68912         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
68913         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
68915 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
68917         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
68918         fcntl.
68920 2010-07-06  Andreas Schwab  <schwab@redhat.com>
68922         [BZ #11577]
68923         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
68924         dl_signal_cerror.
68926 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
68928         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
68929         _PC_PIPE_BUF using F_GETPIPE_SZ.
68931 2010-07-05  Roland McGrath  <roland@redhat.com>
68933         * manual/arith.texi (Rounding Functions): Fix rint description
68934         implicit in round description.
68936 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
68938         * elf/Makefile: Fix linking for a few tests to make recent linker
68939         happy.
68941 2010-06-30  Andreas Schwab  <schwab@redhat.com>
68943         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68944         $(common-objpfx)libc_nonshared.a.
68946 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
68948         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
68949         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
68950         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68951         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68952         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
68953         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
68954         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68955         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
68957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
68958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
68959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
68961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
68963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
68964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
68965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
68966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
68968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
68970         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
68971         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
68972         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
68973         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
68974         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
68975         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
68976         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
68977         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
68978         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
68979         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
68980         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
68981         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
68982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
68983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
68984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
68985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
68986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
68987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
68988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
68989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
68990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
68991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
68992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
68993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
68994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
68995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
68997 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
68999         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
69000         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
69001         * string/memmove.c (memmove): Renamed to ...
69002         (MEMMOVE): ...this.  Default to memmove.
69003         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
69004         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
69005         (END_CHK): Define.
69006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69007         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
69008         mempcpy-ssse3-back memmove-ssse3-back.
69009         * sysdeps/x86_64/multiarch/bcopy.S: New file .
69010         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
69011         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
69012         * sysdeps/x86_64/multiarch/memcpy.S: New file.
69013         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
69014         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
69015         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
69016         * sysdeps/x86_64/multiarch/memmove.c: New file.
69017         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
69018         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
69019         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
69020         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
69021         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
69022         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
69023         Define.
69024         (index_Fast_Copy_Backward): Define.
69025         (HAS_ARCH_FEATURE): Define.
69026         (HAS_FAST_REP_STRING): Define.
69027         (HAS_FAST_COPY_BACKWARD): Define.
69029 2010-06-21  Andreas Schwab  <schwab@redhat.com>
69031         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
69032         Restore proper fallback handling.
69034 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
69036         [BZ #11701]
69037         * posix/group_member.c (__group_member): Correct checking loop.
69039         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
69040         OOM in getpwuid_r correctly.  Return error number when the caller
69041         should return, otherwise -1.
69042         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
69043         call returning > 0 value.
69044         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
69046 2010-06-07  Andreas Schwab  <schwab@redhat.com>
69048         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
69049         libc_nonshared.a from targets in modules-names.
69051 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
69053         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
69054         requires it.
69056 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
69058         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
69059         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
69060         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
69061         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
69063 2010-06-02  Andreas Schwab  <schwab@redhat.com>
69065         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
69067 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
69069         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
69070         and F_GETPIPE_SZ.
69071         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69072         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69073         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69074         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69075         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69076         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
69078 2010-06-14  Roland McGrath  <roland@redhat.com>
69080         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
69082 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
69084         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
69085         __REDIRECT followed by __THROW.
69086         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
69087         * posix/getopt.h (getopt): Likewise.
69089 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
69091         * hurd/lookup-at.c (__file_name_lookup_at): Accept
69092         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
69093         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
69094         in AT_FLAGS.
69095         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
69096         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
69098 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
69100         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
69102 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
69104         [BZ #11640]
69105         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69106         Properly check family and model.
69108 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
69110         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
69112 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
69114         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
69116 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
69118         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
69119         symbol reference.
69121 2010-05-19  Andreas Schwab  <schwab@redhat.com>
69123         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
69124         symbol reference.
69126 2010-05-21  Andreas Schwab  <schwab@redhat.com>
69128         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
69129         and internal_recvmmsg.
69130         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
69131         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
69132         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
69133         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
69135         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
69136         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
69137         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
69139 2010-05-20  Andreas Schwab  <schwab@redhat.com>
69141         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
69143 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
69145         POWER7 optimizations.
69146         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
69147         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
69149 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
69151         * version.h: Update for 2.13 development version.
69153 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
69155         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
69156         exceptions.  Return 0.
69158 2010-05-07  Roland McGrath  <roland@redhat.com>
69160         * elf/ldconfig.c (main): Add a const.
69162 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
69164         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
69165         (args_options): Add no-idn option.
69166         (ahosts_keys_int): Add idn_flags to ai_flags.
69167         (parse_option): Handle 'i' option to clear idn_flags.
69169         * malloc/malloc.c (_int_free): Possible race in the most recently
69170         added check.  Only act on the data if no current modification
69171         happened.
69173 See ChangeLog.17 for earlier changes.